summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@corsac.net>2012-06-28 20:58:00 +0200
committerYves-Alexis Perez <corsac@corsac.net>2012-06-28 20:58:00 +0200
commite012c3d88f8ae777916a62832b51bd06883e0c89 (patch)
treef28d02f377df8743860a68eb3030a909c03c598a /debian/rules
parent13ee30022ea80c58501be232dc1dd1a55f653d65 (diff)
downloadvyos-strongswan-e012c3d88f8ae777916a62832b51bd06883e0c89.tar.gz
vyos-strongswan-e012c3d88f8ae777916a62832b51bd06883e0c89.zip
Import NMU 4.5.2-1.1
* Non-maintainer upload. * debian/strongswan-starter.ipsec.init: Init script should depends on remote_fs instead of local_fs, also provide ipsec instead of vpn as the other ipsec implementations (Closes: #629675) * debian/patches/0001-fix-fprintf-format.patch: Fix FTBFS with gcc 4.6, taken from upstream (Closes: #614486) * debian/control: Tighten dependency version against libstrongswan (Closes: #626170) * debian/strongswan-starter.lintian-overrides, debian/rules: Correctly set restricted permissions on /etc/ipsec.d/private/ and /var/lib/strongswan (Closes: #598827)
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 591025405..72e28e0f8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -115,6 +115,7 @@ endif
chmod 600 $(CURDIR)/debian/strongswan-starter/etc/ipsec.secrets
#chmod 644 $(CURDIR)/debian/strongswan-starter/etc/ipsec.conf
chmod 700 -R $(CURDIR)/debian/strongswan-starter/etc/ipsec.d/private/
+ chmod 700 -R $(CURDIR)/debian/strongswan-starter/var/lib/strongswan/
# don't know why they come with +x set by default...
#chmod 644 $(CURDIR)/debian/strongswan-starter/etc/ipsec.d/policies/*
#chmod 644 $(CURDIR)/debian/strongswan-starter/etc/ipsec.d/examples/*
@@ -153,7 +154,6 @@ endif
binary-common:
dh_testdir
dh_testroot
- dh_installdirs
dh_installinit --name=ipsec
dh_installdebconf
dh_installchangelogs NEWS
@@ -161,7 +161,7 @@ binary-common:
dh_link
dh_strip --dbg-package=strongswan-dbg
dh_compress
- dh_fixperms -X etc/ipsec.secrets -X etc/ipsec.d
+ dh_fixperms -X etc/ipsec.secrets -X etc/ipsec.d -X var/lib/strongswan
dh_lintian
dh_makeshlibs
dh_installdeb