Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  4 Oct 2013 08:26:16 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/182618: [PATCH] security/sudo: update to 1.8.8 and etc.
Message-ID:  <20131003232616.18AD04E630@eastasia.home.utahime.org>
Resent-Message-ID: <201310032330.r93NU2pC044531@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182618
>Category:       ports
>Synopsis:       [PATCH] security/sudo: update to 1.8.8 and etc.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 03 23:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Yasuhiro KIMURA
>Release:        FreeBSD 9.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD xxxx 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255921: Sat Sep 28 16:32:18 JST 2013 xxxx amd64


	
>Description:
	
	- Update to 1.8.8.
	- Add staging support.
	- Update WWW.
	- Remove NLS from OPTIONS_DEFAULT because it is on by default.

>How-To-Repeat:
	
>Fix:

	

--- patch-sudo begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 329219)
+++ Makefile	(working copy)
@@ -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 @@
 
 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
@@ -47,7 +46,6 @@
 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-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 @@
 .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>
Index: distinfo
===================================================================
--- distinfo	(revision 329219)
+++ distinfo	(working copy)
@@ -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
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 329219)
+++ pkg-descr	(working copy)
@@ -5,4 +5,4 @@
 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/
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 329219)
+++ pkg-plist	(working copy)
@@ -12,6 +12,13 @@
 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 @@
 %%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 @@
 %%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 @@
 %%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
--- patch-sudo ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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