Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2013 13:28:12 +0000 (UTC)
From:      Wesley Shields <wxs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329993 - head/security/sudo
Message-ID:  <201310101328.r9ADSCWt034518@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wxs
Date: Thu Oct 10 13:28:12 2013
New Revision: 329993
URL: http://svnweb.freebsd.org/changeset/ports/329993

Log:
  [1]: Update to 1.8.8.
  [2]: Switch logging to authpriv.
  
  PR:		[1] ports/182618
  Submitted by:	[1] Yasuhiro KIMURA <yasu@utahime.org>
  		[2] des@

Modified:
  head/security/sudo/Makefile
  head/security/sudo/distinfo
  head/security/sudo/pkg-descr
  head/security/sudo/pkg-plist

Modified: head/security/sudo/Makefile
==============================================================================
--- head/security/sudo/Makefile	Thu Oct 10 13:19:39 2013	(r329992)
+++ head/security/sudo/Makefile	Thu Oct 10 13:28:12 2013	(r329993)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	sudo
-DISTVERSION=	1.8.7
-PORTREVISION=	1
+DISTVERSION=	1.8.8
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_SUDO}
 
@@ -28,7 +27,7 @@ CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/e
 
 OPTIONS_DEFINE=	LDAP INSULTS DISABLE_ROOT_SUDO DISABLE_AUTH NOARGS_SHELL \
 		AUDIT OPIE NLS
-OPTIONS_DEFAULT=	AUDIT NLS
+OPTIONS_DEFAULT=	AUDIT
 
 INSULTS_DESC=	Enable insults on failures
 DISABLE_ROOT_SUDO_DESC=	Do not allow root to run sudo
@@ -37,7 +36,7 @@ NOARGS_SHELL_DESC=	Run a shell if no arg
 AUDIT_DESC=	Enable BSM audit support
 OPIE_DESC=	Enable one-time passwords (no PAM support)
 
-LOGFAC?=	local2
+LOGFAC?=	authpriv
 CONFIGURE_ARGS+=	--with-logfac=${LOGFAC}
 
 # This is intentionally not an option.
@@ -47,7 +46,6 @@ CONFIGURE_ARGS+=	--with-logfac=${LOGFAC}
 CONFIGURE_ARGS+=	--with-secure-path="${SUDO_SECURE_PATH}"
 .endif
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${ARCH} == "arm"
@@ -102,10 +100,6 @@ CONFIGURE_ARGS+=	--with-opie
 CONFIGURE_ARGS+=	--with-pam
 .endif
 
-MAN5+=		sudoers.5 sudo.conf.5
-MAN8=		sudo.8 visudo.8 sudoreplay.8 sudo_plugin.8
-MLINKS=		sudo.8 sudoedit.8
-
 post-patch:
 	@${REINPLACE_CMD} -E '/install-(binaries|noexec):/,/^$$/ \
 		s/\$$\(INSTALL\)/& ${STRIP}/;s/-b\~/-b ~/' \
@@ -119,14 +113,7 @@ post-patch:
 .endif
 
 post-install:
-	${INSTALL_DATA} ${FILESDIR}/pam.conf ${PREFIX}/etc/pam.d/sudo.default
-	if [ ! -f ${PREFIX}/etc/pam.d/sudo ]; then \
-		${CP} -p ${PREFIX}/etc/pam.d/sudo.default \
-		${PREFIX}/etc/pam.d/sudo ; \
-	fi
-	if [ ! -f ${PREFIX}/etc/sudoers ]; then \
-		${CP} -p ${PREFIX}/etc/sudoers.sample ${PREFIX}/etc/sudoers; \
-	fi
-	${TOUCH} ${PREFIX}/etc/sudoers.d/.keep-me
+	${INSTALL_DATA} ${FILESDIR}/pam.conf ${STAGEDIR}${PREFIX}/etc/pam.d/sudo.default
+	${TOUCH} ${STAGEDIR}${PREFIX}/etc/sudoers.d/.keep-me
 
 .include <bsd.port.mk>

Modified: head/security/sudo/distinfo
==============================================================================
--- head/security/sudo/distinfo	Thu Oct 10 13:19:39 2013	(r329992)
+++ head/security/sudo/distinfo	Thu Oct 10 13:28:12 2013	(r329993)
@@ -1,2 +1,2 @@
-SHA256 (sudo-1.8.7.tar.gz) = 39626cf3d48c4fd5a9139a2627d42bfefac7ce47f470bdba3aeb4e3d7c49566a
-SIZE (sudo-1.8.7.tar.gz) = 2027065
+SHA256 (sudo-1.8.8.tar.gz) = 9f911c1e9297fb8006deb52fa81197a8d06b9d54e70672f723c467ecae992fc9
+SIZE (sudo-1.8.8.tar.gz) = 2117145

Modified: head/security/sudo/pkg-descr
==============================================================================
--- head/security/sudo/pkg-descr	Thu Oct 10 13:19:39 2013	(r329992)
+++ head/security/sudo/pkg-descr	Thu Oct 10 13:28:12 2013	(r329993)
@@ -5,4 +5,4 @@ privileges to users and log root activit
 give as few privileges as possible but still allow people to get their
 work done.
 
-WWW: http://www.courtesan.com/sudo/
+WWW: http://www.sudo.ws/

Modified: head/security/sudo/pkg-plist
==============================================================================
--- head/security/sudo/pkg-plist	Thu Oct 10 13:19:39 2013	(r329992)
+++ head/security/sudo/pkg-plist	Thu Oct 10 13:28:12 2013	(r329993)
@@ -12,6 +12,13 @@ libexec/sudo/group_file.so
 libexec/sudo/sudo_noexec.so
 libexec/sudo/sudoers.so
 libexec/sudo/system_group.so
+man/man5/sudo.conf.5.gz
+man/man5/sudoers.5.gz
+man/man8/sudo.8.gz
+man/man8/sudo_plugin.8.gz
+man/man8/sudoedit.8.gz
+man/man8/sudoreplay.8.gz
+man/man8/visudo.8.gz
 sbin/visudo
 %%LDAP%%bin/sudoers2ldif
 %%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS
@@ -30,6 +37,7 @@ sbin/visudo
 %%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.OpenLDAP
 %%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.iPlanet
 %%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.ActiveDirectory
+%%NLS%%share/locale/cs/LC_MESSAGES/sudo.mo
 %%NLS%%share/locale/da/LC_MESSAGES/sudo.mo
 %%NLS%%share/locale/da/LC_MESSAGES/sudoers.mo
 %%NLS%%share/locale/de/LC_MESSAGES/sudo.mo
@@ -41,6 +49,7 @@ sbin/visudo
 %%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/fr/LC_MESSAGES/sudo.mo
 %%NLS%%share/locale/gl/LC_MESSAGES/sudo.mo
 %%NLS%%share/locale/hr/LC_MESSAGES/sudo.mo
 %%NLS%%share/locale/hr/LC_MESSAGES/sudoers.mo
@@ -53,6 +62,8 @@ sbin/visudo
 %%NLS%%share/locale/nl/LC_MESSAGES/sudoers.mo
 %%NLS%%share/locale/pl/LC_MESSAGES/sudo.mo
 %%NLS%%share/locale/pl/LC_MESSAGES/sudoers.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/sudo.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/sudoers.mo
 %%NLS%%share/locale/ru/LC_MESSAGES/sudo.mo
 %%NLS%%share/locale/sl/LC_MESSAGES/sudo.mo
 %%NLS%%share/locale/sl/LC_MESSAGES/sudoers.mo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310101328.r9ADSCWt034518>