From owner-freebsd-hubs@FreeBSD.ORG Wed Dec 8 08:21:34 2004 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DCCA16A4CE; Wed, 8 Dec 2004 08:21:34 +0000 (GMT) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34F3843D54; Wed, 8 Dec 2004 08:21:34 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (unknown [82.233.239.98]) by postfix3-2.free.fr (Postfix) with ESMTP id 6571BC04A; Wed, 8 Dec 2004 09:21:33 +0100 (CET) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 93796412C; Wed, 8 Dec 2004 09:20:01 +0100 (CET) Date: Wed, 8 Dec 2004 09:20:00 +0100 From: Jeremie Le Hen To: freebsd-hubs@FreeBSD.org Message-ID: <20041208082000.GP79919@obiwan.tataz.chchile.org> References: <20041207231019.GL79919@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i cc: jdp@FreeBSD.org cc: mux@FreeBSD.org Subject: Re: cvsup-mirror rewrite X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Distributions Hubs: mail sup ftp List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 08:21:34 -0000 [ This is a small conversation I had with jdp@ yesterday evening. Hub owners, please, read it and let me know your feelings about this. ] On Tue, Dec 07, 2004 at 07:38:27PM -0800, John Polstra wrote: > On 07-Dec-2004 Jeremie Le Hen wrote: > > I'm planning to rewrite some parts of cvsup-mirror to make it cleaner. > > Here is what I want to do for the moment: > > > > o I wish to make the dependency on cvsupd optionnal for those like > > me who just want to have a local copy of the FreeBSD CVS > > repository. > > > > o I would also like to move etc/cvsup/update.sh to something like > > /usr/local/libexec/cvsup-mirror.sh, following the example of the > > atrun command executed from cron(8) [1]. > > > > o I think it would be relevant to move the etc/rc.d/sup.client/ > > directory to /var/db/, just as it has been done recently in > > RELENG_5 and HEAD for example supfiles [2]. > > > > o Move cvsup-mirror specific files to etc/rc.d/cvsup/mirror/ to > > have a clearer hierarchy. > > > > That's all what I thought about for the moment, but I'll maybe find > > other things to do while working on it. > > > > I prefer to taste your opinion on the subject before beginning my work. > > Would you be interested in commiting such changes ? Do you have any > > comments on things I described above or additional ideas ? > > > > [1] obiwan:libexec# grep atrun /etc/crontab > > */5 * * * * root /usr/libexec/atrun > > > > [2] obiwan:cvsup# grep /var/db /usr/share/examples/cvsup/standard-supfile > > *default base=/var/db > > I think your ideas are reasonable, but they could cause problems for > mirror sites that upgraded to a new version of cvsup-mirror. Lots of > files wouldn't be in the expected places. On the other hand, it's not > particularly easy to upgrade an existing cvsup-mirror installation > even now. > > If you want to make these changes, I think you should get the opinions > of the folks on the freebsd-hubs mailing list first. They're the main > users of this port. > > I don't have time to commit your changes, but I wouldn't object at all > if you would (a) take over maintainership of the port, and (b) find > another committer to do the commits for you. In particular, I want to know if some hub administrators are against this kind of changes and why. Furthermore, I would like to gather ideas on the hypotetical upgrade method. Regards, -- Jeremie Le Hen jeremie@le-hen.org From owner-freebsd-hubs@FreeBSD.ORG Wed Dec 8 16:50:01 2004 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB5D016A4CE; Wed, 8 Dec 2004 16:50:00 +0000 (GMT) Received: from minerva.int.gov.br (nat.int.gov.br [200.20.196.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D60043D58; Wed, 8 Dec 2004 16:49:59 +0000 (GMT) (envelope-from jonny@jonny.eng.br) Received: from [10.0.8.17] (dinf-02 [10.0.8.17]) by minerva.int.gov.br (Postfix) with ESMTP id B2D12BE65C; Wed, 8 Dec 2004 14:49:56 -0200 (BRDT) Message-ID: <41B730B5.5040100@jonny.eng.br> Date: Wed, 08 Dec 2004 14:49:57 -0200 From: =?ISO-8859-1?Q?Jo=E3o_Carlos_Mendes_Lu=EDs?= User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeremie Le Hen References: <20041207231019.GL79919@obiwan.tataz.chchile.org> <20041208082000.GP79919@obiwan.tataz.chchile.org> In-Reply-To: <20041208082000.GP79919@obiwan.tataz.chchile.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: jdp@FreeBSD.org cc: mux@FreeBSD.org cc: freebsd-hubs@FreeBSD.org Subject: Re: cvsup-mirror rewrite X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Distributions Hubs: mail sup ftp List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 16:50:01 -0000 Jeremie Le Hen wrote: > [ This is a small conversation I had with jdp@ yesterday evening. Hub > owners, please, read it and let me know your feelings about this. ] > > On Tue, Dec 07, 2004 at 07:38:27PM -0800, John Polstra wrote: > >>On 07-Dec-2004 Jeremie Le Hen wrote: >> >>>I'm planning to rewrite some parts of cvsup-mirror to make it cleaner. >>>Here is what I want to do for the moment: >>> >>> o I wish to make the dependency on cvsupd optionnal for those like >>> me who just want to have a local copy of the FreeBSD CVS >>> repository. I don't quite see any useful reason for this, but if this does not brake anything else, no problem. >>> >>> o I would also like to move etc/cvsup/update.sh to something like >>> /usr/local/libexec/cvsup-mirror.sh, following the example of the >>> atrun command executed from cron(8) [1]. I'd expect more work on customizing update.sh to allow it's configuration to come from /etc/rc.conf or some other place not touched during upgrades. As jdp stated, an upgrade is not easy right now. Where the real script lives is not a big problem at all. See below... >>> >>> o I think it would be relevant to move the etc/rc.d/sup.client/ >>> directory to /var/db/, just as it has been done recently in >>> RELENG_5 and HEAD for example supfiles [2]. This would break the (weak) assumption that a port is fully under ${DESTDIR}. There are already some ports that do this, including some I've made myself, but it's not something I'm proud of. ;-) Off course, a configurable update.sh would allow anybody chose where to put it, but I would rather not make the default be outside ${DESTDIR}. >>> >>> o Move cvsup-mirror specific files to etc/rc.d/cvsup/mirror/ to >>> have a clearer hierarchy. rc.d??? Is this right? rc.d is for startup script, this would be a very bad place! But indeed I'd rather have all files in ${PREFIX}/cvsup-mirror instead of ${PREFIX}/etc/cvsup >>> >>>That's all what I thought about for the moment, but I'll maybe find >>>other things to do while working on it. I don't know if this is possible, but my wishlist includes some change to avoid using symbolic links on the prefixes/ subdir and instead list the prefixes in a text file, where it could be safely saved in a CVS repo. With this and above changes a upgrade would be simply a matter of changing the scripts and keeping the site config files. >>> >>>I prefer to taste your opinion on the subject before beginning my work. >>>Would you be interested in commiting such changes ? Do you have any >>>comments on things I described above or additional ideas ? >>> >>>[1] obiwan:libexec# grep atrun /etc/crontab >>> */5 * * * * root /usr/libexec/atrun >>> >>>[2] obiwan:cvsup# grep /var/db /usr/share/examples/cvsup/standard-supfile >>> *default base=/var/db >> >>I think your ideas are reasonable, but they could cause problems for >>mirror sites that upgraded to a new version of cvsup-mirror. Lots of >>files wouldn't be in the expected places. On the other hand, it's not >>particularly easy to upgrade an existing cvsup-mirror installation >>even now. >> >>If you want to make these changes, I think you should get the opinions >>of the folks on the freebsd-hubs mailing list first. They're the main >>users of this port. >> >>I don't have time to commit your changes, but I wouldn't object at all >>if you would (a) take over maintainership of the port, and (b) find >>another committer to do the commits for you. > > > In particular, I want to know if some hub administrators are against > this kind of changes and why. Furthermore, I would like to gather > ideas on the hypotetical upgrade method. > > Regards, From owner-freebsd-hubs@FreeBSD.ORG Wed Dec 8 17:03:43 2004 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7450516A4CF; Wed, 8 Dec 2004 17:03:43 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2635643D6E; Wed, 8 Dec 2004 17:03:42 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B0A1751255; Wed, 8 Dec 2004 09:10:07 -0800 (PST) Date: Wed, 8 Dec 2004 09:10:07 -0800 From: Kris Kennaway To: Jo?o Carlos Mendes Lu?s Message-ID: <20041208171007.GA39154@xor.obsecurity.org> References: <20041207231019.GL79919@obiwan.tataz.chchile.org> <20041208082000.GP79919@obiwan.tataz.chchile.org> <41B730B5.5040100@jonny.eng.br> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: <41B730B5.5040100@jonny.eng.br> User-Agent: Mutt/1.4.2.1i cc: jdp@FreeBSD.org cc: mux@FreeBSD.org cc: freebsd-hubs@FreeBSD.org Subject: Re: cvsup-mirror rewrite X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Distributions Hubs: mail sup ftp List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 17:03:43 -0000 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 08, 2004 at 02:49:57PM -0200, Jo?o Carlos Mendes Lu?s wrote: > >>> o Move cvsup-mirror specific files to etc/rc.d/cvsup/mirror/ to > >>> have a clearer hierarchy. >=20 > rc.d??? >=20 > Is this right? rc.d is for startup script, this would be a very bad plac= e! >=20 > But indeed I'd rather have all files in ${PREFIX}/cvsup-mirror instead=20 > of ${PREFIX}/etc/cvsup You're right that etc/rc.d would violate hier(7), but so would ${PREFIX}/cvsup-mirror. Config files canonically go under ${PREFIX}/etc/. Kris --AqsLC8rIMeq19msA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBtzVvWry0BWjoQKURAvUlAJ43LTVJBOcZvQeQWpmgNHq53B9rHQCfU6rl 4xXHYF/ERX/7WOdDlVwO/As= =Nnsz -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA-- From owner-freebsd-hubs@FreeBSD.ORG Wed Dec 8 18:03:00 2004 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F77E16A4CE for ; Wed, 8 Dec 2004 18:03:00 +0000 (GMT) Received: from ip209-154.digitalrealm.net (ip193-227.digitalrealm.net [216.144.193.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id A86D743D68 for ; Wed, 8 Dec 2004 18:02:59 +0000 (GMT) (envelope-from laszlof@vonostingroup.com) Received: (qmail 35223 invoked by uid 1003); 8 Dec 2004 18:02:59 -0000 Received: from laszlof@vonostingroup.com by ritamari.vonostingroup.com by uid 89 with qmail-scanner-1.22 (clamscan: 0.65. spamassassin: 2.60. Clear:RC:1(68.72.248.38):. Processed in 0.944132 secs); 08 Dec 2004 18:02:59 -0000 Received: from unknown (HELO vonostingroup.com) (laszlof@vonostingroup.com@68.72.248.38) by ip193-227.digitalrealm.net with SMTP; 8 Dec 2004 18:02:57 -0000 Message-ID: <41B741D0.7020305@vonostingroup.com> Date: Wed, 08 Dec 2004 13:02:56 -0500 From: Frank Laszlo User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <20041207231019.GL79919@obiwan.tataz.chchile.org> <20041208082000.GP79919@obiwan.tataz.chchile.org> <41B730B5.5040100@jonny.eng.br> <20041208171007.GA39154@xor.obsecurity.org> In-Reply-To: <20041208171007.GA39154@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: jdp@FreeBSD.org cc: mux@FreeBSD.org cc: freebsd-hubs@FreeBSD.org Subject: Re: cvsup-mirror rewrite X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Distributions Hubs: mail sup ftp List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 18:03:00 -0000 Kris Kennaway wrote: >On Wed, Dec 08, 2004 at 02:49:57PM -0200, Jo?o Carlos Mendes Lu?s wrote: > > > >>>>> o Move cvsup-mirror specific files to etc/rc.d/cvsup/mirror/ to >>>>> have a clearer hierarchy. >>>>> >>>>> >>rc.d??? >> >>Is this right? rc.d is for startup script, this would be a very bad place! >> >>But indeed I'd rather have all files in ${PREFIX}/cvsup-mirror instead >>of ${PREFIX}/etc/cvsup >> >> > >You're right that etc/rc.d would violate hier(7), but so would >${PREFIX}/cvsup-mirror. Config files canonically go under >${PREFIX}/etc/. > >Kris > how about ${PREFIX}/share? Frank From owner-freebsd-hubs@FreeBSD.ORG Wed Dec 8 18:06:55 2004 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C085A16A4CE; Wed, 8 Dec 2004 18:06:55 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F2F443D39; Wed, 8 Dec 2004 18:06:55 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B8FBD51385; Wed, 8 Dec 2004 10:13:20 -0800 (PST) Date: Wed, 8 Dec 2004 10:13:20 -0800 From: Kris Kennaway To: Frank Laszlo Message-ID: <20041208181320.GA60455@xor.obsecurity.org> References: <20041207231019.GL79919@obiwan.tataz.chchile.org> <20041208082000.GP79919@obiwan.tataz.chchile.org> <41B730B5.5040100@jonny.eng.br> <20041208171007.GA39154@xor.obsecurity.org> <41B741D0.7020305@vonostingroup.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline In-Reply-To: <41B741D0.7020305@vonostingroup.com> User-Agent: Mutt/1.4.2.1i cc: jdp@FreeBSD.org cc: mux@FreeBSD.org cc: freebsd-hubs@FreeBSD.org cc: Kris Kennaway Subject: Re: cvsup-mirror rewrite X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Distributions Hubs: mail sup ftp List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 18:06:55 -0000 --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 08, 2004 at 01:02:56PM -0500, Frank Laszlo wrote: > Kris Kennaway wrote: >=20 > >On Wed, Dec 08, 2004 at 02:49:57PM -0200, Jo?o Carlos Mendes Lu?s wrote: > > > >=20 > > > >>>>> o Move cvsup-mirror specific files to etc/rc.d/cvsup/mirror/ to > >>>>> have a clearer hierarchy. > >>>>> =20 > >>>>> > >>rc.d??? > >> > >>Is this right? rc.d is for startup script, this would be a very bad=20 > >>place! > >> > >>But indeed I'd rather have all files in ${PREFIX}/cvsup-mirror instead= =20 > >>of ${PREFIX}/etc/cvsup > >> =20 > >> > > > >You're right that etc/rc.d would violate hier(7), but so would > >${PREFIX}/cvsup-mirror. Config files canonically go under > >${PREFIX}/etc/. > > > >Kris > > > how about ${PREFIX}/share? share/ is for static data and other non-binary support files. Kris --sdtB3X0nJg68CQEu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBt0RAWry0BWjoQKURAhgIAKCPDIOldmq65VyhnwG807R+mU2tswCggEGP hZcCBzU19ygdmU0BViOpdo8= =16Ff -----END PGP SIGNATURE----- --sdtB3X0nJg68CQEu-- From owner-freebsd-hubs@FreeBSD.ORG Wed Dec 8 19:16:02 2004 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E96F16A4CE; Wed, 8 Dec 2004 19:16:02 +0000 (GMT) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id B114343D5C; Wed, 8 Dec 2004 19:16:01 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (unknown [82.233.239.98]) by postfix3-1.free.fr (Postfix) with ESMTP id B77C3178B18; Wed, 8 Dec 2004 19:15:11 +0100 (CET) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 2724B412C; Wed, 8 Dec 2004 19:13:37 +0100 (CET) Date: Wed, 8 Dec 2004 19:13:36 +0100 From: Jeremie Le Hen To: Kris Kennaway Message-ID: <20041208181336.GT79919@obiwan.tataz.chchile.org> References: <20041207231019.GL79919@obiwan.tataz.chchile.org> <20041208082000.GP79919@obiwan.tataz.chchile.org> <41B730B5.5040100@jonny.eng.br> <20041208171007.GA39154@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041208171007.GA39154@xor.obsecurity.org> User-Agent: Mutt/1.5.6i cc: jdp@FreeBSD.org cc: mux@FreeBSD.org cc: freebsd-hubs@FreeBSD.org Subject: Re: cvsup-mirror rewrite X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Distributions Hubs: mail sup ftp List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 19:16:02 -0000 On Wed, Dec 08, 2004 at 09:10:07AM -0800, Kris Kennaway wrote: > On Wed, Dec 08, 2004 at 02:49:57PM -0200, Jo?o Carlos Mendes Lu?s wrote: > > > >>> o Move cvsup-mirror specific files to etc/rc.d/cvsup/mirror/ to > > >>> have a clearer hierarchy. > > > > rc.d??? > > > > Is this right? rc.d is for startup script, this would be a very bad place! > > > > But indeed I'd rather have all files in ${PREFIX}/cvsup-mirror instead > > of ${PREFIX}/etc/cvsup > > You're right that etc/rc.d would violate hier(7), but so would > ${PREFIX}/cvsup-mirror. Config files canonically go under > ${PREFIX}/etc/. Sorry I mis-wrote the path, what I intended to write was ${PREFIX}/etc/cvsup/mirror but I agree that ${PREFIX}/etc/cvsup-mirror is a better place. -- Jeremie Le Hen jeremie@le-hen.org From owner-freebsd-hubs@FreeBSD.ORG Wed Dec 8 23:23:50 2004 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 200F716A4CE; Wed, 8 Dec 2004 23:23:50 +0000 (GMT) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AB7D43D5C; Wed, 8 Dec 2004 23:23:48 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (unknown [82.233.239.98]) by postfix3-1.free.fr (Postfix) with ESMTP id DC855176B6A; Wed, 8 Dec 2004 23:47:43 +0100 (CET) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 5FC33412C; Wed, 8 Dec 2004 23:46:06 +0100 (CET) Date: Wed, 8 Dec 2004 23:46:05 +0100 From: Jeremie Le Hen To: =?iso-8859-1?Q?Jo=E3o_Carlos_Mendes_Lu=EDs?= Message-ID: <20041208224605.GU79919@obiwan.tataz.chchile.org> References: <20041207231019.GL79919@obiwan.tataz.chchile.org> <20041208082000.GP79919@obiwan.tataz.chchile.org> <41B730B5.5040100@jonny.eng.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41B730B5.5040100@jonny.eng.br> User-Agent: Mutt/1.5.6i cc: jdp@FreeBSD.org cc: mux@FreeBSD.org cc: freebsd-hubs@FreeBSD.org Subject: Re: cvsup-mirror rewrite X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Distributions Hubs: mail sup ftp List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 23:23:50 -0000 First, thanks replying and sharing your opinion. > >>> o I would also like to move etc/cvsup/update.sh to something like > >>> /usr/local/libexec/cvsup-mirror.sh, following the example of the > >>> atrun command executed from cron(8) [1]. > > I'd expect more work on customizing update.sh to allow it's > configuration to come from /etc/rc.conf or some other place not touched > during upgrades. As jdp stated, an upgrade is not easy right now. Yes, this is indeed a great goal. The configuration variables would roughly use the config.sh ones and a another one which specifies where "bookkeeping files" are stored (which is /var/db for the base system). > >>> > >>> o I think it would be relevant to move the etc/rc.d/sup.client/ > >>> directory to /var/db/, just as it has been done recently in > >>> RELENG_5 and HEAD for example supfiles [2]. > > This would break the (weak) assumption that a port is fully under > ${DESTDIR}. There are already some ports that do this, including some > I've made myself, but it's not something I'm proud of. ;-) > > Off course, a configurable update.sh would allow anybody chose where to > put it, but I would rather not make the default be outside ${DESTDIR}. I understand your point of view but there is no var/ directory under ${DESTDIR}. It's also worth noting that usually logs from Apache or Postfix - which are installed from ports - are stored in /var/log and not in ${DESTDIR}/var/log. Furthermore, I can't think of any directory under ${DESTDIR} which would achieve the same purposes as /var/db. IMHO ${DESTDIR}/etc/cvsup is definitely not an option, according to hier(7). However, I would be glad to adopt any proposition which succeeds in merging benefits of both solutions without the drawbacks :-). > >>>That's all what I thought about for the moment, but I'll maybe find > >>>other things to do while working on it. > > I don't know if this is possible, but my wishlist includes some change > to avoid using symbolic links on the prefixes/ subdir and instead list > the prefixes in a text file, where it could be safely saved in a CVS repo. That's a quite pleasant idea. > With this and above changes a upgrade would be simply a matter of > changing the scripts and keeping the site config files. I'm wondering if it's better to keep backward compatibility and thus avoid all changes concerning the files storage location discussed above, or simply to fork cvs-mirror (and call it "cvsup-hubs" for example) to be able to be more hier(7) compliant. It seems indeed that changing files location in cvsup-mirror is not an option since there would be no way to do a proper upgrade. Best regards, -- Jeremie Le Hen jeremie@le-hen.org From owner-freebsd-hubs@FreeBSD.ORG Thu Dec 9 14:27:42 2004 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CCEA16A4CE; Thu, 9 Dec 2004 14:27:42 +0000 (GMT) Received: from minerva.int.gov.br (nat.int.gov.br [200.20.196.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A84C43D31; Thu, 9 Dec 2004 14:27:41 +0000 (GMT) (envelope-from jonny@jonny.eng.br) Received: from [10.0.8.17] (dinf-02 [10.0.8.17]) by minerva.int.gov.br (Postfix) with ESMTP id 09BE0BE562; Thu, 9 Dec 2004 12:27:39 -0200 (BRDT) Message-ID: <41B860DA.5080309@jonny.eng.br> Date: Thu, 09 Dec 2004 12:27:38 -0200 From: =?ISO-8859-1?Q?Jo=E3o_Carlos_Mendes_Lu=EDs?= User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeremie Le Hen References: <20041207231019.GL79919@obiwan.tataz.chchile.org> <20041208082000.GP79919@obiwan.tataz.chchile.org> <41B730B5.5040100@jonny.eng.br> <20041208224605.GU79919@obiwan.tataz.chchile.org> In-Reply-To: <20041208224605.GU79919@obiwan.tataz.chchile.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: jdp@FreeBSD.org cc: mux@FreeBSD.org cc: freebsd-hubs@FreeBSD.org Subject: Re: cvsup-mirror rewrite X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Distributions Hubs: mail sup ftp List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 14:27:42 -0000 Jeremie Le Hen wrote: > First, thanks replying and sharing your opinion. > > >>>>> o I would also like to move etc/cvsup/update.sh to something like >>>>> /usr/local/libexec/cvsup-mirror.sh, following the example of the >>>>> atrun command executed from cron(8) [1]. >> >>I'd expect more work on customizing update.sh to allow it's >>configuration to come from /etc/rc.conf or some other place not touched >>during upgrades. As jdp stated, an upgrade is not easy right now. > > > Yes, this is indeed a great goal. The configuration variables would > roughly use the config.sh ones and a another one which specifies where > "bookkeeping files" are stored (which is /var/db for the base system). That's not true for every port. Let take squid, for example. It creates a ${PREFIX}/squid directory, under which it puts cache and log files. Also, arpwatch uses ${PREFIX}/arpwatch to store constant and varying databases. PostgreSQL is another example, which uses ${PREFIX}/pgsql as home dir to the user pgsql, and under which it stores all config and database files. Last but not least, every version of java I've used in FreeBSD creates a complete hierarchy under its own directory below ${PREFIX}/foo. I do agree that it breaks hier(7), but some packages are just to complex or tight to spread over lots of directories. In my own servers, for example, I simply don't use the default squid port because of this spreading. I personally prefer the original squid layout, with /usr/local/squid/{bin,sbin,lib,cache,log,etc.}. It makes easier for me to find what I need quickier. > I understand your point of view but there is no var/ directory under > ${DESTDIR}. It's also worth noting that usually logs from Apache or > Postfix - which are installed from ports - are stored in /var/log and > not in ${DESTDIR}/var/log. Well, postfix is a full replacement for a "system package" (sendmail), so it's reasonable to make its changes transparent, just like those that have been made recently with perl, until it has been taken off the base system. I even would agree to completely remove sendmail and use a "slot" structure for mail ports. Also Apache is fully configurable in this aspect, and my hosts have NEVER written logs to /var/log. I use a subdirectory for each virtual host, each one with its individual data and log directories. And this is what most provider do, since they have to allow access for different users for each virtual host. The defaults for apache are just that: defaults. But I don't know a single realworld server running on defaul. > Furthermore, I can't think of any directory > under ${DESTDIR} which would achieve the same purposes as /var/db. > IMHO ${DESTDIR}/etc/cvsup is definitely not an option, according to > hier(7). > > However, I would be glad to adopt any proposition which succeeds in > merging benefits of both solutions without the drawbacks :-). ${PREFIX}/cvsup-mirror ;-) I would put no file related to cvsup-mirror outside this directory, except maybe the config rules in /etc/rc.conf and rc_subr startup routines if any (I don't think so). Even the crontab files should not be touched by the port. The best way is to teach the user what to do, and let him chose which parameters to put there. For example, some places may want to sync just once a day, at night. Others may want to sync every hour or so. And even others may want to do a quick sync (cvsup -s) every hour and a full sync once a day. >>With this and above changes a upgrade would be simply a matter of >>changing the scripts and keeping the site config files. > > I'm wondering if it's better to keep backward compatibility and thus > avoid all changes concerning the files storage location discussed above, > or simply to fork cvs-mirror (and call it "cvsup-hubs" for example) to > be able to be more hier(7) compliant. It seems indeed that changing > files location in cvsup-mirror is not an option since there would be no > way to do a proper upgrade. Indeed, upgrade is already a PITA. I'd vote for a last big change in cvsup-mirror to make futures upgrades easier, even if it completely breaks the current install format. cvsup-mirror is a good name, there's no need to change it, IMHO. But it's functionality is definitly not good. Please, feel free to contact me in private to discuss more ideas and/or beta testing when you start coding. Cheers, Jonny From owner-freebsd-hubs@FreeBSD.ORG Thu Dec 9 18:12:54 2004 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C24816A4CE; Thu, 9 Dec 2004 18:12:54 +0000 (GMT) Received: from hex.databits.net (hex.databits.net [216.118.117.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF30243D5A; Thu, 9 Dec 2004 18:12:53 +0000 (GMT) (envelope-from will@csociety.org) Received: by hex.databits.net (Postfix, from userid 1001) id 5B38857B10; Thu, 9 Dec 2004 12:12:51 -0600 (CST) Date: Thu, 9 Dec 2004 12:12:51 -0600 From: Will Andrews To: mirrors@tds.net Message-ID: <20041209181251.GB62516@hex.databits.net> Mail-Followup-To: mirrors@tds.net, freebsd-hubs@freebsd.org, Ken Smith References: <200412040912.iB49CQif009976@outbound1.mail.tds.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NMuMz9nt05w80d4+" Content-Disposition: inline In-Reply-To: <200412040912.iB49CQif009976@outbound1.mail.tds.net> User-Agent: Mutt/1.5.6i cc: freebsd-hubs@freebsd.org cc: Ken Smith Subject: Re: New US Mirror X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Distributions Hubs: mail sup ftp List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 18:12:54 -0000 --NMuMz9nt05w80d4+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 04, 2004 at 09:12:26AM +0000, mirrors@tds.net wrote: > I have a mirror server available in Madison, WI that I'd like to offer fo= r the .us rotation of rsync/ftp/cvsup, even www it you need it.=20 As I didn't see any reply... thanks for your mirror! Ken Smith is the current hostmaster who should be pestered to add an ftpNN.us.freebsd.org CNAME for your server. (I couldn't find one when I looked just now.) Regards, --=20 wca --NMuMz9nt05w80d4+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBuJWiF47idPgWcsURAiErAJ0WpBdjn7V9jebFRDEW0otl41J7EACeNl/I p+d+/dO1CxlYX1LE/qwwXIw= =GE2x -----END PGP SIGNATURE----- --NMuMz9nt05w80d4+-- From owner-freebsd-hubs@FreeBSD.ORG Thu Dec 9 18:17:14 2004 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E3D316A4CE; Thu, 9 Dec 2004 18:17:14 +0000 (GMT) Received: from electra.cse.Buffalo.EDU (electra.cse.Buffalo.EDU [128.205.32.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65E6843D2F; Thu, 9 Dec 2004 18:17:13 +0000 (GMT) (envelope-from kensmith@cse.Buffalo.EDU) Received: from electra.cse.Buffalo.EDU (kensmith@localhost [127.0.0.1]) iB9IHCIo023217; Thu, 9 Dec 2004 13:17:12 -0500 (EST) Received: (from kensmith@localhost) by electra.cse.Buffalo.EDU (8.12.10/8.12.9/Submit) id iB9IHCnS023216; Thu, 9 Dec 2004 13:17:12 -0500 (EST) Date: Thu, 9 Dec 2004 13:17:12 -0500 From: Ken Smith To: mirrors@tds.net, freebsd-hubs@freebsd.org, Ken Smith Message-ID: <20041209181711.GF14918@electra.cse.Buffalo.EDU> References: <200412040912.iB49CQif009976@outbound1.mail.tds.net> <20041209181251.GB62516@hex.databits.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041209181251.GB62516@hex.databits.net> User-Agent: Mutt/1.4.1i Subject: Re: New US Mirror X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Distributions Hubs: mail sup ftp List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 18:17:14 -0000 On Thu, Dec 09, 2004 at 12:12:51PM -0600, Will Andrews wrote: > On Sat, Dec 04, 2004 at 09:12:26AM +0000, mirrors@tds.net wrote: > > I have a mirror server available in Madison, WI that I'd like to offer for the .us rotation of rsync/ftp/cvsup, even www it you need it. > > As I didn't see any reply... thanks for your mirror! Ken Smith > is the current hostmaster who should be > pestered to add an ftpNN.us.freebsd.org CNAME for your server. > (I couldn't find one when I looked just now.) > Yes, sorry - I'm running a bit behind on some stuff. :-( I'll be in contact shortly. We're actually in more need of the cvsup services than ftp services at the moment but both will be greatly appreciated. You just caught me at the end of the semester in my real job so time is a bit tight at the moment. -- Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | From owner-freebsd-hubs@FreeBSD.ORG Sat Dec 11 12:38:08 2004 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48B0016A4CE; Sat, 11 Dec 2004 12:38:08 +0000 (GMT) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCAC843D3F; Sat, 11 Dec 2004 12:38:07 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (unknown [82.233.239.98]) by postfix3-2.free.fr (Postfix) with ESMTP id 5DC6FC0FA; Sat, 11 Dec 2004 13:38:04 +0100 (CET) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 7FA4A412C; Sat, 11 Dec 2004 13:35:54 +0100 (CET) Date: Sat, 11 Dec 2004 13:35:53 +0100 From: Jeremie Le Hen To: =?iso-8859-1?Q?Jo=E3o_Carlos_Mendes_Lu=EDs?= Message-ID: <20041211123553.GM79919@obiwan.tataz.chchile.org> References: <20041207231019.GL79919@obiwan.tataz.chchile.org> <20041208082000.GP79919@obiwan.tataz.chchile.org> <41B730B5.5040100@jonny.eng.br> <20041208224605.GU79919@obiwan.tataz.chchile.org> <41B860DA.5080309@jonny.eng.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <41B860DA.5080309@jonny.eng.br> User-Agent: Mutt/1.5.6i cc: jdp@FreeBSD.org cc: mux@FreeBSD.org cc: freebsd-hubs@FreeBSD.org Subject: Re: cvsup-mirror rewrite X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Distributions Hubs: mail sup ftp List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Dec 2004 12:38:08 -0000 On Thu, Dec 09, 2004 at 12:27:38PM -0200, João Carlos Mendes Luís wrote: > > [...] Well, I won't be deeply convinced that using ${PREFIX}/${PORTNAME} as installation target it the cleanest thing to do while the core team won't direct us to do so. In fact, I think your arguments are not so bad and I'm going to adopt your point of view for a first try in the code rewrite (anyway changing installation location is not so hard), even if it's totally breaking hier(7) IMHO. But for now, I'm quite harassed that both hierarchies are used in the same time ; I think this is going to be a mess if port maintainers are able either to spread the port files accross the standard hierarchy (hier(7)) or to simply put them all in ${PREFIX}/${PORTNAME} depending on their own policy without further control. I would like to hear the opinion of people such as kris@ about this subject and know if it has already been discussed by FreeBSD authorities or if it is judicious to ask core team otherwise. Regards, -- Jeremie Le Hen jeremie@le-hen.org From owner-freebsd-hubs@FreeBSD.ORG Sat Dec 11 20:30:49 2004 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7DFE16A4CE; Sat, 11 Dec 2004 20:30:49 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92AFB43D31; Sat, 11 Dec 2004 20:30:49 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3EDE951432; Sat, 11 Dec 2004 12:37:43 -0800 (PST) Date: Sat, 11 Dec 2004 12:37:43 -0800 From: Kris Kennaway To: Jeremie Le Hen Message-ID: <20041211203743.GA11341@xor.obsecurity.org> References: <20041207231019.GL79919@obiwan.tataz.chchile.org> <20041208082000.GP79919@obiwan.tataz.chchile.org> <41B730B5.5040100@jonny.eng.br> <20041208224605.GU79919@obiwan.tataz.chchile.org> <41B860DA.5080309@jonny.eng.br> <20041211123553.GM79919@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: <20041211123553.GM79919@obiwan.tataz.chchile.org> User-Agent: Mutt/1.4.2.1i cc: jdp@FreeBSD.org cc: mux@FreeBSD.org cc: freebsd-hubs@FreeBSD.org Subject: Re: cvsup-mirror rewrite X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Distributions Hubs: mail sup ftp List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Dec 2004 20:30:49 -0000 --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 11, 2004 at 01:35:53PM +0100, Jeremie Le Hen wrote: > On Thu, Dec 09, 2004 at 12:27:38PM -0200, Jo?o Carlos Mendes Lu?s wrote: > >=20 > > [...] >=20 > Well, I won't be deeply convinced that using ${PREFIX}/${PORTNAME} as > installation target it the cleanest thing to do while the core team > won't direct us to do so. In fact, I think your arguments are not so > bad and I'm going to adopt your point of view for a first try in the > code rewrite (anyway changing installation location is not so hard), > even if it's totally breaking hier(7) IMHO. >=20 > But for now, I'm quite harassed that both hierarchies are used in the > same time ; I think this is going to be a mess if port maintainers > are able either to spread the port files accross the standard hierarchy > (hier(7)) or to simply put them all in ${PREFIX}/${PORTNAME} depending > on their own policy without further control. See section 17.10 of the porter's handbook. Kris --9amGYk9869ThD9tj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBu1qWWry0BWjoQKURAq//AKCymGY2ye5NBSwBerchbesuE2HcRQCfTX/d Ati+ezrTy40JAOnvXyifE1c= =LUxk -----END PGP SIGNATURE----- --9amGYk9869ThD9tj--