aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorstefan <stefan@FreeBSD.org>2006-05-21 21:23:24 +0800
committerstefan <stefan@FreeBSD.org>2006-05-21 21:23:24 +0800
commitd2e297caca25d768fc6f66a94b841fe32c6d354e (patch)
treea9bc8823564a613825d124a34bc22952c18970ae /security
parentb426f5b0edbee701cda4cc89ed5cedacd62baab3 (diff)
downloadfreebsd-ports-gnome-d2e297caca25d768fc6f66a94b841fe32c6d354e.tar.gz
freebsd-ports-gnome-d2e297caca25d768fc6f66a94b841fe32c6d354e.tar.zst
freebsd-ports-gnome-d2e297caca25d768fc6f66a94b841fe32c6d354e.zip
Use unsetenv(3) instead of putenv(3) to clean up environment variables
properly. PR: 94170 Submitted by: Kenneth Vestergaard Schmidt <kvs@binarysolutions.dk> Approved by: maintainer, arved (mentor)
Diffstat (limited to 'security')
-rw-r--r--security/chroot_safe/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/chroot_safe/Makefile b/security/chroot_safe/Makefile
index 42bda7846e3d..913c2a437acb 100644
--- a/security/chroot_safe/Makefile
+++ b/security/chroot_safe/Makefile
@@ -5,6 +5,7 @@
PORTNAME= chroot_safe
PORTVERSION= 1.4
+PORTREVISION= 1
CATEGORIES= security sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= chrootsafe
@@ -24,5 +25,6 @@ post-patch:
-e 's|-o chroot_safe.so|chroot_safe.cpp -o chroot_safe.so|' \
${WRKSRC}/Makefile.in
${REINPLACE_CMD} 's|chroot(1)|chroot(8)|' ${WRKSRC}/chroot_safe.1.in
+ ${REINPLACE_CMD} 's|putenv|unsetenv|' ${WRKSRC}/chroot_safe.cpp
.include <bsd.port.mk>