[59431] trunk/dports/sysutils/sudo
snc at macports.org
snc at macports.org
Wed Oct 14 19:31:13 PDT 2009
Revision: 59431
http://trac.macports.org/changeset/59431
Author: snc at macports.org
Date: 2009-10-14 19:31:09 -0700 (Wed, 14 Oct 2009)
Log Message:
-----------
revert version, mystery issue with 1.7 branch
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 2009-10-15 02:03:41 UTC (rev 59430)
+++ trunk/dports/sysutils/sudo/Portfile 2009-10-15 02:31:09 UTC (rev 59431)
@@ -4,8 +4,8 @@
PortSystem 1.0
name sudo
-version 1.7.2
-revision 2
+version 1.6.9p14
+epoch 1
categories sysutils security
maintainers snc openmaintainer
description Allow users to run programs as other users, eg, root
@@ -15,17 +15,17 @@
give as few privileges as possible but still allow people to get their \
work done.
-platforms darwin sunos freebsd
+platforms darwin
homepage http://www.sudo.ws/sudo/
master_sites ${homepage}dist/ \
${homepage}dist/OLD/
-checksums md5 9caba8719c3e0f163880a05f02a48249 \
- sha1 566952fc9fb18b6c1e861e03ad5a63d27e54a501 \
- rmd160 3d88ef2918470a6125efdf47edd68cfa947da62e
+checksums md5 a274767d74e99bdd86ebef4e9899a246 \
+ sha1 71ac10f51c1b3d6338ac936fe39be3009ea4dbb4 \
+ rmd160 8516c9f0a6468e07174ffda310f55013841e3fba
-patchfiles patch-sudoers.diff
+patchfiles patch-sudoers.diff
configure.args --infodir=${prefix}/share/info \
--mandir=${prefix}/share/man \
@@ -34,7 +34,10 @@
--with-tty-tickets \
--with-ignore-dot \
--with-timedir=${prefix}/var/run/sudo \
- --disable-log-wrap
+ --disable-log-wrap \
+ --with-password-timeout=0 \
+ --disable-setreuid \
+ --with-pam
pre-destroot {
if { $env(USER) != "root" } {
@@ -46,35 +49,22 @@
}
post-destroot {
- file rename ${destroot}${prefix}/etc/sudoers ${destroot}${prefix}/etc/sudoers.dist
- xinstall -d ${destroot}${prefix}/var/run/sudo
+ if {[file exists ${prefix}/etc/sudoers]} {
+ file rename ${destroot}${prefix}/etc/sudoers ${destroot}${prefix}/etc/sudoers.dist
+ }
+ xinstall -d ${destroot}${prefix}/var/run/sudo
}
destroot.keepdirs ${destroot}${prefix}/var/run/sudo
post-install {
ui_msg "------------------------------------------------------------"
- ui_msg "To complete installation, copy, as root, "
- ui_msg "${prefix}/etc/sudoers.dist to ${prefix}/etc/sudoers (keeping "
- ui_msg "the same permissions), and edit it as necessary (see the"
- ui_msg "sudoers manpage for information)."
+ 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 "------------------------------------------------------------"
}
-platform darwin {
- configure.args-append --with-password-timeout=0 \
- --with-pam
-}
-
-platform sunos {
- configure.args-append --with-pam
-}
-
-platform freebsd {
- configure.args-append --with-pam \
- --with-logincap \
- --with-long-otp-prompt
-}
-
variant insults description { It can only be attributed to human error. } {
configure.args-append --with-insults --with-all-insults
}
Modified: trunk/dports/sysutils/sudo/files/patch-sudoers.diff
===================================================================
--- trunk/dports/sysutils/sudo/files/patch-sudoers.diff 2009-10-15 02:03:41 UTC (rev 59430)
+++ trunk/dports/sysutils/sudo/files/patch-sudoers.diff 2009-10-15 02:31:09 UTC (rev 59431)
@@ -21,7 +21,7 @@
# User privilege specification
root ALL=(ALL) ALL
-+%admin 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/20091014/58032a3d/attachment.html>
More information about the macports-changes
mailing list