Bug 182618 - [PATCH] security/sudo: update to 1.8.8 and etc.
Summary: [PATCH] security/sudo: update to 1.8.8 and etc.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wesley Shields
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-04 00:30 UTC by Yasuhiro Kimura
Modified: 2013-10-10 14:34 UTC (History)
0 users

See Also:


Attachments
patch-sudo (3.80 KB, text/plain)
2013-10-04 00:30 UTC, Yasuhiro Kimura
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2013-10-04 00:30:01 UTC
	
	- Update to 1.8.8.
	- Add staging support.
	- Update WWW.
	- Remove NLS from OPTIONS_DEFAULT because it is on by default.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-04 00:30:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wxs

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-10-10 14:28:20 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Wesley Shields freebsd_committer freebsd_triage 2013-10-10 14:34:42 UTC
State Changed
From-To: open->closed

Committed. Thanks!