From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 76FE71581C1 for ; Mon, 15 Jul 2024 01:58:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3AF6DE2ACF; Mon, 15 Jul 2024 01:58:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DB33FE2ACF for ; Mon, 15 Jul 2024 01:58:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E75BE341256 for ; Mon, 15 Jul 2024 01:57:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 303EB1E21 for ; Mon, 15 Jul 2024 01:57:58 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1721008452.cba4fea414e39beb8ff2f37735ee64ce9b85c914.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/mbuffer/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-block/mbuffer/Manifest sys-block/mbuffer/mbuffer-20240707.ebuild X-VCS-Directories: sys-block/mbuffer/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: cba4fea414e39beb8ff2f37735ee64ce9b85c914 X-VCS-Branch: master Date: Mon, 15 Jul 2024 01:57:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6b4edcb4-f4a8-427e-9b98-8f8966c92953 X-Archives-Hash: e1669e5c05a530f54dff577308540665 commit: cba4fea414e39beb8ff2f37735ee64ce9b85c914 Author: Sam James gentoo org> AuthorDate: Mon Jul 15 01:54:12 2024 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jul 15 01:54:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cba4fea4 sys-block/mbuffer: add 20240707 Signed-off-by: Sam James gentoo.org> sys-block/mbuffer/Manifest | 1 + sys-block/mbuffer/mbuffer-20240707.ebuild | 70 +++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/sys-block/mbuffer/Manifest b/sys-block/mbuffer/Manifest index ea70de0ad676..b16d34f80aba 100644 --- a/sys-block/mbuffer/Manifest +++ b/sys-block/mbuffer/Manifest @@ -1 +1,2 @@ DIST mbuffer-20240107.tgz 151573 BLAKE2B 9fb8d1ead6424e676f6ec0dd591cdd48b53a5b1b4a980e23101ae1e52a0f2a0d07048208f8ae6c45aee66f963b7ed9720b47b16b04495bcba97489a87d8c8d8f SHA512 14773c1193ed5e4a0dfda4ef6bd6ccb0cf104f8c4ae1d22747e52e8247aeb1db64656700f9cf317b13140fb649db889831233f0b8fef0a8463d28713b5882977 +DIST mbuffer-20240707.tgz 151887 BLAKE2B ae03f9a581ef37d7502d60df35ab7026987ca1e4cdd09b7bd0a2e90fa6f3b75aead9a6add7907f18c582ba40b110f24c9430a1e145772996641196de88a1470e SHA512 603877e86df666807c77e6147268d15242acbbc9787fbc9962af97367694a25d95eda1c66197975b858739ce4683e3c36cd1b442f65daae304f25056096319c6 diff --git a/sys-block/mbuffer/mbuffer-20240707.ebuild b/sys-block/mbuffer/mbuffer-20240707.ebuild new file mode 100644 index 000000000000..3d2537b9655f --- /dev/null +++ b/sys-block/mbuffer/mbuffer-20240707.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="M(easuring)buffer is a replacement for buffer with additional functionality" +HOMEPAGE="https://www.maier-komor.de/mbuffer.html" +SRC_URI="https://www.maier-komor.de/software/mbuffer/${P}.tgz" +S="${WORKDIR}"/${PN}-r${PV} + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="debug ssl test" +REQUIRED_USE="test? ( ssl )" +RESTRICT="!test? ( test )" + +RDEPEND=" + ssl? ( + dev-libs/openssl + ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-20180410-sysconfdir.patch" + "${FILESDIR}/${PN}-20200929-find-OBJDUMP.patch" + "${FILESDIR}/${PN}-20231216-autoconf-warning.patch" +) + +src_prepare() { + default + + ln -s "${DISTDIR}"/${P}.tgz test.tar # bug #258881 + + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable ssl md5) + $(use_enable debug) + ) + econf "${myeconfargs[@]}" +} + +src_test() { + if has usersandbox ${FEATURES} || has network-sandbox ${FEATURES}; then + ewarn "Some tests may fail with FEATURES=usersandbox or" + ewarn "FEATURES=network-sandbox; Skipping tests because" + ewarn "test suite would hang forever in such environments!" + return 0; + fi + + # Enforce MAKEOPTS=-j1 because src_test() spawns multiple listener + # using same port and src_install may have problems (with /etc folder) + local -x MAKEOPTS=-j1 + + default +} + +pkg_postinst() { + if ! has_version "app-arch/mt-st"; then + elog "" + elog "If you want autoloader support you need to install \"app-arch/mt-st\" in addition!" + fi +}