Gentoo Archives: gentoo-dev

From: Jeroen Roovers <jer@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Should "server" be a global use flag?
Date: Mon, 23 May 2011 15:19:50
Message-Id: 20110523171910.50e18ef0@epia.jer-c2.orkz.net
In Reply to: [gentoo-dev] Should "server" be a global use flag? by "Anthony G. Basile"
1 On Mon, 23 May 2011 10:26:49 -0400
2 "Anthony G. Basile" <blueness@g.o> wrote:
3
4 > Hi all,
5 >
6 > I was looking at use.desc/use.local.desc to see if the "server" flag
7 > is global or not. I was surprised to see that it is not. There are
8 > 26 packages that use a local "server" flag and they all say something
9 > to the effect "Enable ${PN} server support".
10 >
11 > Should we not promote this to global with a description
12 >
13 > server - Enable the packages server component
14
15 app-admin/bcfg2:server - Installs scripts to be used on the server-side
16 of this app
17 - If it means, to install a server and scripts, then YES. It should be
18 clarified what this flag actually does install as extra.
19
20 app-mobilephone/obexd:server - Enables server installation, it's
21 incompatible with obex-data-server
22 provided one
23 - Is it really really necessary to describe that incompatibility? If
24 no, YES.
25
26 app-office/akonadi-server:server - Use locally installed database
27 server.
28 - Again, what does it mean? Does it install the database server too? If
29 yes, YES, but again the description would need to be changed or
30 omitted.
31
32 dev-libs/tntnet:server - Enable tntnet server daemon
33 - YES.
34
35 dev-python/dap:server - Enable OpenDAP server support
36 - YES if it actually installs a server/daemon.
37
38 dev-ruby/rubygems:server - Install support for the rubygems server
39 - YES if it actually installs a server/daemon.
40
41 dev-vcs/cvs:server - Enable server support
42 - YES if it actually installs a server/daemon.
43
44 games-strategy/wesnoth:server - Enable compilation of server
45 - YES: if it compiles it, then it installs a server/daemon.
46
47 media-plugins/vdr-streamdev:server - Compile the VDR plugin
48 vdr-streamdev-server that allows
49 remote systems to access the DVB
50 cards used for the local VDR
51 - YES if it actually installs a server/daemon, but the description is
52 rather more informative than "enable server component" would be.
53
54 media-sound/xmms2:server - Build xmms2 player daemon (otherwise only
55 clients are built)
56 - YES: it actually installs a server/daemon. That clients will be built
57 regardless of this USE flag is irrelevant.
58
59 net-analyzer/zabbix:server - Enable zabbix server
60 - YES if it actually installs a server/daemon.
61
62 net-fs/coda:server - Build and install the server components of coda
63 filesystem. Note: at least one of client/server flags must be enabled.
64 - YES if it actually installs a server/daemon. REQUIRED_USE should
65 replace the need to force either server or client in USE flags.
66
67 net-fs/samba:server - Enables the server part
68 - YES.
69
70 net-irc/quassel:server - Build the server binary. If this USE flag is
71 disabled, the 'core' server binary for quassel is not built, and cannot
72 be used. You need this enabled on the server, but you might want to
73 disable it on the client.
74 - YES. Lots of irrelevant information after the first sentence. If you
75 want to explain how to use the ebuild or installed package, then
76 write some real documentation and put it on the website.
77
78 net-libs/libinfinity:server - Build and install the server binary
79 including init.d/conf.d-scripts. Needed if you want to host an infinote
80 server for gobby.
81 - YES. Again write some documentation instead of abusing a USE flag
82 description to explain how the package works.
83
84 net-libs/libssh:server - Build with SSH server support
85 - YES if it actually installs a server/daemon. It's not clear whether
86 this just means it compiles in server components into the library it
87 installs.
88
89 net-libs/wt:server - Compile in stand-alone httpd connector
90 - Looks like a YES.
91
92 net-misc/dhcp:server - Install the dhcpd and dhcrelay programs
93 - YES.
94
95 net-misc/knock:server - Installs the knockd server daemon.
96 - YES.
97
98 net-misc/tigervnc:server - Build TigerVNC server
99 - YES.
100
101 net-misc/tightvnc:server - Build vncserver. Allows us to only build
102 server on one machine if set, build only viewer otherwise.
103 - YES. Again, write the HOWTO instead of abusing a USE flag description.
104
105 sci-biology/ucsc-genome-browser:server - Install genome browser Web
106 application. If this flag is
107 off, only libraries and
108 utilities from the suite are
109 installed.
110 - It isn't clear, but would probably boil down to a YES. The second
111 sentence is irrelevant in the context.
112
113 sci-mathematics/yacas:server - Build the network server version
114 - Build the version? You mean build the daemon? If so, YES.
115
116 sys-cluster/pvfs2:server - Enable compilation of server code
117 - Server code? If it builds and installs a daemon, then YES.
118
119 sys-cluster/torque:server - Enable compilation of pbs_server and
120 pbs_sched.
121 - YES.
122
123 sys-fs/owfs:server - Enable building the OWFS server (owserver)
124 - YES.
125
126 (I find myself wondering why so much information is being jammed into
127 USE flag descriptions that /should/ be available in HOWTOs from
128 upstream, or else should be written down in HOWTOs we maintain
129 ourselves - we (Gentoo) used to be good at providing HOWTOs as needed
130 and it's a good tradition to keep up. It helps the entire open source
131 community and not just our users, too.)
132
133 Anyway, count the YESs above. Maybe some people want to
134 comment/explain/defend how they wrote their descriptions, so don't
135 touch them just yet. :)
136
137
138 jer

Replies