summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog9
-rw-r--r--debian/strongswan-starter.dirs1
-rw-r--r--debian/strongswan-starter.ipsec.init3
3 files changed, 12 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 71005b350..26d3a19cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+strongswan (4.5.2-1.5) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix "package must not include /var/lock/subsys":
+ don't ship /var/lock/subsys but create it in the init script.
+ (Closes: #667764)
+
+ -- gregor herrmann <gregoa@debian.org> Fri, 15 Jun 2012 16:21:27 +0200
+
strongswan (4.5.2-1.4) unstable; urgency=high
* Non-maintainer upload by the Security Team.
diff --git a/debian/strongswan-starter.dirs b/debian/strongswan-starter.dirs
index ca35d4a43..544e26c84 100644
--- a/debian/strongswan-starter.dirs
+++ b/debian/strongswan-starter.dirs
@@ -6,5 +6,4 @@
/etc/ipsec.d/private
/etc/ipsec.d/policies
/etc/init.d
-/var/lock/subsys
/var/lib/strongswan
diff --git a/debian/strongswan-starter.ipsec.init b/debian/strongswan-starter.ipsec.init
index cfdbb8426..cd10682cf 100644
--- a/debian/strongswan-starter.ipsec.init
+++ b/debian/strongswan-starter.ipsec.init
@@ -34,6 +34,9 @@ SCRIPTNAME=/etc/init.d/$NAME
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
. /lib/lsb/init-functions
+# Create lock dir
+mkdir -p /var/lock/subsys
+
#
# Function that starts the daemon/service
#