From e2e46d2bb990cadab12dc1e8852eb9ab69fe6d66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 9 Jul 2014 16:07:43 +0200 Subject: New Maintainer --- debian/patches/01-usage_strings.diff | 35 +++++++++++++++ debian/patches/02-tell_about_downtime.diff | 68 ++++++++++++++++++++++++++++++ debian/patches/series | 2 + 3 files changed, 105 insertions(+) create mode 100644 debian/patches/01-usage_strings.diff create mode 100644 debian/patches/02-tell_about_downtime.diff create mode 100644 debian/patches/series (limited to 'debian/patches') diff --git a/debian/patches/01-usage_strings.diff b/debian/patches/01-usage_strings.diff new file mode 100644 index 0000000..e9c4cda --- /dev/null +++ b/debian/patches/01-usage_strings.diff @@ -0,0 +1,35 @@ +Description: Forgotten update of usage strings. + The executables downtimed(8) and downtimes(1) + have gained the ability to change format string + in a command line option. The executables' usage + texts did not reflect this ability. +Author: Mats Erik Andersson +Forwarded: yes +Last-Update: 2013-11-29 + +--- downtimed-0.6/downtimed.c.orig 2013-07-27 16:46:06.000000000 +0200 ++++ downtimed-0.6/downtimed.c 2013-11-29 09:08:13.000000000 +0100 +@@ -695,8 +695,8 @@ static void + usage() + { + +- fputs("usage: " PROGNAME " [-DvS] [-d datadir] [-l log] [-p pidfile] " +- "[-s sleep]\n", stderr); ++ fputs("usage: " PROGNAME " [-DvS] [-d datadir] [-f timefmt] " ++ "[-l log] [-p pidfile] [-s sleep]\n", stderr); + exit(EX_USAGE); + } + +--- downtimed-0.6/downtimes.c.orig 2013-07-27 16:46:21.000000000 +0200 ++++ downtimed-0.6/downtimes.c 2013-11-29 09:08:08.000000000 +0100 +@@ -194,8 +194,8 @@ static void + usage() + { + +- fputs("usage: " PROGNAME " [-v] [-d downtimedbfile] [-n num] " +- "[-s sleep] [-u]\n", stderr); ++ fputs("usage: " PROGNAME " [-v] [-d downtimedbfile] [-f timefmt] " ++ "[-n num] [-s sleep] [-u]\n", stderr); + exit(EX_USAGE); + } + diff --git a/debian/patches/02-tell_about_downtime.diff b/debian/patches/02-tell_about_downtime.diff new file mode 100644 index 0000000..b551177 --- /dev/null +++ b/debian/patches/02-tell_about_downtime.diff @@ -0,0 +1,68 @@ +Description: Make the call downtime(1) visible. + The upstream manpage downtimes(1) contains information + on the alternate call downtime(1), but this text is + escaped in the original source. Activate this text. + . + Two minor syntactical changes are made in passing. +Author: Mats Erik Andersson +Forwarded: yes +Last-Update: 2013-11-28 + +--- downtimed-0.6/downtimes.1.orig 2013-07-27 16:53:13.000000000 +0200 ++++ downtimed-0.6/downtimes.1 2013-11-28 23:30:57.000000000 +0100 +@@ -21,22 +21,22 @@ + .IR sleep \|] + .RB [\| \-u \|] + .br +-.\".B downtime +-.\".RB [\| \-d +-.\".IR downtimedbfile \|] +-.\".RB [\| \-f +-.\".IR timefmt \|] +-.\".RB [\| \-n +-.\".IR num \|] +-.\".RB [\| \-s +-.\".IR sleep \|] +-.\".RB [\| \-u \|] +-.\".br + .B downtimes + .B \-v +-.\".br +-.\".B downtime +-.\".B \-v ++.br ++.B downtime ++.RB [\| \-d ++.IR downtimedbfile \|] ++.RB [\| \-f ++.IR timefmt \|] ++.RB [\| \-n ++.IR num \|] ++.RB [\| \-s ++.IR sleep \|] ++.RB [\| \-u \|] ++.br ++.B downtime ++.B \-v + .SH DESCRIPTION + The + .B downtimes +@@ -44,12 +44,12 @@ + format. The downtime database is maintained by + .BR downtimed (8). + .PP +-.\"The singular form +-.\".B downtime +-.\"displays only details about the last time the system was down where +-.\"as the plural form +-.\".B downtimes +-.\"displays all the records in the database. ++The singular form ++.B downtime ++displays details only about the last time the system was down, ++whereas the plural form ++.B downtimes ++displays all records in the database. + The + .B \-n + option can be used to specify the number of downtime diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..504eb75 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +01-usage_strings.diff +02-tell_about_downtime.diff -- cgit v1.2.3