ports/85124: [PATCH] mail/vpopmail: Add an option to set suid to vchkpw
Renato Botelho
garga at FreeBSD.org
Fri Aug 19 15:20:18 UTC 2005
>Number: 85124
>Category: ports
>Synopsis: [PATCH] mail/vpopmail: Add an option to set suid to vchkpw
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 19 15:20:17 GMT 2005
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list