diff options
author | sbd <sbd@pkgsrc.org> | 2011-11-02 23:47:37 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2011-11-02 23:47:37 +0000 |
commit | 2633e7c27e580c5f340282e888f653ae7bb262d5 (patch) | |
tree | a13090be06747aa8c137bcc4c764b176f2be6268 /time/vixie-cron | |
parent | 513c0730ca65ab86df676f56d8ee12a162e6023a (diff) | |
download | pkgsrc-2633e7c27e580c5f340282e888f653ae7bb262d5.tar.gz |
Make the crontab entry '-q' option work.
Bump PKGREVISION.
Diffstat (limited to 'time/vixie-cron')
-rw-r--r-- | time/vixie-cron/Makefile | 4 | ||||
-rw-r--r-- | time/vixie-cron/distinfo | 3 | ||||
-rw-r--r-- | time/vixie-cron/patches/patch-entry.c | 16 |
3 files changed, 20 insertions, 3 deletions
diff --git a/time/vixie-cron/Makefile b/time/vixie-cron/Makefile index 434782f2fdc..6f6a2d13903 100644 --- a/time/vixie-cron/Makefile +++ b/time/vixie-cron/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2008/03/08 18:44:19 reed Exp $ +# $NetBSD: Makefile,v 1.3 2011/11/02 23:47:37 sbd Exp $ DISTNAME= cron_4.1 PKGNAME= vixie-cron-4.1 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= sysutils time MASTER_SITES= ftp://ftp.isc.org/isc/cron/ EXTRACT_SUFX= .shar diff --git a/time/vixie-cron/distinfo b/time/vixie-cron/distinfo index d28a0e8ad13..6288ec147b9 100644 --- a/time/vixie-cron/distinfo +++ b/time/vixie-cron/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.3 2009/03/13 11:24:16 hasso Exp $ +$NetBSD: distinfo,v 1.4 2011/11/02 23:47:37 sbd Exp $ SHA1 (cron_4.1.shar) = 77c52a492b075a77f87eded9dfdbf4bf9ba0ac91 RMD160 (cron_4.1.shar) = a9a8d3fe6c851d7fcd098676f2edc0bc310f695e Size (cron_4.1.shar) = 205506 bytes SHA1 (patch-aa) = 98605040a8bd02b85b75baad1dabf53d807c5af8 SHA1 (patch-ab) = 2d88ecfa9d3db6faf0951ad1a6e127a5e1e05054 +SHA1 (patch-entry.c) = c6f30866cb8416445a057c982d5fe755cc86cea2 diff --git a/time/vixie-cron/patches/patch-entry.c b/time/vixie-cron/patches/patch-entry.c new file mode 100644 index 00000000000..74b5661ac3f --- /dev/null +++ b/time/vixie-cron/patches/patch-entry.c @@ -0,0 +1,16 @@ +$NetBSD: patch-entry.c,v 1.1 2011/11/02 23:47:37 sbd Exp $ + +Make the crontab entry '-q' option work. + +--- entry.c.orig 2011-05-01 12:04:30.412434092 +0000 ++++ entry.c +@@ -336,7 +336,8 @@ load_entry(FILE *file, void (*error_func + + /* If the first character of the command is '-' it is a cron option. + */ +- while ((ch = get_char(file)) == '-') { ++ Skip_Blanks(ch, file) ++ while (ch == '-') { + switch (ch = get_char(file)) { + case 'q': + e->flags |= DONT_LOG; |