public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] New global USE flag: logrotate
  @ 2005-04-28 11:01 99%       ` Henrik Brix Andersen
  0 siblings, 0 replies; 1+ results
From: Henrik Brix Andersen @ 2005-04-28 11:01 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 574 bytes --]

On Thu, 2005-04-28 at 03:44 -0700, Robin H. Johnson wrote:
> >I meant an eclass to take care of all of it together.

Ah, ok - sounds good to me. Perhaps we can stick into eutils.eclass?

> (rough prototype here)
> IUSE="$IUSE logrotate"
> RDEPEND="$RDEPEND logrotate? ( app-admin/logrotate )"
> 
> dologrotated() {
> 	use logrotate && insinto /etc/logrotate.d && doins "$@"
> }
> newlogrotated() {
> 	use logrotate && insinto /etc/logrotate.d && newins "$1" "$2"
> }

Looks sane to me...

./Brix
-- 
Henrik Brix Andersen <brix@gentoo.org>
Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2005-04-28  8:30     [gentoo-dev] New global USE flag: logrotate Henrik Brix Andersen
2005-04-28  8:51     ` Robin H. Johnson
2005-04-28 10:34       ` Henrik Brix Andersen
2005-04-28 10:44         ` Robin H. Johnson
2005-04-28 11:01 99%       ` Henrik Brix Andersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox