pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libnpupnp net/libnpupnp: import libnpupnp-4.1.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/be1d732f2650
branches:  trunk
changeset: 768838:be1d732f2650
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Nov 01 21:47:01 2021 +0000

description:
net/libnpupnp: import libnpupnp-4.1.5

npupnp is an UPnP library derived from the venerable pupnp, based
on its 1.6.x branch (around 1.6.25).

Main modifications:

 - Support multiple network interfaces
 - Support multiple root devices (already in the late pupnp versions).
 - Use libcurl for HTTP client functions.

diffstat:

 net/libnpupnp/DESCR                                       |   8 +++++
 net/libnpupnp/Makefile                                    |  22 +++++++++++++++
 net/libnpupnp/PLIST                                       |  11 +++++++
 net/libnpupnp/buildlink3.mk                               |  16 ++++++++++
 net/libnpupnp/distinfo                                    |   6 ++++
 net/libnpupnp/patches/patch-src_threadutil_ThreadPool.cpp |  14 +++++++++
 6 files changed, 77 insertions(+), 0 deletions(-)

diffs (101 lines):

diff -r 5e1a1725e12c -r be1d732f2650 net/libnpupnp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libnpupnp/DESCR       Mon Nov 01 21:47:01 2021 +0000
@@ -0,0 +1,8 @@
+npupnp is an UPnP library derived from the venerable pupnp, based
+on its 1.6.x branch (around 1.6.25).
+
+Main modifications:
+
+ - Support multiple network interfaces
+ - Support multiple root devices (already in the late pupnp versions).
+ - Use libcurl for HTTP client functions.
diff -r 5e1a1725e12c -r be1d732f2650 net/libnpupnp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libnpupnp/Makefile    Mon Nov 01 21:47:01 2021 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2021/11/01 21:47:01 wiz Exp $
+
+DISTNAME=      libnpupnp-4.1.5
+CATEGORIES=    net
+MASTER_SITES=  https://www.lesbonscomptes.com/upmpdcli/downloads/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://www.lesbonscomptes.com/upmpdcli/pages/downloads.html
+COMMENT=       C++ reimplementation of the libupnp
+LICENSE=       modified-bsd
+
+GNU_CONFIGURE= yes
+USE_TOOLS+=    pkg-config
+USE_LANGUAGES= c c++
+USE_LIBTOOL=   yes
+
+PKGCONFIG_OVERRIDE+=   libnpupnp.pc.in
+
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../www/libmicrohttpd/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5e1a1725e12c -r be1d732f2650 net/libnpupnp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libnpupnp/PLIST       Mon Nov 01 21:47:01 2021 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/01 21:47:01 wiz Exp $
+include/npupnp/UpnpGlobal.h
+include/npupnp/UpnpInet.h
+include/npupnp/netif.h
+include/npupnp/upnp.h
+include/npupnp/upnpconfig.h
+include/npupnp/upnpdebug.h
+include/npupnp/upnpdescription.h
+include/npupnp/upnptools.h
+lib/libnpupnp.la
+lib/pkgconfig/libnpupnp.pc
diff -r 5e1a1725e12c -r be1d732f2650 net/libnpupnp/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libnpupnp/buildlink3.mk       Mon Nov 01 21:47:01 2021 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/11/01 21:47:01 wiz Exp $
+
+BUILDLINK_TREE+=       libnpupnp
+
+.if !defined(LIBNPUPNP_BUILDLINK3_MK)
+LIBNPUPNP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libnpupnp+=      libnpupnp>=4.1.5
+BUILDLINK_PKGSRCDIR.libnpupnp?=                ../../net/libnpupnp
+
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../www/libmicrohttpd/buildlink3.mk"
+.endif # LIBNPUPNP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libnpupnp
diff -r 5e1a1725e12c -r be1d732f2650 net/libnpupnp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libnpupnp/distinfo    Mon Nov 01 21:47:01 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/11/01 21:47:01 wiz Exp $
+
+BLAKE2s (libnpupnp-4.1.5.tar.gz) = 37edfc35471842994f1533175a648febb9a7a0be928545fe9cfc0c2c407c90ec
+SHA512 (libnpupnp-4.1.5.tar.gz) = a7b2f620c846f2127220a062eab76f2c06b3eee4503d9f4922d7d6342feea19381be1486bf1cb033c44275f83ab90be3f8f2c09f0ec6f0af7367c314023c889e
+Size (libnpupnp-4.1.5.tar.gz) = 545672 bytes
+SHA1 (patch-src_threadutil_ThreadPool.cpp) = c08d8d859c3f1a4ba2df511f4e0866ae063c6f0b
diff -r 5e1a1725e12c -r be1d732f2650 net/libnpupnp/patches/patch-src_threadutil_ThreadPool.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libnpupnp/patches/patch-src_threadutil_ThreadPool.cpp Mon Nov 01 21:47:01 2021 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_threadutil_ThreadPool.cpp,v 1.1 2021/11/01 21:47:01 wiz Exp $
+
+Add header for setpriority().
+
+--- src/threadutil/ThreadPool.cpp.orig 2021-08-19 06:17:24.000000000 +0000
++++ src/threadutil/ThreadPool.cpp
+@@ -42,6 +42,7 @@
+ #include <mutex>
+ #include <condition_variable>
+ #include <iostream>
++#include <sys/resource.h>
+ 
+ using namespace std::chrono;
+ 



Home | Main Index | Thread Index | Old Index