mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
miniupnpd: update to 2.0.
This commit is contained in:
parent
97d7d691f4
commit
b0b8bdac50
1 changed files with 13 additions and 14 deletions
|
@ -1,34 +1,33 @@
|
||||||
# Template file for 'miniupnpd'
|
# Template file for 'miniupnpd'
|
||||||
pkgname=miniupnpd
|
pkgname=miniupnpd
|
||||||
version=1.9
|
version=2.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="-f Makefile.linux"
|
make_cmd="make -f Makefile.linux"
|
||||||
make_install_args="-f Makefile.linux PREFIX="
|
make_install_args="PREFIX= SBININSTALLDIR=/usr/bin"
|
||||||
conf_files="
|
conf_files="
|
||||||
/etc/miniupnpd/*.conf
|
/etc/miniupnpd/*.conf
|
||||||
/etc/miniupnpd/*.sh"
|
/etc/miniupnpd/*.sh"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libnfnetlink-devel iptables-devel"
|
makedepends="libnfnetlink-devel iptables-devel libressl-devel"
|
||||||
short_desc="Lightweight UPnP IGD daemon"
|
short_desc="Lightweight UPnP IGD daemon"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
homepage="http://miniupnp.free.fr"
|
homepage="http://miniupnp.free.fr"
|
||||||
distfiles="http://miniupnp.free.fr/files/miniupnpd-${version}.tar.gz"
|
distfiles="http://miniupnp.free.fr/files/miniupnpd-${version}.tar.gz"
|
||||||
checksum=6176eb21a6422a7ee68ef1c62ccbbd5003335fa773d8c9013228c2a217bba2ac
|
checksum=d96aa3a00e0f5490826bba3cb97e68cd27479e5839adac4b9bcb66eae786bfb7
|
||||||
|
|
||||||
CFLAGS="-DIPTABLES_143"
|
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
sed -e 's|$(INSTALLPREFIX)/sbin|$(INSTALLPREFIX)/bin|g' -i ${wrksrc}/Makefile.linux
|
sed -i ${wrksrc}/genconfig.sh \
|
||||||
sed -e 's|LSB_RELEASE=.*|LSB_RELEASE=$(false)|g' -i ${wrksrc}/genconfig.sh
|
-e 's|LSB_RELEASE=.*|LSB_RELEASE=$(false)|g' \
|
||||||
|
-e '\|/sbin/sysctl|d'
|
||||||
|
|
||||||
CONFIG_OPTIONS="--ipv6 --igd2 --leasefile" make -f Makefile.linux config.h
|
${make_cmd} CONFIG_OPTIONS="--ipv6 --igd2 --leasefile" config.h
|
||||||
|
|
||||||
sed -i ${wrksrc}/config.h \
|
sed -i ${wrksrc}/config.h \
|
||||||
-e 's|^#define OS_URL .*$|#define OS_URL "http://voidlinux.eu"|g' \
|
-e 's|^#define OS_URL.*$|#define OS_URL "http://voidlinux.eu/"|g' \
|
||||||
-e 's|^#define OS_NAME .*$|#define OS_NAME "Void"|g' \
|
-e 's|^#define OS_NAME.*$|#define OS_NAME "Void"|g' \
|
||||||
-e 's|^#define OS_VERSION .*$|#define OS_VERSION "Void"|g'
|
-e 's|^#define OS_VERSION.*$|#define OS_VERSION "Void"|g'
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue