From 9225699e92d05d843c7c57a164b14b58fa088c0e Mon Sep 17 00:00:00 2001 From: ensc Date: Jul 09 2005 08:31:48 +0000 Subject: fixed named of pidfile (reported by Razvan Sandu) --- diff --git a/ip-sentinel-0.12-pidfile.patch b/ip-sentinel-0.12-pidfile.patch new file mode 100644 index 0000000..26fc819 --- /dev/null +++ b/ip-sentinel-0.12-pidfile.patch @@ -0,0 +1,13 @@ +Index: src/arguments.c +=================================================================== +--- src/arguments.c (revision 487) ++++ src/arguments.c (working copy) +@@ -34,7 +34,7 @@ + #endif + + #ifndef DEFAULT_PIDFILE +-# define DEFAULT_PIDFILE "/var/run/ip-sentinel.run" ++# define DEFAULT_PIDFILE "/var/run/ip-sentinel.pid" + #endif + + #ifndef DEFAULT_LOGFILE diff --git a/ip-sentinel.spec b/ip-sentinel.spec index e40d165..2f947f8 100644 --- a/ip-sentinel.spec +++ b/ip-sentinel.spec @@ -54,12 +54,13 @@ Summary: Tool to prevent unauthorized usage of IP addresses Name: ip-sentinel Version: 0.12 -Release: %release_func 4 +Release: %release_func 5 License: GPL Group: System Environment/Daemons URL: http://www.nongnu.org/ip-sentinel/ Source0: http://savannah.nongnu.org/download/ip-sentinel/%name-%version.tar.bz2 Source1: http://savannah.nongnu.org/download/ip-sentinel/%name-%version.tar.bz2.sig +Patch0: ip-sentinel-0.12-pidfile.patch BuildRoot: %_tmppath/%name-%version-%release-buildroot Requires: init(ip-sentinel) BuildRequires: which @@ -121,7 +122,7 @@ with the minit initconcept. %prep %setup -q - +%patch0 -p0 -b .pidfile %build %configure --enable-release \ @@ -199,6 +200,9 @@ test "$1" = 0 || %_initrddir/%service condrestart &>/dev/null %changelog +* Fri Jul 8 2005 Enrico Scholz - 0.12-5 +- fixed named of pidfile (reported by Razvan Sandu) + * Wed Jun 8 2005 Enrico Scholz - 0.12-4 - rebuilt