From nobody Mon Nov 4 21:21:01 2024 X-Original-To: dev-commits-ports-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xj4C20NRCz5cZ2s; Mon, 04 Nov 2024 21:21:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xj4C16ydlz4WK1; Mon, 4 Nov 2024 21:21:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730755262; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pcry6WAgt6NR/GIFhDkk8tCBB0B9udIQVom7TYt1nj4=; b=MqnXPOn6S30h0hY+esWp/K2SFyUu1kauScnFUB81dTZHqwZI/rGuddbbkgrg4xx7sBCgSL yZ/IuQrd0Ht/13iEPhyPyPXxTBeGVd4A5WOfLdyNi4lbrrP6EEGiAij+StDYXJFTZZd1W3 YLjXdLKiXnzYsTB6pvdzZ6nt6sWo5rLC88/zN0VoUDUuzTVVTgyZ/TJP+rvkkpntd2+Hf9 MwX1vTwwWKX5aSa2xba2Y3MrNaRGbYIfmrRvcSgfS3J3g+j3I6cwXTCPsOSy6f4pONQb/X uAr5mvBjle0QyUXSPkXbqau4zDpBPEoRCllJuXSW6sL6C0cOWb1dIp2cWGX4Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730755262; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pcry6WAgt6NR/GIFhDkk8tCBB0B9udIQVom7TYt1nj4=; b=YrUIpGS4hjrQFarzMsHvxx+trmC5FziKVK+0SHHRStUmF+RxSa1Uj72/FlqV6fJKiwsxd7 BaClN0wSL72FV3+9d//hbIBa7g5TEW3KNPrpYI49icD4tIyAmZqh/uY19QmVt26ZzB57bS EzE0enTtBrqghy91iFVy6lRK9SLLxeF01ONE5f5lN8uaylA07iiD5M9/hwRT2Q+VsVsF9k TP5e/DLpQnI0XIMao5CILauxVWdKvQAgMprHxKckvknBdbTCm4H74ILgpjksQdTKX2Bq3C +Fg4PB1NMNiV7HO0akBTWOiZ/4edB6au630Q1VaZF26E84/49Paiql1U1/CKqA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730755262; a=rsa-sha256; cv=none; b=AJD+jtJB/+qO2S+qA2ugwCRb+E541qk3OMLW31UQVa5ZlfdB+ND1hUAFrfKN8QlDixdNpR 1VjrhoXtdiSpmCbueL/18SPAtztPeIhH/JBuD8jM4+/Z65ZIKN/J0f94Hw2HSdkhK6eA2s templXj8IHlKgg5HBwM57qcq7buwI/lV8LjP5XUQXNTGN0EGP4bDGOaFeylZoKPKfyPYgv +rR5w21/C6Aj9TPJLrFo0XaFHcjhTxmfKfCqae9koVW2s8di5jD9rRRCA1qBQp4duk7mun n6LD/CAD/CV1KP6FrWBhPDrFiXP3J454TRA0VkWygMc81WuOdEPGApSdOBbo0w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xj4C16ZtRzpRl; Mon, 4 Nov 2024 21:21:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A4LL1Ft081280; Mon, 4 Nov 2024 21:21:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A4LL1BZ081260; Mon, 4 Nov 2024 21:21:01 GMT (envelope-from git) Date: Mon, 4 Nov 2024 21:21:01 GMT Message-Id: <202411042121.4A4LL1BZ081260@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Vladimir Druzenko 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 List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-branches@freebsd.org Sender: owner-dev-commits-ports-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q4 X-Git-Reftype: branch X-Git-Commit: 3b5e2b275eb786a87844f5a4ce8487f47fb45737 Auto-Submitted: auto-generated The branch 2024Q4 has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b5e2b275eb786a87844f5a4ce8487f47fb45737 commit 3b5e2b275eb786a87844f5a4ce8487f47fb45737 Author: Älven AuthorDate: 2024-11-04 20:34:07 +0000 Commit: Vladimir Druzenko 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