From 56e6be606231f8e8de4fb36ce5f8bbe717ec6d9a Mon Sep 17 00:00:00 2001 From: Rene Mayrhofer Date: Fri, 2 Nov 2007 23:31:37 +0000 Subject: - Install init script as /etc/init.d/ipsec instead of as strongswan. - Try to fix postinst and init scripts to actually work with the recent changes. --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index e49876403..4a11486f2 100755 --- a/debian/rules +++ b/debian/rules @@ -71,7 +71,7 @@ install-strongswan: build-stamp install --mode=0600 $(CURDIR)/debian/ipsec.secrets.proto $(CURDIR)/debian/strongswan/etc/ipsec.secrets # also "patch" ipsec.conf to include the debconf-managed file echo >> $(CURDIR)/debian/strongswan/etc/ipsec.conf - echo "include /var/lib/strongswan/ipsec.conf.inc" >> $(CURDIR)/debian/strongswan/etc/ipsec.secrets + echo "include /var/lib/strongswan/ipsec.conf.inc" >> $(CURDIR)/debian/strongswan/etc/ipsec.conf # and to enable both IKEv1 and IKEv2 by default sed -r 's/^[ \t]+# *plutostart=(yes|no) */\tplutostart=yes/;s/^[ \t]+# *charonstart=(yes|no) */\tcharonstart=yes/' < $(CURDIR)/debian/strongswan/etc/ipsec.conf > $(CURDIR)/debian/strongswan/etc/ipsec.conf.tmp mv $(CURDIR)/debian/strongswan/etc/ipsec.conf.tmp $(CURDIR)/debian/strongswan/etc/ipsec.conf @@ -117,7 +117,7 @@ install-strongswan: build-stamp binary-common: dh_testdir dh_testroot - dh_installinit + dh_installinit --name=ipsec dh_installdebconf dh_installchangelogs ChangeLog dh_link -- cgit v1.2.3