# HG changeset patch # User Hans-G?nter Theisgen # Date 1584630261 -3600 # Node ID 797b839bde3ad2f78a64a0a244580d12890a8b92 # Parent fa14bf00ffaa29920f481a0d079caa588cdd1365 updated miniupnpd (2.0 -> 2.1) diff -r fa14bf00ffaa -r 797b839bde3a miniupnpd/receipt --- a/miniupnpd/receipt Thu Mar 19 15:34:58 2020 +0100 +++ b/miniupnpd/receipt Thu Mar 19 16:04:21 2020 +0100 @@ -1,28 +1,35 @@ # SliTaz package receipt. PACKAGE="miniupnpd" -VERSION="2.0.20171212" +VERSION="2.1" CATEGORY="network" SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications server." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" +WEB_SITE="https://miniupnp.tuxfamily.org/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://miniupnp.tuxfamily.org/" WGET_URL="$WEB_SITE/files/$TARBALL" TAGS="upnp" DEPENDS="iptables libssl" -BUILD_DEPENDS="iptables-dev libnfnetlink-dev openssl-dev" +BUILD_DEPENDS="iptables-dev libnfnetlink-dev openssl-dev util-linux-uuid-dev" # Rules to configure and make the package. compile_rules() { - sed -i 's|uname -m|echo i486|' Makefile* netfilter*/Makefile + export LDFLAGS="$LDFLAGS -lrt" + + sed -i 's|uname -m|echo i486|' \ + Makefile* \ + netfilter*/Makefile mkdir -p $DESTDIR/usr/share/man/man8 - sed -i 's,^EXTIF=eth0,EXTIF=$(route -n | awk ''/^0.0.0.0/ { print $8 }''),' netfilter/iptables_init.sh + sed -i 's,^EXTIF=eth0,EXTIF=$(route -n | awk ''/^0.0.0.0/ { print $8 }''),' \ + netfilter/iptables_init.sh make -f Makefile.linux config.h KERNEL_VERSION=$(grep -s ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2) - sed -i "s,OS_VERSION.*,OS_VERSION \"Linux/$KERNEL_VERSION\"," config.h + sed -i "s,OS_VERSION.*,OS_VERSION \"Linux/$KERNEL_VERSION\"," \ + config.h make CFLAGS="-DIPTABLES_143" -f Makefile.linux && make -f Makefile.linux DESTDIR=$DESTDIR install } @@ -31,6 +38,6 @@ genpkg_rules() { mkdir -p $fs/usr - cp -a $install/etc $fs - cp -a $install/usr/sbin $fs/usr + cp -a $install/etc $fs + cp -a $install/usr/sbin $fs/usr }