Initial Commit
- initial default booting image
This commit is contained in:
23
package/libldns/Config.in
Normal file
23
package/libldns/Config.in
Normal file
@@ -0,0 +1,23 @@
|
||||
config BR2_PACKAGE_LIBLDNS
|
||||
bool "libldns"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
help
|
||||
The goal of ldns is to simplify DNS programming, it supports
|
||||
recent RFCs like the DNSSEC documents, and allows developers
|
||||
to easily create software conforming to current RFCs, and
|
||||
experimental software for current Internet Drafts.
|
||||
|
||||
http://www.nlnetlabs.nl/projects/ldns
|
||||
|
||||
if BR2_PACKAGE_LIBLDNS
|
||||
|
||||
config BR2_PACKAGE_LIBLDNS_DRILL
|
||||
bool "drill binary"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
Install the drill binary
|
||||
|
||||
comment "drill needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
endif # BR2_PACKAGE_LIBLDNS
|
||||
7
package/libldns/libldns.hash
Normal file
7
package/libldns/libldns.hash
Normal file
@@ -0,0 +1,7 @@
|
||||
# From https://www.nlnetlabs.nl/downloads/ldns/ldns-1.9.2.tar.gz.sha1
|
||||
sha1 d197d9fb46e1802a7160368b38bf063b493f1be1 ldns-1.9.2.tar.gz
|
||||
# From https://www.nlnetlabs.nl/downloads/ldns/ldns-1.9.2.tar.gz.sha256
|
||||
sha256 b524fa21994b6e834200ceb8c27f1b84bda5982fe35706f058196c079db94d5d ldns-1.9.2.tar.gz
|
||||
|
||||
# Hash for license file:
|
||||
sha256 9e0b1505c358d1a7c79555ee8bd1acbe2985dbc74dd81f3697cebf2161e922e6 LICENSE
|
||||
55
package/libldns/libldns.mk
Normal file
55
package/libldns/libldns.mk
Normal file
@@ -0,0 +1,55 @@
|
||||
################################################################################
|
||||
#
|
||||
# libldns
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBLDNS_VERSION = 1.9.2
|
||||
LIBLDNS_SOURCE = ldns-$(LIBLDNS_VERSION).tar.gz
|
||||
LIBLDNS_SITE = https://www.nlnetlabs.nl/downloads/ldns
|
||||
LIBLDNS_LICENSE = BSD-3-Clause
|
||||
LIBLDNS_LICENSE_FILES = LICENSE
|
||||
LIBLDNS_CPE_ID_VENDOR = nlnetlabs
|
||||
LIBLDNS_CPE_ID_PRODUCT = ldns
|
||||
LIBLDNS_INSTALL_STAGING = YES
|
||||
LIBLDNS_DEPENDENCIES = openssl
|
||||
LIBLDNS_CONF_OPTS = \
|
||||
--with-ssl=$(STAGING_DIR)/usr \
|
||||
--enable-dane \
|
||||
--enable-ecdsa \
|
||||
--enable-sha2 \
|
||||
--without-examples \
|
||||
--without-p5-dns-ldns \
|
||||
--without-pyldns \
|
||||
--without-pyldnsx
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
|
||||
LIBLDNS_CONF_OPTS += --enable-dane-verify
|
||||
else
|
||||
LIBLDNS_CONF_OPTS += --disable-dane-verify
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y)
|
||||
LIBLDNS_CONF_OPTS += --enable-gost
|
||||
else
|
||||
LIBLDNS_CONF_OPTS += --disable-gost
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
LIBLDNS_DEPENDENCIES += host-pkgconf
|
||||
# missing -lz breaks configure, add it using pkgconf
|
||||
LIBLDNS_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs openssl`"
|
||||
endif
|
||||
|
||||
# the linktest make target fails with static linking, and we are only
|
||||
# interested in the lib target anyway
|
||||
LIBLDNS_MAKE_OPTS = lib
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBLDNS_DRILL),y)
|
||||
LIBLDNS_CONF_OPTS += --with-drill
|
||||
LIBLDNS_MAKE_OPTS += drill
|
||||
else
|
||||
LIBLDNS_CONF_OPTS += --without-drill
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user