Bug#931858: libreswan: please remove the dependency on systemd
Package: libreswan Version: 3.27-6 Severity: normal Hi Stephen, Thanks. that is a good step. It would be nice to remove the build time dependency too. On Fedora we can do something like the following. make UNITDIR=%{_unitdir} TMPFILESDIR=%{_tmpfilesdir} INITSYSTEM=systemd base if there is Debian equivalent, to get UNITDIR, in "rules" we can drop build time dependency to systemd. upstream export UNITDIR since https://github.com/libreswan/libreswan/commit/8150294b4b51a9476a99a8d7a23b30b0e7d937ae regards, -antony On Sun, Apr 19, 2020 at 08:59:26PM +0200, Stephen Kitt wrote: > Hi Antony, > > On Sun, 19 Apr 2020 18:21:23 +0200, Antony Antony wrote: > > I came across this bug report and thought add my comment. > > > > systemd dependency was added due to a bug, reported at. > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875639 > > > > which is cause by build time dependency > > SYSTEMUNITDIR=$(shell pkg-config systemd --variable=systemdsystemunitdir) > > > > https://github.com/libreswan/libreswan/blob/7d9afc01c0d558f59103e56667cf9d227e12a28b/initsystems/systemd/Makefile#L5 > > > > Thanks for taking the time to reply. If the above is the reason that systemd > was added, then the build-dependency is sufficient: the package needs systemd > during the build, but not necessarily at runtime. > > > to remove systemd dependency we may need a generic fix in upstream. > > I think https://salsa.debian.org/debian/libreswan/-/merge_requests/1 should > be sufficient... > > Regards, > > Stephen
Bug#931858: libreswan: please remove the dependency on systemd
Hi Antony, On Sun, 19 Apr 2020 18:21:23 +0200, Antony Antony wrote: > I came across this bug report and thought add my comment. > > systemd dependency was added due to a bug, reported at. > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875639 > > which is cause by build time dependency > SYSTEMUNITDIR=$(shell pkg-config systemd --variable=systemdsystemunitdir) > > https://github.com/libreswan/libreswan/blob/7d9afc01c0d558f59103e56667cf9d227e12a28b/initsystems/systemd/Makefile#L5 > Thanks for taking the time to reply. If the above is the reason that systemd was added, then the build-dependency is sufficient: the package needs systemd during the build, but not necessarily at runtime. > to remove systemd dependency we may need a generic fix in upstream. I think https://salsa.debian.org/debian/libreswan/-/merge_requests/1 should be sufficient... Regards, Stephen pgprJgTV7mHmI.pgp Description: OpenPGP digital signature
Bug#931858: libreswan: please remove the dependency on systemd
Package: libreswan Version: 3.27-6 Severity: normal Dear Maintainer, The libreswan binary package has a strict dependency on systemd; is it necessary? It makes libreswan painful to install in containers... Would it be possible to drop the dependency? Thanks, Stephen -- System Information: Debian Release: 10.0 APT prefers stable-debug APT policy: (500, 'stable-debug'), (500, 'stable'), (100, 'unstable-debug'), (100, 'testing-debug'), (100, 'unstable'), (100, 'testing'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libreswan depends on: ii bind9-host [host]1:9.11.5.P4+dfsg-5.1 ii bsdmainutils 11.1.2+b1 ii debconf [debconf-2.0]1.5.71 ii dns-root-data2019031302 ii iproute2 4.20.0-2 ii iptables 1.8.2-4 ii libaudit11:2.8.4-3 ii libc62.28-10 ii libcap-ng0 0.7.9-2 pn libcurl3-nss ii libevent-2.1-6 2.1.8-stable-4 ii libevent-pthreads-2.1-6 2.1.8-stable-4 ii libldap-2.4-22.4.47+dfsg-3 ii libldns2 1.7.0-4 ii libnspr4 2:4.20-1 ii libnss3 2:3.42.1-1 ii libnss3-tools2:3.42.1-1 ii libpam0g 1.3.1-5 ii libselinux1 2.8-1+b1 ii libsystemd0 241-5 ii libunbound8 1.9.0-2 ii systemd 241-5 Versions of packages libreswan recommends: ii python3 3.7.3-1 libreswan suggests no packages.