aboutsummaryrefslogtreecommitdiffstats
path: root/security/sudo
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2013-07-17 21:36:10 +0800
committerwxs <wxs@FreeBSD.org>2013-07-17 21:36:10 +0800
commitd56ca9f7d78e05969cef205e004a77b7a0296192 (patch)
tree366906b44c19ed9e1247abf99263ac0fba263489 /security/sudo
parenta380bdc8fda76ece97eaf7469bc5592d5fde069e (diff)
downloadfreebsd-ports-gnome-d56ca9f7d78e05969cef205e004a77b7a0296192.tar.gz
freebsd-ports-gnome-d56ca9f7d78e05969cef205e004a77b7a0296192.tar.zst
freebsd-ports-gnome-d56ca9f7d78e05969cef205e004a77b7a0296192.zip
Cleanup /var/db/sudo if it is empty. This eliminates leftovers when building
the package.
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/pkg-plist3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/sudo/pkg-plist b/security/sudo/pkg-plist
index f8923aa7c262..c1976ce05da4 100644
--- a/security/sudo/pkg-plist
+++ b/security/sudo/pkg-plist
@@ -71,3 +71,6 @@ sbin/visudo
etc/sudoers.d/.keep-me
@dirrm libexec/sudo
@dirrmtry etc/sudoers.d
+@cwd /
+@dirrmtry /var/db/sudo
+@cwd