From 4769e2f961d2930ffcc6cfa5b1561548e4ea552c Mon Sep 17 00:00:00 2001 From: Rene Mayrhofer Date: Mon, 22 May 2006 06:31:58 +0000 Subject: - Just copy the whole debian/ dir from my openswan packaging. --- debian/patches/00list | 2 ++ debian/patches/01-updown-default-path.dpatch | 31 +++++++++++++++++++++++ debian/patches/01-updown_x509-default-path.dpatch | 31 +++++++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 debian/patches/00list create mode 100755 debian/patches/01-updown-default-path.dpatch create mode 100755 debian/patches/01-updown_x509-default-path.dpatch (limited to 'debian/patches') 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 +## +## 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 +## +## 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 -- cgit v1.2.3