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: ports/85124: [PATCH] mail/vpopmail: Add an option to set suid to vchkpw Message-ID: <200508191516.j7JFGqaI090235@data.galle.com.br> Resent-Message-ID: <200508191520.j7JFKIol013805@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508191516.j7JFGqaI090235>