summaryrefslogtreecommitdiff
path: root/debian/patches/0110-unpdate_IANA_URL.patch
blob: b83b0ba28723fbd6d268ceded0bbfe6103d147e4 (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
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)
 {