wok-6.x rev 24490

updated dnsmasq (2.81 -> 2.86)
author Hans-G?nter Theisgen
date Fri Feb 18 17:48:51 2022 +0100 (2022-02-18)
parents 7018868ac1f6
children d8c511e24c20
files dnsmasq/description.txt dnsmasq/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dnsmasq/description.txt	Fri Feb 18 17:48:51 2022 +0100
     1.3 @@ -0,0 +1,9 @@
     1.4 +Dnsmasq provides network infrastructure for small networks: DNS, DHCP,
     1.5 +router advertisement and network boot.
     1.6 +It is designed to be lightweight and have a small footprint, suitable
     1.7 +for resource constrained routers and firewalls.
     1.8 +It has also been widely used for tethering on smartphones and portable
     1.9 +hotspots, and to support virtual networking in virtualisation frameworks.
    1.10 +Supported platforms include Linux (with glibc and uclibc), Android, *BSD,
    1.11 +and Mac OS X.
    1.12 +Dnsmasq provides full IPv6 support.
     2.1 --- a/dnsmasq/receipt	Fri Feb 18 17:31:24 2022 +0100
     2.2 +++ b/dnsmasq/receipt	Fri Feb 18 17:48:51 2022 +0100
     2.3 @@ -1,15 +1,21 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="dnsmasq"
     2.7 -VERSION="2.81"
     2.8 +VERSION="2.86"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Lightweight, DNS forwarder and DHCP server."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 +WEB_SITE="https://thekelleys.org.uk/dnsmasq/doc.html"
    2.14 +
    2.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16 -WEB_SITE="http://www.thekelleys.org.uk/dnsmasq/doc.html"
    2.17 -WGET_URL="http://www.thekelleys.org.uk/$PACKAGE/$TARBALL"
    2.18 +WGET_URL="https://www.thekelleys.org.uk/$PACKAGE/$TARBALL"
    2.19 +
    2.20 +DEPENDS="gcc83-lib-base"
    2.21 +BUILD_DEPENDS="coreutils-file-sort gcc83"
    2.22 +
    2.23  CONFIG_FILES="/etc/dnsmasq.conf"
    2.24 +
    2.25  HOST_ARCH="i486 arm"
    2.26  
    2.27  # What is the latest version available today?
    2.28 @@ -22,17 +28,31 @@
    2.29  # Rules to configure and make the package.
    2.30  compile_rules()
    2.31  {
    2.32 -	sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile
    2.33 -	make PREFIX=/usr && make DESTDIR=$DESTDIR install &&
    2.34 +	# 2.86 obsolete
    2.35 +#	sed -i	-e 's/nawk/awk/'	\
    2.36 +#		Makefile
    2.37 +
    2.38 +	export	CFLAGS="$CFLAGS -std=c99"
    2.39 +
    2.40 +	make				\
    2.41 +		CC=gcc-83		\
    2.42 +		CFLAGS="$CFLAGS"	\
    2.43 +		PREFIX=$DESTDIR/usr &&
    2.44 +	make	install			\
    2.45 +		CC=gcc-83		\
    2.46 +		CFLAGS="$CFLAGS"	\
    2.47 +		PREFIX=$DESTDIR/usr &&
    2.48 +
    2.49  	mkdir -p $DESTDIR/etc &&
    2.50 -	cp -a $src/dnsmasq.conf.example $DESTDIR/etc/dnsmasq.conf
    2.51 +	cp -a $src/dnsmasq.conf.example	$DESTDIR/etc/dnsmasq.conf
    2.52  }
    2.53  
    2.54  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.55  genpkg_rules()
    2.56  {
    2.57  	mkdir -p $fs/usr
    2.58 -	cp -a $install/usr/sbin $fs/usr
    2.59 -	cp -a $install/etc $fs
    2.60 -	cp -a $stuff/* $fs
    2.61 +
    2.62 +	cp -a $install/etc	$fs
    2.63 +	cp -a $install/usr/sbin	$fs/usr
    2.64 +	cp -a $stuff/*		$fs
    2.65  }