rpms/vixie-cron/F-8 configure.patch, NONE, 1.1 cred.patch, NONE, 1.1 vixie-cron.spec, 1.109, 1.110
Marcela Mašláňová (mmaslano)
fedora-extras-commits at redhat.com
Fri Nov 30 16:05:24 UTC 2007
- Previous message: rpms/kernel/F-8 kernel.spec, 1.281, 1.282 linux-2.6-wireless-pending.patch, 1.15, 1.16 linux-2.6-wireless.patch, 1.13, 1.14 linux-2.6-iwlwifi-cve-2007-5938.patch, 1.1, NONE
- Next message: rpms/jd/F-7 .cvsignore, 1.146, 1.147 jd.spec, 1.165, 1.166 sources, 1.147, 1.148
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mmaslano
Update of /cvs/pkgs/rpms/vixie-cron/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10990
Modified Files:
vixie-cron.spec
Added Files:
configure.patch cred.patch
Log Message:
Delete old macro, which made incorrect time format of non sendmails
mails, add pam credentials back.
configure.patch:
--- NEW FILE configure.patch ---
diff -up vixie-cron-4.2/configure.ac.old vixie-cron-4.2/configure.ac
--- vixie-cron-4.2/configure.ac.old 2007-11-30 16:54:32.000000000 +0100
+++ vixie-cron-4.2/configure.ac 2007-11-30 16:56:09.000000000 +0100
@@ -203,8 +203,6 @@ AC_DEFINE(MAILFMT,"%s -FCronDaemon -i -o
-t = Get recipient from headers
-d = undocumented but common flag.])
-AC_DEFINE(MAIL_DATE,0,[Date is set by sendmail.])
-
AC_DEFINE(SYSLOG,1,[Using syslog for log messages.])
AC_DEFINE(CAPITALIZE_FOR_PS,0,[if you have a tm_gmtoff member in struct tm])
cred.patch:
--- NEW FILE cred.patch ---
diff --git a/src/security.c b/src/security.c
index 200dac4..030d203 100644
--- a/src/security.c
+++ b/src/security.c
@@ -89,14 +89,15 @@ int cron_set_job_security_context(entry *e, user *u, char ***jobenv) {
if (ucontext)
freecon(ucontext);
#endif
-
-/* if (cron_open_pam_session(e->pwd) != 0) {
+#ifdef WITH_PAM
+ if (cron_open_pam_session(e->pwd) != 0) {
syslog(LOG_INFO, "CRON (%s) ERROR: failed to open PAM security session: %s", e->pwd->pw_name, strerror(errno));
return -1;
}
-*/
+#endif
+
if (cron_change_user(e->pwd, env_get("HOME", *jobenv)) != 0) {
- syslog(LOG_INFO, "CRON (%s) ERROR: failed to open PAM security session: %s", e->pwd->pw_name, strerror(errno));
+ syslog(LOG_INFO, "CRON (%s) ERROR: failed to open change cron user: %s", e->pwd->pw_name, strerror(errno));
return -1;
}
@@ -136,7 +137,6 @@ int cron_start_pam(struct passwd *pw) {
return retcode;
}
-#if 0
int cron_open_pam_session(struct passwd *pw) {
int retcode = 0;
@@ -151,7 +151,6 @@ int cron_open_pam_session(struct passwd *pw) {
return retcode;
}
-#endif
void cron_close_pam(void) {
#if defined(WITH_PAM)
Index: vixie-cron.spec
===================================================================
RCS file: /cvs/pkgs/rpms/vixie-cron/F-8/vixie-cron.spec,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -r1.109 -r1.110
--- vixie-cron.spec 12 Nov 2007 09:00:02 -0000 1.109
+++ vixie-cron.spec 30 Nov 2007 16:04:51 -0000 1.110
@@ -10,13 +10,15 @@
Summary: The Vixie cron daemon for executing specified programs at set times
Name: vixie-cron
Version: 4.2
-Release: 5%{?dist}
+Release: 6%{?dist}
Epoch: 4
License: BSD
Group: System Environment/Base
Source0: https://hosted.fedoraproject.org/projects/vixie-cron/wiki/%{name}-%{version}.tar.gz
Patch0: mailfail.patch
Patch1: mailpath.patch
+Patch2: cred.patch
+Patch3: configure.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: syslog, bash >= 2.0
@@ -53,6 +55,8 @@
%setup -q
%patch0 -p1 -b .mailfail
%patch1 -p1 -b .mailpath
+%patch2 -p1 -b .cred
+%patch3 -p1 -b .conf
aclocal
autoheader
@@ -137,6 +141,10 @@
%doc %{_datadir}/doc/cron/*
%changelog
+* Fri Nov 30 2007 Marcela Maslanova <mmaslano at redhat.com> - 4:4.2-6
+- delete old macro, which made incorrect time format of non sendmails
+ mails, add pam credentials back
+
* Mon Nov 12 2007 Marcela Maslanova <mmaslano at redhat.com> - 4:4.2-5
- 374191: sendmail has incorrect path, if another MTA is used, no
mails are send.
- Previous message: rpms/kernel/F-8 kernel.spec, 1.281, 1.282 linux-2.6-wireless-pending.patch, 1.15, 1.16 linux-2.6-wireless.patch, 1.13, 1.14 linux-2.6-iwlwifi-cve-2007-5938.patch, 1.1, NONE
- Next message: rpms/jd/F-7 .cvsignore, 1.146, 1.147 jd.spec, 1.165, 1.166 sources, 1.147, 1.148
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list