Your message dated Sat, 25 Jun 2011 13:32:13 +0000
with message-id <[email protected]>
and subject line Bug#616697: fixed in at 3.1.13-1
has caused the Debian Bug report #616697,
regarding at: Add support for -r option required by POSIX
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
616697: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616697
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: at
Version: 3.1.12-1
Severity: normal
Tags: patch
Please add in support for the POSIX -r option.
mike@tesla:~$ echo ls | at 00:00
warning: commands will be executed using /bin/sh
job 19 at Mon Mar 7 00:00:00 2011
mike@tesla:~$ at -l
19 Mon Mar 7 00:00:00 2011 a mike
mike@tesla:~$ at -r 19
mike@tesla:~$ at -l
mike@tesla:~$
The included patch fixes this defect and the associated man page and usage
text.
-- System Information:
Debian Release: 6.0
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'stable'), (101, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages at depends on:
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libpam-runtime 1.1.1-6.1 Runtime support for the PAM librar
ii libpam0g 1.1.1-6.1 Pluggable Authentication Modules l
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
Versions of packages at recommends:
ii exim4-daemon-light [mail-tran 4.72-6 lightweight Exim MTA (v4) daemon
at suggests no packages.
-- Configuration Files:
/etc/at.deny [Errno 13] Permission denied: u'/etc/at.deny'
-- no debconf information
>From c606b3096d8120c5ff72f3c6574d27ba6e6be042 Mon Sep 17 00:00:00 2001
From: Mike Miller <[email protected]>
Date: Sun, 6 Mar 2011 12:57:04 -0500
Subject: [PATCH] Add support for -r option required by POSIX.
Add -r as a synonym for -d and atrm. Clean up man page and usage to
show -r and -d options in the right context.
Signed-off-by: Mike Miller <[email protected]>
---
at.1.in | 13 +++++++++++--
at.c | 2 +-
panic.c | 5 +++--
3 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/at.1.in b/at.1.in
index 66fd958..636c64f 100644
--- a/at.1.in
+++ b/at.1.in
@@ -8,7 +8,7 @@ at, batch, atq, atrm \- queue, examine or delete jobs for later
execution
.IR queue ]
.RB [ -f
.IR file ]
-.RB [ -mldv ]
+.RB [ -mlv ]
.IR timespec ...
.br
.B at
@@ -17,7 +17,7 @@ at, batch, atq, atrm \- queue, examine or delete jobs for
later execution
.IR queue ]
.RB [ -f
.IR file ]
-.RB [ -mkdv ]
+.RB [ -mkv ]
.RB [ -t
.IR time ]
.br
@@ -30,6 +30,11 @@ at, batch, atq, atrm \- queue, examine or delete jobs for
later execution
.RB [ -q
.IR queue ]
.br
+.B at
+.RB [ -rd ]
+.I job
+.RI [ job... ]
+.br
.B atrm
.RB [ -V ]
.I job
@@ -243,6 +248,10 @@ given in the format [[CC]YY]MMDDhhmm[.ss]
Is an alias for
.B atq.
.TP
+.B \-r
+Is an alias for
+.B atrm.
+.TP
.B \-d
Is an alias for
.B atrm.
diff --git a/at.c b/at.c
index 2b178e4..af634a2 100644
--- a/at.c
+++ b/at.c
@@ -730,7 +730,7 @@ main(int argc, char **argv)
char *pgm;
int program = AT; /* our default program */
- char *options = "q:f:MmvldhVct:"; /* default options for at */
+ char *options = "q:f:MmvlrdhVct:"; /* default options for at */
int disp_version = 0;
time_t timer = 0;
struct passwd *pwe;
diff --git a/panic.c b/panic.c
index f7059e0..bbc793f 100644
--- a/panic.c
+++ b/panic.c
@@ -92,10 +92,11 @@ usage(void)
{
/* Print usage and exit.
*/
- fprintf(stderr, "Usage: at [-V] [-q x] [-f file] [-mldbv] timespec ...\n"
- " at [-V] [-q x] [-f file] [-mldbv] -t time\n"
+ fprintf(stderr, "Usage: at [-V] [-q x] [-f file] [-mlbv] timespec ...\n"
+ " at [-V] [-q x] [-f file] [-mlbv] -t time\n"
" at -c job ...\n"
" atq [-V] [-q x]\n"
+ " at [ -rd ] job ...\n"
" atrm [-V] job ...\n"
" batch\n");
exit(EXIT_FAILURE);
--
1.7.2.5
--- End Message ---
--- Begin Message ---
Source: at
Source-Version: 3.1.13-1
We believe that the bug you reported is fixed in the latest version of
at, which is due to be installed in the Debian FTP archive:
at_3.1.13-1.diff.gz
to main/a/at/at_3.1.13-1.diff.gz
at_3.1.13-1.dsc
to main/a/at/at_3.1.13-1.dsc
at_3.1.13-1_amd64.deb
to main/a/at/at_3.1.13-1_amd64.deb
at_3.1.13.orig.tar.gz
to main/a/at/at_3.1.13.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ansgar Burchardt <[email protected]> (supplier of updated at package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 25 Jun 2011 15:05:40 +0200
Source: at
Binary: at
Architecture: amd64 source
Version: 3.1.13-1
Distribution: unstable
Urgency: low
Maintainer: Ansgar Burchardt <[email protected]>
Changed-By: Ansgar Burchardt <[email protected]>
Closes: 309014 436485 542872 586260 587121 597130 616697
Description:
at - Delayed job execution and batch processing
Changes:
at (3.1.13-1) unstable; urgency=low
.
* New upstream release:
+ Remove useless chdir(). (Closes: #587121)
+ Create hardlink as priviledged user. (Closes: #597130)
+ Add support for -r option required by POSIX. (Closes: #616697)
+ Don't abort when job is removed just before we run it. (Closes: #309014)
+ Do not strip binaries on install. (Closes: #436485)
* Recommend default-mta instead of exim4. (Closes: #542872)
* debian/control: Add dependency on ${misc:Depends}. (Closes: #586260)
* debian/control: Remove DM-Upload-Allowed.
* Update my email address.
* debian/source/format: Use source format 1.0.
* debian/copyright: Refer to specific versions of the GPL.
* Add debian/watch with a comment that Debian is upstream.
* debian/postinst: use "set -e" instead of "#!/bin/sh -e".
* debian/rules: Add build-arch, build-indep targets.
* Bump Standards-Version to 3.9.2.
Checksums-Sha1:
a70d318f5be97a1f092c0162255f96c484ac4ab7 1724 at_3.1.13-1.dsc
9873e0c38403ef58364912d0b505fd20798fd400 122544 at_3.1.13.orig.tar.gz
90ac0c43587c56f063d429b56c8a209f3412a7f8 9774 at_3.1.13-1.diff.gz
476847e49868626533e8b0f19f3ad7beb8104ed4 50204 at_3.1.13-1_amd64.deb
Checksums-Sha256:
b78a0340b1138ded2c826ef385e3c0e93aebf35ae32d134de7e1fa9f8ae81ee7 1724
at_3.1.13-1.dsc
3a8b90868d615d21a92f4986ea9a823886329af8fae8dd7ab4eed9b273bca072 122544
at_3.1.13.orig.tar.gz
02f1836a70d3dcfac82a7f6a3e0b00de24309c1702efd85dac14d15c08ef0a83 9774
at_3.1.13-1.diff.gz
f7706e51a79f97a8b7295bc64de940bed5740ce8d304813b52875af7e4146d67 50204
at_3.1.13-1_amd64.deb
Files:
0a649453c5f8ac703f9e0c06351499aa 1724 admin standard at_3.1.13-1.dsc
1da61af6c29e323abaaf13ee1a8dad79 122544 admin standard at_3.1.13.orig.tar.gz
13d67cf5f18da3a941b9feeec410a048 9774 admin standard at_3.1.13-1.diff.gz
1d87a60a528066255fedc52e07f34152 50204 admin standard at_3.1.13-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCgAGBQJOBeHOAAoJEIATJTTdNH3I7lIQAK9i6O66IfqkBp8Mob1VjSG1
0h3lYjM8zUnrcTdbVXwE4Rw7Iyua2Cx19gBd7E2L8SUreTbeWjII/oUpG1pxgFlL
3xqtQYyho0n2lOmWUIw+j2lJXI8zlOAzwRBlNmMcELBkQWbKRZ2Nw3Ox0jMfGwFD
ZddECe4QQyW6d95jGxOPS3HLDbg5r8Eg54SzL/ktzXu/Yo6dZaHCtq6C0NMGg2Gv
kyPCesZRLocf6Yy65M+m4upiZdZQaYctwN8a3cbh+jn2U/n1vc5itXVuFtV1gqqj
NvNZIao6HY3hixrGb6of761nZi5CH51MCm9/PaPR2nepxdNKXl5VLMjQJXtOVy1+
u2OWf3rfnBDxExnXLmYGP2/p2lk01Bdm3Z+CE9bjMUmwDzeJeI2mfqSUCMxk25sX
EIEVMmGHplpLuJJ0QWMQJTzWy/7DiaPNLNqnOWyMfzLr2TSgQz/+D4AmSuUxzcVY
ZEfroeXO2SZEV7I32IQsC3R+6WBLk7VlO55/JM1IuK5TPkBPNSIf2UpbnsiJPdju
o5xhlSUR6c1P+tARhBSeFTPtethddFkOS6zq97mgpSjEasWM+Ls1aDiXENhFG9Lj
V+EL6DRA3pfC9gjEx5E3CEJUIlc4HSJ5LKhLslEIlUXFJaKFohZUgXbbjfv+1BFV
IPZ+VhX+Xv1BJ34QRwLw
=dsqD
-----END PGP SIGNATURE-----
--- End Message ---