diff options
-rw-r--r-- | debian/changelog | 11 | ||||
-rw-r--r-- | debian/libstrongswan.install | 1 | ||||
-rwxr-xr-x | debian/rules | 2 | ||||
-rw-r--r-- | debian/strongswan-starter.postrm | 8 |
4 files changed, 18 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog index 5a96d4e7e..4b6c3de80 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +strongswan (4.6.4-3) UNRELEASED; urgency=low + + * debian/strongswan-starter.postrm + - remove strongswan user on purge. + * debian/rules: + - enable gcrypt plugin. closes: #600326 + * debian/libstrongswan.install: + - ship gcrypt plugin. + + -- Yves-Alexis Perez <corsac@debian.org> Sat, 30 Jun 2012 17:01:38 +0200 + strongswan (4.6.4-2) unstable; urgency=low * Upload to unstable. diff --git a/debian/libstrongswan.install b/debian/libstrongswan.install index 04350646a..2823bfbbd 100644 --- a/debian/libstrongswan.install +++ b/debian/libstrongswan.install @@ -45,4 +45,5 @@ usr/lib/*/ipsec/plugins/libstrongswan-ldap.so usr/lib/*/ipsec/plugins/libstrongswan-attr*.so usr/lib/*/ipsec/plugins/libstrongswan-curl.so usr/lib/*/ipsec/plugins/libstrongswan-kernel-netlink.so +usr/lib/*/ipsec/plugins/libstrongswan-gcrypt.so etc/strongswan.conf diff --git a/debian/rules b/debian/rules index 03046c7ea..5e25a8502 100755 --- a/debian/rules +++ b/debian/rules @@ -15,7 +15,7 @@ CONFIGUREARGS := --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --enable-eap-tls --enable-eap-ttls --enable-eap-tnc \ --enable-sql --enable-integrity-test \ --enable-ha --enable-dhcp --enable-farp \ - --enable-led \ + --enable-led --enable-gcrypt \ --enable-test-vectors --enable-nat-transport \ --enable-nm \ --with-user=strongswan --with-group=nogroup \ diff --git a/debian/strongswan-starter.postrm b/debian/strongswan-starter.postrm index 455687a3c..93407b76e 100644 --- a/debian/strongswan-starter.postrm +++ b/debian/strongswan-starter.postrm @@ -32,9 +32,11 @@ esac if [ "$1" = "purge" ] ; then update-rc.d ipsec remove >/dev/null - #if which deluser >/dev/null 2>&1; then - # deluser --quiet strongswan > /dev/null || true - #fi + if getent passwd strongswan>/dev/null; then + if [ -x /usr/sbin/deluser ]; then + deluser --system strongswan + fi + fi rm -rf /etc/ipsec.d/ rm -rf /var/run/pluto/ |