Changeset 53766


Ignore:
Timestamp:
Jul 13, 2009, 1:37:29 PM (10 years ago)
Author:
snc@…
Message:

whitespace changes

File:
1 edited

Legend:

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

    r53765 r53766  
    22# $Id$
    33
    4 PortSystem                      1.0
    5 name                            sudo
    6 version                         1.6.9p14
    7 set base_version                ${version}
    8 categories                      sysutils security
    9 maintainers                     snc openmaintainer
    10 description                     Allow users to run programs as other users, eg, root
     4PortSystem          1.0
     5name                sudo
     6version             1.6.9p14
     7set base_version    ${version}
     8categories          sysutils security
     9maintainers         snc openmaintainer
     10description         Allow users to run programs as other users, eg, root
    1111long_description \
    12         Sudo is a program designed to allow a sysadmin to give limited root \
    13         privileges to users and log root activity.  The basic philosophy is to \
    14         give as few privileges as possible but still allow people to get their \
    15         work done.
     12    Sudo is a program designed to allow a sysadmin to give limited root \
     13    privileges to users and log root activity.  The basic philosophy is to \
     14    give as few privileges as possible but still allow people to get their \
     15    work done.
    1616
    17 platforms                       darwin sunos freebsd
     17platforms           darwin sunos freebsd
    1818
    19 homepage                        http://www.sudo.ws/sudo/
    20 master_sites            ${homepage}dist/ \
    21                                         ${homepage}dist/OLD/
    22 patch_sites             ${master_sites}
     19homepage            http://www.sudo.ws/sudo/
     20master_sites        ${homepage}dist/ \
     21                    ${homepage}dist/OLD/
     22patch_sites         ${master_sites}
    2323
    24 distfiles               ${name}-${base_version}.tar.gz
     24distfiles           ${name}-${base_version}.tar.gz
    2525
    2626checksums \
    27         ${name}-${base_version}.tar.gz \
    28                 md5 a274767d74e99bdd86ebef4e9899a246 \
    29                 sha1 71ac10f51c1b3d6338ac936fe39be3009ea4dbb4 \
    30                 rmd160 8516c9f0a6468e07174ffda310f55013841e3fba
     27    ${name}-${base_version}.tar.gz \
     28        md5    a274767d74e99bdd86ebef4e9899a246 \
     29        sha1  71ac10f51c1b3d6338ac936fe39be3009ea4dbb4 \
     30        rmd160 8516c9f0a6468e07174ffda310f55013841e3fba
    3131
    32 worksrcdir              ${name}-${base_version}
    33 patch.dir               ${workpath}
    34 configure.args          --infodir=${prefix}/share/info \
    35                                         --mandir=${prefix}/share/man \
    36                                         --sysconfdir=${prefix}/etc \
    37                                         --with-env-editor \
    38                                         --with-tty-tickets \
    39                                         --with-ignore-dot \
    40                                         --with-timedir=${prefix}/var/run/sudo \
    41                                         --disable-log-wrap
     32worksrcdir      ${name}-${base_version}
     33patch.dir       ${workpath}
     34configure.args  --infodir=${prefix}/share/info \
     35                --mandir=${prefix}/share/man \
     36                --sysconfdir=${prefix}/etc \
     37                --with-env-editor \
     38                --with-tty-tickets \
     39                --with-ignore-dot \
     40                --with-timedir=${prefix}/var/run/sudo \
     41                --disable-log-wrap
    4242
    4343pre-destroot {
    44         if { $env(USER) != "root" } {
    45                 ui_msg "------------------------------------------------------------"
    46                 ui_msg "Installing sudo as non-root doesn't really do anything"
    47                 ui_msg "useful, so be sure to install sudo as root"
    48                 ui_msg "------------------------------------------------------------"
    49         }
     44    if { $env(USER) != "root" } {
     45        ui_msg "------------------------------------------------------------"
     46        ui_msg "Installing sudo as non-root doesn't really do anything"
     47        ui_msg "useful, so be sure to install sudo as root"
     48        ui_msg "------------------------------------------------------------"
     49    }
    5050}
    5151
    5252post-destroot {
    53         file rename ${destroot}${prefix}/etc/sudoers ${destroot}${prefix}/etc/sudoers.dist
     53    file rename ${destroot}${prefix}/etc/sudoers ${destroot}${prefix}/etc/sudoers.dist
    5454}
    5555
    5656post-install {
    57         ui_msg "------------------------------------------------------------"
    58         ui_msg "To complete installation, copy, as root, "
    59         ui_msg "${prefix}/etc/sudoers.dist to ${prefix}/etc/sudoers (keeping "
    60         ui_msg "the same permissions), and edit it as necessary (see the"
    61         ui_msg "sudoers manpage for information)."
    62         ui_msg "------------------------------------------------------------"
     57    ui_msg "------------------------------------------------------------"
     58    ui_msg "To complete installation, copy, as root, "
     59    ui_msg "${prefix}/etc/sudoers.dist to ${prefix}/etc/sudoers (keeping "
     60    ui_msg "the same permissions), and edit it as necessary (see the"
     61    ui_msg "sudoers manpage for information)."
     62    ui_msg "------------------------------------------------------------"
    6363}
    6464
    6565platform darwin {
    66         configure.args-append   --with-password-timeout=0 \
    67                                                         --with-pam
     66    configure.args-append   --with-password-timeout=0 \
     67                            --with-pam
    6868}
    6969
    7070platform sunos {
    71         configure.args-append   --with-pam
     71    configure.args-append   --with-pam
    7272}
    7373
    7474platform freebsd {
    75         configure.args-append   --with-pam \
    76                                                         --with-logincap \
    77                                                         --with-long-otp-prompt
     75    configure.args-append   --with-pam \
     76                            --with-logincap \
     77                            --with-long-otp-prompt
    7878}
    7979
    8080variant insults {
    81         configure.args-append   --with-insults --with-all-insults
     81    configure.args-append   --with-insults --with-all-insults
    8282}
    8383
Note: See TracChangeset for help on using the changeset viewer.