aboutsummaryrefslogtreecommitdiff
path: root/security/sudo
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2017-06-27 13:49:53 +0000
committerRenato Botelho <garga@FreeBSD.org>2017-06-27 13:49:53 +0000
commitf2988cfe1d73f70bfb5a77a3cfb350d2b8e62ea2 (patch)
tree37af9674d8761e80efe430f0139db73cbd94c6df /security/sudo
parentcb037d3c98be43c22f51db530a0e5146ddc374b2 (diff)
downloadports-f2988cfe1d73f70bfb5a77a3cfb350d2b8e62ea2.tar.gz
ports-f2988cfe1d73f70bfb5a77a3cfb350d2b8e62ea2.zip
Fix the way ${PREFIX}/etc/sudoers.d is handled removing the workaround added in
r260609 and using @dir PR: 220234 Submitted by: Jose Luis Duran <jlduran@gmail.com> Sponsored by: Rubicon Communications (Netgate)
Notes
Notes: svn path=/head/; revision=444464
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/Makefile3
-rw-r--r--security/sudo/pkg-plist2
2 files changed, 2 insertions, 3 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 71f966ebeb6c..75341b135537 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -3,7 +3,7 @@
PORTNAME= sudo
PORTVERSION= 1.8.20p2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= SUDO
@@ -88,7 +88,6 @@ post-patch:
post-install:
${INSTALL_DATA} ${FILESDIR}/pam.conf ${STAGEDIR}${PREFIX}/etc/pam.d/sudo.default
- ${TOUCH} ${STAGEDIR}${PREFIX}/etc/sudoers.d/.keep-me
${RM} ${STAGEDIR}${PREFIX}/etc/sudoers
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sudoreplay
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/visudo
diff --git a/security/sudo/pkg-plist b/security/sudo/pkg-plist
index e0441cf1eade..4487d39c6649 100644
--- a/security/sudo/pkg-plist
+++ b/security/sudo/pkg-plist
@@ -94,7 +94,7 @@ sbin/visudo
%%NLS%%share/locale/vi/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/sudoers.mo
-etc/sudoers.d/.keep-me
+@dir etc/sudoers.d
@dir /var/db/sudo/lectured
@dir /var/db/sudo
@dir /var/run/sudo