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 j3TJHVMQ028417 for ; Fri, 29 Apr 2005 19:17:31 GMT Received: from c-67-171-150-177.hsd1.or.comcast.net ([67.171.150.177] helo=[192.168.1.106]) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1DRaza-0001bQ-6X for gentoo-dev@lists.gentoo.org; Fri, 29 Apr 2005 19:17:38 +0000 Message-ID: <4272884C.6070501@gentoo.org> Date: Fri, 29 Apr 2005 12:17:32 -0700 From: Donnie Berkholz User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050411) X-Accept-Language: en-us, en 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] New global USE flag: logrotate References: <1114677003.14869.14.camel@sponge.fungus> <20050428221807.GV6913@bmb24.uth.tmc.edu> <42716395.8010606@gentoo.org> <200504290936.54086.jstubbs@gentoo.org> <20050429174455.GA12527@curie-int.orbis-terrarum.net> In-Reply-To: <20050429174455.GA12527@curie-int.orbis-terrarum.net> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 400bfb33-c1a8-4279-b82c-b97ac0cb49bf X-Archives-Hash: 1e8829fec5413a9250a50fd22c57f402 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 this 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 see only two viable options. > - Unconditional, use INSTALL_MASK, no RDEPEND on logrotate > - Conditional on USE=logrotate > > The first one is what is generally used in the tree so far. Seems like your third viable option is allowing CONFIG_PROTECT to work in the config step. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCcohMXVaO67S1rtsRAl0bAJ9LyXaXqg6Ii11wCjVAIshXibfneACgw4oN MiWRaEkmajAwl2Adg9KtGTA= =bSFX -----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list