Hello community, here is the log from the commit of package at for openSUSE:Factory checked in at 2018-11-06 14:25:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/at (Old) and /work/SRC/openSUSE:Factory/.at.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "at" Tue Nov 6 14:25:09 2018 rev:73 rq:645872 version:3.1.23 Changes: -------- --- /work/SRC/openSUSE:Factory/at/at.changes 2017-11-29 10:51:57.490177813 +0100 +++ /work/SRC/openSUSE:Factory/.at.new/at.changes 2018-11-06 14:26:51.249660825 +0100 @@ -1,0 +2,19 @@ +Tue Oct 23 12:36:49 UTC 2018 - [email protected] + +- Version update to at 3.1.23 [bsc#1112660] + * 832368-Using_of_the_meaningless_fcntl: Fix call of fcntl by + replacing (long) 1 with FD_CLOEXEC + * 892819-at__improvements_to_atd.service: Improve atd.service, + see bug report 892819 + * 885891-at__stale_batchjobs_after_reboot: Remove stale at jobs + after a boot. + * 897669-897670-Some_fixes_in_the_manuals: Fix some warnings in + manpages at.1 and atd.8 + * 883730-Remove_invalid_email_from_man_page: Remove invalid email + from man pages. + * Draft of a release script + * Finalised script to release software. +- refresh at-atq-timeformat.patch +- refresh at-adjust_load_to_cpu_count.patch + +------------------------------------------------------------------- Old: ---- at_3.1.20.orig.tar.gz New: ---- at_3.1.23.orig.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ at.spec ++++++ --- /var/tmp/diff_new_pack.or4TtO/_old 2018-11-06 14:26:53.073658360 +0100 +++ /var/tmp/diff_new_pack.or4TtO/_new 2018-11-06 14:26:53.073658360 +0100 @@ -1,7 +1,7 @@ # # spec file for package at # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,13 +22,13 @@ %endif Name: at -Version: 3.1.20 +Version: 3.1.23 Release: 0 Summary: A Job Manager -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/Daemons -Url: ftp://ftp.debian.org/debian/pool/main/a/at -Source: ftp://ftp.debian.org/debian/pool/main/a/at/%{name}_%{version}.orig.tar.gz +Url: http://ftp.debian.org/debian/pool/main/a/at +Source: http://ftp.debian.org/debian/pool/main/a/at/%{name}_%{version}.orig.tar.gz Source2: atd.pamd Source3: sysconfig.atd Source5: atd.service ++++++ at-adjust_load_to_cpu_count.patch ++++++ --- /var/tmp/diff_new_pack.or4TtO/_old 2018-11-06 14:26:53.133658279 +0100 +++ /var/tmp/diff_new_pack.or4TtO/_new 2018-11-06 14:26:53.133658279 +0100 @@ -1,7 +1,7 @@ -Index: at-3.1.16/at.1.in +Index: at-3.1.23/at.1.in =================================================================== ---- at-3.1.16.orig/at.1.in 2015-06-23 18:12:35.348993941 +0200 -+++ at-3.1.16/at.1.in 2015-06-23 18:48:39.666401868 +0200 +--- at-3.1.23.orig/at.1.in ++++ at-3.1.23/at.1.in @@ -68,6 +68,9 @@ deletes jobs, identified by their job nu executes commands when system load levels permit; in other words, when the load average drops below @LOADAVG_MX@, or the value specified in the invocation of @@ -12,11 +12,11 @@ .PP .B At allows fairly complex time -Index: at-3.1.16/atd.c +Index: at-3.1.23/atd.c =================================================================== ---- at-3.1.16.orig/atd.c 2015-06-23 18:12:35.353994001 +0200 -+++ at-3.1.16/atd.c 2015-06-23 18:31:52.137058536 +0200 -@@ -763,6 +763,7 @@ run_loop() +--- at-3.1.23.orig/atd.c ++++ at-3.1.23/atd.c +@@ -625,6 +625,7 @@ run_loop() int run_batch; static time_t next_batch = 0; double currlavg[3]; @@ -24,7 +24,7 @@ /* Main loop. Open spool directory for reading and look over all the * files in there. If the filename indicates that the job should be run, -@@ -907,7 +908,14 @@ run_loop() +@@ -775,7 +776,14 @@ run_loop() #ifdef GETLOADAVG_PRIVILEGED END_PRIV #endif @@ -40,20 +40,20 @@ run_file(batch_name, batch_uid, batch_gid); run_batch--; } -Index: at-3.1.16/atd.8.in +Index: at-3.1.23/atd.8.in =================================================================== ---- at-3.1.16.orig/atd.8.in 2014-09-30 08:29:02.000000000 +0200 -+++ at-3.1.16/atd.8.in 2015-06-23 18:48:17.519128303 +0200 +--- at-3.1.23.orig/atd.8.in ++++ at-3.1.23/atd.8.in @@ -20,10 +20,8 @@ runs jobs queued by - .B -l + .B \-l Specifies a limiting load factor, over which batch jobs should not be run, instead of the compile-time choice of @LOADAVG_MX@. -For an SMP system with -.I n -CPUs, you will probably want to set this higher than --.IR n-1. +-.IR n\-1. +This number is multiplied by the amount of CPUs when comparing +to /proc/loadavg, because loadavg is a sum over all processors on Linux. .TP 8 - .B -b + .B \-b Specify the minimum interval in seconds between the start of two ++++++ at-atq-timeformat.patch ++++++ --- /var/tmp/diff_new_pack.or4TtO/_old 2018-11-06 14:26:53.145658263 +0100 +++ /var/tmp/diff_new_pack.or4TtO/_new 2018-11-06 14:26:53.145658263 +0100 @@ -1,8 +1,8 @@ Index: at.c =================================================================== ---- at.c.orig 2014-07-25 10:59:06.264608764 +0200 -+++ at.c 2014-07-25 11:00:04.036607665 +0200 -@@ -132,9 +132,10 @@ +--- at.c.orig ++++ at.c +@@ -132,9 +132,10 @@ int fcreated; char *namep; char atfile[] = ATJOB_DIR "/12345678901234"; @@ -16,7 +16,7 @@ /* Function declarations */ -@@ -494,7 +495,7 @@ +@@ -513,7 +514,7 @@ writefile(time_t runtimer, char queue) runtime = localtime(&runtimer); @@ -25,7 +25,7 @@ fprintf(stderr, "job %ld at %s\n", jobno, timestr); /* Signal atd, if present. Usual precautions taken... */ -@@ -608,7 +609,7 @@ +@@ -627,7 +628,7 @@ list_jobs(long *joblist, int len) runtimer = 60 * (time_t) ctm; runtime = localtime(&runtimer); @@ -34,7 +34,7 @@ if ((pwd = getpwuid(buf.st_uid))) printf("%ld\t%s %c %s\n", jobno, timestr, queue, pwd->pw_name); -@@ -805,7 +806,7 @@ +@@ -824,7 +825,7 @@ main(int argc, char **argv) */ if (strcmp(pgm, "atq") == 0) { program = ATQ; @@ -43,7 +43,7 @@ } else if (strcmp(pgm, "atrm") == 0) { program = ATRM; options = "hV"; -@@ -889,6 +890,10 @@ +@@ -908,6 +909,10 @@ main(int argc, char **argv) timer -= timer % 60; break; @@ -56,18 +56,18 @@ break; Index: at.1.in =================================================================== ---- at.1.in.orig 2014-07-25 10:59:06.204608765 +0200 -+++ at.1.in 2014-07-25 11:17:27.828587820 +0200 -@@ -29,6 +29,8 @@ - .RB [ -V ] - .RB [ -q +--- at.1.in.orig ++++ at.1.in +@@ -29,6 +29,8 @@ at, batch, atq, atrm \- queue, examine, + .RB [ \-V ] + .RB [ \-q .IR queue ] +.RB [ -o +.IR timeformat ] .br .B at - .RB [ -rd ] -@@ -254,6 +256,9 @@ + .RB [ \-rd ] +@@ -260,6 +262,9 @@ Times displayed will be in the format "T .B \-c cats the jobs listed on the command line to standard output. @@ -79,9 +79,9 @@ .br Index: panic.c =================================================================== ---- panic.c.orig 2014-07-25 10:59:06.168608765 +0200 -+++ panic.c 2014-07-25 11:06:20.232600513 +0200 -@@ -96,7 +96,7 @@ +--- panic.c.orig ++++ panic.c +@@ -96,7 +96,7 @@ usage(void) " at [-V] [-q x] [-f file] [-mMlbv] -t time\n" " at -c job ...\n" " at [-V] -l [job ...]\n" ++++++ at_3.1.20.orig.tar.gz -> at_3.1.23.orig.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-3.1.20/.gitignore new/at-3.1.23/.gitignore --- old/at-3.1.20/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/at-3.1.23/.gitignore 2018-07-24 14:41:23.000000000 +0200 @@ -0,0 +1,2 @@ +autom4te.cache +*~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-3.1.20/ChangeLog new/at-3.1.23/ChangeLog --- old/at-3.1.20/ChangeLog 2016-06-28 22:55:01.000000000 +0200 +++ new/at-3.1.23/ChangeLog 2018-07-24 14:41:23.000000000 +0200 @@ -173,4 +173,29 @@ Jose M Calhariz: Fix configure handling of flag --without-selinux. -Last entry on this file follow debian/changelog. +(...) + +at 3.1.21 (2018-07-23): + Jose M Calhariz: + 832368-Using_of_the_meaningless_fcntl + Fix call of fcntl by replacing (long) 1 with FD_CLOEXEC + + 892819-at__improvements_to_atd.service + Improve atd.service, see bug report 892819 + + 885891-at__stale_batchjobs_after_reboot + Remove stale at jobs after a boot. + + 897669-897670-Some_fixes_in_the_manuals + Fix some warnings in manpages at.1 and atd.8 + + 883730-Remove_invalid_email_from_man_page + Remove invalid email from man pages. + +at 3.1.22 (2018-07-24): + Jose M Calhariz: + Draft of a release script + +at 3.1.23 (2018-07-24): + Jose M Calhariz + Finalised script to release software. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-3.1.20/Makefile.in new/at-3.1.23/Makefile.in --- old/at-3.1.20/Makefile.in 2015-12-18 21:29:24.000000000 +0100 +++ new/at-3.1.23/Makefile.in 2018-07-24 14:41:23.000000000 +0200 @@ -15,6 +15,7 @@ docdir = $(prefix)/doc atdocdir = $(docdir)/at etcdir = @ETCDIR@ +atjobdir = @ATJBD@ systemdsystemunitdir = @systemdsystemunitdir@ DAEMON_USERNAME = @DAEMON_USERNAME@ @@ -83,7 +84,7 @@ $(LEX) -i parsetime.l atd.service: atd.service.in - sed -e 's![@]sbindir[@]!$(sbindir)!g' < $< > $@ + cat $< | sed -e 's![@]sbindir[@]!$(sbindir)!g' | sed -e 's![@]atjobdir[@]!$(atjobdir)!g' > $@ atrun: atrun.in configure diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-3.1.20/README new/at-3.1.23/README --- old/at-3.1.20/README 2015-08-22 00:09:22.000000000 +0200 +++ new/at-3.1.23/README 2018-07-24 14:41:23.000000000 +0200 @@ -28,6 +28,15 @@ If at all possible, I'd appreciate you telling me which version you found a bug in; run at -V to find out which one. +The Homepage and place for news is at: + http://blog.calhariz.com/tag/at + +The latest source code and old relases are available at the git repository: + https://anonscm.debian.org/git/collab-maint/at.git/ + +If you need to contact the developer of the software please use: + jose (at) calhariz.com + If you try to use at(1) on a system which does not support setreuid(2), i.e. if you get an error whch looks vaguely like diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-3.1.20/at.1.in new/at-3.1.23/at.1.in --- old/at-3.1.20/at.1.in 2015-12-18 21:29:24.000000000 +0100 +++ new/at-3.1.23/at.1.in 2018-07-24 14:41:23.000000000 +0200 @@ -1,48 +1,48 @@ .TH AT 1 2009-11-14 .SH NAME -at, batch, atq, atrm \- queue, examine or delete jobs for later execution +at, batch, atq, atrm \- queue, examine, or delete jobs for later execution .SH SYNOPSIS .B at -.RB [ -V ] -.RB [ -q +.RB [ \-V ] +.RB [ \-q .IR queue ] -.RB [ -f +.RB [ \-f .IR file ] -.RB [ -mMlv ] -.IR timespec ... +.RB [ \-mMlv ] +.IR timespec " ...\&" .br .B at -.RB [ -V ] -.RB [ -q +.RB [ \-V ] +.RB [ \-q .IR queue ] -.RB [ -f +.RB [ \-f .IR file ] -.RB [ -mMkv ] -.RB [ -t +.RB [ \-mMkv ] +.RB [ \-t .IR time ] .br -.B "at -c" +.B "at \-c" .I job -.RI [ job... ] +[...\&] .br .B atq -.RB [ -V ] -.RB [ -q +.RB [ \-V ] +.RB [ \-q .IR queue ] .br .B at -.RB [ -rd ] +.RB [ \-rd ] .I job -.RI [ job... ] +[...\&] .br .B atrm -.RB [ -V ] +.RB [ \-V ] .I job -.RI [ job... ] +[...\&] .br .B batch .br -.B "at -b" +.B "at \-b" .SH DESCRIPTION .B at and @@ -51,18 +51,18 @@ be executed at a later time, using .BR /bin/sh . .TP 8 -.BR at +.B at executes commands at a specified time. .TP 8 -.BR atq +.B atq lists the user's pending jobs, unless the user is the superuser; in that case, everybody's jobs are listed. The format of the output lines (one for each job) is: Job number, date, hour, queue, and username. .TP 8 -.BR atrm +.B atrm deletes jobs, identified by their job number. .TP 8 -.BR batch +.B batch executes commands when system load levels permit; in other words, when the load average drops below @LOADAVG_MX@, or the value specified in the invocation of .BR atd . @@ -102,7 +102,7 @@ follow the specification of the time of day. You can also give times like .B now -.B \+ +.B + .I count .I time-units, where the time-units can be @@ -138,7 +138,7 @@ .BR at " and " batch , commands are read from standard input or the file specified with the -.B -f +.B \-f option and executed. The working directory, the environment (except for the variables .BR BASH_VERSINFO , @@ -153,8 +153,8 @@ and the umask are retained from the time of invocation. As -.BR at -is currently implemented as a setuid program, other environment variables (e.g. +.B at +is currently implemented as a setuid program, other environment variables (e.g., .BR LD_LIBRARY_PATH " or " LD_PRELOAD ) are also not exported. This may change in the future. As a workaround, set these variables explicitly in your job. @@ -164,7 +164,7 @@ or .BR "batch "\- command invoked from a -.B su(1) +.BR su (1) shell will retain the current userid. The user will be mailed standard error and standard output from his commands, if any. @@ -173,7 +173,7 @@ If .B at is executed from a -.B su(1) +.BR su (1) shell, the owner of the login shell will receive the mail. .PP The superuser may use these commands in any case. @@ -186,7 +186,7 @@ for details. .SH OPTIONS .TP 8 -.B -V +.B \-V prints the version number to standard error and exit successfully. .TP 8 .BI \-q " queue" @@ -195,7 +195,7 @@ range from .B a to -.BR z +.B z and .B A to @@ -216,7 +216,7 @@ Once the time is reached, the batch processing rules with respect to load average apply. If -.BR atq +.B atq is given a specific queue, it will only show jobs pending in that queue. .TP 8 .B \-m @@ -307,4 +307,4 @@ batch system, such as .BR nqs . .SH AUTHOR -At was mostly written by Thomas Koenig, [email protected]. +At was mostly written by Thomas Koenig. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-3.1.20/atd.8.in new/at-3.1.23/atd.8.in --- old/at-3.1.20/atd.8.in 2015-08-22 00:09:22.000000000 +0200 +++ new/at-3.1.23/atd.8.in 2018-07-24 14:41:23.000000000 +0200 @@ -3,48 +3,48 @@ atd \- run jobs queued for later execution .SH SYNOPSIS .B atd -.RB [ -l +.RB [ \-l .IR load_avg ] -.RB [ -b +.RB [ \-b .IR batch_interval ] -.RB [ -d ] -.RB [ -f ] -.RB [ -s ] +.RB [ \-d ] +.RB [ \-f ] +.RB [ \-s ] .SH DESCRIPTION .B atd runs jobs queued by -.BR at(1) . +.BR at (1) . .PP .SH OPTIONS .TP 8 -.B -l +.B \-l Specifies a limiting load factor, over which batch jobs should not be run, instead of the compile-time choice of @LOADAVG_MX@. For an SMP system with .I n CPUs, you will probably want to set this higher than -.IR n-1. +.IR n\-1. .TP 8 -.B -b +.B \-b Specify the minimum interval in seconds between the start of two batch jobs (60 default). .TP 8 -.B -d +.B \-d Debug; print error messages to standard error instead of using -.BR syslog(3) . +.BR syslog (3) . This option also implies -.BR -f . +.BR \-f . .TP -.B -f +.B \-f Run .BR atd in the foreground. .TP 8 -.B -s +.B \-s Process the at/batch queue only once. This is primarily of use for compatibility with old versions of .BR at ; -.B "atd -s" +.B "atd \-s" is equivalent to the old .B atrun command. @@ -63,7 +63,7 @@ @DAEMON_USERNAME@. .PP .IR /etc/at.allow , -.IR /etc/at.deny +.I /etc/at.deny determine who can use the .B at system. @@ -75,7 +75,7 @@ .BR crontab (1), .BR syslog (3). .SH BUGS -The functionality of +The functionality of .B atd should be merged into .BR cron (8) . diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-3.1.20/atd.service.in new/at-3.1.23/atd.service.in --- old/at-3.1.20/atd.service.in 2015-08-22 00:09:22.000000000 +0200 +++ new/at-3.1.23/atd.service.in 2018-07-24 14:41:23.000000000 +0200 @@ -1,10 +1,14 @@ [Unit] Description=Deferred execution scheduler Documentation=man:atd(8) +After=remote-fs.target nss-user-lookup.target [Service] +ExecStartPre=-find @atjobdir@ -type f -name "=*" -not -newercc /run/systemd -delete ExecStart=@sbindir@/atd -f IgnoreSIGPIPE=false +KillMode=process +Restart=on-failure [Install] WantedBy=multi-user.target diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-3.1.20/atrun.8.in new/at-3.1.23/atrun.8.in --- old/at-3.1.20/atrun.8.in 2015-08-22 00:09:22.000000000 +0200 +++ new/at-3.1.23/atrun.8.in 2018-07-24 14:41:23.000000000 +0200 @@ -20,4 +20,4 @@ .BR at (1), .BR atd (8). .SH AUTHOR -At was mostly written by Thomas Koenig, [email protected]. +At was mostly written by Thomas Koenig. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-3.1.20/configure new/at-3.1.23/configure --- old/at-3.1.20/configure 2016-06-28 22:55:01.000000000 +0200 +++ new/at-3.1.23/configure 2018-07-24 14:41:23.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for at 3.1.19. +# Generated by GNU Autoconf 2.69 for at 3.1.23. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ # Identity of this package. PACKAGE_NAME='at' PACKAGE_TARNAME='at' -PACKAGE_VERSION='3.1.19' -PACKAGE_STRING='at 3.1.19' +PACKAGE_VERSION='3.1.23' +PACKAGE_STRING='at 3.1.23' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1277,7 +1277,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures at 3.1.19 to adapt to many kinds of systems. +\`configure' configures at 3.1.23 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1343,7 +1343,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of at 3.1.19:";; + short | recursive ) echo "Configuration of at 3.1.23:";; esac cat <<\_ACEOF @@ -1441,7 +1441,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -at configure 3.1.19 +at configure 3.1.23 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1917,7 +1917,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by at $as_me 3.1.19, which was +It was created by at $as_me 3.1.23, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2272,7 +2272,7 @@ -VERSION=3.1.19 +VERSION=3.1.23 if test "X$CFLAGS" = "X"; then CFLAGS="-O2 -g -Wall" fi @@ -5827,7 +5827,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by at $as_me 3.1.19, which was +This file was extended by at $as_me 3.1.23, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -5889,7 +5889,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -at config.status 3.1.19 +at config.status 3.1.23 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-3.1.20/configure.ac new/at-3.1.23/configure.ac --- old/at-3.1.20/configure.ac 2016-06-28 22:55:52.000000000 +0200 +++ new/at-3.1.23/configure.ac 2018-07-24 14:41:23.000000000 +0200 @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(at, 3.1.20) +AC_INIT(at, 3.1.23) AC_CONFIG_SRCDIR(at.c) AC_PREFIX_DEFAULT(/usr) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-3.1.20/daemon.c new/at-3.1.23/daemon.c --- old/at-3.1.20/daemon.c 2015-12-18 21:29:24.000000000 +0100 +++ new/at-3.1.23/daemon.c 2018-07-24 14:41:23.000000000 +0200 @@ -205,7 +205,7 @@ * want to keep the file descriptor in case of an exec(). */ fflush(fp); - fcntl(fd, F_SETFD, (long) 1); + fcntl(fd, F_SETFD, FD_CLOEXEC); PRIV_END return; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-3.1.20/pam.conf new/at-3.1.23/pam.conf --- old/at-3.1.20/pam.conf 2015-08-22 00:09:22.000000000 +0200 +++ new/at-3.1.23/pam.conf 2018-07-24 14:41:23.000000000 +0200 @@ -2,9 +2,9 @@ # The PAM configuration file for the at daemon # -auth required pam_env.so @include common-auth @include common-account session required pam_loginuid.so @include common-session-noninteractive session required pam_limits.so +auth required pam_env.so user_readenv=1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-3.1.20/parsetime.y new/at-3.1.23/parsetime.y --- old/at-3.1.20/parsetime.y 2015-08-22 00:09:22.000000000 +0200 +++ new/at-3.1.23/parsetime.y 2018-07-24 14:41:23.000000000 +0200 @@ -193,7 +193,7 @@ yearspec = 1; if (sscanf($1, "%d %*c %d %*c %d", &ynum, &mnum, &dnum) != 3) { - yyerror("Error in hypenated date"); + yyerror("Error in hyphenated date"); YYERROR; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/at-3.1.20/release new/at-3.1.23/release --- old/at-3.1.20/release 1970-01-01 01:00:00.000000000 +0100 +++ new/at-3.1.23/release 2018-07-24 14:41:23.000000000 +0200 @@ -0,0 +1,19 @@ +#!/bin/bash + +set -e + +VERSION=$(grep AC_INIT configure.ac | cut -f 2 -d , | tr -d ")" | tr -d " ") +echo "Going to release version: $VERSION" +echo "Press enter to continue:" +read enter +autoconf +if ! git diff --exit-code ; then + echo + echo "Changes present, please commit before continue" + exit 1 +fi +git tag -u $DEBSIGN_KEYID --message "Release $VERSION" release/$VERSION +git archive --format=tar --prefix=at-$VERSION/ --output=../at_$VERSION.orig.tar release/$VERSION +gzip -v9 ../at_$VERSION.orig.tar +git checkout debian +gbp import-orig --verbose --keyid=$DEBSIGN_KEYID -u$VERSION --pristine-tar ../at_$VERSION.orig.tar.gz
