ports/67828: [PATCH] mail/qmail: Add an option to don´t run automatic config
Renato Botelho
renato at galle.com.br
Fri Jun 11 12:10:23 UTC 2004
>Number: 67828
>Category: ports
>Synopsis: [PATCH] mail/qmail: Add an option to don´t run automatic config
>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 Jun 11 12:10:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Renato Botelho <renato at galle.com.br>
>Release: FreeBSD 5.2.1-RELEASE-p8 i386
>Organization:
Galle Folheados
>Environment:
System: FreeBSD srv1.news.galle.com.br 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #1: Wed May 26 10:37:40 BRT 2004
>Description:
Add an option to don´t run automatic config and preserver your config files on control dir.
Port maintainer (lioux at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- qmail-1.03_3.patch begins here ---
diff -ruN --exclude=CVS /dados/ports/mail/qmail.bak/Makefile /dados/ports/mail/qmail/Makefile
--- /dados/ports/mail/qmail.bak/Makefile Thu May 13 10:48:28 2004
+++ /dados/ports/mail/qmail/Makefile Fri Jun 11 08:31:40 2004
@@ -246,6 +246,8 @@
@${ECHO_MSG} " used by qmail when sending"
@${ECHO_MSG} " outgoing messages"
.endif # MAIN_QMAIL_PORT_WITH_OUTGOINGIP_PATCH_BARRIER
+ @${ECHO_MSG} "PRESERVE_CONFIG_FILES=yes don´t run automatic config"
+ @${ECHO_MSG} " to preserve your config files"
@${ECHO_MSG} "#"
.endif # MAIN_QMAIL_PORT_BUILD_WITH_OPTIONS_ADVERTISE_BARRIER
@@ -322,7 +324,9 @@
.endfor
@# This is not part of qmail proper, hence the 2nd class citizenship
${INSTALL_SCRIPT} ${FILESDIR}/mkaliasdir ${PREFIX}/${DOCDIR}
+.if !defined(PRESERVE_CONFIG_FILES)
@cd ${PREFIX}/configure ; ./config
+.endif
@${MKDIR} ${LOCALBASE}/etc/rc.d
@${LN} -sf ${PREFIX}/rc ${LOCALBASE}/etc/rc.d/qmail.sh
@${ECHO}
--- qmail-1.03_3.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list