diff options
author | wxs <wxs@FreeBSD.org> | 2011-09-07 02:07:33 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2011-09-07 02:07:33 +0800 |
commit | 93da9de526a9e9a88e9372b728e340684eb70a01 (patch) | |
tree | 2ec8bb44a089493e7e65c0864d1f1fe791df1365 /security/sudo | |
parent | 22eeb154faf996a83e02f9ab3c9050cf0dc90cf8 (diff) | |
download | freebsd-ports-gnome-93da9de526a9e9a88e9372b728e340684eb70a01.tar.gz freebsd-ports-gnome-93da9de526a9e9a88e9372b728e340684eb70a01.tar.zst freebsd-ports-gnome-93da9de526a9e9a88e9372b728e340684eb70a01.zip |
- Update to 1.8.2
- Now depend on gettext
- While here, use DISTVERSION.
Diffstat (limited to 'security/sudo')
-rw-r--r-- | security/sudo/Makefile | 17 | ||||
-rw-r--r-- | security/sudo/distinfo | 4 | ||||
-rw-r--r-- | security/sudo/pkg-plist | 14 |
3 files changed, 28 insertions, 7 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile index 8d2bf06d4d87..69b693efb766 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -6,8 +6,7 @@ # PORTNAME= sudo -PORTVERSION= 1.8.1 -PORTREVISION= 5 +DISTVERSION= 1.8.2 CATEGORIES= security MASTER_SITES= http://www.sudo.ws/sudo/dist/ \ http://ftp.arcane-networks.fr/pub/mirrors/sudo/ \ @@ -21,7 +20,6 @@ MASTER_SITES= http://www.sudo.ws/sudo/dist/ \ ftp://plier.ucar.edu/pub/sudo/ \ ftp://obsd.isc.org/pub/sudo/ \ ftp://ftp.uwsg.indiana.edu/pub/security/sudo/ \ - ftp://sudo.xmundo.net/pub/mirrors/sudo/ \ ftp://ftp.tuwien.ac.at/utils/admin-tools/sudo/ \ ftp://sunsite.ualberta.ca/pub/Mirror/sudo/ \ ftp://ftp.csc.cuhk.edu.hk/pub/packages/unix-tools/sudo/ \ @@ -38,7 +36,6 @@ MASTER_SITES= http://www.sudo.ws/sudo/dist/ \ ftp://sunsite.icm.edu.pl/packages/sudo/ \ ftp://mirror.cdmon.com/pub/sudo/ \ ftp://ftp.twaren.net/Unix/Security/Sudo/ -DISTNAME= ${PORTNAME}-1.8.1p2 MAINTAINER= wxs@FreeBSD.org COMMENT= Allow others to run commands as root @@ -66,6 +63,16 @@ CONFIGURE_ARGS+= --with-logfac=${LOGFAC} .include <bsd.port.pre.mk> +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -lintl" +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif + # SUDO_SECURE_PATH is a PATH string that will override the user's PATH. # ex: make SUDO_SECURE_PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" .if defined(SUDO_SECURE_PATH) @@ -85,7 +92,7 @@ CONFIGURE_ARGS+= --with-ldap-conf-file=${PREFIX}/etc/${SUDO_LDAP_CONF} PLIST_SUB+= LDAP="" MAN5+= sudoers.ldap.5 .else -PLIST_SUB= LDAP="@comment " +PLIST_SUB+= LDAP="@comment " .endif .if defined(WITH_DISABLE_ROOT_SUDO) diff --git a/security/sudo/distinfo b/security/sudo/distinfo index 057e94c37628..1be2ff58ea8d 100644 --- a/security/sudo/distinfo +++ b/security/sudo/distinfo @@ -1,2 +1,2 @@ -SHA256 (sudo-1.8.1p2.tar.gz) = 281f90c80547cf22132e351e7f61c25ba4ba9cf393438468f318f9a7884026fb -SIZE (sudo-1.8.1p2.tar.gz) = 1238804 +SHA256 (sudo-1.8.2.tar.gz) = 37fe6ee670329bc45937fbe402e847f80b3a0a1c8fc9a66487e92b4b810152b0 +SIZE (sudo-1.8.2.tar.gz) = 1465051 diff --git a/security/sudo/pkg-plist b/security/sudo/pkg-plist index 0c7fe4bbebcd..58fc5610396b 100644 --- a/security/sudo/pkg-plist +++ b/security/sudo/pkg-plist @@ -11,6 +11,7 @@ include/sudo_plugin.h libexec/sudo_noexec.so libexec/sudoers.so sbin/visudo +%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/HISTORY %%PORTDOCS%%%%DOCSDIR%%/LICENSE @@ -27,6 +28,19 @@ sbin/visudo %%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.iPlanet %%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.ActiveDirectory %%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/sudoers2ldif +%%NLS%%share/locale/da/LC_MESSAGES/sudo.mo +%%NLS%%share/locale/da/LC_MESSAGES/sudoers.mo +%%NLS%%share/locale/eu/LC_MESSAGES/sudo.mo +%%NLS%%share/locale/eu/LC_MESSAGES/sudoers.mo +%%NLS%%share/locale/fi/LC_MESSAGES/sudo.mo +%%NLS%%share/locale/fi/LC_MESSAGES/sudoers.mo +%%NLS%%share/locale/pl/LC_MESSAGES/sudo.mo +%%NLS%%share/locale/pl/LC_MESSAGES/sudoers.mo +%%NLS%%share/locale/ru/LC_MESSAGES/sudo.mo +%%NLS%%share/locale/uk/LC_MESSAGES/sudo.mo +%%NLS%%share/locale/uk/LC_MESSAGES/sudoers.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/sudo.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/sudoers.mo %%PORTDOCS%%@dirrm %%DOCSDIR%% etc/sudoers.d/.keep-me @dirrmtry etc/sudoers.d |