diff options
Diffstat (limited to 'net')
| -rw-r--r-- | net/Makefile | 1 | ||||
| -rw-r--r-- | net/samba423/Makefile | 2 | ||||
| -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 |
10 files changed, 112 insertions, 1 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/samba423/Makefile b/net/samba423/Makefile index 448ab05f8b52..369b53e9279b 100644 --- a/net/samba423/Makefile +++ b/net/samba423/Makefile @@ -303,7 +303,7 @@ GPGME_CONFIGURE_WITH= gpgme GSSAPI_BUILTIN_USES= bison GSSAPI_MIT_USES= bison gssapi:mit -GSSAPI_MIT_CONFIGURE_ON= --with-system-mitkrb5 ${GSSAPIBASEDIR} \ +GSSAPI_MIT_CONFIGURE_ON= --with-system-mitkrb5 \ --with-system-mitkdc=${GSSAPIBASEDIR}/sbin/krb5kdc \ --with-experimental-mit-ad-dc GSSAPI_MIT_PLIST_FILES= ${SAMBA_MODULESDIR}/krb5/winbind_krb5_localauth.so \ 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 |
