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

This commit is contained in:
Jamie Nguyen
2013-07-15 22:46:14 +01:00
parent c3373a94d4
commit 14b5569537
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
From c282e8fa3c55a9d0046a3119d7b2a3fe07d83c37 Mon Sep 17 00:00:00 2001
From: Jamie Nguyen <j@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

View File

@@ -15,6 +15,7 @@ Patch3: libstrongswan-settings-debug.patch
Patch4: strongswan.git-71d740cac68f83c77d981368a4c041eb620310ed.patch Patch4: strongswan.git-71d740cac68f83c77d981368a4c041eb620310ed.patch
Patch5: libimcv-attestatiom-imv-crash.patch Patch5: libimcv-attestatiom-imv-crash.patch
Patch6: strongswan-Change-ipsec-updown-to-strongswan-updown.patch Patch6: strongswan-Change-ipsec-updown-to-strongswan-updown.patch
Patch7: strongswan-Change-ipsec-scepclient-to-strongswan-scepclient.patch
BuildRequires: gmp-devel BuildRequires: gmp-devel
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
@@ -70,6 +71,7 @@ implementation possessing a standard IF-IMC/IMV interface.
%patch4 -p1 %patch4 -p1
%patch5 -p1 %patch5 -p1
%patch6 -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 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) - enable hardened_build as this package meets the PIE criteria (#984429)
- invocation of "ipsec _updown iptables" is broken as ipsec is renamed - invocation of "ipsec _updown iptables" is broken as ipsec is renamed
to strongswan in this package (#948306) 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@redhat.com> - 5.0.4-3 * Fri Jun 28 2013 Avesh Agarwal <avagarwa@redhat.com> - 5.0.4-3
- Patch to fix a major crash issue when Freeradius loads - Patch to fix a major crash issue when Freeradius loads