rpms/initng/devel logfilemode.patch,NONE,1.1 initng.spec,1.15,1.16

Daniel Malmgren (danielm) fedora-extras-commits at redhat.com
Wed Aug 15 18:00:39 UTC 2007


Author: danielm

Update of /cvs/extras/rpms/initng/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24860

Modified Files:
	initng.spec 
Added Files:
	logfilemode.patch 
Log Message:
initng 0.6.10.1-2 for devel


logfilemode.patch:

--- NEW FILE logfilemode.patch ---
--- plugins/logfile/initng_logfile.c (from 0.6.10.1)
+++ plugins/logfile/initng_logfile.c (fixed version)
@@ -74,3 +74,3 @@
 
 	/* open the file */
-	fd = open(filename, O_WRONLY | O_CREAT | O_APPEND);
+	fd = open(filename, O_WRONLY | O_CREAT | O_APPEND, 0644);
	if (fd < 1)
	{


Index: initng.spec
===================================================================
RCS file: /cvs/extras/rpms/initng/devel/initng.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- initng.spec	31 May 2007 13:30:00 -0000	1.15
+++ initng.spec	15 Aug 2007 18:00:07 -0000	1.16
@@ -1,7 +1,7 @@
 Summary: Programs which control basic system processes
 Name: initng
 Version: 0.6.10.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPL
 URL: http://www.initng.org
 Group: System Environment/Base
@@ -14,6 +14,7 @@
 Requires(triggerin): grep coreutils
 Requires: %{name}-lib = %{version}-%{release}
 Patch0: fontbug.patch
+Patch1: logfilemode.patch
 
 %description
 Initng is a full replacement of the old and in many ways deprecated sysvinit
@@ -39,6 +40,7 @@
 %prep
 %setup -q
 %patch0 -p0 -b .fontbug
+%patch1 -p0 -b .logfilemode
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS"
@@ -115,6 +117,9 @@
 /%{_lib}/libngcclient.so
 
 %changelog
+* Wed Aug 15 2007 Daniel Malmgren <dm at mensa.se> 0.6.10.1-2
+- Added patch to fix compilation with glibc >= 2.6.90 (thanks to Dragoran)
+
 * Thu May 31 2007 Daniel Malmgren <dm at mensa.se> 0.6.10.1-1
 - New upstreams version
 - Removed macros from changelog to make rpmlint happy




More information about the fedora-extras-commits mailing list