Date: Mon, 4 Nov 2024 21:21:01 GMT From: Vladimir Druzenko <vvd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: 3b5e2b275eb7 - 2024Q4 - devel/libqb: update 2.0.6 =?utf-8?Q?=E2=86=92?= 2.0.8, fix CVE-2023-39976, take maintainership Message-ID: <202411042121.4A4LL1BZ081260@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch 2024Q4 has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b5e2b275eb786a87844f5a4ce8487f47fb45737 commit 3b5e2b275eb786a87844f5a4ce8487f47fb45737 Author: Älven <alster@vinterdalen.se> AuthorDate: 2024-11-04 20:34:07 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-11-04 21:20:13 +0000 devel/libqb: update 2.0.6 → 2.0.8, fix CVE-2023-39976, take maintainership log_blackbox.c in libqb before 2.0.8 allows a buffer overflow via long log messages because the header size is not considered. https://nvd.nist.gov/vuln/detail/CVE-2023-39976 Changelogs: https://github.com/ClusterLabs/libqb/releases/tag/v2.0.7 https://github.com/ClusterLabs/libqb/releases/tag/v2.0.8 Improve port: remove GNU_CONFIGURE_MANPREFIX, update pkg-descr, fix warnings from portclippy. PR: 282536 MFH: 2024Q4 (cherry picked from commit c08f528cd36c76d76f221e7af8d5918054978bdf) --- devel/libqb/Makefile | 24 ++++++++++++------------ devel/libqb/distinfo | 6 +++--- devel/libqb/files/patch-configure | 11 ----------- devel/libqb/pkg-descr | 10 +++++++--- devel/libqb/pkg-plist | 2 +- 5 files changed, 23 insertions(+), 30 deletions(-) diff --git a/devel/libqb/Makefile b/devel/libqb/Makefile index d2e535ee287f..886818ad2d40 100644 --- a/devel/libqb/Makefile +++ b/devel/libqb/Makefile @@ -1,44 +1,44 @@ PORTNAME= libqb -DISTVERSION= 2.0.6 -PORTREVISION= 1 +DISTVERSION= 2.0.8 CATEGORIES= devel MASTER_SITES= https://github.com/ClusterLabs/${PORTNAME}/releases/download/v${DISTVERSION}/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= alster@vinterdalen.se COMMENT= High performance logging, tracing, ipc, and polling library -WWW= https://github.com/ClusterLabs/libqb/wiki +WWW= https://github.com/ClusterLabs/libqb/wiki LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING TEST_DEPENDS= checkmk:devel/check -GROUPS= haclient - -QB_SOCKET_DIR?= /var/run/qb -PLIST_SUB+= QB_SOCKET_DIR=${QB_SOCKET_DIR} - USES= cpe gmake gnome libtool pkgconfig python tar:xz CPE_VENDOR= clusterlabs -GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_GNOME= libxml2 USE_LDCONFIG= yes +GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-socket-dir=${QB_SOCKET_DIR} \ PACKAGE_STRING="${PORTNAME} ${DISTVERSION}" \ PACKAGE_VERSION=${DISTVERSION} -LDFLAGS= -B${LOCALBASE}/bin INSTALL_TARGET= install-strip TEST_TARGET= check +LDFLAGS+= -B${LOCALBASE}/bin + +GROUPS= haclient + +PLIST_SUB+= QB_SOCKET_DIR=${QB_SOCKET_DIR} + OPTIONS_DEFINE= DOCS DOXYGEN OPTIONS_SUB= yes DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen +QB_SOCKET_DIR?= /var/run/qb + post-configure: ${REINPLACE_CMD} -e 's/install: install-am/install:/g' ${WRKSRC}/doxygen2man/Makefile diff --git a/devel/libqb/distinfo b/devel/libqb/distinfo index 7bd200ba9a47..3eee56e1455c 100644 --- a/devel/libqb/distinfo +++ b/devel/libqb/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1678190523 -SHA256 (libqb-2.0.6.tar.xz) = f1e744208e8f69934804c14e05d9707668f99d4867de9cccf2f7a6bf4d48331c -SIZE (libqb-2.0.6.tar.xz) = 507400 +TIMESTAMP = 1730659822 +SHA256 (libqb-2.0.8.tar.xz) = b42531fc20b8ac02f4c6d0a4dc49f7c4a1eef09bdb13af5f6927b7fc49522ee6 +SIZE (libqb-2.0.8.tar.xz) = 521600 diff --git a/devel/libqb/files/patch-configure b/devel/libqb/files/patch-configure deleted file mode 100644 index 8816040ff33d..000000000000 --- a/devel/libqb/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig 2022-01-19 20:58:44 UTC -+++ configure -@@ -21201,7 +21201,7 @@ done - - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - LIBS="$LIBS $PTHREAD_LIBS" --for ac_func in pthread_spin_lock pthread_setschedparam \ -+for ac_func in pthread_setschedparam \ - pthread_mutexattr_setpshared \ - pthread_condattr_setpshared \ - sem_timedwait semtimedop diff --git a/devel/libqb/pkg-descr b/devel/libqb/pkg-descr index eae12e7f97d0..1dc4c10e98cb 100644 --- a/devel/libqb/pkg-descr +++ b/devel/libqb/pkg-descr @@ -1,3 +1,7 @@ -libqb is a library with the primary purpose of providing high performance -client server reusable features. It provides high performance logging, tracing, -ipc, and poll. +libqb is a library with the primary purpose of providing high-performance, +reusable features for client-server architecture, such as logging, tracing, +inter-process communication (IPC), and polling. + +libqb is not intended to be an all-encompassing library, but instead provide +focused APIs that are highly tuned for maximum performance for client-server +applications. diff --git a/devel/libqb/pkg-plist b/devel/libqb/pkg-plist index 23cc32463e0b..d3d72c2f33ba 100644 --- a/devel/libqb/pkg-plist +++ b/devel/libqb/pkg-plist @@ -15,7 +15,7 @@ include/qb/qbutil.h lib/libqb.a lib/libqb.so lib/libqb.so.100 -lib/libqb.so.100.3.0 +lib/libqb.so.100.3.2 libdata/pkgconfig/libqb.pc sbin/qb-blackbox %%PORTDOCS%%%%DOCSDIR%%/COPYING
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411042121.4A4LL1BZ081260>