From root@srv1.galle.com.br  Wed Aug 11 21:59:32 2004
Return-Path: <root@srv1.galle.com.br>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C8D1B16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Aug 2004 21:59:32 +0000 (GMT)
Received: from srv1.galle.com.br (srv1.galle.com.br [200.246.25.2])
	by mx1.FreeBSD.org (Postfix) with SMTP id 88C8943D2D
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Aug 2004 21:59:31 +0000 (GMT)
	(envelope-from root@srv1.galle.com.br)
Received: (qmail 5699 invoked by uid 0); 11 Aug 2004 18:59:29 -0300
Message-Id: <20040811215929.5698.qmail@srv1.galle.com.br>
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: [PATCH] mail/qmail: Add an option to not create qmail.sh symlink
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:    lioux
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 11 22:00:21 GMT 2004
>Closed-Date:    Thu Apr 14 11:26:23 GMT 2005
>Last-Modified:  Thu Apr 14 11:26:23 GMT 2005
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->lioux 
Responsible-Changed-By: vs 
Responsible-Changed-When: Thu Aug 12 09:56:20 GMT 2004 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70327 
State-Changed-From-To: open->feedback 
State-Changed-By: vs 
State-Changed-When: Mon Aug 30 15:51:58 GMT 2004 
State-Changed-Why:  
Looks sensible. Is there any reason why this file isn't in the plist? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70327 

From: Renato Botelho <renato@galle.com.br>
To: freebsd-gnats-submit@FreeBSD.org, lioux@freebsd.org
Cc:  
Subject: Re: ports/70327: [PATCH] mail/qmail: Add an option to not create
 qmail.sh symlink
Date: Thu, 17 Feb 2005 07:21:16 -0200

 The problem is whre you use daemontools to run qmail programs, and dont 
 need to start anything except svscan on rc.d, so, if there is anything 
 on your /var/qmail/rc this process stops on initialization.
 
 Best Regards
 -- 
 Renato Botelho
 Galle Ind. e Com. de Bijouterias Ltda.
 Fone: (19) 3404-6064 - Fax: (19) 3404-6020

From: Renato Botelho <freebsd@galle.com.br>
To: freebsd-gnats-submit@FreeBSD.org, rbgarga@gmail.com
Cc:  
Subject: Re: ports/70327: [PATCH] mail/qmail: Add an option to not create qmail.sh symlink
Date: Wed, 13 Apr 2005 16:08:17 -0300

 Please, close this PR without commit. I'll merge this change to the next
 PR, with some changes.
 
 Thanks
 -- 
 Renato Botelho <freebsd at galle dot com dot br>
 AIM: RBGargaBR | ICQ: 54596223
 GnuPG Key: http://www.galle.com.br/~renato/pubkey.asc
 
 Any time things appear to be going better, you have overlooked
 something.
State-Changed-From-To: feedback->closed 
State-Changed-By: barner 
State-Changed-When: Thu Apr 14 11:24:33 GMT 2005 
State-Changed-Why:  
Closed at the request of Renato Botelho (the new qmail maintainer). He says he 
will submit an improved PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70327 
>Unformatted:
