[strongswan] Patch to change 'ipsec scepclient' to 'strongswan scepclient'

Jamie Nguyen jamielinux at fedoraproject.org
Mon Jul 15 22:45:56 UTC 2013


commit 0b1747fb96f5252e7758aeb9619dbc8d1cbf5724
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Mon Jul 15 22:46:14 2013 +0100

    Patch to change 'ipsec scepclient' to 'strongswan scepclient'

 ...ipsec-scepclient-to-strongswan-scepclient.patch |   25 ++++++++++++++++++++
 strongswan.spec                                    |    4 +++
 2 files changed, 29 insertions(+), 0 deletions(-)
---
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 <j at jamielinux.com>
+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 <avagarwa at redhat.com> - 5.0.4-3
 - Patch to fix a major crash issue when Freeradius loads


More information about the scm-commits mailing list