diff --git a/debian/control b/debian/control index d66ab87b8..08b647e48 100644 --- a/debian/control +++ b/debian/control @@ -46,8 +46,10 @@ Build-Depends: libxtables-dev (>= 1.4) | iptables-dev (>= 1.4), markdown, pandoc, + pkgconf, python3, python3-websockets, + systemd-dev | systemd, zlib1g-dev, Testsuite: autopkgtest-pkg-dkms diff --git a/debian/ngcp-rtpengine-daemon.links b/debian/ngcp-rtpengine-daemon.links index 4e84c6eae..339a6b768 100644 --- a/debian/ngcp-rtpengine-daemon.links +++ b/debian/ngcp-rtpengine-daemon.links @@ -1,4 +1,4 @@ -/lib/systemd/system/ngcp-rtpengine-daemon.service /lib/systemd/system/rtpengine-daemon.service -/lib/systemd/system/ngcp-rtpengine-daemon.service /lib/systemd/system/rtpengine.service -/lib/systemd/system/ngcp-rtpengine-daemon@.service /lib/systemd/system/rtpengine-daemon@.service -/lib/systemd/system/ngcp-rtpengine-daemon@.service /lib/systemd/system/rtpengine@.service +${env:deb_systemdsystemunitdir}/ngcp-rtpengine-daemon.service ${env:deb_systemdsystemunitdir}/rtpengine-daemon.service +${env:deb_systemdsystemunitdir}/ngcp-rtpengine-daemon.service ${env:deb_systemdsystemunitdir}/rtpengine.service +${env:deb_systemdsystemunitdir}/ngcp-rtpengine-daemon@.service ${env:deb_systemdsystemunitdir}/rtpengine-daemon@.service +${env:deb_systemdsystemunitdir}/ngcp-rtpengine-daemon@.service ${env:deb_systemdsystemunitdir}/rtpengine@.service diff --git a/debian/ngcp-rtpengine-recording-daemon.links b/debian/ngcp-rtpengine-recording-daemon.links index e8e30d57d..77a80c563 100644 --- a/debian/ngcp-rtpengine-recording-daemon.links +++ b/debian/ngcp-rtpengine-recording-daemon.links @@ -1,4 +1,4 @@ -/lib/systemd/system/ngcp-rtpengine-recording-daemon.service /lib/systemd/system/rtpengine-recording-daemon.service -/lib/systemd/system/ngcp-rtpengine-recording-daemon.service /lib/systemd/system/rtpengine-recording.service -/lib/systemd/system/ngcp-rtpengine-recording-daemon@.service /lib/systemd/system/rtpengine-recording-daemon@.service -/lib/systemd/system/ngcp-rtpengine-recording-daemon@.service /lib/systemd/system/rtpengine-recording@.service +${env:deb_systemdsystemunitdir}/ngcp-rtpengine-recording-daemon.service ${env:deb_systemdsystemunitdir}/rtpengine-recording-daemon.service +${env:deb_systemdsystemunitdir}/ngcp-rtpengine-recording-daemon.service ${env:deb_systemdsystemunitdir}/rtpengine-recording.service +${env:deb_systemdsystemunitdir}/ngcp-rtpengine-recording-daemon@.service ${env:deb_systemdsystemunitdir}/rtpengine-recording-daemon@.service +${env:deb_systemdsystemunitdir}/ngcp-rtpengine-recording-daemon@.service ${env:deb_systemdsystemunitdir}/rtpengine-recording@.service diff --git a/debian/rules b/debian/rules index 2b169749d..84a454504 100755 --- a/debian/rules +++ b/debian/rules @@ -23,6 +23,8 @@ endif export FIXTURES_PATH = /usr/share/rtpengine-perftest +export deb_systemdsystemunitdir = $(shell pkg-config --variable=systemdsystemunitdir systemd) + %: dh $@