diff --git a/strongswan-init.patch b/strongswan-init.patch index 87d67d6..b0bc994 100644 --- a/strongswan-init.patch +++ b/strongswan-init.patch @@ -15,7 +15,7 @@ Index: strongswan-4.6.1/init/sysvinit/strongswan =================================================================== --- /dev/null +++ strongswan-4.6.1/init/sysvinit/strongswan -@@ -0,0 +1,101 @@ +@@ -0,0 +1,102 @@ +#!/bin/sh +# +# strongswan An implementation of key management system for IPsec @@ -37,6 +37,7 @@ Index: strongswan-4.6.1/init/sysvinit/strongswan + +exec="/usr/sbin/strongswan" +prog="strongswan" ++prog1="starter" +config="/etc/racoon2/racoon2.conf" + +[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog @@ -78,7 +79,7 @@ Index: strongswan-4.6.1/init/sysvinit/strongswan + +rh_status() { + # run checks to determine if the service is running or use generic status -+ status $prog ++ status $prog1 +} + +rh_status_q() { diff --git a/strongswan.spec b/strongswan.spec index 689d777..f295616 100644 --- a/strongswan.spec +++ b/strongswan.spec @@ -1,6 +1,6 @@ Name: strongswan Version: 4.6.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: An OpenSource IPsec-based VPN Solution Group: System Environment/Daemons License: GPLv2+ @@ -181,6 +181,9 @@ fi #TODO manpages %changelog +* Wed Feb 15 2012 Pavel Šimerda - 4.6.1-8 +- Fix initscript's status function + * Wed Feb 15 2012 Pavel Šimerda - 4.6.1-7 - Expand tabs in config files for better readability - Add sysvinit script for epel6