rpms/at/devel .cvsignore, 1.7, 1.8 at-3.1.10-different_shell.patch, 1.1, 1.2 at-3.1.10-pam.patch, 1.4, 1.5 at.spec, 1.73, 1.74 sources, 1.7, 1.8 at-3.1.10-fix_no_export.patch, 1.1, NONE at-3.1.10-pam_keyring.patch, 1.2, NONE at-3.1.10-pie.patch, 1.1, NONE at-3.1.10-usage.patch, 1.1, NONE at-3.1.8-11-lexer-parser.diff, 1.1, NONE at-3.1.8-dontfork.patch, 1.1, NONE at-noroot.patch, 1.1, NONE

Marcela Mašláňová mmaslano at fedoraproject.org
Mon Jun 1 11:47:55 UTC 2009


Author: mmaslano

Update of /cvs/pkgs/rpms/at/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29393

Modified Files:
	.cvsignore at-3.1.10-different_shell.patch at-3.1.10-pam.patch 
	at.spec sources 
Removed Files:
	at-3.1.10-fix_no_export.patch at-3.1.10-pam_keyring.patch 
	at-3.1.10-pie.patch at-3.1.10-usage.patch 
	at-3.1.8-11-lexer-parser.diff at-3.1.8-dontfork.patch 
	at-noroot.patch 
Log Message:
* Mon Jun  1 2009 Marcela Mašláňová <mmaslano at redhat.com> - 3.1.10-33
- clean cvs, check patches



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/at/devel/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- .cvsignore	3 Dec 2008 13:30:31 -0000	1.7
+++ .cvsignore	1 Jun 2009 11:47:21 -0000	1.8
@@ -1,2 +1,5 @@
 at_3.1.10.tar.gz
 56atd
+atd.init
+atd.sysconf
+test.pl

at-3.1.10-different_shell.patch:

Index: at-3.1.10-different_shell.patch
===================================================================
RCS file: /cvs/pkgs/rpms/at/devel/at-3.1.10-different_shell.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- at-3.1.10-different_shell.patch	26 Feb 2009 13:46:29 -0000	1.1
+++ at-3.1.10-different_shell.patch	1 Jun 2009 11:47:21 -0000	1.2
@@ -1,6 +1,6 @@
 diff -up at-3.1.10/at.c.fix at-3.1.10/at.c
---- at-3.1.10/at.c.fix	2009-02-26 14:31:55.000000000 +0100
-+++ at-3.1.10/at.c	2009-02-26 14:37:49.000000000 +0100
+--- at-3.1.10/at.c.fix	2009-03-18 10:49:06.000000000 +0100
++++ at-3.1.10/at.c	2009-03-18 10:59:19.000000000 +0100
 @@ -61,12 +61,8 @@
  #include <stdio.h>
  #include <stdlib.h>
@@ -21,7 +21,7 @@ diff -up at-3.1.10/at.c.fix at-3.1.10/at
      int mailsize = 128;
 +    struct timeval tv;
 +    struct timezone tz;
-+    int i;
++    long int i;
 +
 +    gettimeofday(&tv, &tz);
 +    srandom(getpid()+tv.tv_usec);
@@ -34,7 +34,15 @@ diff -up at-3.1.10/at.c.fix at-3.1.10/at
  
 -    fprintf(fp, "${SHELL:-/bin/sh} << `(dd if=/dev/urandom count=200 bs=1 2>/dev/null|LC_ALL=C tr -d -c '[:alnum:]')`\n\n");
 +    i = random();
-+    fprintf(fp, "${SHELL:-/bin/sh} << marcinDELIMITER%x\nmarcinDELIMITER%x\n", i,i);
++    fprintf(fp, "${SHELL:-/bin/sh} << marcinDELIMITER%08lx\n", i);
  
      istty = isatty(fileno(stdin));
      if (istty) {
+@@ -473,6 +476,7 @@ writefile(time_t runtimer, char queue)
+ 	fprintf(stderr, "<EOT>\n");
+     }
+     fprintf(fp, "\n");
++	fprintf(fp, "marcinDELIMITER%08lx\n", i);
+     if (ferror(fp))
+ 	panic("Output error");
+ 

at-3.1.10-pam.patch:

Index: at-3.1.10-pam.patch
===================================================================
RCS file: /cvs/pkgs/rpms/at/devel/at-3.1.10-pam.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- at-3.1.10-pam.patch	18 Jul 2008 14:34:48 -0000	1.4
+++ at-3.1.10-pam.patch	1 Jun 2009 11:47:21 -0000	1.5
@@ -5,8 +5,8 @@
 +#
 +#
 +auth       sufficient  pam_rootok.so
-+auth       include     system-auth
 +auth       required    pam_env.so
