Date: Mon, 01 Jun 2026 17:09:30 +0000 From: Daniel Engberg <diizzy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 61637f88ecb8 - main - www/srt: Update to 1.5.5 and enable "make test" Message-ID: <6a1dbcca.47905.506e34d7@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=61637f88ecb86bfefbb354179a267369a4eb2fe4 commit 61637f88ecb86bfefbb354179a267369a4eb2fe4 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2026-05-31 21:09:46 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2026-06-01 17:06:32 +0000 www/srt: Update to 1.5.5 and enable "make test" * Enable "make test", depends on devel/googletest and using -std=c++17 * Disable running unit tests in parallel due to race conditions * Remove option to compile with no encryption (defeats the point of the library) * Remove HEAVY_LOGGING option, rely on the framework instead Changelog: https://github.com/Haivision/srt/releases/tag/v1.5.5 PR: 295356 Approved by: maintainer timeout, 2+ weeks --- www/srt/Makefile | 31 +++++++++++++------------------ www/srt/distinfo | 6 +++--- www/srt/pkg-plist | 2 +- 3 files changed, 17 insertions(+), 22 deletions(-) diff --git a/www/srt/Makefile b/www/srt/Makefile index eb70bd66c73a..5470185ad604 100644 --- a/www/srt/Makefile +++ b/www/srt/Makefile @@ -1,6 +1,6 @@ PORTNAME= srt DISTVERSIONPREFIX= v -DISTVERSION= 1.5.4 +DISTVERSION= 1.5.5 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org @@ -11,42 +11,37 @@ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= bash:shells/bash +TEST_DEPENDS= googletest>=0:devel/googletest -USES= cmake compiler:c++11-lang pathfix shebangfix +USES= cmake:testing compiler:c++17-lang pathfix shebangfix USE_GITHUB= yes GH_ACCOUNT= Haivision SHEBANG_FILES= scripts/srt-ffplay -# CMAKE_TESTING_ON= ENABLE_TESTING \ -# ENABLE_UNITTESTS -# 1 test fails when net.inet6.ip6.v6only=1 -# https://github.com/Haivision/srt/issues/2389 -# tests fail to compile, -# https://github.com/Haivision/srt/issues/2796 -# https://github.com/Haivision/srt/issues/2758 +CMAKE_TESTING_ON= ENABLE_TESTING \ + ENABLE_UNITTESTS +CMAKE_TESTING_JOBS= 1 CMAKE_OFF= CMAKE_CXX_EXTENSIONS \ ENABLE_STATIC CMAKE_ON= ENABLE_SHOW_PROJECT_CONFIG +.if defined(WITH_DEBUG) +CMAKE_ON+= ENABLE_DEBUG +.endif +.if make(test) +CMAKE_ARGS= -DUSE_CXX_STD=c++17 +.endif -OPTIONS_DEFINE= HEAVY_LOGGING OPTIONS_RADIO= CRYPTO -OPTIONS_RADIO_CRYPTO= GNUTLS NONE OPENSSL +OPTIONS_RADIO_CRYPTO= GNUTLS OPENSSL OPTIONS_DEFAULT= OPENSSL -HEAVY_LOGGING_DESC= Enable heavy logging (only for debugging) -NONE_DESC= No encryption support - GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls \ libnettle.so:security/nettle GNUTLS_CMAKE_ON= -DUSE_ENCLIB=gnutls -HEAVY_LOGGING_CMAKE_BOOL= ENABLE_HEAVY_LOGGING # may also need srt_setloglevel(LOG_DEBUG) in/after srt_startup() call - -NONE_CMAKE_ON= -DENABLE_ENCRYPTION=OFF - OPENSSL_USES= ssl OPENSSL_CMAKE_ON= -DUSE_ENCLIB=openssl diff --git a/www/srt/distinfo b/www/srt/distinfo index 3cb9003e9731..be2ad5839359 100644 --- a/www/srt/distinfo +++ b/www/srt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1731706792 -SHA256 (Haivision-srt-v1.5.4_GH0.tar.gz) = d0a8b600fe1b4eaaf6277530e3cfc8f15b8ce4035f16af4a5eb5d4b123640cdd -SIZE (Haivision-srt-v1.5.4_GH0.tar.gz) = 1743040 +TIMESTAMP = 1779014403 +SHA256 (Haivision-srt-v1.5.5_GH0.tar.gz) = c3518bc43a71b5289032395b2db4c3e09e73d78b54247d56c14553a503b491cf +SIZE (Haivision-srt-v1.5.5_GH0.tar.gz) = 1776410 diff --git a/www/srt/pkg-plist b/www/srt/pkg-plist index 0792466e36b6..8ca461683b24 100644 --- a/www/srt/pkg-plist +++ b/www/srt/pkg-plist @@ -10,6 +10,6 @@ include/srt/udt.h include/srt/version.h lib/libsrt.so lib/libsrt.so.1.5 -lib/libsrt.so.1.5.4 +lib/libsrt.so.1.5.5 libdata/pkgconfig/haisrt.pc libdata/pkgconfig/srt.pchome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1dbcca.47905.506e34d7>
