summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@corsac.net>2012-06-30 15:19:19 +0200
committerYves-Alexis Perez <corsac@corsac.net>2012-06-30 15:19:19 +0200
commitab7005b6edee66dfb36c526c63c30f6c62bd16ff (patch)
treed73e81a292220d20399a6be4c6dd4d5c5d39b09f
parent537b628318f1c386477605477befc8ad68785778 (diff)
downloadvyos-strongswan-ab7005b6edee66dfb36c526c63c30f6c62bd16ff.tar.gz
vyos-strongswan-ab7005b6edee66dfb36c526c63c30f6c62bd16ff.zip
use the strongswan user. closes: #529854
-rw-r--r--debian/changelog7
-rwxr-xr-xdebian/rules2
-rw-r--r--debian/strongswan-starter.postinst3
3 files changed, 9 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 204ff52c0..6632d54f8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+strongswan (4.6.4-2) UNRELEASED; urgency=low
+
+ * debian/rules:
+ - use the strongswan user. closes: #529854
+
+ -- Yves-Alexis Perez <corsac@debian.org> Fri, 29 Jun 2012 23:13:16 +0200
+
strongswan (4.6.4-1) experimental; urgency=low
* New upstream release. closes: #664190
diff --git a/debian/rules b/debian/rules
index 5b93f101c..03046c7ea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,8 +18,8 @@ CONFIGUREARGS := --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--enable-led \
--enable-test-vectors --enable-nat-transport \
--enable-nm \
+ --with-user=strongswan --with-group=nogroup \
--disable-blowfish --disable-des # BSD-Young license
- # --with-user=strongswan --with-group=nogroup \
# --enable-kernel-pfkey --enable-kernel-klips \
# And for --enable-eap-sim we would need the library, which we don't
# have right now.
diff --git a/debian/strongswan-starter.postinst b/debian/strongswan-starter.postinst
index 32bf86ffc..52e895a88 100644
--- a/debian/strongswan-starter.postinst
+++ b/debian/strongswan-starter.postinst
@@ -292,8 +292,7 @@ EOF
#fi
# create user for strongswan to change its uid into
- # disabled until this can be kept in sync with build-time uid
- #setup_strongswan_user
+ setup_strongswan_user
if [ -z "$2" ]; then
# no old configured version - start strongswan now