From c2e846dae638aa8a35e42cf0790d15642a892360 Mon Sep 17 00:00:00 2001 From: Shaleen Jain Date: Tue, 4 Jan 2022 07:23:14 +0000 Subject: [PATCH] miniupnpd: update to version 2.2.3 Signed-off-by: Shaleen Jain --- net/miniupnpd/Makefile | 6 +++--- net/miniupnpd/patches/300-macos-compat.patch | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile index 519e151522..6024d05ab8 100644 --- a/net/miniupnpd/Makefile +++ b/net/miniupnpd/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=miniupnpd -PKG_VERSION:=2.2.2 -PKG_RELEASE:=3 +PKG_VERSION:=2.2.3 +PKG_RELEASE:=1 PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_HASH:=4b01c403d01c6ab140c9e4e744c89cdb66cbe25145d7a0d4566cc3fdcc0240c3 +PKG_HASH:=f89c310ce9575183af3fec61af65e548f85114133df8caaaa9e204c13b7a9da5 PKG_MAINTAINER:= PKG_LICENSE:=BSD-3-Clause diff --git a/net/miniupnpd/patches/300-macos-compat.patch b/net/miniupnpd/patches/300-macos-compat.patch index 12b5f24880..53c0e3c4b3 100644 --- a/net/miniupnpd/patches/300-macos-compat.patch +++ b/net/miniupnpd/patches/300-macos-compat.patch @@ -1,9 +1,9 @@ --- a/Makefile.linux +++ b/Makefile.linux -@@ -95,13 +95,13 @@ $(info please install uuid-dev package / - endif # ($(TEST),1) +@@ -96,13 +96,13 @@ endif # ($(TEST),1) endif # ($(TARGET_OPENWRT,) + ifneq ($(shell ldd --version | grep GLIBC),) -GLIBC_VERSION := $(shell ldd --version | head -n 1 | sed 's/^.* //') -GLIBC_VERSION_MAJOR = $(shell echo $(GLIBC_VERSION) | cut -f 1 -d . ) -GLIBC_VERSION_MINOR = $(shell echo $(GLIBC_VERSION) | cut -f 2 -d . ) @@ -17,10 +17,10 @@ +#LDLIBS += $(shell if [ $(GLIBC_VERSION_MAJOR) -lt 2 ] \ +# || [ \( $(GLIBC_VERSION_MAJOR) -eq 2 \) -a \( $(GLIBC_VERSION_MINOR) -lt 17 \) ] ; \ +# then echo "-lrt" ; fi ) + endif TESTUPNPDESCGENOBJS = testupnpdescgen.o upnpdescgen.o - -@@ -141,11 +141,11 @@ install: miniupnpd $(SRCDIR)/miniupnpd.8 +@@ -143,11 +143,11 @@ install: miniupnpd $(SRCDIR)/miniupnpd.8 $(INSTALL) $(SRCDIR)/netfilter/ip6tables_init.sh $(DESTDIR)$(ETCINSTALLDIR) $(INSTALL) $(SRCDIR)/netfilter/ip6tables_removeall.sh $(DESTDIR)$(ETCINSTALLDIR) $(INSTALL) $(SRCDIR)/netfilter/miniupnpd_functions.sh $(DESTDIR)$(ETCINSTALLDIR) -- 2.30.2