wok-current diff dhcp/receipt @ rev 24384

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 06 16:04:43 2022 +0000 (2022-02-06)
parents f1e92a9bbf08
children bfabe25c21ff
line diff
     1.1 --- a/dhcp/receipt	Mon Jul 01 12:11:40 2019 +0200
     1.2 +++ b/dhcp/receipt	Sun Feb 06 16:04:43 2022 +0000
     1.3 @@ -1,19 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="dhcp"
     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."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="ISC"
    1.13 -WEB_SITE="http://www.isc.org/"
    1.14 +WEB_SITE="https://www.isc.org/dhcp/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="http://ftp.isc.org/isc/$PACKAGE/$VERSION/$TARBALL"
    1.18 -CONFIG_FILES="/etc/dhcpd.conf"
    1.19  
    1.20  DEPENDS="libcrypto"
    1.21 -BUILD_DEPENDS="perl file"
    1.22 +BUILD_DEPENDS="file perl"
    1.23 +
    1.24 +CONFIG_FILES="/etc/dhcpd.conf"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28 @@ -21,14 +22,15 @@
    1.29  	grep -q MYEOL includes/dhctoken.h ||
    1.30  	sed -i "s/SEMI/MYEOL = '\\\\n',\n\tQUESTION = '?',\n\t&/" \
    1.31  		includes/dhctoken.h
    1.32 -	sed -i 's/== NOERROR/== (isc_result_t) NOERROR/' server/ddns.c
    1.33 +	sed -i 's/== NOERROR/== (isc_result_t) NOERROR/' \
    1.34 +		server/ddns.c
    1.35  
    1.36 -	./configure \
    1.37 -		--prefix=/usr \
    1.38 -		--infodir=/usr/share/info \
    1.39 -		--disable-dhcpv6 \
    1.40 -		--sysconfdir=/etc \
    1.41 -		--mandir=/usr/share/man \
    1.42 +	./configure				\
    1.43 +		--prefix=/usr			\
    1.44 +		--infodir=/usr/share/info	\
    1.45 +		--disable-dhcpv6		\
    1.46 +		--sysconfdir=/etc		\
    1.47 +		--mandir=/usr/share/man		\
    1.48  		$CONFIGURE_ARGS &&
    1.49  	make -j 1 &&
    1.50  	make -j 1 DESTDIR=$DESTDIR install
    1.51 @@ -37,8 +39,10 @@
    1.52  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.53  genpkg_rules()
    1.54  {
    1.55 -	mkdir -p $fs/usr/sbin $fs/etc/init.d
    1.56 -	cp $install/etc/dhcpd.conf.example $fs/etc/dhcpd.conf
    1.57 -	cp $install/usr/sbin/dhcpd $fs/usr/sbin
    1.58 -	cp $stuff/dhcpd $fs/etc/init.d
    1.59 +	mkdir -p $fs/usr/sbin
    1.60 +	mkdir -p $fs/etc/init.d
    1.61 +
    1.62 +	cp $install/etc/dhcpd.conf.example	$fs/etc/dhcpd.conf
    1.63 +	cp $install/usr/sbin/dhcpd		$fs/usr/sbin
    1.64 +	cp $stuff/dhcpd				$fs/etc/init.d
    1.65  }