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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 62771138334 for ; Wed, 27 Nov 2019 08:52:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7466EE08C8; Wed, 27 Nov 2019 08:52:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 00991E08C8 for ; Wed, 27 Nov 2019 08:52:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BE23E34D469 for ; Wed, 27 Nov 2019 08:52:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3DBEE8C0 for ; Wed, 27 Nov 2019 08:52:13 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1574844504.5fcfa3b5c1515d6f78fd7938a5f8f74e1ad2a2da.whissi@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-20191016.ebuild X-VCS-Directories: sys-block/mbuffer/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 5fcfa3b5c1515d6f78fd7938a5f8f74e1ad2a2da X-VCS-Branch: master Date: Wed, 27 Nov 2019 08:52:13 +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: 4308787a-331e-4715-84ea-3febd6acd4f5 X-Archives-Hash: 0c4c98a981046af67c975dd854e8b5d4 commit: 5fcfa3b5c1515d6f78fd7938a5f8f74e1ad2a2da Author: Thomas Deutschmann gentoo org> AuthorDate: Wed Nov 27 08:48:24 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Wed Nov 27 08:48:24 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fcfa3b5 sys-block/mbuffer: bump to v20191016 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Thomas Deutschmann gentoo.org> sys-block/mbuffer/Manifest | 1 + sys-block/mbuffer/mbuffer-20191016.ebuild | 65 +++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/sys-block/mbuffer/Manifest b/sys-block/mbuffer/Manifest index 04a189645c8..a11a4825819 100644 --- a/sys-block/mbuffer/Manifest +++ b/sys-block/mbuffer/Manifest @@ -3,3 +3,4 @@ DIST mbuffer-20171011.tgz 136630 BLAKE2B ba69435684b8c844701a51c5a77d0f5ecbf8bef DIST mbuffer-20181119.tgz 141445 BLAKE2B 8900b71af77b42ac6901285391bb571744bdcfd9fea307758b17be48f8ba3fa921c0e4752817d4feb8b139753440af25a8a8162f867e793d00e1baf8f1977e9e SHA512 0a30fa1c16f519a2ce82ae1f0f467dc9672e16affaff17f16cbec7bd3a28aea565e80ab4274ec24e60dd78560c692b8f852c7cba794a3715242f0d2385259347 DIST mbuffer-20190127.tgz 142141 BLAKE2B 43ab5d92e0f930037da512f8310bb97edc534b8dbc9b76e36407ec87939e87667e723af026c6e48703a47c83c47ee72e82c36d4c99ab720a6c190fbb0bdfc30c SHA512 e42ba41ebe206cb34d16a4b8a2cf8470e8173ba3147ade8fb1fbb3e9fcf534e0a129f2327055a034a9e65c7b59b56441717641841d632709b02f3dd5e9962922 DIST mbuffer-20190725.tgz 145246 BLAKE2B f0ec2826fcf59543c255c484bf3c901f8c515633a8f81042dcdfa5a712f2eff619fc031fffd6510f98c7348f49916c08ec1c465764546a606b9d451240e2768a SHA512 3f3670a0b618dadf47aa47310c88be96915af372c4dcdbdf3ba6b4d9c67fd994a027bdf6ed397c34c062499dbbc2b563ff9e79d8351c0faedfdeebe660ca4a25 +DIST mbuffer-20191016.tgz 145508 BLAKE2B d69600544fc0ed9e619f07f552a5369aed24f8a93588edd2a205613bdf5ebd5c636cda24702149bf7a82605c9a956408b56555c1577eb83c8f8ca0eb49c5c14c SHA512 78142a3f1529609b12151aafe848ad768a6074f4891bedaa52cc46ffa14350a2a8c0362d02621fa227bda54e98eabc4970c00838114574540873b426fbfe97a5 diff --git a/sys-block/mbuffer/mbuffer-20191016.ebuild b/sys-block/mbuffer/mbuffer-20191016.ebuild new file mode 100644 index 00000000000..f0ec344687e --- /dev/null +++ b/sys-block/mbuffer/mbuffer-20191016.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="debug ssl test" + +RDEPEND="ssl? ( dev-libs/openssl:0= )" +DEPEND="${RDEPEND} + test? ( dev-libs/openssl:0 )" + +REQUIRED_USE="test? ( ssl )" + +PATCHES=( + "${FILESDIR}/${PN}-20180410-sysconfdir.patch" +) + +src_prepare() { + ln -s "${DISTDIR}"/${P}.tgz test.tar #258881 + + # Enforce MAKEOPTS=-j1 because src_test() spawns multiple listener + # using same port and src_install may have problems (with /etc folder) + export MAKEOPTS=-j1 + + default + + 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 + + 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 +}