From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3TI6THF027034 for ; Fri, 29 Apr 2005 18:06:30 GMT Received: from p061204002031.ppp.prin.ne.jp ([61.204.2.31] helo=linux.box) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1DRZso-0008Nr-Nh for gentoo-dev@lists.gentoo.org; Fri, 29 Apr 2005 18:06:36 +0000 Received: by linux.box (Postfix, from userid 1000) id CABD245D81; Sat, 30 Apr 2005 03:06:31 +0900 (JST) From: Jason Stubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] New global USE flag: logrotate Date: Sat, 30 Apr 2005 03:06:29 +0900 User-Agent: KMail/1.8 References: <1114677003.14869.14.camel@sponge.fungus> <200504290936.54086.jstubbs@gentoo.org> <20050429174455.GA12527@curie-int.orbis-terrarum.net> In-Reply-To: <20050429174455.GA12527@curie-int.orbis-terrarum.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5967332.03S5pc8kW5"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200504300306.31602.jstubbs@gentoo.org> X-Archives-Salt: 89d55f72-6894-43c9-b9bf-c681cc275bdb X-Archives-Hash: 9509d66d65f3de57a082750e8f01b303 --nextPart5967332.03S5pc8kW5 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 30 April 2005 02:44, Robin H. Johnson wrote: > On Fri, Apr 29, 2005 at 09:36:54AM +0900, Jason Stubbs wrote: > > What about the unused `ebuild [ebuild] config`? Isn't that the perfect > > place for this sort of stuff? The only package that I know that uses th= is > > feature is mysql. There are way more possibilities. > > No, ebuild config shouldn't be abused like this. Say I have an existing > install of mysql, and the package maintainer puts in an updated > logrotate.d file. Running 'ebuild mysql.ebuild config' is meant for NEW > installations only, and it doesn't enable me to take advantage of > CONFIG_PROTECT. I've seen a package where running the config phase when > the package is already set up blows away your existing config. It gives > you a warning first, but how would I then get an updated logrotate.d > file? I can't see how you can call it abuse. There's no requirement that the conf= ig=20 phase be non-interactive. On the contrary, it *should* be interactive so th= at=20 the user is notified about and has control over what can be done. > I see only two viable options. > - Unconditional, use INSTALL_MASK, no RDEPEND on logrotate > - Conditional on USE=3Dlogrotate > > The first one is what is generally used in the tree so far. I don't really mind what's done. I'm just suggesting that config can be use= d=20 for a lot more than what it is at the moment, including being a third optio= n=20 in the above list. My preferred option would be INSTALL_MASK. Regards, Jason Stubbs --nextPart5967332.03S5pc8kW5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBCcnenxvWNPsk/ZP4RAsFHAJoDWeuMjDXSBlL+vYjayWqD0lKdCgCgvhhH JO5nWh9s4GU3yqvQs2pD1zQ= =HP4q -----END PGP SIGNATURE----- --nextPart5967332.03S5pc8kW5-- -- gentoo-dev@gentoo.org mailing list