From leeym@cn1.leeym.com  Sat Dec 20 08:29:33 2008
Return-Path: <leeym@cn1.leeym.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CB959106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 20 Dec 2008 08:29:33 +0000 (UTC)
	(envelope-from leeym@cn1.leeym.com)
Received: from cn1.leeym.com (b06s56le.corenetworks.net [64.85.165.237])
	by mx1.freebsd.org (Postfix) with ESMTP id A54D18FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 20 Dec 2008 08:29:33 +0000 (UTC)
	(envelope-from leeym@cn1.leeym.com)
Received: from cn1.leeym.com (localhost [127.0.0.1])
	by cn1.leeym.com (8.14.2/8.14.2) with ESMTP id mBK8TWRu053984;
	Sat, 20 Dec 2008 00:29:32 -0800 (PST)
	(envelope-from leeym@cn1.leeym.com)
Received: (from leeym@localhost)
	by cn1.leeym.com (8.14.2/8.14.2/Submit) id mBK8TWpc053983;
	Sat, 20 Dec 2008 00:29:32 -0800 (PST)
	(envelope-from leeym)
Message-Id: <200812200829.mBK8TWpc053983@cn1.leeym.com>
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: [PATCH] security/sudo: update to 1.7.0
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         129782
>Category:       ports
>Synopsis:       [PATCH] security/sudo: update to 1.7.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    wxs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 20 08:30:01 UTC 2008
>Closed-Date:    Mon Jan 04 21:29:40 UTC 2010
>Last-Modified:  Mon Jan 04 21:29:40 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->tmclaugh 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Dec 20 08:30:11 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129782 

From: Tom McLaughlin <tmclaugh@gmail.com>
To: bug-followup@FreeBSD.org, leeym@freebsd.org
Cc:  
Subject: Re: ports/129782: [PATCH] security/sudo: update to 1.7.0
Date: Sun, 21 Dec 2008 22:40:27 -0500

 I just want to note that I don't plan on updating sudo until a p1 or p2 
 version comes out since this version has seen a lot of change since the 
 1.6.x versions.
 
 tom

From: Sergey Skvortsov <skv@protey.ru>
To: bug-followup@FreeBSD.org, leeym@freebsd.org
Cc:  
Subject: Re: ports/129782: [PATCH] security/sudo: update to 1.7.0
Date: Wed, 15 Jul 2009 00:13:58 +0400

 The current stable version is sudo 1.7.2, released on July 11, 2009.
 
 Maybe it is the right time to update port?
 
 -- 
 Sergey Skvortsov
 mailto: skv@protey.ru

From: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
To: bug-followup@FreeBSD.org, leeym@FreeBSD.org
Cc:  
Subject: Re: ports/129782: [PATCH] security/sudo: update to 1.7.0
Date: Tue, 14 Jul 2009 19:40:59 -0400

 I did sit down for a bit with this recently.  Problem I'm having is with
 the LDAP option and specifically the SASL usage to authenticate when
 querying a directory.  I've had selective problems since Heimdal was
 updated in -CURRENT with nss_ldap and sudo.  Unfortunately it seems when
 fixing my setup with one I end up noticing some breakage in the other
 later on.
 -- 
 | tmclaugh at sdf.lonestar.org                 tmclaugh at FreeBSD.org |
 | FreeBSD                                       http://www.FreeBSD.org |
 
Responsible-Changed-From-To: tmclaugh->wxs 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Mon Oct 12 18:01:06 UTC 2009 
Responsible-Changed-Why:  
Take over from tmclaugh@. This PR may break LDAP interaction on 8 so it 
will need more investigation. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129782 
State-Changed-From-To: open->closed 
State-Changed-By: wxs 
State-Changed-When: Mon Jan 4 21:29:40 UTC 2010 
State-Changed-Why:  
I updated this to a newer version. Sorry for the delay and thank you for 
your submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129782 
>Unformatted:
 >unformatted:
