From f2988cfe1d73f70bfb5a77a3cfb350d2b8e62ea2 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 27 Jun 2017 13:49:53 +0000 Subject: 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 Sponsored by: Rubicon Communications (Netgate) --- security/sudo/Makefile | 3 +-- security/sudo/pkg-plist | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'security/sudo') 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 -- cgit v1.2.3