diff options
Diffstat (limited to 'net')
| -rw-r--r-- | net/Makefile | 1 | ||||
| -rw-r--r-- | net/nbdkit/Makefile | 4 | ||||
| -rw-r--r-- | net/nbdkit/distinfo | 6 | ||||
| -rw-r--r-- | net/nbdkit/pkg-plist | 14 | ||||
| -rw-r--r-- | net/uvgrtp/Makefile | 24 | ||||
| -rw-r--r-- | net/uvgrtp/distinfo | 3 | ||||
| -rw-r--r-- | net/uvgrtp/files/patch-CMakeLists.txt | 20 | ||||
| -rw-r--r-- | net/uvgrtp/files/patch-src_reception__flow.hh | 10 | ||||
| -rw-r--r-- | net/uvgrtp/files/patch-src_socket.hh | 12 | ||||
| -rw-r--r-- | net/uvgrtp/files/patch-src_srtp_base.hh | 12 | ||||
| -rw-r--r-- | net/uvgrtp/pkg-descr | 10 | ||||
| -rw-r--r-- | net/uvgrtp/pkg-plist | 19 |
12 files changed, 127 insertions, 8 deletions
diff --git a/net/Makefile b/net/Makefile index a2cfda5f56a8..b3e4f607ca3f 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1658,6 +1658,7 @@ SUBDIR += usbredir SUBDIR += usockets SUBDIR += utftpd + SUBDIR += uvgrtp SUBDIR += v2ray SUBDIR += vde SUBDIR += vde2 diff --git a/net/nbdkit/Makefile b/net/nbdkit/Makefile index d6fe1b73312f..a69762e098e9 100644 --- a/net/nbdkit/Makefile +++ b/net/nbdkit/Makefile @@ -1,5 +1,5 @@ PORTNAME= nbdkit -PORTVERSION= 1.44.4 +PORTVERSION= 1.46.0 CATEGORIES= net # XXX Although nbdkit uses github for its homepage, the release tarballs served # by github haven't been through autoconf. So we must download the sources @@ -68,6 +68,8 @@ RUBY_CONFIGURE_ENABLE= ruby SSH_LIB_DEPENDS= libssh.so:security/libssh SSH_CONFIGURE_WITH= ssh ZLIB_CONFIGURE_WITH= zlib +# Fix "WARNING: zlib-ng not found, zlib operations will run slower" +ZLIB_LIB_DEPENDS= libz-ng.so:archivers/zlib-ng ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd ZSTD_CONFIGURE_WITH= libzstd diff --git a/net/nbdkit/distinfo b/net/nbdkit/distinfo index bfeb3cec6b8c..b3e37afe7a71 100644 --- a/net/nbdkit/distinfo +++ b/net/nbdkit/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1761865788 -SHA256 (nbdkit-1.44.4.tar.gz) = 281d83daf954e04c739a5f29d10e5440de69e9009654a2935aee7cbf3aebca91 -SIZE (nbdkit-1.44.4.tar.gz) = 2659658 +TIMESTAMP = 1766254321 +SHA256 (nbdkit-1.46.0.tar.gz) = 149aebf9a754786adc619a286e16803e7043fb742f6ee8709b8e26dd7949d0ce +SIZE (nbdkit-1.46.0.tar.gz) = 2739966 diff --git a/net/nbdkit/pkg-plist b/net/nbdkit/pkg-plist index 0a4abbe09224..3b7d0d063b04 100644 --- a/net/nbdkit/pkg-plist +++ b/net/nbdkit/pkg-plist @@ -3,9 +3,10 @@ include/nbdkit-common.h include/nbdkit-filter.h include/nbdkit-plugin.h include/nbdkit-version.h +lib/nbdkit/filters/nbdkit-count-filter.so +lib/nbdkit/filters/nbdkit-map-filter.so lib/nbdkit/filters/nbdkit-blocksize-filter.so lib/nbdkit/filters/nbdkit-cache-filter.so -lib/nbdkit/filters/nbdkit-cacheextents-filter.so lib/nbdkit/filters/nbdkit-cow-filter.so lib/nbdkit/filters/nbdkit-delay-filter.so lib/nbdkit/filters/nbdkit-error-filter.so @@ -38,7 +39,6 @@ lib/nbdkit/plugins/nbdkit-example3-plugin.so lib/nbdkit/plugins/nbdkit-file-plugin.so lib/nbdkit/plugins/nbdkit-floppy-plugin.so lib/nbdkit/plugins/nbdkit-full-plugin.so -%%ZLIB%%lib/nbdkit/plugins/nbdkit-gzip-plugin.so lib/nbdkit/plugins/nbdkit-info-plugin.so %%LIBVIRT%%lib/nbdkit/plugins/nbdkit-libvirt-plugin.so lib/nbdkit/plugins/nbdkit-memory-plugin.so @@ -80,12 +80,13 @@ lib/nbdkit/plugins/nbdkit-cdi-plugin.so lib/nbdkit/plugins/nbdkit-ondemand-plugin.so lib/nbdkit/plugins/nbdkit-ones-plugin.so lib/nbdkit/plugins/nbdkit-sparse-random-plugin.so +%%ZLIB%%lib/nbdkit/filters/nbdkit-gzip-filter.so +%%ZLIB%%lib/nbdkit/filters/nbdkit-indexed-gzip-filter.so libdata/pkgconfig/nbdkit.pc sbin/nbdkit share/bash-completion/completions/nbdkit %%MANPAGES%%share/man/man1/nbdkit-blocksize-filter.1.gz %%MANPAGES%%share/man/man1/nbdkit-cache-filter.1.gz -%%MANPAGES%%share/man/man1/nbdkit-cacheextents-filter.1.gz %%MANPAGES%%share/man/man1/nbdkit-captive.1.gz %%MANPAGES%%share/man/man1/nbdkit-cow-filter.1.gz %%MANPAGES%%%%CURL%%share/man/man1/nbdkit-curl-plugin.1.gz @@ -103,7 +104,8 @@ share/bash-completion/completions/nbdkit %%MANPAGES%%share/man/man1/nbdkit-floppy-plugin.1.gz %%MANPAGES%%share/man/man1/nbdkit-fua-filter.1.gz %%MANPAGES%%share/man/man1/nbdkit-full-plugin.1.gz -%%MANPAGES%%%%ZLIB%%share/man/man1/nbdkit-gzip-plugin.1.gz +%%MANPAGES%%%%ZLIB%%share/man/man1/nbdkit-gzip-filter.1.gz +%%MANPAGES%%%%ZLIB%%share/man/man1/nbdkit-indexed-gzip-filter.1.gz %%MANPAGES%%share/man/man1/nbdkit-info-plugin.1.gz %%MANPAGES%%share/man/man1/nbdkit-ip-filter.1.gz %%MANPAGES%%%%LIBVIRT%%share/man/man1/nbdkit-libvirt-plugin.1.gz @@ -232,3 +234,7 @@ share/bash-completion/completions/nbdkit %%MANPAGES%%share/man/man3/nbdkit_vdebug.3.gz %%MANPAGES%%share/man/man3/nbdkit_verror.3.gz %%MANPAGES%%share/man/man3/nbdkit_vprintf_intern.3.gz +%%MANPAGES%%share/man/man1/nbdkit-count-filter.1.gz +%%MANPAGES%%share/man/man1/nbdkit-map-filter.1.gz +%%MANPAGES%%share/man/man1/nbdkit-release-notes-1.46.1.gz +%%MANPAGES%%share/man/man3/nbdkit_debug_hexdump.3.gz diff --git a/net/uvgrtp/Makefile b/net/uvgrtp/Makefile new file mode 100644 index 000000000000..aac8115be785 --- /dev/null +++ b/net/uvgrtp/Makefile @@ -0,0 +1,24 @@ +PORTNAME= ${GH_PROJECT:tl} +PORTVERSION= 3.1.6 +DISTVERSIONPREFIX= v +CATEGORIES= net + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Open-source C++ library for RTP/SRTP media delivery +WWW= https://ultravideo.fi/uvgrtp.html + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= cmake compiler:c++17-lang pkgconfig +CMAKE_ARGS= -DPKG_CONFIG_PATH:STRING=libdata/pkgconfig +CMAKE_ON= UVGRTP_DISABLE_EXAMPLES UVGRTP_DISABLE_TESTS \ + UVGRTP_RELEASE_COMMIT +LDFLAGS_i386= -Wl,-znotext +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= ultravideo +GH_PROJECT= uvgRTP + +.include <bsd.port.mk> diff --git a/net/uvgrtp/distinfo b/net/uvgrtp/distinfo new file mode 100644 index 000000000000..e37c19ebf5fc --- /dev/null +++ b/net/uvgrtp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1742464765 +SHA256 (ultravideo-uvgRTP-v3.1.6_GH0.tar.gz) = 3a8b175ae280a26eb6249db879da99e80d39df2443062cce9e3047fc05db5ca2 +SIZE (ultravideo-uvgRTP-v3.1.6_GH0.tar.gz) = 458710 diff --git a/net/uvgrtp/files/patch-CMakeLists.txt b/net/uvgrtp/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..8de1f8941968 --- /dev/null +++ b/net/uvgrtp/files/patch-CMakeLists.txt @@ -0,0 +1,20 @@ +--- CMakeLists.txt.orig 2025-03-20 09:59:25 UTC ++++ CMakeLists.txt +@@ -49,7 +49,7 @@ include(cmake/FindDependencies.cmake) + include(cmake/Versioning.cmake) + + +-add_library(${PROJECT_NAME}) ++add_library(${PROJECT_NAME} SHARED) + set_target_properties(${PROJECT_NAME} PROPERTIES + SOVERSION "${PROJECT_VERSION_MAJOR}" + VERSION "${LIBRARY_VERSION}" +@@ -239,7 +239,7 @@ if (UNIX) + list(APPEND UVGRTP_LINKER_FLAGS "-lpthread") + endif() + # Check PKG_CONFIG_PATH, if not defined, use lib/pkgconfig +- if(NOT DEFINED ENV{PKG_CONFIG_PATH}) ++ if(NOT DEFINED PKG_CONFIG_PATH) + set(PKG_CONFIG_PATH "${CMAKE_INSTALL_LIBDIR}/pkgconfig") + message("PKG_CONFIG_PATH is not set. Setting it to ${PKG_CONFIG_PATH}") + endif(NOT DEFINED ENV{PKG_CONFIG_PATH}) diff --git a/net/uvgrtp/files/patch-src_reception__flow.hh b/net/uvgrtp/files/patch-src_reception__flow.hh new file mode 100644 index 000000000000..c10f3a4dc898 --- /dev/null +++ b/net/uvgrtp/files/patch-src_reception__flow.hh @@ -0,0 +1,10 @@ +--- src/reception_flow.hh.orig 2025-03-20 09:59:25 UTC ++++ src/reception_flow.hh +@@ -16,6 +16,7 @@ + #ifdef _WIN32 + #include <ws2ipdef.h> + #else ++#include <arpa/inet.h> + #include <netinet/ip.h> + #include <sys/socket.h> + #endif diff --git a/net/uvgrtp/files/patch-src_socket.hh b/net/uvgrtp/files/patch-src_socket.hh new file mode 100644 index 000000000000..15f8603f5390 --- /dev/null +++ b/net/uvgrtp/files/patch-src_socket.hh @@ -0,0 +1,12 @@ +--- src/socket.hh.orig 2025-03-20 09:59:25 UTC ++++ src/socket.hh +@@ -10,8 +10,8 @@ + #include <ws2ipdef.h> + #include <WS2tcpip.h> + #else +-#include <netinet/ip.h> + #include <arpa/inet.h> ++#include <netinet/ip.h> + #include <sys/uio.h> + #include <sys/socket.h> + #include <netinet/in.h> diff --git a/net/uvgrtp/files/patch-src_srtp_base.hh b/net/uvgrtp/files/patch-src_srtp_base.hh new file mode 100644 index 000000000000..dab7f0449533 --- /dev/null +++ b/net/uvgrtp/files/patch-src_srtp_base.hh @@ -0,0 +1,12 @@ +--- src/srtp/base.hh.orig 2025-03-20 09:59:25 UTC ++++ src/srtp/base.hh +@@ -7,8 +7,8 @@ + #include <mswsock.h> + #include <inaddr.h> + #else +-#include <netinet/ip.h> + #include <arpa/inet.h> ++#include <netinet/ip.h> + #endif + + #include <cstdint> diff --git a/net/uvgrtp/pkg-descr b/net/uvgrtp/pkg-descr new file mode 100644 index 000000000000..42e6fc3a8011 --- /dev/null +++ b/net/uvgrtp/pkg-descr @@ -0,0 +1,10 @@ +uvgRTP is an Real-Time Transport Protocol (RTP) library written in C++ +with a focus on simple to use and high-efficiency media delivery over the +Internet. It features an intuitive and easy-to-use API, built-in support +for transporting Versatile Video Coding (VVC), High Efficiency Video +Coding (HEVC), Advanced Video Coding (AVC) encoded video and Opus encoded +audio. Furthermore, uvgRTP can be used to transport Visual Volumetric +Video-based Coding (V3C) encoded volumetric video. uvgRTP also supports +End-to-End Encrypted (E2EE) media delivery using the combination of +Secure RTP (SRTP) and ZRTP. uvgRTP has been designed to minimize memory +operations to reduce its CPU usage and latency. diff --git a/net/uvgrtp/pkg-plist b/net/uvgrtp/pkg-plist new file mode 100644 index 000000000000..dad4affbf956 --- /dev/null +++ b/net/uvgrtp/pkg-plist @@ -0,0 +1,19 @@ +include/uvgrtp/clock.hh +include/uvgrtp/context.hh +include/uvgrtp/frame.hh +include/uvgrtp/lib.hh +include/uvgrtp/media_stream.hh +include/uvgrtp/rtcp.hh +include/uvgrtp/session.hh +include/uvgrtp/util.hh +include/uvgrtp/version.hh +include/uvgrtp/wrapper_c.hh +lib/cmake/uvgrtp/uvgrtpConfig.cmake +lib/cmake/uvgrtp/uvgrtpConfigVersion.cmake +lib/cmake/uvgrtp/uvgrtpMacros.cmake +lib/cmake/uvgrtp/uvgrtpTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/uvgrtp/uvgrtpTargets.cmake +lib/libuvgrtp.so +lib/libuvgrtp.so.3 +lib/libuvgrtp.so.3.1.6 +libdata/pkgconfig/uvgrtp.pc |
