From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tirpitz.iat.sfu.ca (tirpitz.iat.sfu.ca [209.87.56.17]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3THinT0009451 for ; Fri, 29 Apr 2005 17:44:50 GMT Received: (qmail 12985 invoked from network); 29 Apr 2005 10:44:54 -0700 Received: from s01060050da688d47.vc.shawcable.net (HELO curie.orbis-terrarum.net) (24.80.100.253) by tirpitz.iat.sfu.ca with AES256-SHA encrypted SMTP; 29 Apr 2005 10:44:54 -0700 Received: (qmail 13902 invoked by uid 10000); 29 Apr 2005 10:44:55 -0700 Date: Fri, 29 Apr 2005 10:44:55 -0700 From: "Robin H. Johnson" To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] New global USE flag: logrotate Message-ID: <20050429174455.GA12527@curie-int.orbis-terrarum.net> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <1114677003.14869.14.camel@sponge.fungus> <20050428221807.GV6913@bmb24.uth.tmc.edu> <42716395.8010606@gentoo.org> <200504290936.54086.jstubbs@gentoo.org> 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; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <200504290936.54086.jstubbs@gentoo.org> User-Agent: Mutt/1.5.8i X-Archives-Salt: d5bd25f6-f267-41e3-bfa5-319962e756e9 X-Archives-Hash: 13bd620e9adb6bd96d0ca443ba1c70c7 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 pl= ace=20 > for this sort of stuff? The only package that I know that uses this featu= re=20 > 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 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. --=20 Robin Hugh Johnson E-Mail : robbat2@orbis-terrarum.net Home Page : http://www.orbis-terrarum.net/?l=3Dpeople.robbat2 ICQ# : 30269588 or 41961639 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1-ecc0.1.6 (GNU/Linux) Comment: Robbat2 @ Orbis-Terrarum Networks iD8DBQFCcnKXPpIsIjIzwiwRAr89AKCFFAnsSHXCVdIHwtGhTR5mquCFjQCeIB7u 3kTGqLC4jpRSYV5jjWJ4cXA= =SQ3z -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- -- gentoo-dev@gentoo.org mailing list