summaryrefslogtreecommitdiffstats
path: root/source/n/iputils/iputils.docbook.revert.diff
blob: a6cdc35bcb6c6d3bba9199f60ea5d0dbeb7a1dbc (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
diff -u -r --new-file iputils-s20190324/doc/arping.xml iputils-s20190515/doc/arping.xml
--- iputils-s20190324/doc/arping.xml	2019-03-24 09:28:37.000000000 -0500
+++ iputils-s20190515/doc/arping.xml	2019-05-15 15:14:10.000000000 -0500
@@ -1,4 +1,4 @@
-<refentry xmlns:db="http://docbook.org/ns/docbook" version="5.0"
+<refentry xmlns="http://docbook.org/ns/docbook" version="5.0"
 xml:id="man.arping">
 
   <refentryinfo>
diff -u -r --new-file iputils-s20190324/doc/clockdiff.xml iputils-s20190515/doc/clockdiff.xml
--- iputils-s20190324/doc/clockdiff.xml	2019-03-24 09:28:37.000000000 -0500
+++ iputils-s20190515/doc/clockdiff.xml	2019-05-15 15:14:10.000000000 -0500
@@ -1,4 +1,4 @@
-<refentry xmlns:db="http://docbook.org/ns/docbook" version="5.0"
+<refentry xmlns="http://docbook.org/ns/docbook" version="5.0"
 xml:id="man.clockdiff">
 
   <refentryinfo>
diff -u -r --new-file iputils-s20190324/doc/custom-html.xsl iputils-s20190515/doc/custom-html.xsl
--- iputils-s20190324/doc/custom-html.xsl	2019-03-24 09:28:37.000000000 -0500
+++ iputils-s20190515/doc/custom-html.xsl	2019-05-15 15:14:10.000000000 -0500
@@ -2,7 +2,7 @@
 
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 
-<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
+<xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/html/docbook.xsl"/>
 <!--
   - The docbook stylesheet injects empty anchor tags into generated HTML, identified by an auto-generated ID.
   - Ask the docbook stylesheet to generate reproducible output when generating (these) ID values.
diff -u -r --new-file iputils-s20190324/doc/custom-man.xsl iputils-s20190515/doc/custom-man.xsl
--- iputils-s20190324/doc/custom-man.xsl	2019-03-24 09:28:37.000000000 -0500
+++ iputils-s20190515/doc/custom-man.xsl	2019-05-15 15:14:10.000000000 -0500
@@ -5,7 +5,7 @@
                 extension-element-prefixes="exsl"
                 version="1.0">
 
-<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
+<xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl"/>
 
 <xsl:template name="top.comment" />
 
diff -u -r --new-file iputils-s20190324/doc/meson.build iputils-s20190515/doc/meson.build
--- iputils-s20190324/doc/meson.build	2019-03-24 09:28:37.000000000 -0500
+++ iputils-s20190515/doc/meson.build	2019-05-15 15:14:10.000000000 -0500
@@ -38,7 +38,7 @@
 	manpages += ['ninfod']
 endif
 
-xsltproc = find_program('xsltproc', required : false)
+xsltproc = find_program('xsltproc', required : true)
 xsltproc_args = [
 	'--nonet',
 	'--stringparam', 'man.output.quietly', '1',
@@ -48,15 +48,22 @@
 ]
 
 if xsltproc.found()
-	testrun = run_command([xsltproc, '--nonet',
-		'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl'])
+	xsl = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl'
+	testrun = run_command([xsltproc, '--nonet', xsl])
 	xsltproc_works = testrun.returncode() == 0
+	if xsltproc_works == false
+		warning('xsltproc: cannot process ' + xsl)
+	endif
 else
 	warning('No docbook stylesheet found for generating man pages')
 	xsltproc_works = false
 endif
 
-if build_mans and xsltproc_works
+if xsltproc_works == false
+	error('Man pages cannot be built: xsltproc does not work correctly')
+endif
+
+if build_mans
 	foreach man : manpages
 		custom_target(man + '.8',
 			output : man + '.8',
@@ -74,7 +81,7 @@
 	endforeach
 endif
 
-if build_html_mans and xsltproc_works
+if build_html_mans
 	foreach man : manpages
 		custom_target(man + '.html',
 			output : man + '.html',
diff -u -r --new-file iputils-s20190324/doc/ninfod.xml iputils-s20190515/doc/ninfod.xml
--- iputils-s20190324/doc/ninfod.xml	2019-03-24 09:28:37.000000000 -0500
+++ iputils-s20190515/doc/ninfod.xml	2019-05-15 15:14:10.000000000 -0500
@@ -1,4 +1,4 @@
-<refentry xmlns:db="http://docbook.org/ns/docbook" version="5.0"
+<refentry xmlns="http://docbook.org/ns/docbook" version="5.0"
 xml:id="man.ninfod">
 
   <refentryinfo>
diff -u -r --new-file iputils-s20190324/doc/ping.xml iputils-s20190515/doc/ping.xml
--- iputils-s20190324/doc/ping.xml	2019-03-24 09:28:37.000000000 -0500
+++ iputils-s20190515/doc/ping.xml	2019-05-15 15:14:10.000000000 -0500
@@ -1,4 +1,4 @@
-<refentry xmlns:db="http://docbook.org/ns/docbook" version="5.0"
+<refentry xmlns="http://docbook.org/ns/docbook" version="5.0"
 xml:id="man.ping">
 
   <refentryinfo>
diff -u -r --new-file iputils-s20190324/doc/rarpd.xml iputils-s20190515/doc/rarpd.xml
--- iputils-s20190324/doc/rarpd.xml	2019-03-24 09:28:37.000000000 -0500
+++ iputils-s20190515/doc/rarpd.xml	2019-05-15 15:14:10.000000000 -0500
@@ -1,4 +1,4 @@
-<refentry xmlns:db="http://docbook.org/ns/docbook" version="5.0"
+<refentry xmlns="http://docbook.org/ns/docbook" version="5.0"
 xml:id="man.rarpd">
 
   <refentryinfo>
diff -u -r --new-file iputils-s20190324/doc/rdisc.xml iputils-s20190515/doc/rdisc.xml
--- iputils-s20190324/doc/rdisc.xml	2019-03-24 09:28:37.000000000 -0500
+++ iputils-s20190515/doc/rdisc.xml	2019-05-15 15:14:10.000000000 -0500
@@ -1,4 +1,4 @@
-<refentry xmlns:db="http://docbook.org/ns/docbook" version="5.0"
+<refentry xmlns="http://docbook.org/ns/docbook" version="5.0"
 xml:id="man.rdisc">
 
   <refentryinfo>
diff -u -r --new-file iputils-s20190324/doc/tftpd.xml iputils-s20190515/doc/tftpd.xml
--- iputils-s20190324/doc/tftpd.xml	2019-03-24 09:28:37.000000000 -0500
+++ iputils-s20190515/doc/tftpd.xml	2019-05-15 15:14:10.000000000 -0500
@@ -1,4 +1,4 @@
-<refentry xmlns:db="http://docbook.org/ns/docbook" version="5.0"
+<refentry xmlns="http://docbook.org/ns/docbook" version="5.0"
 xml:id="man.tftpd">
 
   <refentryinfo>
diff -u -r --new-file iputils-s20190324/doc/tracepath.xml iputils-s20190515/doc/tracepath.xml
--- iputils-s20190324/doc/tracepath.xml	2019-03-24 09:28:37.000000000 -0500
+++ iputils-s20190515/doc/tracepath.xml	2019-05-15 15:14:10.000000000 -0500
@@ -1,4 +1,4 @@
-<refentry xmlns:db="http://docbook.org/ns/docbook" version="5.0"
+<refentry xmlns="http://docbook.org/ns/docbook" version="5.0"
 xml:id="man.tracepath">
 
   <refentryinfo>
diff -u -r --new-file iputils-s20190324/doc/traceroute6.xml iputils-s20190515/doc/traceroute6.xml
--- iputils-s20190324/doc/traceroute6.xml	2019-03-24 09:28:37.000000000 -0500
+++ iputils-s20190515/doc/traceroute6.xml	2019-05-15 15:14:10.000000000 -0500
@@ -1,4 +1,4 @@
-<refentry xmlns:db="http://docbook.org/ns/docbook" version="5.0"
+<refentry xmlns="http://docbook.org/ns/docbook" version="5.0"
 xml:id="man.traceroute6">
 
   <refentryinfo>
diff -u -r --new-file iputils-s20190324/meson.build iputils-s20190515/meson.build
--- iputils-s20190324/meson.build	2019-03-24 09:28:37.000000000 -0500
+++ iputils-s20190515/meson.build	2019-05-15 15:14:10.000000000 -0500
@@ -3,7 +3,7 @@
 		'c_std=c99',
 		'warning_level=3',
 	],
-	version : 's20190324') # keep in sync with: git describe | awk -F- '{print $1}'
+	version : 's20190515') # keep in sync with: git describe | awk -F- '{print $1}'
 
 cc = meson.get_compiler('c')