Accepting request 62348 from home:mseben:branches:Base:System

added quiet=1 option for pam_listfile rule [bnc#662433], ix build for 11.3 - prereq syslog

OBS-URL: https://build.opensuse.org/request/show/62348
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=72
This commit is contained in:
Michal Seben 2011-02-21 15:02:49 +00:00 committed by Git OBS Bridge
parent 99fb71adc0
commit 131a782c58
3 changed files with 21 additions and 9 deletions

View File

@ -1,7 +1,7 @@
Index: cronie-1.4.4/pam/crond
Index: cronie-1.4.6/pam/crond
===================================================================
--- cronie-1.4.4.orig/pam/crond
+++ cronie-1.4.4/pam/crond
--- cronie-1.4.6.orig/pam/crond
+++ cronie-1.4.6/pam/crond
@@ -3,8 +3,9 @@
#
#
@ -12,9 +12,8 @@ Index: cronie-1.4.4/pam/crond
-session include password-auth
-auth include password-auth
+auth sufficient pam_rootok.so
+account sufficient pam_listfile.so item=user sense=allow file=/etc/cron.allow onerr=succeed
+account sufficient pam_listfile.so item=user sense=allow file=/etc/cron.allow onerr=succeed quiet=1
+auth include common-auth
+account include common-account
+password include common-password
+session required pam_loginuid.so
+session include common-session

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Feb 21 15:01:39 UTC 2011 - mseben@gmail.com
- added quiet=1 option for pam_listfile rule [bnc#662433]
-------------------------------------------------------------------
Sun Feb 20 11:00:46 UTC 2011 - mseben@gmail.com
- fix build for 11.3 - prereq syslog
-------------------------------------------------------------------
Thu Jan 6 15:25:44 UTC 2011 - vcizek@novell.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cronie (Version 1.4.6)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -28,9 +28,12 @@ Group: System/Daemons
Recommends: smtp_daemon
Recommends: postfix
AutoReqProv: on
PreReq: permissions %fillup_prereq %insserv_prereq cron sysvinit(syslog)
PreReq: permissions %fillup_prereq %insserv_prereq cron
%if %suse_version > 1130
PreReq: sysvinit(syslog)
%endif
Version: 1.4.6
Release: 5
Release: 6
%{expand: %%define cronie_version %version}
Summary: Cron Daemon
Source0: %name-%version.tar.xz
@ -68,7 +71,7 @@ started automatically.
%package -n cron
License: MIT and BSD and GPLv2
Version: 4.2
Release: 7
Release: 8
Summary: Auxiliary package
Group: System/Daemons
Requires: %{name} = %{cronie_version}-%{release}