git: ceae39512862 - main - net/miniupnpc: Update to 2.2.4

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Mon, 24 Oct 2022 13:22:26 UTC
The branch main has been updated by dinoex:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ceae395128629563472d4c3ea3f0017dd529bb45

commit ceae395128629563472d4c3ea3f0017dd529bb45
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2022-10-24 13:22:05 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2022-10-24 13:22:05 +0000

    net/miniupnpc: Update to 2.2.4
---
 net/miniupnpc/Makefile             |  3 +--
 net/miniupnpc/distinfo             |  6 +++---
 net/miniupnpc/files/patch-Makefile | 30 ++----------------------------
 3 files changed, 6 insertions(+), 33 deletions(-)

diff --git a/net/miniupnpc/Makefile b/net/miniupnpc/Makefile
index 6c0da25a26a4..a10b44920fee 100644
--- a/net/miniupnpc/Makefile
+++ b/net/miniupnpc/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	miniupnpc
-PORTVERSION=	2.2.3
-PORTREVISION=	1
+PORTVERSION=	2.2.4
 CATEGORIES?=	net
 MASTER_SITES=	http://miniupnp.free.fr/files/
 
diff --git a/net/miniupnpc/distinfo b/net/miniupnpc/distinfo
index 2a139563ebee..5ec90bd4aaff 100644
--- a/net/miniupnpc/distinfo
+++ b/net/miniupnpc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1644226514
-SHA256 (miniupnpc-2.2.3.tar.gz) = dce41b4a4f08521c53a0ab163ad2007d18b5e1aa173ea5803bd47a1be3159c24
-SIZE (miniupnpc-2.2.3.tar.gz) = 101360
+TIMESTAMP = 1666530555
+SHA256 (miniupnpc-2.2.4.tar.gz) = 481a5e4aede64e9ef29895b218836c3608d973e77a35b4f228ab1f3629412c4b
+SIZE (miniupnpc-2.2.4.tar.gz) = 102932
diff --git a/net/miniupnpc/files/patch-Makefile b/net/miniupnpc/files/patch-Makefile
index 0e4fa4af58ca..52eeb0a1b62b 100644
--- a/net/miniupnpc/files/patch-Makefile
+++ b/net/miniupnpc/files/patch-Makefile
@@ -1,4 +1,4 @@
---- Makefile.orig	2021-09-28 21:11:31 UTC
+--- Makefile.orig	2022-10-19 22:49:03 UTC
 +++ Makefile
 @@ -147,7 +147,6 @@ TESTIGDDESCPARSE += $(BUILD)/minissdpc.o
  LIBOBJS += $(BUILD)/minissdpc.o
@@ -8,7 +8,7 @@
  # install directories
  ifeq ($(strip $(PREFIX)),)
  INSTALLPREFIX ?= /usr
-@@ -155,14 +154,14 @@ else
+@@ -155,9 +154,9 @@ else
  INSTALLPREFIX ?= $(PREFIX)
  endif
  INSTALLDIRINC = $(INSTALLPREFIX)/include/miniupnpc
@@ -20,12 +20,6 @@
  PKGCONFIGDIR = $(INSTALLDIRLIB)/pkgconfig
  
  FILESTOINSTALL = $(LIBRARY) $(EXECUTABLES)
- ifeq (, $(findstring amiga, $(OS)))
--FILESTOINSTALL += $(SHAREDLIBRARY) miniupnpc.pc
-+FILESTOINSTALL += $(SHAREDLIBRARY) $(BUILD)/miniupnpc.pc
- endif
- 
- 
 @@ -242,7 +241,7 @@ distclean: clean
  
  updateversion:	include/miniupnpc.h
@@ -35,23 +29,3 @@
  
  install:	updateversion $(FILESTOINSTALL)
  	$(INSTALL) -d $(DESTDIR)$(INSTALLDIRINC)
-@@ -251,15 +250,15 @@ install:	updateversion $(FILESTOINSTALL)
- 	$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)
- ifeq (, $(findstring amiga, $(OS)))
- 	$(INSTALL) -m 644 $(SHAREDLIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/$(SONAME)
--	ln -fs $(SONAME) $(DESTDIR)$(INSTALLDIRLIB)/$(SHAREDLIBRARY)
-+	ln -fs $(SONAME) $(DESTDIR)$(INSTALLDIRLIB)/libminiupnpc.so
- 	$(INSTALL) -d $(DESTDIR)$(PKGCONFIGDIR)
--	$(INSTALL) -m 644 miniupnpc.pc $(DESTDIR)$(PKGCONFIGDIR)
-+	$(INSTALL) -m 644 $(BUILD)/miniupnpc.pc $(DESTDIR)$(PKGCONFIGDIR)
- endif
- 	$(INSTALL) -d $(DESTDIR)$(INSTALLDIRBIN)
- ifneq (, $(findstring amiga, $(OS)))
--	$(INSTALL) -m 755 upnpc-static $(DESTDIR)$(INSTALLDIRBIN)/upnpc
-+	$(INSTALL) -m 755 $(BUILD)/upnpc-static $(DESTDIR)$(INSTALLDIRBIN)/upnpc
- else
--	$(INSTALL) -m 755 upnpc-shared $(DESTDIR)$(INSTALLDIRBIN)/upnpc
-+	$(INSTALL) -m 755 $(BUILD)/upnpc-shared $(DESTDIR)$(INSTALLDIRBIN)/upnpc
- endif
- 	$(INSTALL) -m 755 external-ip.sh $(DESTDIR)$(INSTALLDIRBIN)/external-ip
- ifeq (, $(findstring amiga, $(OS)))