From osa@freebsd.org.ru  Wed Apr  2 00:06:06 2003
Return-Path: <osa@freebsd.org.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 2DEA737B401; Wed,  2 Apr 2003 00:06:06 -0800 (PST)
Received: from freebsd.org.ru (sweet.etrust.ru [194.84.67.5])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id E5B3D43F3F; Wed,  2 Apr 2003 00:06:04 -0800 (PST)
	(envelope-from osa@freebsd.org.ru)
Received: by freebsd.org.ru (Postfix, from userid 1000)
	id 418701A7; Wed,  2 Apr 2003 12:06:02 +0400 (MSD)
Message-Id: <20030402080602.418701A7@freebsd.org.ru>
Date: Wed,  2 Apr 2003 12:06:02 +0400 (MSD)
From: Sergey A.Osokin <osa@FreeBSD.org.ru>
Reply-To: Sergey A.Osokin <osa@FreeBSD.org.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc: mharo@FreeBSD.org
Subject: [PATCH] security/sudo: update from 1.6.6 to 1.6.7p1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50534
>Category:       ports
>Synopsis:       [PATCH] security/sudo: update from 1.6.6 to 1.6.7p1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 02 00:10:07 PST 2003
>Closed-Date:    Thu Apr 03 08:04:46 PST 2003
>Last-Modified:  Thu Apr 03 08:04:46 PST 2003
>Originator:     Sergey A. Osokin
>Release:        FreeBSD 4.8-PRERELEASE i386
>Organization:
n/a
>Environment:
System: FreeBSD 5.0-CURRENT i386


>Description:
	update security/sudo from 1.6.6 to 1.6.7p1
	fix annoing compile warnings
>How-To-Repeat:
>Fix:

Index: ports/security/sudo/Makefile
===================================================================
RCS file: /home/ncvs/ports/security/sudo/Makefile,v
retrieving revision 1.55
diff -u -r1.55 Makefile
--- ports/security/sudo/Makefile	7 Mar 2003 06:10:50 -0000	1.55
+++ ports/security/sudo/Makefile	2 Apr 2003 08:03:33 -0000
@@ -6,14 +6,14 @@
 #
 
 PORTNAME=	sudo
-PORTVERSION=	1.6.6
-PORTREVISION=	1
+PORTVERSION=	1.6.7.1
+PORTREVISION?=	0
 CATEGORIES=	security
 MASTER_SITES=	http://www.sudo.ws/sudo/dist/ \
 		ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/ \
 		ftp://ftp.stikman.com/pub/sudo/ \
 		ftp://ftp.uu.net/pub/security/sudo/
-DISTNAME=	${PORTNAME}-1.6.6
+DISTNAME=	${PORTNAME}-1.6.7p1
 
 MAINTAINER=	mharo@FreeBSD.org
 COMMENT=	Allow others to run commands as root
Index: ports/security/sudo/distinfo
===================================================================
RCS file: /home/ncvs/ports/security/sudo/distinfo,v
retrieving revision 1.34
diff -u -r1.34 distinfo
--- ports/security/sudo/distinfo	25 Apr 2002 17:20:23 -0000	1.34
+++ ports/security/sudo/distinfo	2 Apr 2003 08:03:33 -0000
@@ -1 +1 @@
-MD5 (sudo-1.6.6.tar.gz) = 4da4bf6cf31634cc7a17ec3b69fdc333
+MD5 (sudo-1.6.7p1.tar.gz) = b09e368e0fc171a955965b93dd1a0e82
--- /dev/null	Wed Apr  2 11:59:21 2003
+++ ports/security/sudo/files/patch-pam.c	Wed Apr  2 11:58:29 2003
@@ -0,0 +1,16 @@
+--- auth/pam.c.orig	Wed Apr  2 11:55:50 2003
++++ auth/pam.c	Wed Apr  2 11:57:32 2003
+@@ -224,11 +224,11 @@
+ 		    p = pm->msg;
+ 		/* Read the password. */
+ 		pass = tgetpass(p, def_ival(I_PASSWD_TIMEOUT) * 60, flags);
+-		pr->resp = estrdup(pass ? pass : "");
++		pr->resp = estrdup((const char *)pass ? (const char *)pass : "");
+ 		if (*pr->resp == '\0')
+ 		    nil_pw = 1;		/* empty password */
+ 		else
+-		    memset(pass, 0, strlen(pass));
++		    memset((void *)pass, 0, strlen((const char *)pass));
+ 		break;
+ 	    case PAM_TEXT_INFO:
+ 		if (pm->msg)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: fjoe 
State-Changed-When: Thu Apr 3 08:03:31 PST 2003 
State-Changed-Why:  
superseded by PR 50534 

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