summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2006-05-22 06:31:58 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2006-05-22 06:31:58 +0000
commit4769e2f961d2930ffcc6cfa5b1561548e4ea552c (patch)
tree09d7bf5ab7e542d4f909c26d57b657d3f53b5a52 /debian/patches
parent12843c61608dfbfdd27d67d67f321e6b5b1806da (diff)
downloadvyos-strongswan-4769e2f961d2930ffcc6cfa5b1561548e4ea552c.tar.gz
vyos-strongswan-4769e2f961d2930ffcc6cfa5b1561548e4ea552c.zip
- Just copy the whole debian/ dir from my openswan packaging.
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/00list2
-rwxr-xr-xdebian/patches/01-updown-default-path.dpatch31
-rwxr-xr-xdebian/patches/01-updown_x509-default-path.dpatch31
3 files changed, 64 insertions, 0 deletions
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644
index 000000000..0e2981655
--- /dev/null
+++ b/debian/patches/00list
@@ -0,0 +1,2 @@
+01-updown-default-path
+01-updown_x509-default-path \ No newline at end of file
diff --git a/debian/patches/01-updown-default-path.dpatch b/debian/patches/01-updown-default-path.dpatch
new file mode 100755
index 000000000..215495cab
--- /dev/null
+++ b/debian/patches/01-updown-default-path.dpatch
@@ -0,0 +1,31 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_updown-default-path.dpatch by <rene@mayrhofer.eu.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Changes /etc/sysconfig to /etc/default
+
+@DPATCH@
+
+--- openswan/programs/_updown/_updown.in.orig 2006-04-15 22:43:19.159741143 +0100
++++ openswan/programs/_updown/_updown.in 2006-04-15 22:43:26.851946210 +0100
+@@ -116,7 +116,7 @@
+ # PLUTO_CONNECTION_TYPE
+ #
+
+-# Import default _updown configs from the /etc/sysconfig/pluto_updown file
++# Import default _updown configs from the /etc/default/pluto_updown file
+ #
+ # Two variables can be set in this file:
+ #
+@@ -132,9 +132,9 @@
+ # IPRULEARGS
+ # is the extra argument list for ip rule command
+ #
+-if [ -f /etc/sysconfig/pluto_updown ]
++if [ -f /etc/default/pluto_updown ]
+ then
+- . /etc/sysconfig/pluto_updown
++ . /etc/default/pluto_updown
+ fi
+
+ # check interface version
diff --git a/debian/patches/01-updown_x509-default-path.dpatch b/debian/patches/01-updown_x509-default-path.dpatch
new file mode 100755
index 000000000..ef53bf202
--- /dev/null
+++ b/debian/patches/01-updown_x509-default-path.dpatch
@@ -0,0 +1,31 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_updown_x509-default-path.dpatch by <rene@mayrhofer.eu.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Changes /etc/sysconfig to /etc/default
+
+@DPATCH@
+
+--- openswan/programs/_updown_x509/_updown_x509.in.orig 2006-04-15 22:33:22.443407426 +0100
++++ openswan/programs/_updown_x509/_updown_x509.in 2006-04-15 22:33:36.822921408 +0100
+@@ -125,7 +125,7 @@
+ # PLUTO_CONNECTION_TYPE
+ #
+
+-# Import default _updown configs from the /etc/sysconfig/pluto_updown file
++# Import default _updown configs from the /etc/default/pluto_updown file
+ #
+ # Two variables can be set in this file:
+ #
+@@ -141,9 +141,9 @@
+ # IPRULEARGS
+ # is the extra argument list for ip rule command
+ #
+-if [ -f /etc/sysconfig/pluto_updown ]
++if [ -f /etc/default/pluto_updown ]
+ then
+- . /etc/sysconfig/pluto_updown
++ . /etc/default/pluto_updown
+ fi
+
+ # check interface version