diff --git a/ipmitool/patches/iana-url.patch b/ipmitool/patches/iana-url.patch new file mode 100644 index 00000000..28298000 --- /dev/null +++ b/ipmitool/patches/iana-url.patch @@ -0,0 +1,15 @@ +https://github.com/ipmitool/ipmitool/commit/1edb0e27e44196d1ebe449aba0b9be22d376bcb6.diff + +diff --git a/Makefile.am b/Makefile.am +index ce3267f0..3182a524 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -41,7 +41,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure configure-stamp \ + $(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) diff --git a/ipmitool/pkg.yaml b/ipmitool/pkg.yaml index 500528a9..14c3b14a 100644 --- a/ipmitool/pkg.yaml +++ b/ipmitool/pkg.yaml @@ -14,6 +14,8 @@ steps: - | tar -xzf ipmitool.tar.gz --strip-components=1 + patch -p1 < /pkg/patches/iana-url.patch + mkdir -p /usr/bin \ && ln -sf /toolchain/bin/env /usr/bin/env