Gentoo Archives: gentoo-dev

From: Alexandre Rostovtsev <tetromino@g.o>
To: gentoo-dev@l.g.o, Jason Zaman <jason@×××××××××.com>
Subject: Re: [gentoo-dev] net-misc/strongswan USE_EXPAND
Date: Tue, 23 Jun 2015 05:49:22
Message-Id: 1435038538.32502.32.camel@gentoo.org
In Reply to: Re: [gentoo-dev] net-misc/strongswan USE_EXPAND by "Michał Górny"
1 On Tue, 2015-06-23 at 07:06 +0200, Michał Górny wrote:
2 > Dnia 2015-06-23, o godz. 01:23:13
3 > Jason Zaman <jason@×××××××××.com> napisał(a):
4 >
5 > > On Mon, Jun 22, 2015 at 10:55:45PM +0200, Michał Górny wrote:
6 > > > Dnia 2015-06-22, o godz. 16:38:30
7 > > > Jason Zaman <perfinion@g.o> napisał(a):
8 > > >
9 > > > > Hi all,
10 > > > >
11 > > > > I want to add STRONGSWAN_PLUGINS to USE_EXPAND. This is related
12 > > > > to bug
13 > > > > https://bugs.gentoo.org/show_bug.cgi?id=504942
14 > > > > "net-misc/strongswan missing USE flags for plugins"
15 > > > >
16 > > > > Patrick said to fix it myself, the ebuilds with the plugins
17 > > > > have
18 > > > > been in the tree for a fair while now and only the USE_EXPAND
19 > > > > is
20 > > > > missing.
21 > > > >
22 > > > > If there are no objections, I will commit the following patch
23 > > > > on friday:
24 > > >
25 > > > USE_EXPAND is global by its nature. USE flags used by a single
26 > > > package
27 > > > are not appropriate for making global.
28 > >
29 > > Since when? There are so many things in USE_EXPAND that are only
30 > > for a
31 > > single package.
32 >
33 > Not sure when. But the policies about USE flags were in the devmanual
34 > long before I came here.
35 >
36 > > APACHE2_MODULES, NGINX_MODULES_HTTP, COLLECTD_PLUGINS, QEMU_*, etc.
37 > > Easily half of the things in USE_EXPAND are for only a single
38 > > package.
39 >
40 > Past screwups don't justify future screwups.
41
42 I don't see it as a screwup personally.
43
44 It is often useful to have different namespaces for the few general
45 flags that control a package's general features and the >9000 flags
46 that enable/disable >9000 highly specific plugins.
47
48 And if violation of the rules is useful, perhaps the rules are wrong?

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] net-misc/strongswan USE_EXPAND "Michał Górny" <mgorny@g.o>