packages: rc-scripts/rc-scripts.spec, rc-scripts/start-stop-daemon-pid-chec...

zbyniu zbyniu at pld-linux.org
Tue Mar 9 02:11:49 CET 2010


Author: zbyniu                       Date: Tue Mar  9 01:11:49 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- patch for check if pid was killed by start-stop-daemon; rel 3

---- Files affected:
packages/rc-scripts:
   rc-scripts.spec (1.321 -> 1.322) , start-stop-daemon-pid-check.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/rc-scripts/rc-scripts.spec
diff -u packages/rc-scripts/rc-scripts.spec:1.321 packages/rc-scripts/rc-scripts.spec:1.322
--- packages/rc-scripts/rc-scripts.spec:1.321	Fri Jan 15 14:59:04 2010
+++ packages/rc-scripts/rc-scripts.spec	Tue Mar  9 02:11:44 2010
@@ -10,13 +10,14 @@
 Summary(tr.UTF-8):	inittab ve /etc/rc.d dosyaları
 Name:		rc-scripts
 Version:	0.4.2.7
-Release:	2
+Release:	3
 License:	GPL v2
 Group:		Base
 Source0:	ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz
 # Source0-md5:	e63df4abb56f1498d39745596d33470f
 Patch0:		dropcaps.patch
 Patch1:		%{name}-lc.patch
+Patch2:		start-stop-daemon-pid-check.patch
 URL:		http://svn.pld-linux.org/cgi-bin/viewsvn/rc-scripts/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -107,6 +108,7 @@
 %setup -q
 %patch0 -p0
 %patch1 -p0
+%patch2 -p0
 
 %build
 %{__aclocal}
@@ -346,6 +348,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.322  2010/03/09 01:11:44  zbyniu
+- patch for check if pid was killed by start-stop-daemon; rel 3
+
 Revision 1.321  2010/01/15 13:59:04  arekm
 - rel 2; fix LINES/COLUMNS test when bash is sourcing this file
 

================================================================
Index: packages/rc-scripts/start-stop-daemon-pid-check.patch
diff -u /dev/null packages/rc-scripts/start-stop-daemon-pid-check.patch:1.1
--- /dev/null	Tue Mar  9 02:11:49 2010
+++ packages/rc-scripts/start-stop-daemon-pid-check.patch	Tue Mar  9 02:11:44 2010
@@ -0,0 +1,12 @@
+--- src/start-stop-daemon.c	2004-07-19 20:56:49.000000000 +0200
++++ src/start-stop-daemon.c	2004-08-28 21:00:33.000000000 +0200
+@@ -734,7 +734,8 @@
+ 		return;
+ 	if (start && !pid_is_running(pid))
+ 		return;
+-	push(&found, pid);
++	if (stop && pid_is_running(pid))
++		push(&found, pid);
+ }
+ 
+ static void
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rc-scripts/rc-scripts.spec?r1=1.321&r2=1.322&f=u



More information about the pld-cvs-commit mailing list