# HG changeset patch # User Hans-G?nter Theisgen # Date 1645202931 -3600 # Node ID 293b75a2e1b220c7a0863c478b20cc4eeda94d11 # Parent 7018868ac1f6a068ac6eb69eb81a489d4269aa1e updated dnsmasq (2.81 -> 2.86) diff -r 7018868ac1f6 -r 293b75a2e1b2 dnsmasq/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dnsmasq/description.txt Fri Feb 18 17:48:51 2022 +0100 @@ -0,0 +1,9 @@ +Dnsmasq provides network infrastructure for small networks: DNS, DHCP, +router advertisement and network boot. +It is designed to be lightweight and have a small footprint, suitable +for resource constrained routers and firewalls. +It has also been widely used for tethering on smartphones and portable +hotspots, and to support virtual networking in virtualisation frameworks. +Supported platforms include Linux (with glibc and uclibc), Android, *BSD, +and Mac OS X. +Dnsmasq provides full IPv6 support. diff -r 7018868ac1f6 -r 293b75a2e1b2 dnsmasq/receipt --- a/dnsmasq/receipt Fri Feb 18 17:31:24 2022 +0100 +++ b/dnsmasq/receipt Fri Feb 18 17:48:51 2022 +0100 @@ -1,15 +1,21 @@ # SliTaz package receipt. PACKAGE="dnsmasq" -VERSION="2.81" +VERSION="2.86" CATEGORY="network" SHORT_DESC="Lightweight, DNS forwarder and DHCP server." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://thekelleys.org.uk/dnsmasq/doc.html" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.thekelleys.org.uk/dnsmasq/doc.html" -WGET_URL="http://www.thekelleys.org.uk/$PACKAGE/$TARBALL" +WGET_URL="https://www.thekelleys.org.uk/$PACKAGE/$TARBALL" + +DEPENDS="gcc83-lib-base" +BUILD_DEPENDS="coreutils-file-sort gcc83" + CONFIG_FILES="/etc/dnsmasq.conf" + HOST_ARCH="i486 arm" # What is the latest version available today? @@ -22,17 +28,31 @@ # Rules to configure and make the package. compile_rules() { - sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile - make PREFIX=/usr && make DESTDIR=$DESTDIR install && + # 2.86 obsolete +# sed -i -e 's/nawk/awk/' \ +# Makefile + + export CFLAGS="$CFLAGS -std=c99" + + make \ + CC=gcc-83 \ + CFLAGS="$CFLAGS" \ + PREFIX=$DESTDIR/usr && + make install \ + CC=gcc-83 \ + CFLAGS="$CFLAGS" \ + PREFIX=$DESTDIR/usr && + mkdir -p $DESTDIR/etc && - cp -a $src/dnsmasq.conf.example $DESTDIR/etc/dnsmasq.conf + cp -a $src/dnsmasq.conf.example $DESTDIR/etc/dnsmasq.conf } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr - cp -a $install/usr/sbin $fs/usr - cp -a $install/etc $fs - cp -a $stuff/* $fs + + cp -a $install/etc $fs + cp -a $install/usr/sbin $fs/usr + cp -a $stuff/* $fs }