++auth       include     system-auth
 +account        include     system-auth
 +session        required    pam_loginuid.so
 +session        include     system-auth
@@ -336,7 +336,7 @@ diff -up at-3.1.10/atd.c.pam at-3.1.10/a
 +   if (selinux_enabled>0)
 +           if (setexeccon(NULL) < 0)
 +                   if (security_getenforce()==1)
-+                           perr("Could not resset exec context for user %s\n", pentry->pw_name);
++                           perr("Could not reset exec context for user %s\n", pentry->pw_name);
  #endif
 -	    perr("Exec failed for mail command");
  


Index: at.spec
===================================================================
RCS file: /cvs/pkgs/rpms/at/devel/at.spec,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -p -r1.73 -r1.74
--- at.spec	26 Feb 2009 13:43:46 -0000	1.73
+++ at.spec	1 Jun 2009 11:47:22 -0000	1.74
@@ -6,7 +6,7 @@
 Summary: Job spooling tools
 Name: at
 Version: 3.1.10
-Release: 30%{?dist}
+Release: 33%{?dist}
 License: GPLv2+
 Group: System Environment/Daemons
 URL: http://ftp.debian.org/debian/pool/main/a/at
@@ -29,11 +29,12 @@ Patch10: at-3.1.10-perm.patch
 Patch11: at-3.1.10-opt_V.patch
 Patch12: at-3.1.10-session.patch
 Patch13: at-3.1.10-havepam.patch
-Patch14: at-3.1.10-pam_keyring.patch
+# included in another pam patch
+#Patch14: at-3.1.10-pam_keyring.patch
 Patch15: at-3.1.10-PIE.patch
 Patch16: at-3.1.10-pamfix.patch
-Patch17: nonposix.patch
-Patch18: selinux_mail.patch
+Patch17: at-3.1.10-nonposix.patch
+Patch18: at-3.1.10-selinux_mail.patch
 Patch19: at-3.1.10-man_hyphen.patch
 Patch20: at-3.1.10-different_shell.patch
 
@@ -84,7 +85,7 @@ cp %{SOURCE1} .
 %patch11 -p1 -b .opt_V
 %patch12 -p1 -b .session
 %patch13 -p1 -b .havepam
-%patch14 -p1 -b .pamkeyring
+##%patch14 -p1 -b .pamkeyring
 %patch15 -p1 -b .PIE
 %patch16 -p1 -b .pamfix
 %patch17 -p1 -b .nonposix
@@ -166,7 +167,7 @@ chown daemon:daemon %{_localstatedir}/sp
 /sbin/chkconfig --add atd
 
 %preun
-if [ "$1" = 0 ] ; then
+if [ "$1" = "0" ] ; then
 	/sbin/service atd stop >/dev/null 2>&1 ||:
 	/sbin/chkconfig --del atd
 fi
@@ -196,6 +197,15 @@ fi
 %attr(0755,root,root)	%{_libdir}/pm-utils/sleep.d/56atd
 
 %changelog
+* Mon Jun  1 2009 Marcela Mašláňová <mmaslano at redhat.com> - 3.1.10-33
+- clean cvs, check patches
+
+* Wed Mar 18 2009 Marcela Mašláňová <mmaslano at redhat.com> - 3.1.10-32
+- add the forgotten add delimiter thanks to Cong Ma
+
+* Thu Feb 26 2009 Marcela Mašláňová <mmaslano at redhat.com> - 3.1.10-31
+- preun script is sometimes failing. Add apostrofs around zero.
+
 * Thu Feb 26 2009 Marcela Mašláňová <mmaslano at redhat.com> - 3.1.10-30
 - 435765 and 486844 in some cases could be used bash for at commands
  even if user sets different default shell. Also bash4.0 fix Here Documents


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/at/devel/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- sources	3 Dec 2008 13:30:31 -0000	1.7
+++ sources	1 Jun 2009 11:47:22 -0000	1.8
@@ -1,2 +1,5 @@
 6e5857e23b3c32ea6995fb7f8989987e  at_3.1.10.tar.gz
 053188856f8d971c6239ed973cb85794  56atd
+b117781fd68e393443b2a8e478c7c22f  atd.init
+ac1471fe22f63f666dc7d31173f47ea0  atd.sysconf
+67aece5997fbe1f93072e0afd69e5280  test.pl


--- at-3.1.10-fix_no_export.patch DELETED ---


--- at-3.1.10-pam_keyring.patch DELETED ---


--- at-3.1.10-pie.patch DELETED ---


--- at-3.1.10-usage.patch DELETED ---


--- at-3.1.8-11-lexer-parser.diff DELETED ---


--- at-3.1.8-dontfork.patch DELETED ---


--- at-noroot.patch DELETED ---




More information about the fedora-extras-commits mailing list