mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] bind: new package
Date: Fri, 28 May 2021 09:01:14 +0200	[thread overview]
Message-ID: <20210528070114.792608-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20210524183500.32170-2-rhi@pengutronix.de>

Thanks, applied as 5269b5ba6b58a2fc7a977fd797eba67dec9beb2c.

Michael

[sent from post-receive hook]

On Fri, 28 May 2021 09:01:14 +0200, Roland Hieber <rhi@pengutronix.de> wrote:
> Newer ISC DHCP versions try to build a packaged BIND library, but fail
> at it. Outsource the BIND libs into an extra recipe so we can set the
> configure options and BUILD_CC appropriately. This package only builds
> the static BIND libraries for now, which is all that is needed by the
> DHCP package.
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> 
> Message-Id: <20210524183500.32170-2-rhi@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/bind.in b/rules/bind.in
> new file mode 100644
> index 000000000000..a4dbd0a48c3f
> --- /dev/null
> +++ b/rules/bind.in
> @@ -0,0 +1,10 @@
> +## SECTION=networking
> +
> +config BIND
> +	tristate
> +	prompt "bind"
> +	help
> +	  The ISC BIND nameserver
> +
> +	  Currently only used as a library dependency for ISC DHCP, no binaries
> +	  are installed to the target.
> diff --git a/rules/bind.make b/rules/bind.make
> new file mode 100644
> index 000000000000..b547eeff0993
> --- /dev/null
> +++ b/rules/bind.make
> @@ -0,0 +1,138 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2021 by Roland Hieber, Pengutronix <rhi@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_BIND) += bind
> +
> +#
> +# Paths and names
> +#
> +BIND_VERSION		:= 9.11.31
> +BIND_MD5		:= 40732ca6e4fcc9d022ab0f17b3e55b71
> +BIND			:= bind-$(BIND_VERSION)
> +BIND_SUFFIX		:= tar.gz
> +BIND_URL		:= https://ftp.isc.org/isc/bind9/$(BIND_VERSION)/$(BIND).$(BIND_SUFFIX)
> +BIND_SOURCE		:= $(SRCDIR)/$(BIND).$(BIND_SUFFIX)
> +BIND_DIR		:= $(BUILDDIR)/$(BIND)
> +BIND_LICENSE		:= MPL-2.0 AND ISC AND BSD-3-Clause AND BSD-2-Clause \
> +	AND unknown AND JPNIC AND RSA-MD AND OpenSSL AND Apache-2.0
> +BIND_LICENSE_FILES	:= \
> +	file://LICENSE;md5=f27a50d2e878867827842f2c60e30bfc \
> +	file://COPYRIGHT;md5=b88e7ca5f21908e1b2720169f6807cf6
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +BIND_CONF_ENV	:= \
> +	$(CROSS_ENV) \
> +	BUILD_CC=$(PTXCONF_SETUP_HOST_CC)
> +
> +#
> +# autoconf
> +#
> +BIND_CONF_TOOL	:= autoconf
> +
> +# broken options: --disable-afl
> +BIND_CONF_OPT	:=  \
> +	$(CROSS_AUTOCONF_USR) \
> +	--disable-libbind \
> +	--enable-buffer-useinline \
> +	--disable-warn-shadow \
> +	--disable-warn-error \
> +	--disable-developer \
> +	--disable-seccomp \
> +	--disable-kqueue \
> +	--disable-epoll \
> +	--disable-devpoll \
> +	--disable-threads \
> +	--disable-native-pkcs11 \
> +	--disable-openssl-hash \
> +	$(GLOBAL_LARGE_FILE_OPTION) \
> +	--disable-backtrace \
> +	--disable-symtable \
> +	--$(call ptx/endis, PTXCONF_GLOBAL_IPV6)-ipv6 \
> +	--disable-tcp-fastopen \
> +	--enable-getifaddrs \
> +	--disable-chroot \
> +	--disable-linux-caps \
> +	--enable-atomic \
> +	--disable-fixed-rrset \
> +	--enable-rpz-nsip \
> +	--enable-rpz-nsdname \
> +	--disable-filter-aaaa \
> +	--disable-dnstap \
> +	--disable-querytrace \
> +	--enable-full-report \
> +	--without-python \
> +	--without-python-install-dir \
> +	--without-geoip \
> +	--without-geoip2 \
> +	--without-gssapi \
> +	--with-randomdev=/dev/zero \
> +	--with-locktype=standard \
> +	--without-libtool \
> +	--without-openssl \
> +	--without-pkcs11 \
> +	--without-ecdsa \
> +	--without-gost \
> +	--without-eddsa \
> +	--without-aes \
> +	--without-lmdb \
> +	--without-libxml2 \
> +	--without-libjson \
> +	--without-zlib \
> +	--without-purify \
> +	--without-gperftools-profiler \
> +	--without-kame \
> +	--without-readline \
> +	--without-protobuf-c \
> +	--without-libfstrm \
> +	--without-docbook-xsl \
> +	--without-idnkit \
> +	--without-iconv \
> +	--without-idnlib \
> +	--without-libidn2 \
> +	--without-cmocka \
> +	--without-tuning \
> +	--without-dlopen \
> +	--without-dlz-postgres \
> +	--without-dlz-mysql \
> +	--without-dlz-bdb \
> +	--without-dlz-filesystem \
> +	--without-dlz-ldap \
> +	--without-dlz-odbc \
> +	--without-dlz-stub \
> +	--without-make-clean
> +
> +# ----------------------------------------------------------------------------
> +# Compile
> +# ----------------------------------------------------------------------------
> +
> +# only build the static libraries for now
> +BIND_MAKE_OPT := -C lib
> +
> +# ----------------------------------------------------------------------------
> +# Install
> +# ----------------------------------------------------------------------------
> +
> +# only install the static libraries for now
> +BIND_INSTALL_OPT := -C lib install
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/bind.targetinstall:
> +	@$(call targetinfo)
> +	# empty, only static libraries are built
> +	@$(call touch)
> +
> +# vim: syntax=make

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


  reply	other threads:[~2021-05-28  7:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24 18:34 [ptxdist] [PATCH v2 1/3] unzip: version bump 5.52 -> 6.00 Roland Hieber
2021-05-24 18:34 ` [ptxdist] [PATCH v2 2/3] bind: new package Roland Hieber
2021-05-28  7:01   ` Michael Olbrich [this message]
2021-05-24 18:35 ` [ptxdist] [PATCH v2 3/3] dhcp: version bump 4.1.2 -> 4.4.2 Roland Hieber
2021-05-28  7:01   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-05-28  7:01 ` [ptxdist] [APPLIED] unzip: version bump 5.52 -> 6.00 Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210528070114.792608-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=rhi@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox