mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Previously, the port tried to download this file at build time. Eliminating this makes the build reproducible, and also fixes problems when the upstream URL changes. Fixes: https://trac.macports.org/ticket/67161
77 lines
2.3 KiB
Diff
77 lines
2.3 KiB
Diff
--- Makefile.am.orig
|
|
+++ Makefile.am
|
|
@@ -41,44 +41,21 @@
|
|
$(distdir).tar.gz $(distdir).tar.bz2
|
|
|
|
SUBDIRS = lib src include doc contrib control
|
|
-IANA_PEN = http://www.iana.org/assignments/enterprise-numbers
|
|
|
|
dist-hook:
|
|
cp control/ipmitool.spec $(distdir)
|
|
|
|
.PHONY: install-pen-database uninstall-pen-database
|
|
-.INTERMEDIATE: %.o %.la enterprise-numbers
|
|
+.INTERMEDIATE: %.o %.la
|
|
|
|
-if DOWNLOAD
|
|
-
|
|
-enterprise-numbers:
|
|
- @echo Downloading IANA PEN database...
|
|
- @$(DOWNLOAD) "$(IANA_PEN)" > tmpfile.$$PPID || {\
|
|
- echo "FAILED to download the IANA PEN database"; \
|
|
- rm tmpfile.$$PPID; \
|
|
- false; \
|
|
- }
|
|
- @mv tmpfile.$$PPID $@
|
|
-
|
|
-install-pen-database: enterprise-numbers
|
|
- mkdir -m 755 -p $(DESTDIR)$(IANADIR)
|
|
- $(INSTALL_DATA) $< $(DESTDIR)$(IANADIR)/
|
|
-
|
|
-uninstall-pen-database:
|
|
- -rm -rf $(DESTDIR)$(IANADIR)/enterprise-numbers
|
|
-
|
|
-else
|
|
-
|
|
install-pen-database:
|
|
- @echo "*** NOT installing the IANA PEN database."
|
|
- @echo "*** Don't know how to download it."
|
|
+ @echo "*** Not installing the IANA PEN database; it is provided by the"
|
|
+ @echo "*** iana-enterprise-numbers MacPorts port."
|
|
|
|
uninstall-pen-database:
|
|
- @echo "*** NOT uninstalling the IANA PEN database."
|
|
- @echo "*** It was installed manually (if ever)."
|
|
+ @echo "*** Not uninstalling the IANA PEN database; it is provided by the"
|
|
+ @echo "*** iana-enterprise-numbers MacPorts port."
|
|
|
|
-endif
|
|
-
|
|
install-data-local: install-pen-database
|
|
mkdir -p $(DESTDIR)$(DOCDIR)
|
|
$(INSTALL_DATA) $(DOCLIST) $(DESTDIR)$(DOCDIR)
|
|
--- doc/ipmievd.8.in.orig
|
|
+++ doc/ipmievd.8.in
|
|
@@ -221,7 +221,8 @@
|
|
.SH FILES
|
|
.TP
|
|
.B @IANADIR@/enterprise-numbers
|
|
-system IANA PEN registry taken from http://www.iana.org/assignments/enterprise-numbers
|
|
+system IANA PEN registry taken from
|
|
+https://www.iana.org/assignments/enterprise-numbers.txt
|
|
.TP
|
|
.B ~/@IANAUSERDIR@/enterprise-numbers
|
|
user's override for the system IANA PEN registry, this file if it exists is loaded instead
|
|
--- doc/ipmitool.1.in.orig
|
|
+++ doc/ipmitool.1.in
|
|
@@ -3831,7 +3831,8 @@
|
|
.SH FILES
|
|
.TP
|
|
.B @IANADIR@/enterprise-numbers
|
|
-system IANA PEN registry taken from http://www.iana.org/assignments/enterprise-numbers
|
|
+system IANA PEN registry taken from
|
|
+https://www.iana.org/assignments/enterprise-numbers.txt
|
|
.TP
|
|
.B ~/@IANAUSERDIR@/enterprise-numbers
|
|
user's override for the system IANA PEN registry, this file if it exists is loaded instead
|