aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libreswan/openrc.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-11-19 15:30:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-19 15:31:13 +0000
commitdcf6ad434ce58db0d32d371aca40f0604039cdbe (patch)
tree653cd247e27a45ecaf8a1beb57f4a238d36ad62a /testing/libreswan/openrc.patch
parent1aaf47d7aecbf7b029ce230e078f1e0c3cb31d88 (diff)
downloadaports-dcf6ad434ce58db0d32d371aca40f0604039cdbe.tar.bz2
aports-dcf6ad434ce58db0d32d371aca40f0604039cdbe.tar.xz
testing/libreswan: fix typo in init.d script and add iproute2 as dep
ref #1852
Diffstat (limited to 'testing/libreswan/openrc.patch')
-rw-r--r--testing/libreswan/openrc.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/libreswan/openrc.patch b/testing/libreswan/openrc.patch
new file mode 100644
index 0000000000..8a32c53ce7
--- /dev/null
+++ b/testing/libreswan/openrc.patch
@@ -0,0 +1,26 @@
+From cf3af91d861caa849f6f72e3af2d7c7ee56e6b27 Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Tue, 19 Nov 2013 15:25:41 +0000
+Subject: [PATCH] initsystems: fix typo in openrc script
+
+---
+ initsystems/openrc/ipsec.init.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/initsystems/openrc/ipsec.init.in b/initsystems/openrc/ipsec.init.in
+index 027b253..f3ab2f9 100755
+--- a/initsystems/openrc/ipsec.init.in
++++ b/initsystems/openrc/ipsec.init.in
+@@ -50,7 +50,7 @@ stop() {
+ start-stop-daemon --stop --pidfile "${PLUTO_PIDFILE}"
+ RETVAL=$?
+ ${IPSEC_BINARY} _stackmanager stop
+- eend RETVAL
++ eend $RETVAL
+ }
+
+ reload() {
+--
+1.8.4.3
+
+