Gentoo Archives: gentoo-dev

From: tomjbe@g.o
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [FRC] News item: Changing USE flags for >=app-backup/bacula
Date: Tue, 15 Aug 2017 04:55:53
Message-Id: 150277294168.6272.8309842023603072749@ham.local.de
In Reply to: Re: [gentoo-dev] [FRC] News item: Changing USE flags for >=app-backup/bacula by Rich Freeman
1 Quoting Rich Freeman (2017-08-15 00:29:19)
2 > On Mon, Aug 14, 2017 at 5:55 PM, Michał Górny <mgorny@g.o> wrote:
3 > > On pon, 2017-08-14 at 21:58 +0200, Thomas Beierlein wrote:
4 > >>
5 > >> * 'bacula-clientonly' becomes 'clientonly'
6 > >
7 > > This is still negative logic in disguise. clientonly = noserver.
8
9 True. See below for discussion.
10 > >
11 > >> * 'bacula-nodir' will be replaced by 'director' but with inverted logic
12 > >> * 'bacula-nosd' will be replaced by 'storage-daemon' (also inverted).
13 > >>
14 > >> 'director' and 'storage-daemon' will be active by default resulting in an
15 > >> installation with backup director and storage daemon enabled.
16 > >>
17 >
18 > ++
19 >
20 > I guess to make it a bit more explicit, would it make sense to have 3 flags:
21 >
22 > client - install the client (or consider calling it file-daemon instead)
23 > director - install the director
24 > storage-daemon - install the storage daemon
25 >
26
27 That would be best, but it is not supported by their (autoconf based) build
28 system (and would require a complete rewrite of it). The actual USE flags
29 mostly mirrors the switches from the configure script. You can not set them as
30 you like, they are not orthogonal E.g. the file deamon (client) will be
31 installed unconditionally.
32
33 The configure script itself is very brittle atm and needs an urgent overhaul.
34 Discussion with upstream goes a long way, but they do not want to change it
35 because of the need to retest it on very different systems. No good situation.
36
37 A possible idea may be to drop the 'no/client' flag completely. If neither
38 'director' nor 'storage-daemon' is active all that is left would be the
39 file daemon.
40 What do you think?
41
42 The downside of that idea is that we diverge from baculas documentation which
43 explicitly state that there is a 'clientonly' install.
44
45 Thomas.

Replies