Date: 11 Aug 2004 18:59:29 -0300 From: Renato Botelho <rbgarga@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: lioux@FreeBSD.org Subject: ports/70327: [PATCH] mail/qmail: Add an option to not create qmail.sh symlink Message-ID: <20040811215929.5698.qmail@srv1.galle.com.br> Resent-Message-ID: <200408112200.i7BM0Lqg079107@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70327 >Category: ports >Synopsis: [PATCH] mail/qmail: Add an option to not create qmail.sh symlink >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: Wed Aug 11 22:00:21 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Renato Botelho >Release: FreeBSD 5.2.1-RELEASE-p8 i386 >Organization: >Environment: System: FreeBSD srv1.galle.com.br 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #27: Wed May 26 10:21:14 BRT 2004 >Description: Add an option to not create qmail.sh symlink on rc.d directory, for users that use daemontools or something like and want to start youir qmail other way. Port maintainer (lioux@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- qmail-1.03_3.patch begins here --- diff -ruN --exclude=CVS /var/jail/data/usr/ports/mail/qmail.orig/Makefile /var/jail/data/usr/ports/mail/qmail/Makefile --- /var/jail/data/usr/ports/mail/qmail.orig/Makefile Fri Jun 25 02:08:47 2004 +++ /var/jail/data/usr/ports/mail/qmail/Makefile Wed Aug 11 18:53:00 2004 @@ -250,6 +250,11 @@ @${ECHO_MSG} "WITH_PRESERVE_CONFIG_FILES=yes do not run automatic config" @${ECHO_MSG} " to preserve your config files" .endif # MAIN_QMAIL_PORT_WITH_PRESERVE_CONFIG_FILES_BARRIER +.if !defined(MAIN_QMAIL_PORT_WITHOUT_CREATE_STARTUP_SCRIPT_BARRIER) + @${ECHO_MSG} "WITHOUT_CREATE_STARTUP_SCRIPT=yes" + @${ECHO_MSG} " do not create startup script" + @${ECHO_MSG} " if you want to start daemons by yourself" +.endif # MAIN_QMAIL_PORT_WITHOUT_CREATE_STARTUP_SCRIPT_BARRIER @${ECHO_MSG} "#" .endif # MAIN_QMAIL_PORT_BUILD_WITH_OPTIONS_ADVERTISE_BARRIER @@ -329,8 +334,10 @@ .if !defined(WITH_PRESERVE_CONFIG_FILES) @cd ${PREFIX}/configure ; ./config .endif +.if !defined(WITHOUT_CREATE_STARTUP_SCRIPT) @${MKDIR} ${LOCALBASE}/etc/rc.d @${LN} -sf ${PREFIX}/rc ${LOCALBASE}/etc/rc.d/qmail.sh +.endif @${ECHO} @${SED} s!/var/qmail!${PREFIX}!g ${PKGMESSAGE} | ${FMT} --- 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?20040811215929.5698.qmail>