From 6b308072994da12faf0c4493b6fc5825398a1159 Mon Sep 17 00:00:00 2001 From: Jamie Nguyen Date: Mon, 15 Jul 2013 22:46:14 +0100 Subject: [PATCH] Patch to change 'ipsec scepclient' to 'strongswan scepclient' --- ...-scepclient-to-strongswan-scepclient.patch | 25 +++++++++++++++++++ strongswan.spec | 4 +++ 2 files changed, 29 insertions(+) create mode 100644 strongswan-Change-ipsec-scepclient-to-strongswan-scepclient.patch diff --git a/strongswan-Change-ipsec-scepclient-to-strongswan-scepclient.patch b/strongswan-Change-ipsec-scepclient-to-strongswan-scepclient.patch new file mode 100644 index 0000000..ca4e05e --- /dev/null +++ b/strongswan-Change-ipsec-scepclient-to-strongswan-scepclient.patch @@ -0,0 +1,25 @@ +From c282e8fa3c55a9d0046a3119d7b2a3fe07d83c37 Mon Sep 17 00:00:00 2001 +From: Jamie Nguyen +Date: Mon, 15 Jul 2013 22:31:34 +0100 +Subject: [PATCH] Change 'ipsec scepclient' to 'strongswan scepclent' + +--- + src/starter/starter.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/starter/starter.c b/src/starter/starter.c +index 917e52d..868b224 100644 +--- a/src/starter/starter.c ++++ b/src/starter/starter.c +@@ -293,7 +293,7 @@ static void generate_selfcert() + #endif + setegid(gid); + seteuid(uid); +- ignore_result(system("ipsec scepclient --out pkcs1 --out cert-self --quiet")); ++ ignore_result(system("strongswan scepclient --out pkcs1 --out cert-self --quiet")); + seteuid(0); + setegid(0); + +-- +1.8.3.1 + diff --git a/strongswan.spec b/strongswan.spec index 9bbdf8d..5f89918 100644 --- a/strongswan.spec +++ b/strongswan.spec @@ -15,6 +15,7 @@ Patch3: libstrongswan-settings-debug.patch Patch4: strongswan.git-71d740cac68f83c77d981368a4c041eb620310ed.patch Patch5: libimcv-attestatiom-imv-crash.patch Patch6: strongswan-Change-ipsec-updown-to-strongswan-updown.patch +Patch7: strongswan-Change-ipsec-scepclient-to-strongswan-scepclient.patch BuildRequires: gmp-devel BuildRequires: libcurl-devel @@ -70,6 +71,7 @@ implementation possessing a standard IF-IMC/IMV interface. %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 echo "For migration from 4.6 to 5.0 see http://wiki.strongswan.org/projects/strongswan/wiki/CharonPlutoIKEv1" > README.Fedora @@ -302,6 +304,8 @@ fi - enable hardened_build as this package meets the PIE criteria (#984429) - invocation of "ipsec _updown iptables" is broken as ipsec is renamed to strongswan in this package (#948306) +- invocation of "ipsec scepclient" is broken as ipsec is renamed + to strongswan in this package * Fri Jun 28 2013 Avesh Agarwal - 5.0.4-3 - Patch to fix a major crash issue when Freeradius loads