On Mon, May 17, 2021 at 10:59:08PM +0200, Roland Hieber wrote:
> diff --git a/rules/dhcp.make b/rules/dhcp.make
> index 5452f4676adc..5cdc7be214ca 100644
> --- a/rules/dhcp.make
> +++ b/rules/dhcp.make
> @@ -3,6 +3,7 @@
>  # Copyright (C) 2003 by Benedikt Spranger
>  #               2009 by Wolfram Sang, Pengutronix
>  #               2010 by Marc Kleine-Budde <[email protected]>
> +#               2021 by Roland Hieber, Pengutronix <[email protected]>
>  #
>  # For further information about the PTXdist project and license conditions
>  # see the README file.
> @@ -16,17 +17,21 @@ PACKAGES-$(PTXCONF_DHCP) += dhcp
>  #
>  # Paths and names
>  #
> -DHCP_VERSION := 4.1.2
> -DHCP_MD5     := 23bc6016297aa831dc9f321403e30ddc
> +DHCP_VERSION := 4.4.2
> +DHCP_MD5     := 2afdaf8498dc1edaf3012efdd589b3e1
>  DHCP         := dhcp-$(DHCP_VERSION)
>  DHCP_SUFFIX  := tar.gz
>  DHCP_URL     := \
> +     https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION)/$(DHCP).$(DHCP_SUFFIX) \
>       https://ftp.isc.org/isc/dhcp/$(DHCP).$(DHCP_SUFFIX) \
>       https://ftp.isc.org/isc/dhcp/dhcp-4.1-history/$(DHCP).$(DHCP_SUFFIX)
>  DHCP_SOURCE  := $(SRCDIR)/$(DHCP).$(DHCP_SUFFIX)
>  DHCP_DIR     := $(BUILDDIR)/$(DHCP)
> -DHCP_LICENSE := ISC
> -
> +DHCP_LICENSE := MPL-2.0 AND BSD-3-Clause AND ISC
> +DHCP_LICENSE_FILES   := \
> +     file://LICENSE;md5=b9c6e660b3d9260de9a342d2fb77540a \
> +     
> file://server/ldap.c;startline=6;endline=35;md5=8e5f9d2cd6b641d599871fd2430708c4
>  \
> +     
> file://server/ldap_casa.c;startline=35;endline=48;md5=d2ea64a00aeacb447c6634d984486afe


Hmm, the last two files are not compiled in currently because LDAP is
disabled, but they carry the BSD and ISC license notices, so I opted to
include them in the LICENSE_FILES so they don't get lost later in case
someone wants to enable LDAP.

 - Roland

>  
>  # 
> ----------------------------------------------------------------------------
>  # Prepare
> @@ -35,13 +40,36 @@ DHCP_LICENSE      := ISC
>  #
>  # autoconf
>  #
> -DHCP_AUTOCONF := \
> +DHCP_CONF_TOOL       := autoconf
> +DHCP_CONF_OPT := \
>       $(CROSS_AUTOCONF_USR) \
> -     --$(call ptx/endis, PTXCONF_GLOBAL_IPV6)-dhcpv6
> -
> -# overwrite CFLAGS to remove -Werror
> -DHCP_MAKE_OPT := \
> -     CFLAGS="-g -O2  -Wall -fno-strict-aliasing"
> +     --disable-debug \
> +     --enable-failover \
> +     --disable-execute \
> +     --enable-tracing \
> +     --enable-delayed-ack \
> +     --$(call ptx/endis, PTXCONF_GLOBAL_IPV6)-dhcpv6 \
> +     --disable-dhcpv4o6 \
> +     --disable-relay-port \
> +     --enable-paranoia \
> +     --enable-early-chroot \
> +     --disable-ipv4-pktinfo \
> +     --enable-use-sockets \
> +     --disable-log-pid \
> +     --disable-binary-leases \
> +     --disable-kqueue \
> +     --disable-epoll \
> +     --disable-devpoll \
> +     --disable-libtool \
> +     --disable-bind-install \
> +     --without-atf \
> +     --with-randomdev=/dev/random \
> +     --with-libbind=$(SYSROOT)/usr \
> +     --without-bind-extra-config \
> +     --without-ldap \
> +     --without-ldapcrypto \
> +     --without-ldap-gssapi \
> +     --without-ldapcasa
>  
>  # 
> ----------------------------------------------------------------------------
>  # Target-Install
> -- 
> 2.29.2
> 
> 

-- 
Roland Hieber, Pengutronix e.K.          | [email protected]     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to