/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to debian/control

  • Committer: Teddy Hogeborn
  • Date: 2024-09-08 17:17:22 UTC
  • Revision ID: teddy@recompile.se-20240908171722-oqkqtp0zto6ze2m6
Do not hardcode directory names; get them from pkg-config

Similarly to the directory for systemd unit files (output of
"pkg-config systemd --variable=systemdsystemunitdir"), the values of
the "tmpfilesdir" and "sysusersdir" variables should not be hardcoded
in debian/mandos.dirs and debian/mandos-client.dirs.  Fix this the
same way as with systemdsystemunitdir; i.e. remove the directories
from the .dirs files, and instead create the directories in override
rules in debian/rules.

* debian/mandos-client.dirs (usr/lib/sysusers.d): Removed.
* debian/mandos.dirs (usr/lib/tmpfiles.d, usr/lib/sysusers.d):
  Removed.
* debian/rules (override_dh_installdirs-indep): Also create
  directories for the "tmpfilesdir" and "sysusersdir" variables from
  pkg-config.
  (override_dh_installdirs-arch): New; create directory for the
  "sysusersdir" variable from pkg-config.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
        libavahi-core-dev, libgpgme-dev | libgpgme11-dev,
9
9
        libglib2.0-dev (>=2.40), libgnutls28-dev (>= 3.3.0),
10
10
        libgnutls28-dev (>= 3.6.6) | libgnutls28-dev (<< 3.6.0),
11
 
        xsltproc, pkg-config, libnl-route-3-dev, systemd
 
11
        xsltproc, pkg-config, libnl-route-3-dev,
 
12
        systemd-dev | systemd (< 256~rc2-1)
12
13
Build-Depends-Indep: python3 (>= 3), python3-dbus, python3-gi,
13
14
        po-debconf
14
 
Standards-Version: 4.4.1
 
15
Standards-Version: 4.6.2
15
16
Vcs-Bzr: https://ftp.recompile.se/pub/mandos/trunk
16
17
Vcs-Browser: https://bzr.recompile.se/loggerhead/mandos/trunk/files
17
18
Homepage: https://www.recompile.se/mandos
19
20
 
20
21
Package: mandos
21
22
Architecture: all
22
 
Depends: ${misc:Depends}, python3 (>= 3), libgnutls30 (>= 3.3.0),
23
 
        libgnutls30 (>= 3.6.6) | libgnutls30 (<< 3.6.0),
 
23
Depends: ${misc:Depends}, python3 (>= 3),
 
24
        libgnutls30t64 | libgnutls30 (>= 3.3.0),
 
25
        libgnutls30t64 | libgnutls30 (>= 3.6.6) | libgnutls30 (<< 3.6.0),
24
26
        python3-dbus, python3-gi, avahi-daemon, adduser,
25
 
        python3-urwid, gnupg2 | gnupg,
26
 
        systemd-sysv | lsb-base (>= 3.0-6),
 
27
        python3-urwid, gnupg, systemd-sysv | lsb-base (>= 3.0-6),
27
28
        debconf (>= 1.5.5) | debconf-2.0
28
29
Recommends: ssh-client | fping
29
30
Suggests: libc6-dev | libc-dev, c-compiler