s6-dns: new package

This new package provides s6-dns, a suite of DNS client programs and
libraries for Unix systems, as an alternative to the BIND, djbdns or
other DNS clients.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Eric Le Bihan 2016-12-19 22:29:10 +01:00 committed by Thomas Petazzoni
parent ae47ed449c
commit 3c3ed96d1b
5 changed files with 59 additions and 0 deletions

View file

@ -441,6 +441,7 @@ F: package/hicolor-icon-theme/
F: package/jemalloc/
F: package/ninja/
F: package/s6/
F: package/s6-dns/
F: package/skalibs/
F: package/smack/
F: package/xvisor/

View file

@ -1640,6 +1640,7 @@ endif
source "package/rsync/Config.in"
source "package/rtorrent/Config.in"
source "package/rtptools/Config.in"
source "package/s6-dns/Config.in"
source "package/samba4/Config.in"
source "package/sconeserver/Config.in"
source "package/ser2net/Config.in"

10
package/s6-dns/Config.in Normal file
View file

@ -0,0 +1,10 @@
config BR2_PACKAGE_S6_DNS
bool "s6-dns"
select BR2_PACKAGE_SKALIBS
depends on BR2_USE_MMU # skalibs
help
s6-dns is a suite of DNS client programs and libraries for
Unix systems, as an alternative to the BIND, djbdns or other
DNS clients.
http://skarnet.org/software/s6-dns/

View file

@ -0,0 +1,2 @@
# Locally generated
sha256 8455f3b1edad8f01a1340cb1242c141755729bfd5d71059739eced5c006539ad s6-dns-2.1.0.0.tar.gz

45
package/s6-dns/s6-dns.mk Normal file
View file

@ -0,0 +1,45 @@
################################################################################
#
# s6-dns
#
################################################################################
S6_DNS_VERSION = 2.1.0.0
S6_DNS_SITE = http://skarnet.org/software/s6-dns
S6_DNS_LICENSE = ISC
S6_DNS_LICENSE_FILES = COPYING
S6_DNS_INSTALL_STAGING = YES
S6_DNS_DEPENDENCIES = skalibs
S6_DNS_CONF_OPTS = \
--prefix=/usr \
--with-sysdeps=$(STAGING_DIR)/usr/lib/skalibs/sysdeps \
--with-include=$(STAGING_DIR)/usr/include \
--with-dynlib=$(STAGING_DIR)/usr/lib \
--with-lib=$(STAGING_DIR)/usr/lib/skalibs \
$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
$(SHARED_STATIC_LIBS_OPTS)
define S6_DNS_CONFIGURE_CMDS
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(S6_DNS_CONF_OPTS))
endef
define S6_DNS_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
endef
define S6_DNS_REMOVE_STATIC_LIB_DIR
rm -rf $(TARGET_DIR)/usr/lib/s6-dns
endef
S6_DNS_POST_INSTALL_TARGET_HOOKS += S6_DNS_REMOVE_STATIC_LIB_DIR
define S6_DNS_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
endef
define S6_DNS_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
endef
$(eval $(generic-package))