wok diff dhcp6/receipt @ rev 23975

Up matio (1.5.18), mutt (1.14.7), nasm (2.15.05), net-snmp (5.9), nethack (3.6.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 28 17:24:13 2020 +0000 (2020-10-28)
parents f1e92a9bbf08
children bfabe25c21ff
line diff
     1.1 --- a/dhcp6/receipt	Mon Jul 01 12:11:40 2019 +0200
     1.2 +++ b/dhcp6/receipt	Wed Oct 28 17:24:13 2020 +0000
     1.3 @@ -1,21 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="dhcp6"
     1.7 -VERSION="4.4.1"
     1.8 +VERSION="4.4.2"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Dynamic Host Configuration Protocol server with ipv6 support."
    1.11 +SHORT_DESC="Dynamic Host Configuration Protocol server with IPv6 support."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="ISC"
    1.14 -WEB_SITE="http://www.isc.org/"
    1.15 +WEB_SITE="https://www.isc.org/dhcp/"
    1.16  
    1.17  SOURCE="dhcp"
    1.18  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.19  WGET_URL="http://ftp.isc.org/isc/$SOURCE/$TARBALL"
    1.20  
    1.21 -CONFIG_FILES="/etc/dhcpd.conf"
    1.22  PROVIDE="dhcp"
    1.23  DEPENDS="libcrypto"
    1.24 -BUILD_DEPENDS="perl file"
    1.25 +BUILD_DEPENDS="file perl"
    1.26 +
    1.27 +CONFIG_FILES="/etc/dhcpd.conf"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31 @@ -25,12 +26,14 @@
    1.32  	grep -q MYEOL includes/dhctoken.h ||
    1.33  	sed -i "s/SEMI/MYEOL = '\\\\n',\n\tQUESTION = '?',\n\t&/" \
    1.34  		includes/dhctoken.h
    1.35 -	sed -i 's/== NOERROR/== (isc_result_t) NOERROR/' server/ddns.c
    1.36 -	./configure \
    1.37 -		--prefix=/usr \
    1.38 -		--infodir=/usr/share/info \
    1.39 -		--sysconfdir=/etc \
    1.40 -		--mandir=/usr/share/man \
    1.41 +	sed -i 's/== NOERROR/== (isc_result_t) NOERROR/' \
    1.42 +		server/ddns.c
    1.43 +
    1.44 +	./configure				\
    1.45 +		--prefix=/usr			\
    1.46 +		--infodir=/usr/share/info	\
    1.47 +		--sysconfdir=/etc		\
    1.48 +		--mandir=/usr/share/man		\
    1.49  		$CONFIGURE_ARGS &&
    1.50  	make -j 1 &&
    1.51  	make DESTDIR=$DESTDIR install
    1.52 @@ -39,8 +42,10 @@
    1.53  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.54  genpkg_rules()
    1.55  {
    1.56 -	mkdir -p $fs/usr/sbin $fs/etc/init.d
    1.57 -	cp $install/etc/dhcpd.conf.example $fs/etc/dhcpd.conf
    1.58 -	cp $install/usr/sbin/dhcpd $fs/usr/sbin
    1.59 -	cp $WOK/dhcp/stuff/dhcpd $fs/etc/init.d
    1.60 +	mkdir -p $fs/usr/sbin
    1.61 +	mkdir -p $fs/etc/init.d
    1.62 +
    1.63 +	cp $install/etc/dhcpd.conf.example	$fs/etc/dhcpd.conf
    1.64 +	cp $install/usr/sbin/dhcpd		$fs/usr/sbin
    1.65 +	cp $WOK/dhcp/stuff/dhcpd		$fs/etc/init.d
    1.66  }