[103948] trunk/dports/sysutils/sudo

cal at macports.org cal at macports.org
Sun Mar 10 13:13:30 PDT 2013


Revision: 103948
          https://trac.macports.org/changeset/103948
Author:   cal at macports.org
Date:     2013-03-10 13:13:30 -0700 (Sun, 10 Mar 2013)
Log Message:
-----------
sudo: update to 1.8.6p7, convert setup message to notes, unify whitespace, closes #38351

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

Modified: trunk/dports/sysutils/sudo/Portfile
===================================================================
--- trunk/dports/sysutils/sudo/Portfile	2013-03-10 19:54:58 UTC (rev 103947)
+++ trunk/dports/sysutils/sudo/Portfile	2013-03-10 20:13:30 UTC (rev 103948)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                sudo
-version             1.7.7
+version             1.8.6p7
 epoch               1
 categories          sysutils security
 license             ISC
@@ -22,23 +22,21 @@
 master_sites        ${homepage}dist/ \
                     ${homepage}dist/OLD/
 
-checksums           md5     bbd552a4150bf29b49048ec85cd2ea04 \
-                    sha1    cb0af05f4fa43920fff538687d4bd9a66ab3b251 \
-                    rmd160  bd2464dba8a986e6172dd305fc6a1adba78d9779
+checksums           rmd160  7ae53dbd5a01fadcf87bf9a345dede2cfc0b5b28 \
+                    sha256  301089edb22356f59d097f6abbe1303f03927a38691b02959d618546c2125036
 
-patchfiles      patch-sudoers.in.diff
+patchfiles          patch-sudoers.in.diff
 
-configure.args  --infodir=${prefix}/share/info \
-                --mandir=${prefix}/share/man \
-                --sysconfdir=${prefix}/etc \
-                --with-env-editor \
-                --with-tty-tickets \
-                --with-ignore-dot \
-                --with-timedir=${prefix}/var/run/sudo \
-                --disable-log-wrap \
-                --with-password-timeout=0 \
-                --disable-setreuid \
-                --with-pam
+configure.args      --infodir=${prefix}/share/info \
+                    --mandir=${prefix}/share/man \
+                    --sysconfdir=${prefix}/etc \
+                    --with-env-editor \
+                    --with-tty-tickets \
+                    --with-ignore-dot \
+                    --with-timedir=${prefix}/var/run/sudo \
+                    --with-password-timeout=0 \
+                    --disable-setreuid \
+                    --with-pam
 
 pre-destroot {
     if { [getuid] != 0 } {
@@ -57,28 +55,27 @@
 }
 destroot.keepdirs ${destroot}${prefix}/var/run/sudo
 
-post-install {
-    ui_msg "------------------------------------------------------------"
-    ui_msg "To complete installation run:"
-    ui_msg "    ${prefix}/bin/sudo ${prefix}/sbin/visudo"
-    ui_msg "Edit as necessary (see the"
-    ui_msg "sudoers manpage for additional information)."
-    ui_msg "------------------------------------------------------------"
-}
+notes "\
+------------------------------------------------------------\n\
+To complete installation run:\n\
+\t${prefix}/bin/sudo ${prefix}/sbin/visudo\n\
+Edit as necessary (see the sudoers manpage for additional\n\
+information).\n\
+------------------------------------------------------------"
 
-variant insults description { It can only be attributed to human error. } {
+variant insults description {It can only be attributed to human error.} {
     configure.args-append   --with-insults --with-all-insults
 }
 
-variant openldap description { Add ldap support via OpenLDAP. } {
-	depends_lib-append		port:openldap
+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
-	}
+
+    post-destroot {
+        xinstall -d ${destroot}${prefix}/etc/openldap/schema
+        xinstall -m 0644 ${worksrcpath}/schema.OpenLDAP \
+            ${destroot}${prefix}/etc/openldap/schema/sudo.schema
+    }
 }
 
 livecheck.type  regex

Modified: trunk/dports/sysutils/sudo/files/patch-sudoers.in.diff
===================================================================
--- trunk/dports/sysutils/sudo/files/patch-sudoers.in.diff	2013-03-10 19:54:58 UTC (rev 103947)
+++ trunk/dports/sysutils/sudo/files/patch-sudoers.in.diff	2013-03-10 20:13:30 UTC (rev 103948)
@@ -1,9 +1,9 @@
---- sudoers.in.orig	2011-08-30 13:11:41.000000000 -0700
-+++ sudoers.in	2011-08-30 13:11:47.000000000 -0700
-@@ -62,6 +62,19 @@
+--- plugins/sudoers/sudoers.in.orig	2013-03-10 21:04:01.000000000 +0100
++++ plugins/sudoers/sudoers.in	2013-03-10 21:04:43.000000000 +0100
+@@ -61,6 +61,19 @@
+ # Defaults!/usr/bin/sudoreplay !log_output
  # Defaults!/usr/local/bin/sudoreplay !log_output
  # Defaults!/sbin/reboot !log_output
- 
 +Defaults	env_reset
 +Defaults	env_keep += "BLOCKSIZE"
 +Defaults	env_keep += "COLORFGBG COLORTERM"
@@ -16,10 +16,10 @@
 +Defaults	env_keep += "TZ"
 +Defaults	env_keep += "DISPLAY XAUTHORIZATION XAUTHORITY"
 +Defaults	env_keep += "EDITOR VISUAL"
-+
++Defaults	env_keep += "HOME MAIL"
+ 
  ##
  ## Runas alias specification
- ##
 @@ -70,6 +83,7 @@
  ## User privilege specification
  ##
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130310/d64ba348/attachment.html>


More information about the macports-changes mailing list