mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
package/iana-assignments: new package
The fixing of [1] and related code reviews [2] and [3] highlighted the need for a package providing a versioned PEN (Enterprise Numbers) registry file from IANA (Internet Assigned Numbers Authority). The GitHub repository from which this package originates is a mirror of the IANA registries periodically updated from https://www.iana.org/protocols. [1] http://autobuild.buildroot.org/results/5ae5ee948d99679cd50d1115a7d46f4368347b4f [2] https://patchwork.ozlabs.org/project/buildroot/patch/20240902210055.239859-1-dario.binacchi@amarulasolutions.com [3] https://patchwork.ozlabs.org/project/buildroot/patch/20240904174021.2670289-1-dario.binacchi@amarulasolutions.com/ Co-Developed-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Co-Developed-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> [yann.morin.1998@free.fr: add licensing info] Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
This commit is contained in:
committed by
Yann E. MORIN
parent
480d667a19
commit
e5459a3f6a
@@ -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/tinyinit/
|
||||
F: package/uuu/
|
||||
|
||||
@@ -2467,6 +2467,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"
|
||||
|
||||
15
package/iana-assignments/Config.in
Normal file
15
package/iana-assignments/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_IANA_ASSIGNMENTS
|
||||
bool "IANA assignments"
|
||||
select BR2_PACKAGE_IANA_ASSIGNMENTS_PEN_REG
|
||||
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
|
||||
2
package/iana-assignments/iana-assignments.hash
Normal file
2
package/iana-assignments/iana-assignments.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 e7a1f8153715fa9e0f4c5d102f9271bce425a468f58a445e7c5ecdf7105fd460 iana-assignments-bf358dc8d89b7939557220b8055699b42a4133e9.tar.gz
|
||||
22
package/iana-assignments/iana-assignments.mk
Normal file
22
package/iana-assignments/iana-assignments.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# iana-assignments
|
||||
#
|
||||
################################################################################
|
||||
|
||||
IANA_ASSIGNMENTS_VERSION = bf358dc8d89b7939557220b8055699b42a4133e9
|
||||
IANA_ASSIGNMENTS_SITE = $(call github,larseggert,iana-assignments,$(IANA_ASSIGNMENTS_VERSION))
|
||||
|
||||
# The licensing is defined by IANA: https://www.iana.org/help/licensing-terms
|
||||
# The repository we use is not a real upstream, and contains no license file.
|
||||
IANA_ASSIGNMENTS_LICENSE = CC0-1.0
|
||||
|
||||
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))
|
||||
Reference in New Issue
Block a user