wok diff miniupnpd/receipt @ rev 24332
updated audacious packages (3.10.1 -> 4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 27 17:51:18 2022 +0100 (2022-01-27) |
parents | 3705d68ed8f3 |
children | 83b97236db32 |
line diff
1.1 --- a/miniupnpd/receipt Sat Feb 24 12:51:10 2018 +0100 1.2 +++ b/miniupnpd/receipt Thu Jan 27 17:51:18 2022 +0100 1.3 @@ -1,28 +1,35 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="miniupnpd" 1.7 -VERSION="2.0.20171212" 1.8 +VERSION="2.1" 1.9 CATEGORY="network" 1.10 SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications server." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="BSD" 1.13 +WEB_SITE="https://miniupnp.tuxfamily.org/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://miniupnp.tuxfamily.org/" 1.17 WGET_URL="$WEB_SITE/files/$TARBALL" 1.18 TAGS="upnp" 1.19 1.20 DEPENDS="iptables libssl" 1.21 -BUILD_DEPENDS="iptables-dev libnfnetlink-dev openssl-dev" 1.22 +BUILD_DEPENDS="iptables-dev libnfnetlink-dev openssl-dev util-linux-uuid-dev" 1.23 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 { 1.27 - sed -i 's|uname -m|echo i486|' Makefile* netfilter*/Makefile 1.28 + export LDFLAGS="$LDFLAGS -lrt" 1.29 + 1.30 + sed -i 's|uname -m|echo i486|' \ 1.31 + Makefile* \ 1.32 + netfilter*/Makefile 1.33 mkdir -p $DESTDIR/usr/share/man/man8 1.34 - sed -i 's,^EXTIF=eth0,EXTIF=$(route -n | awk ''/^0.0.0.0/ { print $8 }''),' netfilter/iptables_init.sh 1.35 + sed -i 's,^EXTIF=eth0,EXTIF=$(route -n | awk ''/^0.0.0.0/ { print $8 }''),' \ 1.36 + netfilter/iptables_init.sh 1.37 make -f Makefile.linux config.h 1.38 KERNEL_VERSION=$(grep -s ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2) 1.39 - sed -i "s,OS_VERSION.*,OS_VERSION \"Linux/$KERNEL_VERSION\"," config.h 1.40 + sed -i "s,OS_VERSION.*,OS_VERSION \"Linux/$KERNEL_VERSION\"," \ 1.41 + config.h 1.42 make CFLAGS="-DIPTABLES_143" -f Makefile.linux && 1.43 make -f Makefile.linux DESTDIR=$DESTDIR install 1.44 } 1.45 @@ -31,6 +38,6 @@ 1.46 genpkg_rules() 1.47 { 1.48 mkdir -p $fs/usr 1.49 - cp -a $install/etc $fs 1.50 - cp -a $install/usr/sbin $fs/usr 1.51 + cp -a $install/etc $fs 1.52 + cp -a $install/usr/sbin $fs/usr 1.53 }