Changeset 59431 for trunk


Ignore:
Timestamp:
Oct 15, 2009, 2:31:09 AM (11 years ago)
Author:
snc@…
Message:

revert version, mystery issue with 1.7 branch

Location:
trunk/dports/sysutils/sudo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/sudo/Portfile

    r56850 r59431  
    55
    66name                sudo
    7 version             1.7.2
    8 revision            2
     7version             1.6.9p14
     8epoch               1
    99categories          sysutils security
    1010maintainers         snc openmaintainer
     
    1616    work done.
    1717
    18 platforms           darwin sunos freebsd
     18platforms           darwin
    1919
    2020homepage            http://www.sudo.ws/sudo/
     
    2222                    ${homepage}dist/OLD/
    2323
    24 checksums           md5     9caba8719c3e0f163880a05f02a48249 \
    25                     sha1    566952fc9fb18b6c1e861e03ad5a63d27e54a501 \
    26                     rmd160  3d88ef2918470a6125efdf47edd68cfa947da62e
     24checksums           md5     a274767d74e99bdd86ebef4e9899a246 \
     25                    sha1    71ac10f51c1b3d6338ac936fe39be3009ea4dbb4 \
     26                    rmd160  8516c9f0a6468e07174ffda310f55013841e3fba
    2727
    28 patchfiles          patch-sudoers.diff
     28patchfiles      patch-sudoers.diff
    2929
    3030configure.args  --infodir=${prefix}/share/info \
     
    3535                --with-ignore-dot \
    3636                --with-timedir=${prefix}/var/run/sudo \
    37                 --disable-log-wrap
     37                --disable-log-wrap \
     38                --with-password-timeout=0 \
     39                --disable-setreuid \
     40                --with-pam
    3841
    3942pre-destroot {
     
    4750
    4851post-destroot {
    49     file rename ${destroot}${prefix}/etc/sudoers ${destroot}${prefix}/etc/sudoers.dist
    50         xinstall -d ${destroot}${prefix}/var/run/sudo
     52    if {[file exists ${prefix}/etc/sudoers]} {
     53        file rename ${destroot}${prefix}/etc/sudoers ${destroot}${prefix}/etc/sudoers.dist
     54    }
     55    xinstall -d ${destroot}${prefix}/var/run/sudo
    5156}
    5257destroot.keepdirs ${destroot}${prefix}/var/run/sudo
     
    5459post-install {
    5560    ui_msg "------------------------------------------------------------"
    56     ui_msg "To complete installation, copy, as root, "
    57     ui_msg "${prefix}/etc/sudoers.dist to ${prefix}/etc/sudoers (keeping "
    58     ui_msg "the same permissions), and edit it as necessary (see the"
    59     ui_msg "sudoers manpage for information)."
     61    ui_msg "To complete installation run:"
     62    ui_msg "    ${prefix}/bin/sudo ${prefix}/sbin/visudo"
     63    ui_msg "Edit as necessary (see the"
     64    ui_msg "sudoers manpage for additional information)."
    6065    ui_msg "------------------------------------------------------------"
    61 }
    62 
    63 platform darwin {
    64     configure.args-append   --with-password-timeout=0 \
    65                             --with-pam
    66 }
    67 
    68 platform sunos {
    69     configure.args-append   --with-pam
    70 }
    71 
    72 platform freebsd {
    73     configure.args-append   --with-pam \
    74                             --with-logincap \
    75                             --with-long-otp-prompt
    7666}
    7767
  • trunk/dports/sysutils/sudo/files/patch-sudoers.diff

    r56850 r59431  
    2222 # User privilege specification
    2323 root   ALL=(ALL) ALL
    24 +%admin ALL=(ALL) ALL
     24+%admin ALL=(ALL) ALL
    2525 
    2626 # Uncomment to allow people in group wheel to run all commands
Note: See TracChangeset for help on using the changeset viewer.