pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/libnpupnp



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Nov  1 21:47:01 UTC 2021

Added Files:
        pkgsrc/net/libnpupnp: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/net/libnpupnp/patches: patch-src_threadutil_ThreadPool.cpp

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/libnpupnp/DESCR \
    pkgsrc/net/libnpupnp/Makefile pkgsrc/net/libnpupnp/PLIST \
    pkgsrc/net/libnpupnp/buildlink3.mk pkgsrc/net/libnpupnp/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/net/libnpupnp/patches/patch-src_threadutil_ThreadPool.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/net/libnpupnp/DESCR
diff -u /dev/null pkgsrc/net/libnpupnp/DESCR:1.1
--- /dev/null   Mon Nov  1 21:47:01 2021
+++ pkgsrc/net/libnpupnp/DESCR  Mon Nov  1 21:47:01 2021
@@ -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.
Index: pkgsrc/net/libnpupnp/Makefile
diff -u /dev/null pkgsrc/net/libnpupnp/Makefile:1.1
--- /dev/null   Mon Nov  1 21:47:01 2021
+++ pkgsrc/net/libnpupnp/Makefile       Mon Nov  1 21:47:01 2021
@@ -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"
Index: pkgsrc/net/libnpupnp/PLIST
diff -u /dev/null pkgsrc/net/libnpupnp/PLIST:1.1
--- /dev/null   Mon Nov  1 21:47:01 2021
+++ pkgsrc/net/libnpupnp/PLIST  Mon Nov  1 21:47:01 2021
@@ -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
Index: pkgsrc/net/libnpupnp/buildlink3.mk
diff -u /dev/null pkgsrc/net/libnpupnp/buildlink3.mk:1.1
--- /dev/null   Mon Nov  1 21:47:01 2021
+++ pkgsrc/net/libnpupnp/buildlink3.mk  Mon Nov  1 21:47:01 2021
@@ -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
Index: pkgsrc/net/libnpupnp/distinfo
diff -u /dev/null pkgsrc/net/libnpupnp/distinfo:1.1
--- /dev/null   Mon Nov  1 21:47:01 2021
+++ pkgsrc/net/libnpupnp/distinfo       Mon Nov  1 21:47:01 2021
@@ -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

Index: pkgsrc/net/libnpupnp/patches/patch-src_threadutil_ThreadPool.cpp
diff -u /dev/null pkgsrc/net/libnpupnp/patches/patch-src_threadutil_ThreadPool.cpp:1.1
--- /dev/null   Mon Nov  1 21:47:01 2021
+++ pkgsrc/net/libnpupnp/patches/patch-src_threadutil_ThreadPool.cpp    Mon Nov  1 21:47:01 2021
@@ -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