@@ -792,6 +792,7 @@ F: configs/imx8mn_bsh_smm_s2_pro_defconfig
F: configs/stm32f769_disco_sd_defconfig
F: package/armadillo/
F: package/babeld/
+F: package/iana-assignments/
F: package/sscep/
F: package/uuu/
@@ -2463,6 +2463,7 @@ endif
source "package/htpdate/Config.in"
source "package/httping/Config.in"
source "package/i2pd/Config.in"
+ source "package/iana-assignments/Config.in"
source "package/ibrdtn-tools/Config.in"
source "package/ibrdtnd/Config.in"
source "package/ifenslave/Config.in"
new file mode 100644
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_IANA_ASSIGNMENTS
+ bool "IANA assignments"
+ help
+ Mirror of the IANA registries periodically updated
+ from https://www.iana.org/protocols.
+
+ https://github.com/larseggert/iana-assignments
+
+if BR2_PACKAGE_IANA_ASSIGNMENTS
+
+config BR2_PACKAGE_IANA_ASSIGNMENTS_PEN_REG
+ bool "PEN (Enterprise Numbers) registry"
+
+endif
new file mode 100644
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 e7a1f8153715fa9e0f4c5d102f9271bce425a468f58a445e7c5ecdf7105fd460 iana-assignments-bf358dc8d89b7939557220b8055699b42a4133e9.tar.gz
new file mode 100644
@@ -0,0 +1,18 @@
+################################################################################
+#
+# iana-assignments
+#
+################################################################################
+
+IANA_ASSIGNMENTS_VERSION = bf358dc8d89b7939557220b8055699b42a4133e9
+IANA_ASSIGNMENTS_SITE = $(call github,larseggert,iana-assignments,$(IANA_ASSIGNMENTS_VERSION))
+
+ifeq ($(BR2_PACKAGE_IANA_ASSIGNMENTS_PEN_REG),y)
+define IANA_ASSIGNMENTS_INSTALL_PEN_REG
+ $(INSTALL) -D -m 0644 $(@D)/enterprise-numbers/enterprise-numbers \
+ $(TARGET_DIR)/usr/share/misc/iana/enterprise-numbers
+endef
+IANA_ASSIGNMENTS_POST_INSTALL_TARGET_HOOKS += IANA_ASSIGNMENTS_INSTALL_PEN_REG
+endif
+
+$(eval $(generic-package))