rpms/cronie/F-10 symlink.patch,NONE,1.1 cronie.spec,1.13,1.14

Marcela Mašláňová mmaslano at fedoraproject.org
Fri Dec 19 12:41:13 UTC 2008


Author: mmaslano

Update of /cvs/pkgs/rpms/cronie/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30510

Modified Files:
	cronie.spec 
Added Files:
	symlink.patch 
Log Message:
* Fri Dec 19 2008 Marcela Mašláňová <mmaslano at redhat.com> - 1.2-5
- 477100 NO_FOLLOW was removed. Now are symlinked jobs runned,
 but aren't watched for changes.


symlink.patch:

--- NEW FILE symlink.patch ---
diff -up cronie-1.2/src/database.c.old cronie-1.2/src/database.c
--- cronie-1.2/src/database.c.old	2008-06-26 14:56:00.000000000 +0200
+++ cronie-1.2/src/database.c	2008-12-19 12:21:15.000000000 +0100
@@ -51,7 +51,7 @@ check_open(const char *tabname, const ch
 	int crontab_fd;
 	pid_t pid = getpid();
 
-	if ((crontab_fd = open(tabname, O_RDONLY|O_NONBLOCK|O_NOFOLLOW, 0)) == -1) {
+	if ((crontab_fd = open(tabname, O_RDONLY|O_NONBLOCK, 0)) == -1) {
 		log_it(uname, pid, "CAN'T OPEN", tabname, errno);
 		return(-1);
 	}


Index: cronie.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cronie/F-10/cronie.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- cronie.spec	24 Oct 2008 12:58:41 -0000	1.13
+++ cronie.spec	19 Dec 2008 12:40:43 -0000	1.14
@@ -6,13 +6,14 @@
 Summary: Cron daemon for executing programs at set times
 Name: cronie
 Version: 1.2
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: MIT and BSD
 Group: System Environment/Base
 URL: https://fedorahosted.org/cronie
 #Source0: https://fedorahosted.org/cronie/%{name}-%{version}.tar.gz
 Source0: http://mmaslano.fedorapeople.org/cronie/%{name}-%{version}.tar.gz
 Patch0:	init.patch
+Patch1: symlink.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires: syslog, bash >= 2.0
@@ -48,6 +49,7 @@
 %prep
 %setup -q
 %patch0 -p1 
+%patch1 -p1
 
 %build
 
@@ -127,6 +129,10 @@
 %config(noreplace) %{_sysconfdir}/cron.deny
 
 %changelog
+* Fri Dec 19 2008 Marcela Mašláňová <mmaslano at redhat.com> - 1.2-5
+- 477100 NO_FOLLOW was removed. Now are symlinked jobs runned,
+ but aren't watched for changes.
+
 * Fri Oct 24 2008 Marcela Mašláňová <mmaslano at redhat.com> - 1.2-4
 - update init script
 




More information about the fedora-extras-commits mailing list