From nobody Mon Nov 04 21:00:25 2024 X-Original-To: dev-commits-ports-main@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 4Xj3lG040sz5cYCG; Mon, 04 Nov 2024 21:00:26 +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 4Xj3lF4qZKz4Ssw; Mon, 4 Nov 2024 21:00:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730754025; 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=ZkJIY1k7ge1Wdx8PLGDMkUzyaP+2dwh2j6cYnCUDLTs=; b=mHw2eVyRV7raxQg98EWdNXsR4OpxfK0dWSVbWDGb0RSSI9PUtKx7nEpmEdd9Q15GPEb4wj c45RfVgB+ympPrKiMLg0cEBwoDNsjqwcXruI4e/VK7voHZmSElIeWwcuQn8z9sldaV9ZrJ jYEPy0bkl7/Sx60sRBWvORz/epnqktistowKlSPsSUrz6Rav+DsHbrUFcNiLYzNcUkB0NE Fva+mT0FFB7qvkkO0W4ydAPVyFTCJJiqBTmbs+fb9E96Kj3A6C7vtkwoEpaTKGtA/vS5+m LzHVmjmv4kXzshW4qm7KwWbG8mapEQ8Z3v995lRW6IQVHCyWXcSMmCPRlxZd5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730754025; 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=ZkJIY1k7ge1Wdx8PLGDMkUzyaP+2dwh2j6cYnCUDLTs=; b=IaDL/OJ69vc50lPk/AqGvliTJKWZNl1a+QdcaQRwC/f+LIrs0/7ZMK3wrOLsR3GuIlkYVE JS6Fe2TAt1V1qIT4EHBKHiNl6ARGX+ayzLDFswbEcQ+Zs8Ame9igiyysHUpzmOAlusyLHw B9SSl/2VTcHcOHOEeNUOeIQGuuJMashsuu0EOzEXifC0yTb84dQ/ZdDgjoE/2lltVXQ5/q jEdYEghu0WlJMeJcbEgcbddvNnZzkS7GIqZBMpP2pHmiDbWk6ahQxEi4+o0L8Dle2r/VWQ TjkaIW68gWu0++m41p/LdrBvLKkgOEVyXdmqn6ZKrcNsJc4g6KvULUf10gV5Qw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730754025; a=rsa-sha256; cv=none; b=E+PGJtpcnurSp/ucDml/DdxBrh1DbUWeFQOfR/2nZ5OFZgeajkWW3Zdshycc6Vlv7lxSvY z6HOI29mIL4bG9/v8Y3IXXjU/BMpKqaRNufHDuoAe9Byolxr0rhErNSoTzRjZ259kBD1FG cK3qRN6M6b9ktnac0ebXqkIN+QQSTbf5sBmkVhLLTTPMBAbDMd4LEGyKsuktYsA+8O9BzX 2uMzhHEt9yTADoRVVGEgZvTgL9Sgg9pFiaNWAi9qsuyvdG5woGkf+gg9LjV++RtToxkgYN Yla5/pygjSpGwFU/NYK+/ZjdvXQBfgD5S+BVRMcr4DB8QOPScZ4LnwAdsQHkug== 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 4Xj3lF4FlXzpZG; Mon, 4 Nov 2024 21:00:25 +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 4A4L0Pp7041931; Mon, 4 Nov 2024 21:00:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A4L0Prk041928; Mon, 4 Nov 2024 21:00:25 GMT (envelope-from git) Date: Mon, 4 Nov 2024 21:00:25 GMT Message-Id: <202411042100.4A4L0Prk041928@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: c08f528cd36c - main - 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 main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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/main X-Git-Reftype: branch X-Git-Commit: c08f528cd36c76d76f221e7af8d5918054978bdf Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=c08f528cd36c76d76f221e7af8d5918054978bdf commit c08f528cd36c76d76f221e7af8d5918054978bdf Author: Älven AuthorDate: 2024-11-04 20:34:07 +0000 Commit: Vladimir Druzenko CommitDate: 2024-11-04 20:54:58 +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 --- 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