Bug 808612 - strongswan binary renaming side-effect

This commit is contained in:
Pavel Šimerda
2012-03-30 22:58:30 +02:00
parent 5da6fac449
commit ff3d2ec7a5
2 changed files with 19 additions and 1 deletions

13
strongswan-rename.patch Normal file
View File

@@ -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,

View File

@@ -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 <pavlix@pavlix.net> - 4.6.2-2
- #808612 - strongswan binary renaming side-effect
* Sun Feb 26 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.2-1
- New upstream version
- Changed from .tar.gz to .tar.bz2