summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/01_fix-manpages.patch11
-rw-r--r--debian/patches/03_systemd-service.patch17
-rw-r--r--debian/patches/04_disable-libtls-tests.patch8
-rw-r--r--debian/patches/series3
4 files changed, 39 insertions, 0 deletions
diff --git a/debian/patches/01_fix-manpages.patch b/debian/patches/01_fix-manpages.patch
new file mode 100644
index 000000000..f1de0a3ac
--- /dev/null
+++ b/debian/patches/01_fix-manpages.patch
@@ -0,0 +1,11 @@
+--- a/src/scepclient/scepclient.8
++++ b/src/scepclient/scepclient.8
+@@ -1,7 +1,7 @@
+ .\"
+ .TH "IPSEC_SCEPCLIENT" "8" "2012-05-11" "strongSwan" ""
+ .SH "NAME"
+-ipsec scepclient \- Client for the SCEP protocol
++ipsec_scepclient \- Client for the SCEP protocol
+ .SH "SYNOPSIS"
+ .B ipsec scepclient [argument ...]
+ .sp
diff --git a/debian/patches/03_systemd-service.patch b/debian/patches/03_systemd-service.patch
new file mode 100644
index 000000000..5eee9a9b8
--- /dev/null
+++ b/debian/patches/03_systemd-service.patch
@@ -0,0 +1,17 @@
+diff --git a/debian/patches/03_systemd-service.patch b/debian/patches/03_systemd-service.patch
+diff --git a/init/systemd/strongswan.service.in b/init/systemd/strongswan.service.in
+index 474284a19..8060d1ea2 100644
+--- a/init/systemd/strongswan.service.in
++++ b/init/systemd/strongswan.service.in
+@@ -1,9 +1,10 @@
+ [Unit]
+ Description=strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf
+-After=syslog.target network-online.target
++After=network-online.target
+
+ [Service]
+ ExecStart=@SBINDIR@/@IPSEC_SCRIPT@ start --nofork
++ExecReload=@SBINDIR@/@IPSEC_SCRIPT@ reload
+ StandardOutput=syslog
+ Restart=on-abnormal
+
diff --git a/debian/patches/04_disable-libtls-tests.patch b/debian/patches/04_disable-libtls-tests.patch
new file mode 100644
index 000000000..a0b421596
--- /dev/null
+++ b/debian/patches/04_disable-libtls-tests.patch
@@ -0,0 +1,8 @@
+--- a/src/libtls/Makefile.am
++++ b/src/libtls/Makefile.am
+@@ -26,4 +26,4 @@
+ tls_server.h tls_handshake.h tls_application.h tls_aead.h tls.h
+ endif
+
+-SUBDIRS = . tests
++SUBDIRS = .
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 000000000..6d7cc1dfa
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+01_fix-manpages.patch
+03_systemd-service.patch
+04_disable-libtls-tests.patch