From garga@galle.com.br  Fri Aug 19 15:17:01 2005
Return-Path: <garga@galle.com.br>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1A8BD16A41F;
	Fri, 19 Aug 2005 15:17:01 +0000 (GMT)
	(envelope-from garga@galle.com.br)
Received: from data.galle.com.br (data.galle.com.br [200.246.25.10])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 745AF43D45;
	Fri, 19 Aug 2005 15:17:00 +0000 (GMT)
	(envelope-from garga@galle.com.br)
Received: from data.galle.com.br (data.galle.com.br [200.246.25.10])
	by data.galle.com.br (8.13.3/8.13.3) with ESMTP id j7JFGwod090236;
	Fri, 19 Aug 2005 12:16:58 -0300 (BRST)
	(envelope-from garga@data.galle.com.br)
Received: (from garga@localhost)
	by data.galle.com.br (8.13.3/8.13.3/Submit) id j7JFGqaI090235;
	Fri, 19 Aug 2005 12:16:52 -0300 (BRST)
	(envelope-from garga)
Message-Id: <200508191516.j7JFGqaI090235@data.galle.com.br>
Date: Fri, 19 Aug 2005 12:16:52 -0300 (BRST)
From: Renato Botelho <garga@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: roam@freebsd.org
Subject: [PATCH] mail/vpopmail: Add an option to set suid to vchkpw
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         85124
>Category:       ports
>Synopsis:       [PATCH] mail/vpopmail: Add an option to set suid to vchkpw
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    roam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 19 15:20:17 GMT 2005
>Closed-Date:    Mon Sep 05 21:27:23 GMT 2005
>Last-Modified:  Mon Sep 05 21:27:23 GMT 2005
>Originator:     Renato Botelho
>Release:        FreeBSD 5.4-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD data.galle.com.br 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #5: Wed Jul 27 07:36:40 BRST 2005
>Description:
- Add a new option WITH_SUID_VCHKPW to set suid bit to vchkpw binary.
It's useful to use vchkpw to authenticate qmail-smtpd sessions.

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

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

--- vpopmail-5.4.10_3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/vpopmail/Makefile,v
retrieving revision 1.55
diff -u -u -r1.55 Makefile
--- Makefile	1 Jul 2005 16:43:25 -0000	1.55
+++ Makefile	19 Aug 2005 13:48:09 -0000
@@ -62,6 +62,7 @@
 # WITHOUT_SEEKABLE - disables vdelivermail's attempt to make its input seekable
 # WITH_DOMAIN_QUOTAS	- enable domain quotas
 # WITH_SPAMASSASSIN	- enable SpamAssassin checks before Maildir delivery
+# WITH_SUID_VCHKPW	- set suid bit to vchkpw
 #
 # Set these to the values you'd prefer
 #
@@ -374,5 +375,8 @@
 	${MKDIR} ${PREFIX}/vpopmail/ldap
 	${INSTALL_DATA} ${LDAP_FILES} ${PREFIX}/vpopmail/ldap
 .endif
+.if defined(WITH_SUID_VCHKPW)
+	${CHMOD} u+s ${PREFIX}/vpopmail/bin/vchkpw
+.endif
 
 .include <bsd.port.post.mk>
--- vpopmail-5.4.10_3.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->roam 
Responsible-Changed-By: garga 
Responsible-Changed-When: Fri Aug 19 15:20:34 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=85124 
State-Changed-From-To: open->analyzed 
State-Changed-By: roam 
State-Changed-When: Sat Aug 20 15:43:11 GMT 2005 
State-Changed-Why:  
Looking into it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=85124 
State-Changed-From-To: analyzed->closed 
State-Changed-By: roam 
State-Changed-When: Mon Sep 5 21:27:13 GMT 2005 
State-Changed-Why:  
Patch committed, thanks! 

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