Gentoo Archives: gentoo-dev

From: Donnie Berkholz <spyderous@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New global USE flag: logrotate
Date: Thu, 28 Apr 2005 22:29:41
In Reply to: Re: [gentoo-dev] New global USE flag: logrotate by Grant Goodyear
2 Hash: SHA1
4 Grant Goodyear wrote:
5 > Donnie Berkholz wrote: [Thu Apr 28 2005, 03:21:50PM CDT]
6 >
7 >>Yes. Or don't install it at all, and let people create their own. This
8 >>is a dumb USE flag.
9 >
10 >
11 > I'd say that "dumb USE flag" is rather harsh. It seems clear that (a)
12 > many users would like a logrotate script installed for them, and since
13 > it's not all that difficult we should probably oblige, and that (b) some
14 > users won't want any logrotate scripts installed. Most optional things
15 > of this sort or handled by USE flags, although I'll grant that sometimes
16 > we decide by fiat that things should be done a certain way because
17 > making something optional is just too much work for too little gain.
19 My problem with it is that Joe User, who doesn't do ebuilds, will change
20 his USE flags and recompile an entire package just to get a little
21 logrotate file that has nothing to do with the source of the package
22 itself. This waste of time is pointless, which is why I call the USE
23 flag dumb.
25 I'd prefer to have some package that's just a collection of logrotate
26 files for a ton of packages, if there's some reason a ~400-byte file is
27 just killing your system. Or a separate package for each file. Doesn't
28 matter to me.
30 In fact, I've thought many times about supplying "pre-packages" that are
31 no more than a collection of all the config files for a given package.
33 > As an aside, my preference would be to install them by default, but
34 > allow a nologrotate equivalent to "nodoc", "noinfo", or "noman". That
35 > would require hacking portage, though, which seems silly for something
36 > so trivial. Does anybody remember why we chose "nodoc", "noinfo", and
37 > "noman" instead of a generic INSTALL_MASK="/usr/share/doc
38 > /usr/share/man ..." flag which could be more general?
40 There does appear to also be an INSTALL_MASK. I just grepped
41 /usr/lib/portage for it.
43 Thanks,
44 Donnie
46 Version: GnuPG v1.4.1 (GNU/Linux)
47 Comment: Using GnuPG with Thunderbird -
49 iD8DBQFCcWOVXVaO67S1rtsRAufkAJ9VZ1FwPPh/4lmvb04vKQB9gXjTrQCeIgf9
51 =MgHv
52 -----END PGP SIGNATURE-----
53 --
54 gentoo-dev@g.o mailing list


Subject Author
Re: [gentoo-dev] New global USE flag: logrotate Jason Stubbs <jstubbs@g.o>