Skip site navigation (1)Skip section navigation (2)
Date:      11 Jun 2004 09:06:13 -0300
From:      Renato Botelho <renato@galle.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lioux@FreeBSD.org
Subject:    =?iso-8859-1?q?ports/67828=3A_=5BPATCH=5D_mail/qmail=3A_Add_a?= =?iso-8859-1?q?n_option_to_don=B4t_run_automatic_config?=
Message-ID:  <20040611120613.70301.qmail@srv1.news.galle.com.br>
Resent-Message-ID: <200406111210.i5BCAMAs091682@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040611120613.70301.qmail>