diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/sudo/Makefile | 2 | ||||
-rw-r--r-- | security/sudo/pkg-plist | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile index 2d37cbf66fb3..a6df4cce882f 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -7,6 +7,7 @@ PORTNAME= sudo PORTVERSION= 1.7.4.3 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.sudo.ws/sudo/dist/ \ ftp://obsd.isc.org/pub/sudo/ \ @@ -102,5 +103,6 @@ post-install: if [ ! -f ${PREFIX}/etc/sudoers ]; then \ ${CP} -p ${PREFIX}/etc/sudoers.sample ${PREFIX}/etc/sudoers; \ fi + ${TOUCH} ${PREFIX}/etc/sudoers.d/.keep-me .include <bsd.port.post.mk> diff --git a/security/sudo/pkg-plist b/security/sudo/pkg-plist index 26a5f8708f72..e43644a9a454 100644 --- a/security/sudo/pkg-plist +++ b/security/sudo/pkg-plist @@ -6,7 +6,7 @@ etc/sudoers.sample @exec if [ ! -f %D/etc/sudoers ] ; then cp -p %D/%F %B/sudoers; fi @unexec if cmp -s %D/etc/pam.d/sudo.default %D/etc/pam.d/sudo; then rm -f %D/etc/pam.d/sudo ; fi etc/pam.d/sudo.default -@exec if [ ! -f %D/etc/pam.d/sudo ] ; then cp -p %D/%F %B/pam.d/sudo; fi +@exec if [ ! -f %D/etc/pam.d/sudo ] ; then cp -p %D/%F %B/sudo; fi libexec/sudo_noexec.so sbin/visudo %%PORTDOCS%%%%DOCSDIR%%/ChangeLog @@ -23,4 +23,5 @@ sbin/visudo %%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.OpenLDAP %%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/sudoers2ldif %%PORTDOCS%%@dirrm %%DOCSDIR%% +etc/sudoers.d/.keep-me @dirrmtry etc/sudoers.d |