git: 0321fae50300 - main - net/bctoolbox: Update version 0.6.0=>5.1.38
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 15 Jun 2022 13:46:17 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0321fae503000c0b6d3815d518f477d68fa66e24
commit 0321fae503000c0b6d3815d518f477d68fa66e24
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-06-15 13:43:29 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-06-15 13:45:54 +0000
net/bctoolbox: Update version 0.6.0=>5.1.38
- Update MASTER_SITES
- Change LICENSE from GPLv2+ to GPLv3
- Take MAINTAINERSHIP
- Update pkg-descr
- Update WWW
Relnotes: https://gitlab.linphone.org/BC/public/bctoolbox/-/tags/5.1.38
---
net/bctoolbox/Makefile | 17 +++++++++--------
net/bctoolbox/distinfo | 6 +++---
net/bctoolbox/files/patch-src-CMakeLists.txt | 4 ++--
net/bctoolbox/files/patch-src-utils-port.c | 4 ++--
net/bctoolbox/pkg-descr | 5 +++--
net/bctoolbox/pkg-plist | 20 +++++++++++++++-----
6 files changed, 34 insertions(+), 22 deletions(-)
diff --git a/net/bctoolbox/Makefile b/net/bctoolbox/Makefile
index 801937e3cd57..2c95f69fe655 100644
--- a/net/bctoolbox/Makefile
+++ b/net/bctoolbox/Makefile
@@ -1,14 +1,13 @@
PORTNAME= bctoolbox
-PORTVERSION= 0.6.0
-PORTREVISION= 3
+PORTVERSION= 5.1.38
CATEGORIES= net
-MASTER_SITES= https://www.linphone.org/releases/sources/bctoolbox/
+MASTER_SITES= https://gitlab.linphone.org/BC/public/${PORTNAME}/-/archive/${PORTVERSION}/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bofh@FreeBSD.org
COMMENT= Belledonne Communications utility library
-LICENSE= GPLv2+
-LICENSE_FILE= ${WRKSRC}/COPYING
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= mbedtls>=2.3.0_2:security/mbedtls
LIB_DEPENDS= libmbedtls.so:security/mbedtls
@@ -16,9 +15,11 @@ LIB_DEPENDS= libmbedtls.so:security/mbedtls
USES= cmake compiler:c++11-lib
USE_LDCONFIG= yes
-CFLAGS+= -DHAVE_ARC4RANDOM
CMAKE_ARGS= -DENABLE_STATIC=NO -DENABLE_STRICT=NO \
- -DENABLE_TESTS_COMPONENT=NO
+ -DENABLE_TESTS_COMPONENT=NO \
+ -DCMAKE_SKIP_INSTALL_RPATH=ON
+
+CFLAGS+= -DHAVE_ARC4RANDOM
post-patch:
@${REINPLACE_CMD} '/clock_gettime/d' ${WRKSRC}/CMakeLists.txt
diff --git a/net/bctoolbox/distinfo b/net/bctoolbox/distinfo
index 551da5d7beaf..8979d3a671be 100644
--- a/net/bctoolbox/distinfo
+++ b/net/bctoolbox/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1505998461
-SHA256 (bctoolbox-0.6.0.tar.gz) = 4657e1970df262f77e47dee63b1135a5e063b63b0c42cfe7f41642b22e3831a8
-SIZE (bctoolbox-0.6.0.tar.gz) = 111344
+TIMESTAMP = 1655299638
+SHA256 (bctoolbox-5.1.38.tar.gz) = 4301b2f9caf7d6f63c381476f69296ed7676dbe384683cba545b866e567c56b1
+SIZE (bctoolbox-5.1.38.tar.gz) = 181516
diff --git a/net/bctoolbox/files/patch-src-CMakeLists.txt b/net/bctoolbox/files/patch-src-CMakeLists.txt
index c8969d2f44a8..2ae0a23516fa 100644
--- a/net/bctoolbox/files/patch-src-CMakeLists.txt
+++ b/net/bctoolbox/files/patch-src-CMakeLists.txt
@@ -1,6 +1,6 @@
---- src/CMakeLists.txt.orig 2017-07-17 12:16:03 UTC
+--- src/CMakeLists.txt.orig 2022-05-27 19:35:26 UTC
+++ src/CMakeLists.txt
-@@ -119,6 +119,7 @@ if(ENABLE_SHARED)
+@@ -177,6 +177,7 @@ if(ENABLE_SHARED)
)
endif()
endif()
diff --git a/net/bctoolbox/files/patch-src-utils-port.c b/net/bctoolbox/files/patch-src-utils-port.c
index 755fd32a214c..c6bc479b4ef7 100644
--- a/net/bctoolbox/files/patch-src-utils-port.c
+++ b/net/bctoolbox/files/patch-src-utils-port.c
@@ -1,6 +1,6 @@
---- src/utils/port.c.orig 2017-07-17 12:16:03 UTC
+--- src/utils/port.c.orig 2022-05-27 19:35:26 UTC
+++ src/utils/port.c
-@@ -1331,7 +1331,7 @@ void bctbx_sockaddr_remove_nat64_mapping(const struct
+@@ -1438,7 +1438,7 @@ void bctbx_sockaddr_remove_nat64_mapping(const struct
if (htonl(0x0064ff9b) ==
#ifdef _MSC_VER
((in6->sin6_addr.u.Word[0] << 16) & in6->sin6_addr.u.Word[1])
diff --git a/net/bctoolbox/pkg-descr b/net/bctoolbox/pkg-descr
index f452be1a185e..53b138dd0a5f 100644
--- a/net/bctoolbox/pkg-descr
+++ b/net/bctoolbox/pkg-descr
@@ -1,3 +1,4 @@
-Belledonne Communications utility library.
+Utilities library used by Belledonne Communications softwares like
+belle-sip, mediastreamer2 and liblinphone.
-WWW: https://www.linphone.org/
+WWW: https://gitlab.linphone.org/BC/public/bctoolbox
diff --git a/net/bctoolbox/pkg-plist b/net/bctoolbox/pkg-plist
index afbada4891d4..72006894e77f 100644
--- a/net/bctoolbox/pkg-plist
+++ b/net/bctoolbox/pkg-plist
@@ -1,20 +1,30 @@
+include/bctoolbox/charconv.h
+include/bctoolbox/compiler.h
include/bctoolbox/crypto.h
+include/bctoolbox/crypto.hh
include/bctoolbox/defs.h
include/bctoolbox/exception.hh
include/bctoolbox/list.h
include/bctoolbox/logging.h
include/bctoolbox/map.h
+include/bctoolbox/param_string.h
include/bctoolbox/parser.h
include/bctoolbox/port.h
+include/bctoolbox/regex.h
+include/bctoolbox/utils.hh
include/bctoolbox/vconnect.h
include/bctoolbox/vfs.h
+include/bctoolbox/vfs_encrypted.hh
+include/bctoolbox/vfs_standard.h
lib/libbctoolbox.so
lib/libbctoolbox.so.1
libdata/pkgconfig/bctoolbox.pc
+%%DATADIR%%/cmake/ConfigureSpecfile.cmake
+%%DATADIR%%/cmake/MakeArchive.cmake
+%%DATADIR%%/cmake/bctoolboxCMakeUtils.cmake
+%%DATADIR%%/cmake/bctoolboxConfig.cmake
+%%DATADIR%%/cmake/bctoolboxConfigVersion.cmake
+%%DATADIR%%/cmake/bctoolboxTargets-%%CMAKE_BUILD_TYPE%%.cmake
+%%DATADIR%%/cmake/bctoolboxTargets.cmake
%%DATADIR%%/cmake/BcGitVersion.cmake
-%%DATADIR%%/cmake/BcToolboxCMakeUtils.cmake
-%%DATADIR%%/cmake/BcToolboxConfig.cmake
-%%DATADIR%%/cmake/BcToolboxConfigVersion.cmake
-%%DATADIR%%/cmake/BcToolboxTargets-%%CMAKE_BUILD_TYPE%%.cmake
-%%DATADIR%%/cmake/BcToolboxTargets.cmake
%%DATADIR%%/cmake/gitversion.h.in