From fb2b137af659d3ffdc28af672e712f4a5841308c Mon Sep 17 00:00:00 2001 From: rsadowski Date: Sun, 17 Aug 2025 13:06:07 +0000 Subject: [PATCH] Update Update libupnp to 1.14.24 OK pascal@ --- net/libupnp/Makefile | 21 ++++---- net/libupnp/distinfo | 4 +- .../patches/patch-upnp_src_inc_config_h | 13 ----- net/libupnp/pkg/PLIST | 48 ++++++++++++------- 4 files changed, 40 insertions(+), 46 deletions(-) delete mode 100644 net/libupnp/patches/patch-upnp_src_inc_config_h diff --git a/net/libupnp/Makefile b/net/libupnp/Makefile index e1bca1c1e05..e40235fd71c 100755 --- a/net/libupnp/Makefile +++ b/net/libupnp/Makefile @@ -1,30 +1,25 @@ COMMENT= Universal Plug and Play SDK -DISTNAME= libupnp-1.8.7 -EXTRACT_SUFX= .tar.bz2 +V = 1.14.24 +DISTNAME= libupnp-${V} CATEGORIES= net devel SHARED_LIBS += ixml 1.0 # 10.2 SHARED_LIBS += upnp 3.0 # 14.2 -# also https://github.com/pupnp/pupnp -HOMEPAGE= https://pupnp.sourceforge.io/ +HOMEPAGE= https://pupnp.github.io/pupnp/ + +SITES= https://github.com/pupnp/pupnp/releases/download/release-${V}/ +EXTRACT_SUFX= .tar.bz2 # BSD PERMIT_PACKAGE= Yes -WANTLIB += pthread +WANTLIB += c pthread -SITES= ${SITE_SOURCEFORGE:=pupnp/} +MODULES = devel/cmake -SEPARATE_BUILD= Yes DEBUG_PACKAGES= ${BUILD_PACKAGES} -CONFIGURE_STYLE= gnu -# HAVE_COMPAT does not do anything -CONFIGURE_ENV= ac_cv_cflags_gcc_option__Os=no \ - ac_cv_lib_compat_ftime=no -CONFIGURE_ARGS= --enable-reuseaddr - .include diff --git a/net/libupnp/distinfo b/net/libupnp/distinfo index ee88548469f..b1094c11ab2 100644 --- a/net/libupnp/distinfo +++ b/net/libupnp/distinfo @@ -1,2 +1,2 @@ -SHA256 (libupnp-1.8.7.tar.bz2) = 44xpsrZzIuZ81TaA25sCx8H3IKR6PNYm/YnVfS3Kk7g= -SIZE (libupnp-1.8.7.tar.bz2) = 679613 +SHA256 (libupnp-1.14.24.tar.bz2) = jf3gX2PpFkTpB9z7cwWVWtBktM9uUQPLN6fFfFDR3RE= +SIZE (libupnp-1.14.24.tar.bz2) = 690138 diff --git a/net/libupnp/patches/patch-upnp_src_inc_config_h b/net/libupnp/patches/patch-upnp_src_inc_config_h deleted file mode 100644 index 83c365570f1..00000000000 --- a/net/libupnp/patches/patch-upnp_src_inc_config_h +++ /dev/null @@ -1,13 +0,0 @@ -http://lifewithushare.blogspot.fr/2008/01/simultaneous-streaming-to-multiple.html - ---- upnp/src/inc/config.h.orig Fri Nov 2 15:18:39 2012 -+++ upnp/src/inc/config.h Fri Nov 2 15:18:54 2012 -@@ -90,7 +90,7 @@ - * - * @{ - */ --#define MIN_THREADS 2 -+#define MIN_THREADS 6 - /* @} */ - - diff --git a/net/libupnp/pkg/PLIST b/net/libupnp/pkg/PLIST index 480ae80f719..aae28890e56 100644 --- a/net/libupnp/pkg/PLIST +++ b/net/libupnp/pkg/PLIST @@ -1,37 +1,49 @@ +@bin bin/tv_combo +@bin bin/tv_ctrlpt +@bin bin/tv_device include/upnp/ -include/upnp/ActionComplete.h -include/upnp/ActionRequest.h include/upnp/Callback.h -include/upnp/Discovery.h -include/upnp/Event.h -include/upnp/EventSubscribe.h -include/upnp/ExtraHeaders.h -include/upnp/FileInfo.h -include/upnp/StateVarComplete.h -include/upnp/StateVarRequest.h -include/upnp/SubscriptionRequest.h -include/upnp/TemplateInclude.h -include/upnp/TemplateSource.h -include/upnp/TemplateUndef.h +include/upnp/UpnpActionComplete.h +include/upnp/UpnpActionRequest.h +include/upnp/UpnpDiscovery.h +include/upnp/UpnpEvent.h +include/upnp/UpnpEventSubscribe.h +include/upnp/UpnpExtraHeaders.h +include/upnp/UpnpFileInfo.h include/upnp/UpnpGlobal.h include/upnp/UpnpInet.h include/upnp/UpnpIntTypes.h +include/upnp/UpnpStateVarComplete.h +include/upnp/UpnpStateVarRequest.h include/upnp/UpnpStdInt.h include/upnp/UpnpString.h +include/upnp/UpnpSubscriptionRequest.h include/upnp/UpnpUniStd.h -include/upnp/ithread.h include/upnp/ixml.h include/upnp/ixmldebug.h include/upnp/list.h -include/upnp/poison.h include/upnp/upnp.h include/upnp/upnpconfig.h -include/upnp/upnpdebug.h include/upnp/upnptools.h +lib/cmake/ +lib/cmake/IXML/ +lib/cmake/IXML/IXML${MODCMAKE_BUILD_SUFFIX} +lib/cmake/IXML/IXML.cmake +lib/cmake/IXML/IXMLConfig.cmake +lib/cmake/IXML/IXMLConfigVersion.cmake +lib/cmake/UPNP/ +lib/cmake/UPNP/UPNP${MODCMAKE_BUILD_SUFFIX} +lib/cmake/UPNP/UPNP.cmake +lib/cmake/UPNP/UPNPConfig.cmake +lib/cmake/UPNP/UPNPConfigVersion.cmake @static-lib lib/libixml.a -lib/libixml.la @lib lib/libixml.so.${LIBixml_VERSION} @static-lib lib/libupnp.a -lib/libupnp.la @lib lib/libupnp.so.${LIBupnp_VERSION} lib/pkgconfig/libupnp.pc +share/upnp/ +share/upnp/tvcombodesc.xml +share/upnp/tvcontrolSCPD.xml +share/upnp/tvdevicedesc.xml +share/upnp/tvdevicepres.html +share/upnp/tvpictureSCPD.xml