aboutsummaryrefslogtreecommitdiffstats
path: root/security/sudo
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-09-12 07:17:12 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-09-12 07:17:12 +0800
commit3c36d8c139909ec31e9cd95c39f59f2f7d01bed6 (patch)
treeaa9a1d6fbf4864a1757548d29b597e338e5fd17e /security/sudo
parent3e6dce78a3e4b81414b62f76da94b37e28976eed (diff)
downloadfreebsd-ports-gnome-3c36d8c139909ec31e9cd95c39f59f2f7d01bed6.tar.gz
freebsd-ports-gnome-3c36d8c139909ec31e9cd95c39f59f2f7d01bed6.tar.zst
freebsd-ports-gnome-3c36d8c139909ec31e9cd95c39f59f2f7d01bed6.zip
Use @sample for sudoers
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/pkg-plist4
1 files changed, 1 insertions, 3 deletions
diff --git a/security/sudo/pkg-plist b/security/sudo/pkg-plist
index 1dc68ef0bea5..567dcc4cb9b7 100644
--- a/security/sudo/pkg-plist
+++ b/security/sudo/pkg-plist
@@ -1,9 +1,7 @@
bin/sudo
bin/sudoedit
bin/sudoreplay
-@unexec if cmp -s %D/etc/sudoers.sample %D/etc/sudoers; then rm -f %D/etc/sudoers; fi
-etc/sudoers.sample
-@exec if [ ! -f %D/etc/sudoers ] ; then cp -p %D/%F %B/sudoers; fi
+@sample etc/sudoers.sample
@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/sudo; fi