diff options
author | Romain Francoise <rfrancoise@debian.org> | 2014-07-28 22:53:38 +0200 |
---|---|---|
committer | Romain Francoise <rfrancoise@debian.org> | 2014-07-28 22:53:38 +0200 |
commit | e87aaff64a969a6ee3d2e682ee7480cfee123e4d (patch) | |
tree | d34c867b1f1a718cf918a34b4bfd2c295930ac6c /debian/rules | |
parent | fd1e9f808bba47c62b40b51c0afc0bd5c2821835 (diff) | |
download | vyos-strongswan-e87aaff64a969a6ee3d2e682ee7480cfee123e4d.tar.gz vyos-strongswan-e87aaff64a969a6ee3d2e682ee7480cfee123e4d.zip |
Install systemd file from debian/rules
It gets generated only on Linux, so install it from debian/rules with
the rest of the arch-specific files.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 8af4d3d30..3fa0d2658 100755 --- a/debian/rules +++ b/debian/rules @@ -111,6 +111,8 @@ ifeq ($(DEB_BUILD_ARCH_OS),linux) dh_install -p libstrongswan-extra-plugins usr/lib/ipsec/plugins/libstrongswan-af-alg.so dh_install -p libstrongswan-extra-plugins usr/share/strongswan/templates/config/plugins/af-alg.conf dh_install -p libstrongswan-extra-plugins etc/strongswan.d/charon/af-alg.conf + # the systemd service file only gets generated on Linux + dh_install -p strongswan-starter lib/systemd/system/strongswan.service endif ifeq ($(DEB_BUILD_ARCH_OS),kfreebsd) @@ -150,7 +152,8 @@ endif -Xlibstrongswan-farp.so -X farp.conf \ -Xlibstrongswan-padlock.so -X padlock.conf \ -Xlibstrongswan-rdrand.so -X rdrand.conf \ - -Xlibstrongswan-af-alg.so -X af-alg.conf + -Xlibstrongswan-af-alg.so -X af-alg.conf \ + -Xstrongswan.service # add additional files not covered by upstream makefile... install --mode=0600 $(CURDIR)/debian/ipsec.secrets.proto $(CURDIR)/debian/strongswan-starter/etc/ipsec.secrets |