From nobody@FreeBSD.org  Sat Nov  6 18:23:43 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C56D016A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  6 Nov 2004 18:23:43 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B503943D31
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  6 Nov 2004 18:23:43 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id iA6INh8X064344
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 6 Nov 2004 18:23:43 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id iA6INh6F064343;
	Sat, 6 Nov 2004 18:23:43 GMT
	(envelope-from nobody)
Message-Id: <200411061823.iA6INh6F064343@www.freebsd.org>
Date: Sat, 6 Nov 2004 18:23:43 GMT
From: "Matthew X. Economou" <xenophon+fbsdports@irtnog.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Patch for www/zope/files/zope.sh rc.d script to support Zope instances also hosting a ZEO database
X-Send-Pr-Version: www-2.3

>Number:         73622
>Category:       ports
>Synopsis:       Patch for www/zope/files/zope.sh rc.d script to support Zope instances also hosting a ZEO database
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 06 18:30:21 GMT 2004
>Closed-Date:    Mon Nov 08 13:41:25 GMT 2004
>Last-Modified:  Mon Nov 08 13:41:25 GMT 2004
>Originator:     Matthew X. Economou
>Release:        FreeBSD/i386 5.2-RELEASE-p11
>Organization:
IRTNOG.ORG
>Environment:
FreeBSD p03-0362-bsd.chmccorp.cchmc.org 5.2.1-RELEASE-p11
FreeBSD 5.2.1-RELEASE-p11 #0: Tue Oct 26 08:15:19 EDT 2004
root@p03-0362-bsd.chmccorp.cchmc.org:/usr/obj/usr/src/sys/P03-0362-BSD
i386

>Description:
If you add a ZEO database to your Zope instance, the "zope.sh" rc.d script
will not start or stop the ZEO database server.  Instead, one must
manually start/stop the ZEO database server, or one must patch "zope.sh"
to do it.

>How-To-Repeat:
1. Install www/zope.

2. Use "make instance" to create a Zope instance.

3. Add a ZEO database to the instance via "mkzeoinstance.py".

4. Reconfigure the Zope instance to use the ZEO database.

5. Start Zope using the provided rc.d script.  Only the Zope instance is
   started.  The ZEO database server is not running, so Zope does
   nothing beyond binding to the appropriate service ports.

>Fix:
Apply the following patch to correct this minor problem:

--- ports/www/zope/files/zope.sh.orig   Sat Nov  6 13:06:24 2004
+++ ports/www/zope/files/zope.sh        Sat Nov  6 13:06:48 2004
@@ -49,5 +49,9 @@
                        echo -n "       Instance ${instance} -> "
                        ${instance}/bin/zopectl $1
                fi
+               if [ -r ${instance}/etc/zeo.conf -a -x ${instance}/bin/zeoctl ]; then
+                       echo -n "       ZEO Database ${instance} -> "
+                       ${instance}/bin/zeoctl $1
+               fi
        done
 fi

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Sat Nov 6 18:53:00 GMT 2004 
State-Changed-Why:  
Asked maintainer for approval. 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Sat Nov 6 18:53:00 GMT 2004 
Responsible-Changed-Why:  
Handle. 

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

From: Pav Lucistnik <pav@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, xenophon+fbsdports@irtnog.org,
	estartu@augusta.de
Cc:  
Subject: Re: ports/73622: Patch for www/zope/files/zope.sh rc.d script to
	support Zope instances also hosting a ZEO database
Date: Sat, 06 Nov 2004 19:52:58 +0100

 Dear maintainer of FreeBSD port www/zope, please take a look at
 
 http://www.freebsd.org/cgi/query-pr.cgi?q=73622
 
 Do you approve this patch?
 
 -- 
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 > With a 10 MHz 386 the downloading speed would most likely drop to a crawl
 > or stop with the decoding process etc.
 I think most 10MHz 386 users are quite accustomed to things dropping
 to a crawl.

From: Gerhard Schmidt <estartu@mytum.de>
To: freebsd-gnats-submit@FreeBSD.org, xenophon+fbsdports@irtnog.org
Cc:  
Subject: Re: ports/73622: Patch for www/zope/files/zope.sh rc.d script to
 support Zope instances also hosting a ZEO database
Date: Mon, 08 Nov 2004 08:14:55 +0100

 I don`t think zope and zeo instances should be mixed in one directory.
 
 For now the port doesnt support zeo at all.
 
 I will provide an zeo.sh startupscript with zope2.7.3.
 
 I hope to finish this early this week.
 
 So far I don't approve this patch.
 

From: Gerhard Schmidt <estartu@augusta.de>
To: freebsd-gnats-submit@FreeBSD.org, xenophon+fbsdports@irtnog.org
Cc:  
Subject: Re: ports/73622: Patch for www/zope/files/zope.sh rc.d script to
 support Zope instances also hosting a ZEO database
Date: Mon, 08 Nov 2004 08:22:29 +0100

 Sorry posted from the wrong Adress. estartu@mytum.de is my adresse at work.
 
 bye
     Estartu
 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Mon Nov 8 13:41:10 GMT 2004 
State-Changed-Why:  
Maintainer rejected the patch. 

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