diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2010-01-04 21:28:22 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2010-01-04 21:28:22 +0000 |
commit | 832bd252713e748541e5439e19a5898f636e3001 (patch) | |
tree | 55d2f2c58b70c960bd5fc27b3db177cc9c5864b0 /security/sudo | |
parent | 8339025601c4f53b95663b9d0dbeef2d3374d566 (diff) |
Notes
Diffstat (limited to 'security/sudo')
-rw-r--r-- | security/sudo/Makefile | 27 | ||||
-rw-r--r-- | security/sudo/distinfo | 6 | ||||
-rw-r--r-- | security/sudo/pkg-plist | 3 |
3 files changed, 19 insertions, 17 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile index 2ecfc37c3ac8..f5463293f6b1 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -6,21 +6,20 @@ # PORTNAME= sudo -PORTVERSION= 1.6.9.20 +PORTVERSION= 1.7.2.2 CATEGORIES= security MASTER_SITES= http://www.sudo.ws/sudo/dist/ \ ftp://obsd.isc.org/pub/sudo/ \ ftp://ftp.uwsg.indiana.edu/pub/security/sudo/ \ ftp://boulder.tele.dk/pub/sudo/ \ ftp://core.ring.gr.jp/pub/misc/sudo/ \ - ftp://ftp.wiretapped.net/pub/security/host-security/sudo/ \ - ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= tmclaugh/sudo -DISTNAME= ${PORTNAME}-1.6.9p20 + ftp://ftp.wiretapped.net/pub/security/host-security/sudo/ +DISTNAME= ${PORTNAME}-1.7.2p2 MAINTAINER= wxs@FreeBSD.org COMMENT= Allow others to run commands as root +MAKE_JOBS_SAFE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ @@ -32,13 +31,16 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ --with-long-otp-prompt \ --with-pam -OPTIONS= LDAP "With LDAP support" off \ +OPTIONS= LDAP "With LDAP support" off \ INSULTS "With all insults" off \ - SHELL_SETS_HOME "Set HOME env to target user in shell mode" off \ - DISABLE_ROOT_SUDO "Disable root sudo" off \ + SHELL_SETS_HOME "Set HOME environment to target user in shell mode" off \ + DISABLE_ROOT_SUDO "Disable root sudo" off \ DISABLE_AUTH "Disable authentication" off \ NOARGS_SHELL "Enable no arguments shell" off +LOGFAC?= local2 +CONFIGURE_ARGS+=--with-logfac=${LOGFAC} + .include <bsd.port.pre.mk> # SUDO_SECURE_PATH is a PATH string that will override the user's PATH. @@ -55,8 +57,10 @@ CONFIGURE_ARGS+=--with-all-insults .if defined(WITH_LDAP) USE_OPENLDAP=yes CONFIGURE_ARGS+=--with-ldap=${PREFIX} -CONFIGURE_ARGS+=--with-ldap-conf-file=${PREFIX}/etc/ldap.conf +SUDO_LDAP_CONF?=ldap.conf +CONFIGURE_ARGS+=--with-ldap-conf-file=${PREFIX}/etc/${SUDO_LDAP_CONF} PLIST_SUB+= LDAP="" +MAN5+= sudoers.ldap.5 .else PLIST_SUB= LDAP="@comment " .endif @@ -77,7 +81,7 @@ CONFIGURE_ARGS+=--disable-authentication CONFIGURE_ARGS+=--enable-noargs-shell .endif -MAN5= sudoers.5 +MAN5+= sudoers.5 MAN8= sudo.8 visudo.8 MLINKS= sudo.8 sudoedit.8 @@ -92,8 +96,7 @@ post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/BUGS ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/TROUBLESHOOTING ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/UPGRADE ${DOCSDIR} diff --git a/security/sudo/distinfo b/security/sudo/distinfo index 9103e9de47bb..dd0bb33e2c66 100644 --- a/security/sudo/distinfo +++ b/security/sudo/distinfo @@ -1,3 +1,3 @@ -MD5 (sudo-1.6.9p20.tar.gz) = cd1caee0227641968d63d06845dea70a -SHA256 (sudo-1.6.9p20.tar.gz) = 1197bd5f2087c13a3837e1c4da250f7db2a86f843bf00f2b3568f6410239ac7b -SIZE (sudo-1.6.9p20.tar.gz) = 596009 +MD5 (sudo-1.7.2p2.tar.gz) = 2a19cf1ab4afc94fe19d0d0899d4cd45 +SHA256 (sudo-1.7.2p2.tar.gz) = 3d93aa2d52873b1fc82dc6dd64f1046e4636735f55d9ca7861ef02235b7c7e45 +SIZE (sudo-1.7.2p2.tar.gz) = 772399 diff --git a/security/sudo/pkg-plist b/security/sudo/pkg-plist index 38093236f585..204145feddba 100644 --- a/security/sudo/pkg-plist +++ b/security/sudo/pkg-plist @@ -6,8 +6,7 @@ etc/pam.d/sudo.default etc/sudoers.default libexec/sudo_noexec.so sbin/visudo -%%PORTDOCS%%%%DOCSDIR%%/BUGS -%%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/TROUBLESHOOTING %%PORTDOCS%%%%DOCSDIR%%/UPGRADE |