svn commit: r444464 - head/security/sudo
Renato Botelho
garga at FreeBSD.org
Tue Jun 27 13:49:54 UTC 2017
Author: garga
Date: Tue Jun 27 13:49:53 2017
New Revision: 444464
URL: https://svnweb.freebsd.org/changeset/ports/444464
Log:
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 at gmail.com>
Sponsored by: Rubicon Communications (Netgate)
Modified:
head/security/sudo/Makefile
head/security/sudo/pkg-plist
Modified: head/security/sudo/Makefile
==============================================================================
--- head/security/sudo/Makefile Tue Jun 27 13:46:53 2017 (r444463)
+++ head/security/sudo/Makefile Tue Jun 27 13:49:53 2017 (r444464)
@@ -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
Modified: head/security/sudo/pkg-plist
==============================================================================
--- head/security/sudo/pkg-plist Tue Jun 27 13:46:53 2017 (r444463)
+++ head/security/sudo/pkg-plist Tue Jun 27 13:49:53 2017 (r444464)
@@ -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
+ at dir etc/sudoers.d
@dir /var/db/sudo/lectured
@dir /var/db/sudo
@dir /var/run/sudo
More information about the svn-ports-all
mailing list