summaryrefslogtreecommitdiff
path: root/debian/patches/0110-unpdate_IANA_URL.patch
blob: 6239c4cdf3edc426846c2e44e24578c6f8dc059f (plain)
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
Description: Fix IANA url
Author: <name and email of author, optional>
Origin: upstream, https://github.com/siderolabs/pkgs/pull/634/commits/5a39853823255f3715857fb4907bca13573e76d0
Bug: https://github.com/ipmitool/ipmitool/issues/377
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023312 
Forwarded: not-needed
Applied-Upstream: https://github.com/siderolabs/pkgs/pull/634/commits/5a39853823255f3715857fb4907bca13573e76d0
Last-Update: 2022-12-25
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/Makefile.am
===================================================================
--- trunk.orig/Makefile.am
+++ trunk/Makefile.am
@@ -41,7 +41,7 @@ MAINTAINERCLEANFILES = Makefile.in acloc
 	$(distdir).tar.gz $(distdir).tar.bz2
 
 SUBDIRS = lib src include doc contrib control
-IANA_PEN = http://www.iana.org/assignments/enterprise-numbers
+IANA_PEN = http://www.iana.org/assignments/enterprise-numbers.txt
 
 dist-hook:
 	cp control/ipmitool.spec $(distdir)
Index: trunk/lib/ipmi_strings.c
===================================================================
--- trunk.orig/lib/ipmi_strings.c
+++ trunk/lib/ipmi_strings.c
@@ -1489,7 +1489,7 @@ size_t count_bytes(const char *s, unsign
  * That is, IANA PEN at position 0, enterprise name at position 2.
  */
 #define IANA_NAME_OFFSET 2
-#define IANA_PEN_REGISTRY "enterprise-numbers"
+#define IANA_PEN_REGISTRY "enterprise-numbers.txt"
 static
 int oem_info_list_load(oem_valstr_list_t **list)
 {
Index: trunk/doc/ipmitool.1.in
===================================================================
--- trunk.orig/doc/ipmitool.1.in
+++ trunk/doc/ipmitool.1.in
@@ -3830,10 +3830,10 @@ Chassis Power Control: Up/On
 
 .SH FILES
 .TP
-.B @IANADIR@/enterprise-numbers
-system IANA PEN registry taken from http://www.iana.org/assignments/enterprise-numbers
+.B @IANADIR@/enterprise-numbers.txt
+system IANA PEN registry taken from https://www.iana.org/assignments/enterprise-numbers.txt
 .TP
-.B ~/@IANAUSERDIR@/enterprise-numbers
+.B ~/@IANAUSERDIR@/enterprise-numbers.txt
 user's override for the system IANA PEN registry, this file if it exists is loaded instead
 of the system registry (see above).
 
Index: trunk/doc/ipmievd.8.in
===================================================================
--- trunk.orig/doc/ipmievd.8.in
+++ trunk/doc/ipmievd.8.in
@@ -220,10 +220,10 @@ Waiting for Events...
 
 .SH FILES
 .TP
-.B @IANADIR@/enterprise-numbers
-system IANA PEN registry taken from http://www.iana.org/assignments/enterprise-numbers
+.B @IANADIR@/enterprise-numbers.txt
+system IANA PEN registry taken from https://www.iana.org/assignments/enterprise-numbers.txt
 .TP
-.B ~/@IANAUSERDIR@/enterprise-numbers
+.B ~/@IANAUSERDIR@/enterprise-numbers.txt
 user's override for the system IANA PEN registry, this file if it exists is loaded instead
 of the system registry (see above).