Accepting request 483286 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/483286 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cronie?expand=0&rev=63
This commit is contained in:
commit
ce156e654b
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9cf0e3f4f5042a9c09413d62c8e0c055e12401f70b112465f0f81f2c84ebfb3f
|
|
||||||
size 242072
|
|
3
cronie-1.5.1.tar.gz
Normal file
3
cronie-1.5.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6c73666102a6b5d35e2eaf1bd06925f2d4b0cef8d3323c37286dda3089a85338
|
||||||
|
size 243384
|
@ -1,16 +1,16 @@
|
|||||||
Index: cronie-1.4.8/pam/crond
|
Index: cronie-1.5.1/pam/crond
|
||||||
===================================================================
|
===================================================================
|
||||||
--- cronie-1.4.8.orig/pam/crond
|
--- cronie-1.5.1.orig/pam/crond
|
||||||
+++ cronie-1.4.8/pam/crond
|
+++ cronie-1.5.1/pam/crond
|
||||||
@@ -3,8 +3,10 @@
|
@@ -4,8 +4,10 @@
|
||||||
#
|
#
|
||||||
#
|
# Although no PAM authentication is called, auth modules
|
||||||
# No PAM authentication called, auth modules not needed
|
# are used for credential setting
|
||||||
|
-auth include password-auth
|
||||||
-account required pam_access.so
|
-account required pam_access.so
|
||||||
-account include password-auth
|
-account include password-auth
|
||||||
-session required pam_loginuid.so
|
-session required pam_loginuid.so
|
||||||
-session include password-auth
|
-session include password-auth
|
||||||
-auth include password-auth
|
|
||||||
+auth sufficient pam_rootok.so
|
+auth sufficient pam_rootok.so
|
||||||
+account sufficient pam_listfile.so item=user sense=allow file=/etc/cron.allow onerr=succeed quiet
|
+account sufficient pam_listfile.so item=user sense=allow file=/etc/cron.allow onerr=succeed quiet
|
||||||
+auth include common-auth
|
+auth include common-auth
|
||||||
|
@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 28 09:18:55 UTC 2017 - kstreitova@suse.com
|
||||||
|
|
||||||
|
- update to 1.5.1
|
||||||
|
* crontab: Use temporary file name that is ignored by crond.
|
||||||
|
* crond: Inherit PATH from the crond environment if -P option
|
||||||
|
is used.
|
||||||
|
* crond: Remove hardcoded "system_u" SELinux user, use the
|
||||||
|
SELinux user
|
||||||
|
of the running crond.
|
||||||
|
* anacron: Small cleanups and fixes.
|
||||||
|
* crond: Fix longstanding race condition on repeated crontab
|
||||||
|
modification.
|
||||||
|
- refresh cronie-pam_config.diff
|
||||||
|
- get rid of %{name} macros in the patch names
|
||||||
|
- use %{ext_man} macro for anacron man pages
|
||||||
|
- fedorahosted.org was retired on March 1st, 2017
|
||||||
|
* update Url and Source address
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 23 15:14:29 UTC 2017 - kstreitova@suse.com
|
||||||
|
|
||||||
|
- cleanup with spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 30 14:35:34 UTC 2016 - kstreitova@suse.com
|
Fri Sep 30 14:35:34 UTC 2016 - kstreitova@suse.com
|
||||||
|
|
||||||
|
30
cronie.spec
30
cronie.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package cronie
|
# spec file for package cronie
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,13 +18,14 @@
|
|||||||
|
|
||||||
%define cron_configs %{_sysconfdir}/pam.d/crond %{_sysconfdir}/crontab %{_sysconfdir}/cron.deny
|
%define cron_configs %{_sysconfdir}/pam.d/crond %{_sysconfdir}/crontab %{_sysconfdir}/cron.deny
|
||||||
Name: cronie
|
Name: cronie
|
||||||
Version: 1.5.0
|
Version: 1.5.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Cron Daemon
|
Summary: Cron Daemon
|
||||||
License: BSD-3-Clause and GPL-2.0 and MIT
|
License: BSD-3-Clause and GPL-2.0 and MIT
|
||||||
Group: System/Daemons
|
Group: System/Daemons
|
||||||
Url: https://fedorahosted.org/cronie/
|
Url: https://github.com/cronie-crond/cronie
|
||||||
Source0: https://fedorahosted.org/releases/c/r/%{name}/%{name}-%{version}.tar.gz
|
# temporary location - new releases will be stored on GitHub
|
||||||
|
Source0: http://people.redhat.com/tmraz/%{name}/%{name}-%{version}.tar.gz
|
||||||
Source2: run-crons
|
Source2: run-crons
|
||||||
Source3: sample.root
|
Source3: sample.root
|
||||||
Source4: deny.sample
|
Source4: deny.sample
|
||||||
@ -33,13 +34,13 @@ Source7: cron_to_cronie.README
|
|||||||
Source8: cron.service
|
Source8: cron.service
|
||||||
Source9: sysconfig.cron
|
Source9: sysconfig.cron
|
||||||
# PATCH-FEATURE-OPENSUSE cronie-pam_config.diff added pam config file from old cron
|
# PATCH-FEATURE-OPENSUSE cronie-pam_config.diff added pam config file from old cron
|
||||||
Patch3: %{name}-pam_config.diff
|
Patch3: cronie-pam_config.diff
|
||||||
# openSUSE set NHEADER_LINES to 3 - old openSUSE cron put three lines of comments
|
# openSUSE set NHEADER_LINES to 3 - old openSUSE cron put three lines of comments
|
||||||
# in top of crontab file, so we want to hide this junk comments if user edit
|
# in top of crontab file, so we want to hide this junk comments if user edit
|
||||||
# crontab file with crontab -e command, patch grabbed from old openSUSE cron
|
# crontab file with crontab -e command, patch grabbed from old openSUSE cron
|
||||||
Patch4: %{name}-nheader_lines.diff
|
Patch4: cronie-nheader_lines.diff
|
||||||
# we use cron.pid instead of crond.pid
|
# we use cron.pid instead of crond.pid
|
||||||
Patch5: %{name}-crond_pid.diff
|
Patch5: cronie-crond_pid.diff
|
||||||
# PATCH-FIX-UPSTREAM mention logging disabling for a command in man
|
# PATCH-FIX-UPSTREAM mention logging disabling for a command in man
|
||||||
Patch7: cronie-1.4.7-disable_logging.patch
|
Patch7: cronie-1.4.7-disable_logging.patch
|
||||||
# PATCH-FIX-UPSTREAM use run-crons instead of run-parts for anacron (bnc#689494)
|
# PATCH-FIX-UPSTREAM use run-crons instead of run-parts for anacron (bnc#689494)
|
||||||
@ -52,6 +53,7 @@ Patch13: fix-manpage-replace-anacrontab-with-crontab.patch
|
|||||||
BuildRequires: audit-devel
|
BuildRequires: audit-devel
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
Requires(post): %fillup_prereq
|
Requires(post): %fillup_prereq
|
||||||
Requires(post): permissions
|
Requires(post): permissions
|
||||||
@ -120,7 +122,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now,-z,defs"
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
%make_install
|
||||||
mkdir -p -v %{buildroot}%{_localstatedir}/spool/cron/{tabs,lastrun}
|
mkdir -p -v %{buildroot}%{_localstatedir}/spool/cron/{tabs,lastrun}
|
||||||
mkdir -p -v %{buildroot}%{_sysconfdir}/cron.{d,hourly,daily,weekly,monthly}
|
mkdir -p -v %{buildroot}%{_sysconfdir}/cron.{d,hourly,daily,weekly,monthly}
|
||||||
install -v -m 600 %{SOURCE3} %{buildroot}%{_sysconfdir}/crontab
|
install -v -m 600 %{SOURCE3} %{buildroot}%{_sysconfdir}/crontab
|
||||||
@ -192,10 +194,10 @@ exit 0
|
|||||||
%config %{_sysconfdir}/pam.d/crond
|
%config %{_sysconfdir}/pam.d/crond
|
||||||
%verify(not mode) %config(noreplace) %{_sysconfdir}/crontab
|
%verify(not mode) %config(noreplace) %{_sysconfdir}/crontab
|
||||||
%config(noreplace) %{_sysconfdir}/cron.deny
|
%config(noreplace) %{_sysconfdir}/cron.deny
|
||||||
%{_mandir}/man1/crontab.1.gz
|
%{_mandir}/man1/crontab.1%{ext_man}
|
||||||
%{_mandir}/man5/crontab.5.gz
|
%{_mandir}/man5/crontab.5%{ext_man}
|
||||||
%{_mandir}/man8/cron.8.gz
|
%{_mandir}/man8/cron.8%{ext_man}
|
||||||
%{_mandir}/man8/crond.8.gz
|
%{_mandir}/man8/crond.8%{ext_man}
|
||||||
%verify(not mode) %attr (4750,root,trusted) %{_bindir}/crontab
|
%verify(not mode) %attr (4750,root,trusted) %{_bindir}/crontab
|
||||||
%attr (755,root,root) %{_sbindir}/cron
|
%attr (755,root,root) %{_sbindir}/cron
|
||||||
%{_sbindir}/rccron
|
%{_sbindir}/rccron
|
||||||
@ -212,8 +214,8 @@ exit 0
|
|||||||
%ghost %verify(not md5 size mtime) %{_localstatedir}/spool/anacron/cron.daily
|
%ghost %verify(not md5 size mtime) %{_localstatedir}/spool/anacron/cron.daily
|
||||||
%ghost %verify(not md5 size mtime) %{_localstatedir}/spool/anacron/cron.weekly
|
%ghost %verify(not md5 size mtime) %{_localstatedir}/spool/anacron/cron.weekly
|
||||||
%ghost %verify(not md5 size mtime) %{_localstatedir}/spool/anacron/cron.monthly
|
%ghost %verify(not md5 size mtime) %{_localstatedir}/spool/anacron/cron.monthly
|
||||||
%{_mandir}/man5/anacrontab.*
|
%{_mandir}/man5/anacrontab.5%{ext_man}
|
||||||
%{_mandir}/man8/anacron.*
|
%{_mandir}/man8/anacron.8%{ext_man}
|
||||||
|
|
||||||
%files -n cron
|
%files -n cron
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user