[56850] trunk/dports/sysutils/sudo
snc at macports.org
snc at macports.org
Wed Sep 2 11:29:20 PDT 2009
Revision: 56850
http://trac.macports.org/changeset/56850
Author: snc at macports.org
Date: 2009-09-02 11:29:19 -0700 (Wed, 02 Sep 2009)
Log Message:
-----------
fix missing defaults values in sudoers.dist
Modified Paths:
--------------
trunk/dports/sysutils/sudo/Portfile
Added Paths:
-----------
trunk/dports/sysutils/sudo/files/
trunk/dports/sysutils/sudo/files/patch-sudoers.diff
Modified: trunk/dports/sysutils/sudo/Portfile
===================================================================
--- trunk/dports/sysutils/sudo/Portfile 2009-09-02 18:28:06 UTC (rev 56849)
+++ trunk/dports/sysutils/sudo/Portfile 2009-09-02 18:29:19 UTC (rev 56850)
@@ -5,7 +5,7 @@
name sudo
version 1.7.2
-revision 1
+revision 2
categories sysutils security
maintainers snc openmaintainer
description Allow users to run programs as other users, eg, root
@@ -20,13 +20,13 @@
homepage http://www.sudo.ws/sudo/
master_sites ${homepage}dist/ \
${homepage}dist/OLD/
-patch_sites ${master_sites}
checksums md5 9caba8719c3e0f163880a05f02a48249 \
sha1 566952fc9fb18b6c1e861e03ad5a63d27e54a501 \
rmd160 3d88ef2918470a6125efdf47edd68cfa947da62e
-patch.dir ${workpath}
+patchfiles patch-sudoers.diff
+
configure.args --infodir=${prefix}/share/info \
--mandir=${prefix}/share/man \
--sysconfdir=${prefix}/etc \
@@ -47,7 +47,7 @@
post-destroot {
file rename ${destroot}${prefix}/etc/sudoers ${destroot}${prefix}/etc/sudoers.dist
- xinstall -d ${destroot}${prefix}/var/run/sudo
+ xinstall -d ${destroot}${prefix}/var/run/sudo
}
destroot.keepdirs ${destroot}${prefix}/var/run/sudo
Added: trunk/dports/sysutils/sudo/files/patch-sudoers.diff
===================================================================
--- trunk/dports/sysutils/sudo/files/patch-sudoers.diff (rev 0)
+++ trunk/dports/sysutils/sudo/files/patch-sudoers.diff 2009-09-02 18:29:19 UTC (rev 56850)
@@ -0,0 +1,27 @@
+--- sudoers.orig 2009-09-02 14:23:28.000000000 -0400
++++ sudoers 2009-09-02 14:24:16.000000000 -0400
+@@ -14,11 +14,24 @@
+ # Cmnd alias specification
+
+ # Defaults specification
++Defaults env_reset
++Defaults env_keep += "BLOCKSIZE"
++Defaults env_keep += "COLORFGBG COLORTERM"
++Defaults env_keep += "__CF_USER_TEXT_ENCODING"
++Defaults env_keep += "CHARSET LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE"
++Defaults env_keep += "LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME"
++Defaults env_keep += "LINES COLUMNS"
++Defaults env_keep += "LSCOLORS"
++Defaults env_keep += "SSH_AUTH_SOCK"
++Defaults env_keep += "TZ"
++Defaults env_keep += "DISPLAY XAUTHORIZATION XAUTHORITY"
++Defaults env_keep += "EDITOR VISUAL"
+
+ # Runas alias specification
+
+ # User privilege specification
+ root ALL=(ALL) ALL
++%admin ALL=(ALL) ALL
+
+ # Uncomment to allow people in group wheel to run all commands
+ # %wheel ALL=(ALL) ALL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090902/5e45cb1c/attachment-0001.html>
More information about the macports-changes
mailing list