]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Make sure that the systemd binaries are available during the build 7451/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 4 Feb 2019 15:16:12 +0000 (16:16 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 4 Feb 2019 15:16:12 +0000 (16:16 +0100)
Otherwise the detection of systemd's sandboxing features does not
work properly, since it uses `systemctl` to determine the version
of systemd.

builder-support/debian/authoritative/debian-jessie/control
builder-support/debian/authoritative/debian-stretch/control
builder-support/debian/dnsdist/debian-jessie/control
builder-support/debian/dnsdist/debian-stretch/control
builder-support/debian/recursor/debian-jessie/control
builder-support/debian/recursor/debian-stretch/control
builder-support/specs/dnsdist.spec
builder-support/specs/pdns.spec

index 603379282088e7b0afdc273c58288d296c1aae7e..ffa5d4b1f9f9089ad75e2a46967d2c6abdc6c1b9 100644 (file)
@@ -39,6 +39,7 @@ Build-Depends: autoconf,
                po-debconf,
                protobuf-compiler,
                ragel,
+               systemd [linux-any],
                unixodbc-dev (>= 2.3.1)
 Homepage: http://www.powerdns.com/
 
index d39fb13b4dae932dbbb82b366fcb51fbd6907fd3..4d66500c9974bc55e7b1ea305e407de67dc72b4e 100644 (file)
@@ -40,6 +40,7 @@ Build-Depends: autoconf,
                po-debconf,
                protobuf-compiler,
                ragel,
+               systemd [linux-any],
                unixodbc-dev (>= 2.3.1)
 Homepage: http://www.powerdns.com/
 
index ae39c8a77aadf25032513f9d3bffdcb81e834046..5e6fe2ca4ec41ed2cdf40d61507f12362647a242 100644 (file)
@@ -16,7 +16,8 @@ Build-Depends: debhelper (>= 9~),
                libsystemd-dev [linux-any],
                pkg-config,
                protobuf-compiler,
-               ragel
+               ragel,
+               systemd [linux-any]
 Standards-Version: 4.1.0
 Homepage: http://dnsdist.org
 Vcs-Git: https://anonscm.debian.org/git/pkg-dns/dnsdist.git
index 90e319c407802ed683cfb0ff2152909bc0e79533..04ac68fc07dbbc76baceffb0394e88f738fdb6ad 100644 (file)
@@ -17,7 +17,8 @@ Build-Depends: debhelper (>= 10~),
                libsystemd-dev [linux-any],
                pkg-config,
                protobuf-compiler,
-               ragel
+               ragel,
+               systemd [linux-any]
 Standards-Version: 4.1.0
 Homepage: http://dnsdist.org
 Vcs-Git: https://anonscm.debian.org/git/pkg-dns/dnsdist.git
index e2d261335b2255ffcba7795eecab17814fd44848..f2fa238e38b5f03d03e296420bbd8dfbe1e2d459 100644 (file)
@@ -16,7 +16,8 @@ Build-Depends: debhelper (>= 9~),
                libsystemd-dev [linux-any],
                pkg-config,
                protobuf-compiler,
-               ragel
+               ragel,
+               systemd [linux-any]
 Homepage: https://www.powerdns.com/
 
 Package: pdns-recursor
index 065a07e92c18e2501c2ecc51c56d288a1380957f..0b23de49eb6972198e22bbfccda66beddbf73562 100644 (file)
@@ -15,7 +15,8 @@ Build-Depends: debhelper (>= 10~),
                libsystemd-dev [linux-any],
                pkg-config,
                protobuf-compiler,
-               ragel
+               ragel,
+               systemd [linux-any]
 Vcs-Git: https://anonscm.debian.org/git/pkg-dns/pdns-recursor.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-dns/pdns-recursor.git
 Homepage: https://www.powerdns.com/
index 6785561850d4344db20d05bcfb62274b3328c94a..1aa93848a4ab42fa26bd4f30b7fbf650d61f8f5f 100644 (file)
@@ -20,6 +20,7 @@ BuildRequires: re2-devel
 %if 0%{?suse_version}
 BuildRequires: boost-devel
 BuildRequires: lua-devel
+BuildRequires: systemd
 BuildRequires: systemd-units
 BuildRequires: systemd-devel
 %endif
@@ -39,6 +40,7 @@ BuildRequires: net-snmp-devel
 BuildRequires: protobuf-compiler
 BuildRequires: protobuf-devel
 BuildRequires: re2-devel
+BuildRequires: systemd
 BuildRequires: systemd-devel
 BuildRequires: systemd-units
 %endif
index efc1f081c72be88742e72979347bdc50835df0af..4f79fe416735ad1e53d33400f59711d3f838e569 100644 (file)
@@ -23,6 +23,7 @@ Requires(post): systemd-sysv
 Requires(post): systemd-units
 Requires(preun): systemd-units
 Requires(postun): systemd-units
+BuildRequires: systemd
 BuildRequires: systemd-units
 BuildRequires: systemd-devel