From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 21 May 2021 12:01:41 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lk1yP-0002N9-8W for lore@lore.pengutronix.de; Fri, 21 May 2021 12:01:41 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lk1yO-00026Y-TE; Fri, 21 May 2021 12:01:40 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lk1y6-00025R-Kv; Fri, 21 May 2021 12:01:22 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lk1y6-0002LC-56; Fri, 21 May 2021 12:01:22 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lk1y6-00A0GK-4Q; Fri, 21 May 2021 12:01:22 +0200 Date: Fri, 21 May 2021 12:01:22 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Message-ID: <20210521100122.GB3634306@pengutronix.de> Mail-Followup-To: ptxdist@pengutronix.de, Roland Hieber References: <20210517205908.5785-1-rhi@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210517205908.5785-1-rhi@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] [PATCH 1/2] bind: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Roland Hieber Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Mon, May 17, 2021 at 10:59:07PM +0200, Roland Hieber 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. ptxdist: error: checksum of license file '.../platform-arm-hf/build-target/bind-9.11.31/COPYRIGHT' changed: 8f17f64e47e83b60cd920a1e4b54419e -> b88e7ca5f21908e1b2720169f6807cf6 Michael > > Signed-off-by: Roland Hieber > --- > rules/bind.in | 10 ++++ > rules/bind.make | 138 ++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 148 insertions(+) > create mode 100644 rules/bind.in > create mode 100644 rules/bind.make > > diff --git a/rules/bind.in b/rules/bind.in > new file mode 100644 > index 000000000000..25df3a4793ed > --- /dev/null > +++ b/rules/bind.in > @@ -0,0 +1,10 @@ > +## SECTION=project_specific > + > +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..c77e20eb1950 > --- /dev/null > +++ b/rules/bind.make > @@ -0,0 +1,138 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2021 by Roland Hieber, Pengutronix > +# > +# 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=8f17f64e47e83b60cd920a1e4b54419e > + > +# ---------------------------------------------------------------------------- > +# 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 > -- > 2.29.2 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de