Most notable change is libthreadutil being merged into libupnp.  Both
ABI and API changed, so crank majors.

Tested on amd64 through libupnpp and upplay for which I'll send updates
as well to cope with this one.

After all, the new version including `reuseaddr' support is required for
an upcoming port, hence this update.

Tests pass.

I plan to commit this either at once together with consumer updates or
not at all do avoid breakage.

Feedback? OK?

Index: net/libupnp/Makefile
===================================================================
RCS file: /cvs/ports/net/libupnp/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- net/libupnp/Makefile        11 Apr 2018 13:23:08 -0000      1.11
+++ net/libupnp/Makefile        27 Apr 2019 09:18:39 -0000
@@ -2,14 +2,13 @@
 
 COMMENT=       Universal Plug and Play SDK
 
-DISTNAME=      libupnp-1.6.22
+DISTNAME=      libupnp-1.8.4
 EXTRACT_SUFX=  .tar.bz2
 
 CATEGORIES=    net devel
 
-SHARED_LIBS +=  ixml                 0.2      # 2.8
-SHARED_LIBS +=  threadutil           1.1      # 6.4
-SHARED_LIBS +=  upnp                 1.1      # 9.3
+SHARED_LIBS +=  ixml                 1.0      # 10.1.0
+SHARED_LIBS +=  upnp                 2.0      # 13.0.0
 
 HOMEPAGE=      http://pupnp.sourceforge.net/
 
@@ -24,6 +23,7 @@ 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
 
 .ifdef DEBUG
 CONFIGURE_ARGS+= --enable-debug
Index: net/libupnp/distinfo
===================================================================
RCS file: /cvs/ports/net/libupnp/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- net/libupnp/distinfo        11 Apr 2018 13:23:08 -0000      1.5
+++ net/libupnp/distinfo        27 Apr 2019 08:39:14 -0000
@@ -1,2 +1,2 @@
-SHA256 (libupnp-1.6.22.tar.bz2) = C9+st/qNmbeDQ7VQgA/xkyZPksZu9nhS+H8EL9Gh67w=
-SIZE (libupnp-1.6.22.tar.bz2) = 1242211
+SHA256 (libupnp-1.8.4.tar.bz2) = GI0/eG2S/hQZHxdjTS2HhH7ufStWilJX6iMmL+yZc9Y=
+SIZE (libupnp-1.8.4.tar.bz2) = 676576
Index: net/libupnp/pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/libupnp/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- net/libupnp/pkg/PLIST       22 May 2015 11:31:17 -0000      1.5
+++ net/libupnp/pkg/PLIST       27 Apr 2019 08:51:15 -0000
@@ -1,9 +1,18 @@
 @comment $OpenBSD: PLIST,v 1.5 2015/05/22 11:31:17 ajacoutot Exp $
 include/upnp/
-include/upnp/FreeList.h
-include/upnp/LinkedList.h
-include/upnp/ThreadPool.h
-include/upnp/TimerThread.h
+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/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/UpnpGlobal.h
 include/upnp/UpnpInet.h
 include/upnp/UpnpIntTypes.h
@@ -13,6 +22,8 @@ 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
@@ -20,9 +31,6 @@ include/upnp/upnptools.h
 lib/libixml.a
 lib/libixml.la
 @lib lib/libixml.so.${LIBixml_VERSION}
-lib/libthreadutil.a
-lib/libthreadutil.la
-@lib lib/libthreadutil.so.${LIBthreadutil_VERSION}
 lib/libupnp.a
 lib/libupnp.la
 @lib lib/libupnp.so.${LIBupnp_VERSION}

Reply via email to