summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-09 16:07:43 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-09 16:07:43 +0200
commite2e46d2bb990cadab12dc1e8852eb9ab69fe6d66 (patch)
treebc1508af51148324cb298167150ce7a51fc2071a /debian/patches
parent819a9ab222da57d6064a7cc9ad3e2c9ff0ef2f82 (diff)
New Maintainer
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/01-usage_strings.diff35
-rw-r--r--debian/patches/02-tell_about_downtime.diff68
-rw-r--r--debian/patches/series2
3 files changed, 105 insertions, 0 deletions
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 <debian@gisladisker.se>
+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 <debian@gisladisker.se>
+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