deskutils/belcard: Update version 5.2.94=>5.4.2

Changelog: https://gitlab.linphone.org/BC/public/belcard/-/tags/5.4.2

Sponsored by:	Cybermancer Infosec
This commit is contained in:
Muhammad Moinur Rahman 2025-03-26 21:32:38 +01:00
parent 0e215e9684
commit 5acdf03123
No known key found for this signature in database
GPG key ID: BDB9B5A617C0BC91
4 changed files with 28 additions and 14 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= belcard PORTNAME= belcard
DISTVERSION= 5.2.94 DISTVERSION= 5.4.2
CATEGORIES= deskutils CATEGORIES= deskutils
MAINTAINER= bofh@FreeBSD.org MAINTAINER= bofh@FreeBSD.org
@ -9,18 +9,21 @@ WWW= https://www.linphone.org/
LICENSE= GPLv3 LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libbctoolbox.so:net/bctoolbox \ BUILD_DEPENDS= ${LOCALBASE}/lib/libbctoolbox.a:net/bctoolbox \
libbelr.so:textproc/belr ${LOCALBASE}/lib/libbcunit.a:devel/bcunit \
${LOCALBASE}/lib/libbelr.a:textproc/belr
USES= cmake compiler:c++17-lang USES= cmake compiler:c++17-lang dos2unix
DOS2UNIX_FILES= ${WRKSRC}/CMakeLists.txt
USE_GITLAB= yes USE_GITLAB= yes
GL_SITE= https://gitlab.linphone.org/BC GL_SITE= https://gitlab.linphone.org/BC
GL_ACCOUNT= public GL_ACCOUNT= public
USE_LDCONFIG= yes USE_LDCONFIG= yes
CMAKE_ARGS= -DCMAKE_PREFIX_PATH=${LOCALBASE} \ CMAKE_ARGS= -DCMAKE_PREFIX_PATH=${LOCALBASE} \
-DENABLE_STATIC=NO \
-DENABLE_STRICT=NO \ -DENABLE_STRICT=NO \
-DENABLE_UNIT_TESTS=NO -DENABLE_UNIT_TESTS=NO
LDFLAGS+= -lpthread
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1690557583 TIMESTAMP = 1743020630
SHA256 (belcard-5.2.94.tar.bz2) = 009c9f139461f9978a4ffbb334c2d300d98ffd8194758a95a5ecd44a255fea9f SHA256 (belcard-5.4.2.tar.bz2) = afbca12cd9c1ab92fbabb88be958e9d7bdddab90929a4eb800762f42998c39d6
SIZE (belcard-5.2.94.tar.bz2) = 150701 SIZE (belcard-5.4.2.tar.bz2) = 157701

View file

@ -0,0 +1,10 @@
--- CMakeLists.txt.orig 2025-03-26 20:27:29 UTC
+++ CMakeLists.txt
@@ -47,6 +47,7 @@ endif()
add_definitions(-D_SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING)
endif()
+find_package(OpenSSL REQUIRED)
find_package(Belr 5.3.0 REQUIRED)
find_package(BCToolbox 5.3.0 REQUIRED OPTIONAL_COMPONENTS tester)

View file

@ -18,9 +18,10 @@ include/belcard/belcard_rfc6474.hpp
include/belcard/belcard_security.hpp include/belcard/belcard_security.hpp
include/belcard/belcard_utils.hpp include/belcard/belcard_utils.hpp
include/belcard/vcard_grammar.hpp include/belcard/vcard_grammar.hpp
lib/libbelcard.so lib/libbelcard.a
lib/libbelcard.so.1 share/BelCard/cmake/BelCardConfig.cmake
%%DATADIR%%/cmake/belcardConfig.cmake share/BelCard/cmake/BelCardConfigVersion.cmake
%%DATADIR%%/cmake/belcardTargets-%%CMAKE_BUILD_TYPE%%.cmake share/BelCard/cmake/BelCardTargets-%%CMAKE_BUILD_TYPE%%.cmake
%%DATADIR%%/cmake/belcardTargets.cmake share/BelCard/cmake/BelCardTargets.cmake
share/belr/grammars/vcard_grammar share/belr/grammars/vcard3_grammar.belr
share/belr/grammars/vcard_grammar.belr