Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2008 00:29:32 -0800 (PST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tmclaugh@FreeBSD.org
Subject:   ports/129782: [PATCH] security/sudo: update to 1.7.0
Message-ID:  <200812200829.mBK8TWpc053983@cn1.leeym.com>
Resent-Message-ID: <200812200830.mBK8U1HI092100@freefall.freebsd.org>

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

>Number:         129782
>Category:       ports
>Synopsis:       [PATCH] security/sudo: update to 1.7.0
>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:   Sat Dec 20 08:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD cn1.leeym.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
- Update to 1.7.0

Port maintainer (tmclaugh@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- sudo-1.7.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/sudo/Makefile,v
retrieving revision 1.100
diff -u -d -b -w -u -r1.100 Makefile
--- Makefile	21 Aug 2008 06:18:21 -0000	1.100
+++ Makefile	20 Dec 2008 08:29:27 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	sudo
-PORTVERSION=	1.6.9.17
+PORTVERSION=	1.7.0
 CATEGORIES=	security
 MASTER_SITES=	http://www.sudo.ws/sudo/dist/ \
 		ftp://obsd.isc.org/pub/sudo/ \
@@ -16,7 +16,6 @@
 		ftp://ftp.wiretapped.net/pub/security/host-security/sudo/ \
 		${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	tmclaugh/sudo
-DISTNAME=	${PORTNAME}-1.6.9p17
 
 MAINTAINER=	tmclaugh@FreeBSD.org
 COMMENT=	Allow others to run commands as root
@@ -36,6 +35,9 @@
 		INSULTS "With all insults" off \
 		SHELL_SETS_HOME "Set HOME env to target user in shell mode" off
 
+PORTDOCS=	ChangeLog HISTORY LICENSE PORTING README TROUBLESHOOTING \
+		UPGRADE WHATSNEW sample.sudoers
+
 .include <bsd.port.pre.mk>
 
 # SUDO_SECURE_PATH is a PATH string that will override the user's PATH.
@@ -54,6 +56,7 @@
 CONFIGURE_ARGS+=--with-ldap=${PREFIX}
 CONFIGURE_ARGS+=--with-ldap-conf-file=${PREFIX}/etc/ldap.conf
 PLIST_SUB+=	LDAP=""
+PORTDOCS+=	README.LDAP schema.OpenLDAP sudoers2ldif
 .else
 PLIST_SUB=	LDAP="@comment "
 .endif
@@ -77,17 +80,7 @@
 
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/BUGS ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/TROUBLESHOOTING ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/UPGRADE ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/sample.sudoers ${DOCSDIR}
-.if defined(WITH_LDAP)
-	${INSTALL_DATA} ${WRKSRC}/README.LDAP ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/schema.OpenLDAP ${DOCSDIR}
-	${INSTALL_SCRIPT} ${WRKSRC}/sudoers2ldif ${DOCSDIR}
-.endif
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
 .endif
 
 .include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/security/sudo/distinfo,v
retrieving revision 1.60
diff -u -d -b -w -u -r1.60 distinfo
--- distinfo	6 Jul 2008 23:20:05 -0000	1.60
+++ distinfo	20 Dec 2008 08:29:27 -0000
@@ -1,3 +1,3 @@
-MD5 (sudo-1.6.9p17.tar.gz) = 60daf18f28e2c1eb7641c4408e244110
-SHA256 (sudo-1.6.9p17.tar.gz) = 1e2cd4ff684c6f542b7e392010021f36b201d074620dad4d7689da60f9c74596
-SIZE (sudo-1.6.9p17.tar.gz) = 593534
+MD5 (sudo-1.7.0.tar.gz) = 5fd96bba35fe29b464f7aa6ad255f0a6
+SHA256 (sudo-1.7.0.tar.gz) = 5f7de94287f39c8b3b8d86aed147967e9286f45740412004233858b637391978
+SIZE (sudo-1.7.0.tar.gz) = 744311
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/security/sudo/pkg-plist,v
retrieving revision 1.16
diff -u -d -b -w -u -r1.16 pkg-plist
--- pkg-plist	10 Apr 2008 14:00:22 -0000	1.16
+++ pkg-plist	20 Dec 2008 08:29:28 -0000
@@ -6,13 +6,3 @@
 etc/sudoers.default
 libexec/sudo_noexec.so
 sbin/visudo
-%%PORTDOCS%%%%DOCSDIR%%/BUGS
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TROUBLESHOOTING
-%%PORTDOCS%%%%DOCSDIR%%/UPGRADE
-%%PORTDOCS%%%%DOCSDIR%%/sample.sudoers
-%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/README.LDAP
-%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.OpenLDAP
-%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/sudoers2ldif
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- sudo-1.7.0.patch ends here ---

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



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