[53766] trunk/dports/sysutils/sudo/Portfile
snc at macports.org
snc at macports.org
Mon Jul 13 06:37:29 PDT 2009
Revision: 53766
http://trac.macports.org/changeset/53766
Author: snc at macports.org
Date: 2009-07-13 06:37:29 -0700 (Mon, 13 Jul 2009)
Log Message:
-----------
whitespace changes
Modified Paths:
--------------
trunk/dports/sysutils/sudo/Portfile
Modified: trunk/dports/sysutils/sudo/Portfile
===================================================================
--- trunk/dports/sysutils/sudo/Portfile 2009-07-13 13:34:37 UTC (rev 53765)
+++ trunk/dports/sysutils/sudo/Portfile 2009-07-13 13:37:29 UTC (rev 53766)
@@ -1,83 +1,83 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
-name sudo
-version 1.6.9p14
-set base_version ${version}
-categories sysutils security
-maintainers snc openmaintainer
-description Allow users to run programs as other users, eg, root
+PortSystem 1.0
+name sudo
+version 1.6.9p14
+set base_version ${version}
+categories sysutils security
+maintainers snc openmaintainer
+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 \
- privileges to users and log root activity. The basic philosophy is to \
- give as few privileges as possible but still allow people to get their \
- work done.
+ Sudo is a program designed to allow a sysadmin to give limited root \
+ privileges to users and log root activity. The basic philosophy is to \
+ give as few privileges as possible but still allow people to get their \
+ work done.
-platforms darwin sunos freebsd
+platforms darwin sunos freebsd
-homepage http://www.sudo.ws/sudo/
-master_sites ${homepage}dist/ \
- ${homepage}dist/OLD/
-patch_sites ${master_sites}
+homepage http://www.sudo.ws/sudo/
+master_sites ${homepage}dist/ \
+ ${homepage}dist/OLD/
+patch_sites ${master_sites}
-distfiles ${name}-${base_version}.tar.gz
+distfiles ${name}-${base_version}.tar.gz
checksums \
- ${name}-${base_version}.tar.gz \
- md5 a274767d74e99bdd86ebef4e9899a246 \
- sha1 71ac10f51c1b3d6338ac936fe39be3009ea4dbb4 \
- rmd160 8516c9f0a6468e07174ffda310f55013841e3fba
+ ${name}-${base_version}.tar.gz \
+ md5 a274767d74e99bdd86ebef4e9899a246 \
+ sha1 71ac10f51c1b3d6338ac936fe39be3009ea4dbb4 \
+ rmd160 8516c9f0a6468e07174ffda310f55013841e3fba
-worksrcdir ${name}-${base_version}
-patch.dir ${workpath}
-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
+worksrcdir ${name}-${base_version}
+patch.dir ${workpath}
+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
pre-destroot {
- if { $env(USER) != "root" } {
- ui_msg "------------------------------------------------------------"
- ui_msg "Installing sudo as non-root doesn't really do anything"
- ui_msg "useful, so be sure to install sudo as root"
- ui_msg "------------------------------------------------------------"
- }
+ if { $env(USER) != "root" } {
+ ui_msg "------------------------------------------------------------"
+ ui_msg "Installing sudo as non-root doesn't really do anything"
+ ui_msg "useful, so be sure to install sudo as root"
+ ui_msg "------------------------------------------------------------"
+ }
}
post-destroot {
- file rename ${destroot}${prefix}/etc/sudoers ${destroot}${prefix}/etc/sudoers.dist
+ file rename ${destroot}${prefix}/etc/sudoers ${destroot}${prefix}/etc/sudoers.dist
}
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 "------------------------------------------------------------"
+ 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 "------------------------------------------------------------"
}
platform darwin {
- configure.args-append --with-password-timeout=0 \
- --with-pam
+ configure.args-append --with-password-timeout=0 \
+ --with-pam
}
platform sunos {
- configure.args-append --with-pam
+ configure.args-append --with-pam
}
platform freebsd {
- configure.args-append --with-pam \
- --with-logincap \
- --with-long-otp-prompt
+ configure.args-append --with-pam \
+ --with-logincap \
+ --with-long-otp-prompt
}
variant insults {
- configure.args-append --with-insults --with-all-insults
+ configure.args-append --with-insults --with-all-insults
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090713/7193da9f/attachment.html>
More information about the macports-changes
mailing list