packages: cronie/cronie.spec, cronie/cronie-paths.patch (NEW) - pldize paths
arekm
arekm at pld-linux.org
Tue Aug 11 22:07:57 CEST 2009
Author: arekm Date: Tue Aug 11 20:07:57 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- pldize paths
---- Files affected:
packages/cronie:
cronie.spec (1.1 -> 1.2) , cronie-paths.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/cronie/cronie.spec
diff -u packages/cronie/cronie.spec:1.1 packages/cronie/cronie.spec:1.2
--- packages/cronie/cronie.spec:1.1 Tue Aug 11 22:04:59 2009
+++ packages/cronie/cronie.spec Tue Aug 11 22:07:52 2009
@@ -9,17 +9,18 @@
Release: 0.1
License: MIT and BSD and GPLv2
Group: Daemons
-Source0: https://fedorahosted.org/cronie/attachment/wiki/WikiStart/cronie-1.4.1.tar.gz?format=raw
+Source0: https://fedorahosted.org/cronie/attachment/wiki/WikiStart/%{name}-%{version}.tar.gz?format=raw
# Source0-md5: 9c089d2035b9fa8263bc71da3eb31cdd
Source1: %{name}.init
Source2: cron.logrotate
Source3: cron.sysconfig
Source4: %{name}.crontab
Source5: %{name}.pam
+Patch0: %{name}-paths.patch
URL: https://fedorahosted.org/cronie/
+BuildRequires: audit-libs-devel
%{?with_selinux:BuildRequires: libselinux-devel}
BuildRequires: pam-devel
-BuildRequires: audit-libs-devel
BuildRequires: rpmbuild(macros) >= 1.268
Requires(post): fileutils
Requires(post,preun): /sbin/chkconfig
@@ -34,31 +35,32 @@
Provides: crondaemon
Provides: crontabs = 1.7
Provides: group(crontab)
-Provides: vixie-cron = 4:4.4
-Obsoletes: vixie-cron <= 4:4.3
+Provides: vixie-cron = 4:4.4
Obsoletes: crondaemon
Obsoletes: crontabs
+Obsoletes: vixie-cron <= 4:4.3
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Cronie contains the standard UNIX daemon crond that runs specified programs at
-scheduled times and related tools. It is based on the original cron and
-has security and configuration enhancements like the ability to use pam and
-SELinux.
+Cronie contains the standard UNIX daemon crond that runs specified
+programs at scheduled times and related tools. It is based on the
+original cron and has security and configuration enhancements like the
+ability to use pam and SELinux.
%package anacron
-Summary: Utility for running regular jobs
-Group: Base
-Provides: anacron = 2.4
-Obsoletes: anacron <= 2.3
+Summary: Utility for running regular jobs
+Group: Base
+Provides: anacron = 2.4
+Obsoletes: anacron <= 2.3
%description anacron
-Anacron becames part of cronie. Anacron is used only for running regular jobs.
-The default settings execute regular jobs by anacron, however this could be
-overloaded in settings.
+Anacron becames part of cronie. Anacron is used only for running
+regular jobs. The default settings execute regular jobs by anacron,
+however this could be overloaded in settings.
%prep
%setup -q
+%patch0 -p1
%build
%configure \
@@ -170,7 +172,7 @@
%files anacron
%defattr(644,root,root,755)
%attr(755,root,root) %{_sbindir}/anacron
-%attr(0755,root,root) %{_sysconfdir}/cron.hourly/0anacron
+%attr(755,root,root) %{_sysconfdir}/cron.hourly/0anacron
%{_mandir}/man5/anacrontab.5*
%{_mandir}/man8/anacron.8*
@@ -180,6 +182,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2009/08/11 20:07:52 arekm
+- pldize paths
+
Revision 1.1 2009/08/11 20:04:59 arekm
- initial
================================================================
Index: packages/cronie/cronie-paths.patch
diff -u /dev/null packages/cronie/cronie-paths.patch:1.1
--- /dev/null Tue Aug 11 22:07:57 2009
+++ packages/cronie/cronie-paths.patch Tue Aug 11 22:07:52 2009
@@ -0,0 +1,17 @@
+--- cronie-1.4.1/src/cron-paths.h~ 2009-08-11 22:01:57.847314880 +0200
++++ cronie-1.4.1/src/cron-paths.h 2009-08-11 22:06:36.364162561 +0200
+@@ -17,11 +17,11 @@
+ /* cron allow/deny file. At least cron.deny must
+ * exist for ordinary users to run crontab.
+ */
+-#define CRON_ALLOW "/etc/cron.allow"
+-#define CRON_DENY "/etc/cron.deny"
++#define CRON_ALLOW "/etc/cron/cron.allow"
++#define CRON_DENY "/etc/cron/cron.deny"
+
+ /* 4.3BSD-style crontab f.e. /etc/crontab */
+-#define SYSCRONTAB "/etc/crontab"
++#define SYSCRONTAB "/etc/cron.d/crontab"
+
+ /* system crontab dir f.e. /etc/cron.d/ */
+ #define SYS_CROND_DIR "/etc/cron.d"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cronie/cronie.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list