-DFCRON_EDITOR="\"${FCRON_EDITOR}\"" -DBINDIREX="\"${DESTBIN}\"" \
-c $<
--install: install-staged strip perms
+-install: install-staged strip perms
+install: install-staged strip
ifeq ($(BOOTINSTALL), 1)
$(SRCDIR)/script/boot-install "$(INSTALL) -o $(ROOTNAME)" $(DESTSBIN) $(DEBUG) $(FCRONTABS) $(ANSWERALL) $(SRCDIR)
---- subs.c.orig 2007-01-15 22:41:06.000000000 +0100
-+++ subs.c 2007-02-07 10:45:31.000000000 +0100
+--- fcronconf.c.orig 2007-01-15 22:41:06.000000000 +0100
++++ fcronconf.c 2007-02-07 10:45:31.000000000 +0100
@@ -222,10 +222,9 @@
/* check if the file is secure : owner:root, group:fcron,
* writable only by owner */
- if ( fstat(fileno(f), &st) != 0
-- || st.st_uid != rootuid || st.st_gid != fcrongid
- || st.st_mode & S_IWGRP || st.st_mode & S_IWOTH ) {
-- error("Conf file (%s) must be owned by root:" GROUPNAME
-- " and (no more than) 644 : ignored", fcronconf, GROUPNAME);
-+ error("Conf file (%s) must not have more perms than 644 : ignored",
-+ fcronconf);
- fclose(f);
- return;
+ if (fstat(fileno(f), &st) != 0
+- || st.st_uid != rootuid || st.st_gid != fcrongid
+ || st.st_mode & S_IWGRP || st.st_mode & S_IWOTH) {
+- error("Conf file (%s) must be owned by root:" GROUPNAME
+- " and (no more than) 644 : ignored", fcronconf, GROUPNAME);
++ error("Conf file (%s) must not have more perms than 644 : ignored",
++ fcronconf);
+ xfclose_check(&f, fcronconf);
+ return;
}
+++ /dev/null
---- fcron-3.0.3/configure.in~ 2007-06-03 23:24:08.000000000 +0200
-+++ fcron-3.0.3/configure.in 2007-06-18 00:30:02.000000000 +0200
-@@ -199,10 +199,6 @@
- ;;
- *)
- SENDMAIL=$withval
-- if test $fcron_enable_checks = 'yes' -a ! -x "$withval"; then
-- AC_MSG_ERROR([
--File $withval is not an executable file])
-- fi
- ;;
- esac ]
- )
Summary: A periodical command scheduler which aims at replacing Vixie Cron
Summary(pl.UTF-8): Serwer okresowego uruchamiania poleceń zastępujący Vixie Crona
Name: fcron
-Version: 3.0.6
-Release: 3
+Version: 3.1.2
+Release: 1
License: GPL v2+
Group: Daemons
Source0: http://fcron.free.fr/archives/%{name}-%{version}.src.tar.gz
-# Source0-md5: 69ebcb41921e2a282f41ebecb3a27053
+# Source0-md5: 36bf213e15f3a480f2274f8e46cced0a
Source1: %{name}.init
Source2: cron.logrotate
Source3: cron.sysconfig
Source6: %{name}.conf
Source7: %{name}tab.pam
Source8: %{name}.systab
-Patch0: %{name}-configure.patch
Patch1: %{name}-Makefile.patch
Patch2: %{name}-accept_readable_fcron.conf.patch
URL: http://fcron.free.fr/
%prep
%setup -q
-%patch0 -p1
%patch1 -p1
%patch2 -p0
# NOT allowed to use the local cron daemon
EOF
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+
%clean
rm -rf $RPM_BUILD_ROOT
%attr(644,root,crontab) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/fcrontab
%attr(754,root,root) /etc/rc.d/init.d/crond
%config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) /etc/logrotate.d/cron
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fcron.*
-%attr(640,root,crontab) %config(noreplace) %{_sysconfdir}/fcron.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fcron.allow
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fcron.deny
+%attr(640,root,crontab) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fcron.conf
%attr(755,root,root) %{_sbindir}/crond
%attr(6111,crontab,crontab) %{_bindir}/fcrontab
%attr(6111,crontab,crontab) %{_bindir}/crontab