mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
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>
23 lines
874 B
Makefile
23 lines
874 B
Makefile
################################################################################
|
|
#
|
|
# 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))
|