rpms/cronie/F-11 nofollow.patch,1.2,1.3 cronie.spec,1.18,1.19

Marcela Mašláňová mmaslano at fedoraproject.org
Fri Sep 25 06:37:48 UTC 2009


Author: mmaslano

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

Modified Files:
	cronie.spec 
Added Files:
	nofollow.patch 
Log Message:
* Fri Sep 25 2009 Marcela Mašláňová <mmaslano at redhat.com> - 1.3-3
- 477100 apply patch also in this branch


nofollow.patch:
 database.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: nofollow.patch
===================================================================
RCS file: nofollow.patch
diff -N nofollow.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ nofollow.patch	25 Sep 2009 06:37:43 -0000	1.3
@@ -0,0 +1,12 @@
+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-11/cronie.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- cronie.spec	18 Jun 2009 11:48:26 -0000	1.18
+++ cronie.spec	25 Sep 2009 06:37:43 -0000	1.19
@@ -6,13 +6,13 @@
 Summary: Cron daemon for executing programs at set times
 Name: cronie
 Version: 1.3
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: MIT and BSD
 Group: System Environment/Base
 URL: https://fedorahosted.org/cronie
 Source0: https://fedorahosted.org/releases/c/r/cronie/%{name}-%{version}.tar.gz
 Patch0: reboot-alias-check-the-return-value.patch
-#Source0: http://mmaslano.fedorapeople.org/cronie/%{name}-%{version}.tar.gz
+Patch1: nofollow.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires: syslog, bash >= 2.0
@@ -49,6 +49,7 @@ SELinux.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 
@@ -128,6 +129,9 @@ cp -a /var/lock/subsys/crond /var/lock/s
 %config(noreplace) %{_sysconfdir}/cron.deny
 
 %changelog
+* Fri Sep 25 2009 Marcela Mašláňová <mmaslano at redhat.com> - 1.3-3
+- 477100 apply patch also in this branch
+
 * Thu Jun 18 2009 Marcela Mašláňová <mmaslano at redhat.com> - 1.3-2
 - 506560 check return value of access
 




More information about the scm-commits mailing list