aboutsummaryrefslogtreecommitdiff
path: root/security/sudo
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2011-04-11 12:47:00 +0000
committerWesley Shields <wxs@FreeBSD.org>2011-04-11 12:47:00 +0000
commit92fc99dfbdf57e864a83eb50d3c8375be7088112 (patch)
treefbaa364e9aa4a06372134a969879b3ca14149083 /security/sudo
parent9bebb818abde52924c1037ef65b2925514b1623f (diff)
downloadports-92fc99dfbdf57e864a83eb50d3c8375be7088112.tar.gz
ports-92fc99dfbdf57e864a83eb50d3c8375be7088112.zip
We don't install a sudoers.d, remove that from the default sudoers file.
PR: ports/156305 Submitted by: Helmut Schneider <jumper99@gmx.de> Anatoly Borodin <anatoly.borodin@gmail.com>
Notes
Notes: svn path=/head/; revision=272519
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/Makefile1
-rw-r--r--security/sudo/files/patch-plugins__sudoers__sudoers.in12
2 files changed, 11 insertions, 2 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index af53c84249f4..841a206a8e04 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sudo
PORTVERSION= 1.8.1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.sudo.ws/sudo/dist/ \
http://www.signal42.com/mirrors/sudo_ftp/ \
diff --git a/security/sudo/files/patch-plugins__sudoers__sudoers.in b/security/sudo/files/patch-plugins__sudoers__sudoers.in
index c987e3c1dcb5..35199f678dda 100644
--- a/security/sudo/files/patch-plugins__sudoers__sudoers.in
+++ b/security/sudo/files/patch-plugins__sudoers__sudoers.in
@@ -1,5 +1,5 @@
---- ./plugins/sudoers/sudoers.in.orig 2010-08-18 07:45:38.000000000 -0400
-+++ ./plugins/sudoers/sudoers.in 2011-04-09 21:23:16.616272145 -0400
+--- plugins/sudoers/sudoers.in.orig 2010-08-18 07:45:38.000000000 -0400
++++ plugins/sudoers/sudoers.in 2011-04-11 08:41:26.550267535 -0400
@@ -31,6 +31,14 @@
##
## Defaults specification
@@ -15,3 +15,11 @@
## You may wish to keep some of the following environment variables
## when running commands via sudo.
##
+@@ -84,7 +92,3 @@
+ ## of the user they are running the command as (root by default).
+ # Defaults targetpw # Ask for the password of the target user
+ # ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
+-
+-## Read drop-in files from @sysconfdir@/sudoers.d
+-## (the '#' here does not indicate a comment)
+-#includedir @sysconfdir@/sudoers.d