commit at for openSUSE:Factory
Hello community,
here is the log from the commit of package at for openSUSE:Factory
checked in at Tue Sep 28 22:34:11 CEST 2010.
--------
--- at/at.changes 2010-07-20 22:30:12.000000000 +0200
+++ /mounts/work_src_done/STABLE/at/at.changes 2010-09-28 06:31:06.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Sep 28 04:53:33 UTC 2010 - cristian.rodriguez@opensuse.org
+
+- /etc/at.deny has wrong account name [bnc#632250]
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
at-3.1.8-denylist.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ at.spec ++++++
--- /var/tmp/diff_new_pack.LBB42c/_old 2010-09-28 22:32:52.000000000 +0200
+++ /var/tmp/diff_new_pack.LBB42c/_new 2010-09-28 22:32:52.000000000 +0200
@@ -26,7 +26,7 @@
Group: System/Daemons
AutoReqProv: on
Version: 3.1.8
-Release: 1079
+Release: 1086
Summary: A Job Manager
Source: at_3.1.8-11.tar.gz
Source1: atd.init
@@ -52,6 +52,8 @@
Patch14: %{name}-%{version}-pam-session-as-root.patch
# PATCH-FIX-UPSTRAM clean-up opened descriptors (bnc#533454, bnc#523346)
Patch15: %{name}-%{version}-leak-fix.patch
+#PATCH_FIX-OPENSUSE add proper system users to the deny list
+Patch16: at-3.1.8-denylist.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %{_sbindir}/useradd %{_sbindir}/groupadd %fillup_prereq %insserv_prereq
Recommends: smtp_daemon
@@ -84,8 +86,9 @@
%patch11
%patch12
%patch13
-%patch14 -p1
+%patch14
%patch15
+%patch16
%build
%{?suse_update_config:%{suse_update_config -f}}
++++++ at-3.1.8-bison.patch ++++++
--- /var/tmp/diff_new_pack.LBB42c/_old 2010-09-28 22:32:52.000000000 +0200
+++ /var/tmp/diff_new_pack.LBB42c/_new 2010-09-28 22:32:52.000000000 +0200
@@ -1,6 +1,6 @@
---- parsetime.y
+--- parsetime.y.orig
+++ parsetime.y
-@@ -63,6 +63,7 @@
+@@ -63,6 +63,7 @@ now : NOW
time_or_not : time
|
@@ -8,7 +8,7 @@
time : hr24clock_hr_min
| hr24clock_hr_min timezone_name
-@@ -112,6 +113,7 @@
+@@ -112,6 +113,7 @@ date : month_name day_number
inc_or_dec : increment
| decrement
@@ -16,7 +16,7 @@
increment : '+' inc_number inc_period
{
-@@ -288,6 +290,8 @@
+@@ -287,6 +289,8 @@ month_number : INT
free($1);
}
}
++++++ at-3.1.8-cleanup_perm.patch ++++++
--- /var/tmp/diff_new_pack.LBB42c/_old 2010-09-28 22:32:52.000000000 +0200
+++ /var/tmp/diff_new_pack.LBB42c/_new 2010-09-28 22:32:52.000000000 +0200
@@ -1,6 +1,6 @@
---- panic.c
+--- panic.c.orig
+++ panic.c
-@@ -58,8 +58,11 @@
+@@ -58,8 +58,11 @@ panic(char *a)
/* Something fatal has happened, print error message and exit.
*/
fprintf(stderr, "%s: %s\n", namep, a);
++++++ at-3.1.8-delete_r.patch ++++++
--- /var/tmp/diff_new_pack.LBB42c/_old 2010-09-28 22:32:52.000000000 +0200
+++ /var/tmp/diff_new_pack.LBB42c/_new 2010-09-28 22:32:52.000000000 +0200
@@ -1,6 +1,6 @@
---- at.1.in
+--- at.1.in.orig
+++ at.1.in
-@@ -9,7 +9,7 @@
+@@ -9,7 +9,7 @@ at, batch, atq, atrm \- queue, examine o
.IR queue ]
.RB [ -f
.IR file ]
@@ -9,7 +9,7 @@
.B TIME
.br
.B "at -c"
-@@ -219,8 +219,8 @@
+@@ -219,8 +219,8 @@ rather than standard input.
Is an alias for
.B atq.
.TP
@@ -20,9 +20,9 @@
.B atrm.
.TP
.TP
---- at.c
+--- at.c.orig
+++ at.c
-@@ -692,7 +692,7 @@
+@@ -692,7 +692,7 @@ main(int argc, char **argv)
char *pgm;
int program = AT; /* our default program */
@@ -31,7 +31,7 @@
int disp_version = 0;
time_t timer;
struct passwd *pwe;
-@@ -765,6 +765,7 @@
+@@ -765,6 +765,7 @@ main(int argc, char **argv)
break;
case 'd':
@@ -39,9 +39,9 @@
if (program != AT)
usage();
---- panic.c
+--- panic.c.orig
+++ panic.c
-@@ -92,6 +92,7 @@
+@@ -92,6 +92,7 @@ usage(void)
/* Print usage and exit.
*/
fprintf(stderr, "Usage: at [-V] [-q x] [-f file] [-m] time\n"
++++++ at-3.1.8-denylist.patch ++++++
--- at.deny.orig
+++ at.deny
@@ -1,24 +1,12 @@
-alias
-backup
+root
bin
daemon
-ftp
-games
-gnats
-guest
-irc
lp
mail
+news
+uucp
+games
man
+wwwrun
+ftp
nobody
-operator
-proxy
-qmaild
-qmaill
-qmailp
-qmailq
-qmailr
-qmails
-sync
-sys
-www-data
++++++ at-3.1.8-documentation-dir.patch ++++++
--- /var/tmp/diff_new_pack.LBB42c/_old 2010-09-28 22:32:52.000000000 +0200
+++ /var/tmp/diff_new_pack.LBB42c/_new 2010-09-28 22:32:52.000000000 +0200
@@ -1,6 +1,6 @@
---- at.1.in
+--- at.1.in.orig
+++ at.1.in
-@@ -117,7 +117,7 @@
+@@ -117,7 +117,7 @@ and to run a job at 1am tomorrow, you wo
.B at 1am tomorrow.
.PP
The exact definition of the time specification can be found in
++++++ at-3.1.8-eal3-manpages.patch ++++++
--- /var/tmp/diff_new_pack.LBB42c/_old 2010-09-28 22:32:53.000000000 +0200
+++ /var/tmp/diff_new_pack.LBB42c/_new 2010-09-28 22:32:53.000000000 +0200
@@ -1,4 +1,4 @@
---- at.allow.5
+--- /dev/null
+++ at.allow.5
@@ -0,0 +1,36 @@
+.Id $Id: at.allow.5,v 1.1 1997/09/28 20:00:28 ig25 Exp $
@@ -37,7 +37,7 @@
+.BR cron (8),
+.BR crontab (1),
+.BR atd (8).
---- at.deny.5
+--- /dev/null
+++ at.deny.5
@@ -0,0 +1,36 @@
+.Id $Id: at.allow.5,v 1.1 1997/09/28 20:00:28 ig25 Exp $
++++++ at-3.1.8-formatbugs.patch ++++++
--- /var/tmp/diff_new_pack.LBB42c/_old 2010-09-28 22:32:53.000000000 +0200
+++ /var/tmp/diff_new_pack.LBB42c/_new 2010-09-28 22:32:53.000000000 +0200
@@ -1,6 +1,6 @@
---- atd.c
+--- atd.c.orig
+++ atd.c
-@@ -293,7 +293,7 @@
+@@ -293,7 +293,7 @@ run_file(const char *filename, uid_t uid
if (buf.st_nlink > 2) {
perr("Someboy is trying to run a linked script for job %8lu (%.500s)",
@@ -9,9 +9,9 @@
}
if ((fflags = fcntl(fd_in, F_GETFD)) < 0)
perr("Error in fcntl");
---- daemon.h
+--- daemon.h.orig
+++ daemon.h
-@@ -5,12 +5,12 @@
+@@ -5,12 +5,12 @@ void
#ifdef HAVE_ATTRIBUTE_NORETURN
__attribute__((noreturn))
#endif
@@ -26,9 +26,9 @@
+perr (const char *fmt, ...) __attribute__((__format__(printf,1,2)));
extern int daemon_debug;
---- panic.h
+--- panic.h.orig
+++ panic.h
-@@ -26,7 +26,9 @@
+@@ -26,7 +26,9 @@ void
#ifdef HAVE_ATTRIBUTE_NORETURN
__attribute__((noreturn))
#endif
++++++ at-3.1.8-joblist.patch ++++++
--- /var/tmp/diff_new_pack.LBB42c/_old 2010-09-28 22:32:53.000000000 +0200
+++ /var/tmp/diff_new_pack.LBB42c/_new 2010-09-28 22:32:53.000000000 +0200
@@ -1,6 +1,6 @@
---- at.c
+--- at.c.orig
+++ at.c
-@@ -132,8 +132,10 @@
+@@ -133,8 +133,10 @@ static void sigc(int signo);
static void alarmc(int signo);
static char *cwdname(void);
static void writefile(time_t runtimer, char queue);
@@ -12,7 +12,7 @@
/* Signal catching functions */
-@@ -525,8 +527,20 @@
+@@ -526,8 +528,20 @@ writefile(time_t runtimer, char queue)
return;
}
@@ -34,7 +34,7 @@
{
/* List all a user's jobs in the queue, by looping through ATJOB_DIR,
* or everybody's if we are root
-@@ -565,6 +579,10 @@
+@@ -566,6 +580,10 @@ list_jobs()
if (sscanf(dirent->d_name, "%c%5lx%8lx", &queue, &jobno, &ctm) != 3)
continue;
@@ -45,7 +45,7 @@
if (atqueue && (queue != atqueue))
continue;
-@@ -742,6 +760,28 @@
+@@ -743,6 +761,28 @@ terr:
"out of range or illegal time specification: [[CC]YY]MMDDhhmm[.SS]");
}
@@ -74,7 +74,7 @@
/* Global functions */
-@@ -768,9 +808,13 @@
+@@ -769,9 +809,13 @@ main(int argc, char **argv)
char *options = "q:f:t:MmvldrhVc"; /* default options for at */
int disp_version = 0;
time_t timer;
@@ -88,7 +88,7 @@
timer = -1;
RELINQUISH_PRIVS
-@@ -900,7 +944,9 @@
+@@ -901,7 +945,9 @@ main(int argc, char **argv)
case ATQ:
REDUCE_PRIV(daemon_uid, daemon_gid)
@@ -99,9 +99,9 @@
break;
case ATRM:
---- panic.c
+--- panic.c.orig
+++ panic.c
-@@ -95,6 +95,8 @@
+@@ -95,6 +95,8 @@ usage(void)
" at [-V] -c job [job ...]\n"
" at [-V] -r job [job ...]\n"
" at [-V] [-f file] -t [[CC]YY]MMDDhhmm[.SS]\n"
++++++ at-3.1.8-leak-fix.patch ++++++
--- /var/tmp/diff_new_pack.LBB42c/_old 2010-09-28 22:32:53.000000000 +0200
+++ /var/tmp/diff_new_pack.LBB42c/_new 2010-09-28 22:32:53.000000000 +0200
@@ -1,6 +1,6 @@
---- at.c.orig 2009-08-27 11:22:49.000000000 +0200
-+++ at.c 2009-08-27 12:12:58.000000000 +0200
-@@ -600,6 +600,9 @@
+--- at.c.orig
++++ at.c
+@@ -600,6 +600,9 @@ list_jobs(long *joblist, int len)
else
printf("%ld\t%s %c\n", jobno, timestr, queue);
}
@@ -10,7 +10,7 @@
PRIV_END
}
-@@ -676,6 +679,11 @@
+@@ -676,6 +679,11 @@ process_jobs(int argc, char **argv, int
while ((ch = getc(fp)) != EOF) {
putchar(ch);
}
@@ -22,7 +22,7 @@
}
break;
-@@ -687,7 +695,13 @@
+@@ -687,7 +695,13 @@ process_jobs(int argc, char **argv, int
}
}
}
++++++ at-3.1.8-massive_batch.patch ++++++
--- /var/tmp/diff_new_pack.LBB42c/_old 2010-09-28 22:32:53.000000000 +0200
+++ /var/tmp/diff_new_pack.LBB42c/_new 2010-09-28 22:32:53.000000000 +0200
@@ -1,6 +1,6 @@
---- atd.c
+--- atd.c.orig
+++ atd.c
-@@ -140,9 +140,10 @@
+@@ -137,9 +137,10 @@ static char rcsid[] = "$Id: atd.c,v 1.28
static double load_avg = LOADAVG_MX;
static time_t now;
static time_t last_chg;
@@ -12,7 +12,7 @@
static volatile sig_atomic_t term_signal = 0;
-@@ -155,9 +156,10 @@
+@@ -152,9 +153,10 @@ set_term(int dummy)
}
RETSIGTYPE
@@ -25,7 +25,7 @@
return;
}
-@@ -765,6 +767,7 @@
+@@ -790,6 +792,7 @@ run_loop()
return next_job;
last_chg = buf.st_mtime;
@@ -33,7 +33,7 @@
if ((spool = opendir(".")) == NULL)
perr("Cannot read " ATJOB_DIR);
-@@ -989,7 +992,7 @@
+@@ -1014,7 +1017,7 @@ main(int argc, char *argv[])
*/
sigaction(SIGHUP, NULL, &act);
@@ -42,7 +42,7 @@
sigaction(SIGHUP, &act, NULL);
sigaction(SIGTERM, NULL, &act);
-@@ -1005,9 +1008,10 @@
+@@ -1030,9 +1033,10 @@ main(int argc, char *argv[])
do {
now = time(NULL);
next_invocation = run_loop();
++++++ at-3.1.8-pam-session-as-root.patch ++++++
--- /var/tmp/diff_new_pack.LBB42c/_old 2010-09-28 22:32:53.000000000 +0200
+++ /var/tmp/diff_new_pack.LBB42c/_new 2010-09-28 22:32:53.000000000 +0200
@@ -1,8 +1,6 @@
-Index: at-3.1.8/atd.c
-===================================================================
---- at-3.1.8.orig/atd.c 2009-05-14 15:47:05.000000000 +0200
-+++ at-3.1.8/atd.c 2009-05-14 15:47:42.000000000 +0200
-@@ -587,11 +587,13 @@ run_file(const char *filename, uid_t uid
+--- atd.c.orig
++++ atd.c
+@@ -612,11 +612,13 @@ run_file(const char *filename, uid_t uid
unlink(filename);
#ifdef WITH_PAM
@@ -16,7 +14,7 @@
#endif
/* The job is now finished. We can delete its input file.
-@@ -712,11 +714,13 @@ run_file(const char *filename, uid_t uid
+@@ -737,11 +739,13 @@ run_file(const char *filename, uid_t uid
waitpid(mail_pid, (int *) NULL, 0);
}
#ifdef WITH_PAM
++++++ at-3.1.8-pam.patch ++++++
--- /var/tmp/diff_new_pack.LBB42c/_old 2010-09-28 22:32:53.000000000 +0200
+++ /var/tmp/diff_new_pack.LBB42c/_new 2010-09-28 22:32:53.000000000 +0200
@@ -1,5 +1,3 @@
-Index: Makefile.in
-===================================================================
--- Makefile.in.orig
+++ Makefile.in
@@ -28,6 +28,7 @@ YACC = @YACC@
@@ -19,8 +17,6 @@
y.tab.c y.tab.h: parsetime.y
$(YACC) -d parsetime.y
-Index: atd.c
-===================================================================
--- atd.c.orig
+++ atd.c
@@ -93,6 +93,17 @@ int selinux_enabled=0;
@@ -352,8 +348,6 @@
opterr = 0;
errno = 0;
run_as_daemon = 1;
-Index: config.h.in
-===================================================================
--- config.h.in.orig
+++ config.h.in
@@ -187,3 +187,7 @@
@@ -364,8 +358,6 @@
+/* Define if you are building with_pam */
+#undef WITH_PAM
+
-Index: configure.in
-===================================================================
--- configure.in.orig
+++ configure.in
@@ -323,4 +323,11 @@ AC_CHECK_LIB(selinux, is_selinux_enabled
@@ -380,8 +372,6 @@
+AC_SUBST(PAMLIB)
+
AC_OUTPUT(Makefile atrun atd.8 atrun.8 at.1 batch)
-Index: perm.c
-===================================================================
--- perm.c.orig
+++ perm.c
@@ -109,14 +109,15 @@ user_in_file(const char *path, const cha
++++++ at-3.1.8-pie.patch ++++++
--- /var/tmp/diff_new_pack.LBB42c/_old 2010-09-28 22:32:53.000000000 +0200
+++ /var/tmp/diff_new_pack.LBB42c/_new 2010-09-28 22:32:53.000000000 +0200
@@ -1,6 +1,6 @@
---- Makefile.in
+--- Makefile.in.orig
+++ Makefile.in
-@@ -67,13 +67,13 @@
+@@ -67,13 +67,13 @@ LIST = Filelist Filelist.asc
all: at atd atrun
at: $(ATOBJECTS)
@@ -16,7 +16,7 @@
y.tab.c y.tab.h: parsetime.y
$(YACC) -d parsetime.y
-@@ -85,7 +85,7 @@
+@@ -85,7 +85,7 @@ atrun: atrun.in
configure
.c.o:
++++++ at-3.1.8-queue-nice-level.patch ++++++
--- /var/tmp/diff_new_pack.LBB42c/_old 2010-09-28 22:32:53.000000000 +0200
+++ /var/tmp/diff_new_pack.LBB42c/_new 2010-09-28 22:32:53.000000000 +0200
@@ -1,8 +1,6 @@
-Index: atd.c
-===================================================================
--- atd.c.orig
+++ atd.c
-@@ -457,7 +457,7 @@ run_file(const char *filename, uid_t uid
+@@ -482,7 +482,7 @@ run_file(const char *filename, uid_t uid
if (chdir(ATJOB_DIR) < 0)
perr("Cannot chdir to " ATJOB_DIR);
++++++ at-3.1.8-selinux.patch ++++++
--- /var/tmp/diff_new_pack.LBB42c/_old 2010-09-28 22:32:53.000000000 +0200
+++ /var/tmp/diff_new_pack.LBB42c/_new 2010-09-28 22:32:53.000000000 +0200
@@ -1,6 +1,6 @@
---- Makefile.in
+--- Makefile.in.orig
+++ Makefile.in
-@@ -27,6 +27,7 @@
+@@ -27,6 +27,7 @@ LN_S = @LN_S@
YACC = @YACC@
LEX = @LEX@
LEXLIB = @LEXLIB@
@@ -8,7 +8,7 @@
CC = @CC@
CFLAGS = @CFLAGS@
-@@ -72,7 +73,7 @@
+@@ -72,7 +73,7 @@ at: $(ATOBJECTS)
$(LN_S) -f at atrm
atd: $(RUNOBJECTS)
@@ -17,7 +17,7 @@
y.tab.c y.tab.h: parsetime.y
$(YACC) -d parsetime.y
---- atd.c
+--- atd.c.orig
+++ atd.c
@@ -85,6 +85,14 @@
#include
participants (1)
-
root@hilbert.suse.de