[71352] trunk/dports/sysutils/sudo

ged at macports.org ged at macports.org
Thu Sep 9 17:33:58 PDT 2010


Revision: 71352
          http://trac.macports.org/changeset/71352
Author:   ged at macports.org
Date:     2010-09-09 17:33:57 -0700 (Thu, 09 Sep 2010)
Log Message:
-----------
Update to 1.7.4p2, add the 'openldap' variant for LDAP-enabled sudo, take over maintainership.

Modified Paths:
--------------
    trunk/dports/sysutils/sudo/Portfile
    trunk/dports/sysutils/sudo/files/patch-sudoers.diff

Modified: trunk/dports/sysutils/sudo/Portfile
===================================================================
--- trunk/dports/sysutils/sudo/Portfile	2010-09-09 22:11:27 UTC (rev 71351)
+++ trunk/dports/sysutils/sudo/Portfile	2010-09-10 00:33:57 UTC (rev 71352)
@@ -4,10 +4,10 @@
 PortSystem          1.0
 
 name                sudo
-version             1.6.9p21
+version             1.7.4p2
 epoch               1
 categories          sysutils security
-maintainers         nomaintainer
+maintainers         ged
 description         Allow users to run programs as other users, eg, root
 long_description \
     Sudo is a program designed to allow a sysadmin to give limited root \
@@ -21,9 +21,9 @@
 master_sites        ${homepage}dist/ \
                     ${homepage}dist/OLD/
 
-checksums           md5     14515f4ef40e9390f9937afcea981895 \
-                    sha1    a71c70ada7568293066f24f6123edf0fcd88cc0d \
-                    rmd160  9364352145224aa9cf732fedccf9fda9b3a473fa
+checksums           md5     80f3a2506f0ec3e2d75e7d17d95f5341 \
+                    sha1    575b4678fc284df73a269d74b5d3f616eb71680e \
+                    rmd160  38f8be910b8d80e396c2124bacef4b80283eac51
 
 patchfiles      patch-sudoers.diff
 
@@ -69,3 +69,14 @@
     configure.args-append   --with-insults --with-all-insults
 }
 
+variant openldap description { Add ldap support via OpenLDAP. } {
+	depends_lib-append		port:openldap
+    configure.args-append   --with-ldap
+							
+	post-destroot {
+		xinstall -d ${destroot}${prefix}/etc/openldap/schema
+		xinstall -m 0644 ${worksrcpath}/schema.OpenLDAP \
+			${destroot}${prefix}/etc/openldap/schema/sudo.schema
+	}
+}
+

Modified: trunk/dports/sysutils/sudo/files/patch-sudoers.diff
===================================================================
--- trunk/dports/sysutils/sudo/files/patch-sudoers.diff	2010-09-09 22:11:27 UTC (rev 71351)
+++ trunk/dports/sysutils/sudo/files/patch-sudoers.diff	2010-09-10 00:33:57 UTC (rev 71352)
@@ -1,9 +1,9 @@
---- 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
+--- sudoers.orig	2010-07-30 08:58:54.000000000 -0700
++++ sudoers	2010-09-09 17:02:29.000000000 -0700
+@@ -62,6 +62,19 @@
+ # Defaults!/usr/local/bin/sudoreplay !log_output
+ # Defaults!/sbin/reboot !log_output
  
- # Defaults specification
 +Defaults	env_reset
 +Defaults	env_keep += "BLOCKSIZE"
 +Defaults	env_keep += "COLORFGBG COLORTERM"
@@ -16,12 +16,15 @@
 +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
++
+ ##
+ ## Runas alias specification
+ ##
+@@ -70,6 +83,7 @@
+ ## 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
+ ## Uncomment to allow members of group wheel to execute any command
+ # %wheel ALL=(ALL) ALL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100909/6439f863/attachment.html>


More information about the macports-changes mailing list