From ff3d2ec7a59e3a5c99970c96c5071d1ca2de2c2e Mon Sep 17 00:00:00 2001 From: Pavel Šimerda Date: Mar 30 2012 20:58:48 +0000 Subject: Bug 808612 - strongswan binary renaming side-effect --- diff --git a/strongswan-rename.patch b/strongswan-rename.patch new file mode 100644 index 0000000..aa40d71 --- /dev/null +++ b/strongswan-rename.patch @@ -0,0 +1,13 @@ +Index: strongswan-4.6.1/src/pluto/kernel.c +=================================================================== +--- strongswan-4.6.1.orig/src/pluto/kernel.c ++++ strongswan-4.6.1/src/pluto/kernel.c +@@ -247,7 +247,7 @@ static void escape_metachar(const char * + */ + + #ifndef DEFAULT_UPDOWN +-# define DEFAULT_UPDOWN "ipsec _updown" ++# define DEFAULT_UPDOWN "strongswan _updown" + #endif + + static bool do_command(connection_t *c, struct spd_route *sr, struct state *st, diff --git a/strongswan.spec b/strongswan.spec index 3222b12..8dc4c76 100644 --- a/strongswan.spec +++ b/strongswan.spec @@ -1,12 +1,13 @@ Name: strongswan Version: 4.6.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: An OpenSource IPsec-based VPN Solution Group: System Environment/Daemons License: GPLv2+ URL: http://www.strongswan.org/ Source0: http://download.strongswan.org/%{name}-%{version}.tar.bz2 Patch0: %{name}-init.patch +Patch1: %{name}-rename.patch BuildRequires: gmp-devel BuildRequires: libcurl-devel BuildRequires: openldap-devel @@ -28,6 +29,7 @@ kernel. %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %configure --disable-static \ @@ -182,6 +184,9 @@ fi #TODO manpages %changelog +* Fri Mar 30 2012 Pavel Šimerda - 4.6.2-2 +- #808612 - strongswan binary renaming side-effect + * Sun Feb 26 2012 Pavel Šimerda - 4.6.2-1 - New upstream version - Changed from .tar.gz to .tar.bz2