Revert "New package: miniupnpd-nftables"

This reverts commit 2c9f97e064.

Remove package as this work was not ready to be merged due issues with
nftable rule generation.
This commit is contained in:
Echo Nar 2025-06-18 20:56:09 -05:00 committed by Duncan Overbruck
parent b9890339f6
commit 9820b3f4b1
5 changed files with 0 additions and 72 deletions

View file

@ -1,3 +0,0 @@
Before running miniupnpd edit the scripts and configuration files in /etc/miniupnpd/.
Load the nftable rules by executing /etc/miniupnpd/nft_init.sh manually or by adding
the script to /etc/sv/minidlnad/run.

View file

@ -1,4 +0,0 @@
#!/bin/sh
[ -r conf ] && . ./conf
exec 2>&1
exec miniupnpd ${OPTS:=-f /etc/miniupnpd/miniupnpd.conf}

View file

@ -1,11 +0,0 @@
--- a/configure
+++ b/configure
@@ -49,7 +49,7 @@
--iptablespath=*)
IPTABLESPATH=$(echo $argv | cut -d= -f2) ;;
--getifaddrs) GETIFADDRS=1 ;;
- --v6sockets-v6only) V6SOCKETS_ARE_V6ONLY="0"
+ --v6sockets-v6only) V6SOCKETS_ARE_V6ONLY="0" ;;
--host-os=*)
OS_NAME=$(echo $argv | cut -d= -f2) ;;
--host-os-version=*)

View file

@ -1,53 +0,0 @@
# Template file for 'miniupnpd-nftables'
pkgname=miniupnpd-nftables
version=2.3.9
revision=1
build_style=configure
configure_args="
--disable-fork
--ipv6
--igd2
--leasefile
--firewall=nftables"
make_install_args="
INSTALLPREFIX=/usr
SBINDIR=/usr/bin"
conf_files="
/etc/miniupnpd/*.conf
/etc/miniupnpd/*.sh"
hostmakedepends="pkg-config"
makedepends="libnfnetlink-devel libnftnl-devel openssl-devel"
checkdepends="iproute2 nftables which"
short_desc="Lightweight UPnP IGD daemon with nftables support"
maintainer="Echo Nar <echo@lethedata.com>"
license="BSD-3-Clause"
homepage="http://miniupnp.free.fr"
changelog="http://miniupnp.free.fr/files/changelog.php?file=miniupnpd-${version}.tar.gz"
distfiles="http://miniupnp.free.fr/files/miniupnpd-${version}.tar.gz"
checksum=66cb3c3d697ab2bb3a61d3c48628166d6ba328d7c2dbeb95898fdf2a3202af7b
conflicts="miniupnpd"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
post_extract() {
vsed -i "${wrksrc}/configure" \
-e 's|LSB_RELEASE=.*|LSB_RELEASE=$(false)|' \
-e 's|V6SOCKETS_ARE_V6ONLY=.*|V6SOCKETS_ARE_V6ONLY="0"|'
}
post_configure() {
vsed -i "${wrksrc}/config.h" \
-e 's|^#define OS_URL.*$|#define OS_URL "https://voidlinux.org/"|g' \
-e 's|^#define OS_NAME.*$|#define OS_NAME "Void"|g' \
-e 's|^#define OS_VERSION.*$|#define OS_VERSION "Void"|g'
}
post_install() {
rm -rf "${DESTDIR}/etc/init.d"
vsv miniupnpd
vlicense LICENSE
vdoc "${FILESDIR}/README.voidlinux"
}

View file

@ -1 +0,0 @@
ignore="*.???????? 20[0123456789][0123456789]????"