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 4F3441382C5 for ; Tue, 27 Mar 2018 09:31:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75441E090F; Tue, 27 Mar 2018 09:31:19 +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 35E73E090F for ; Tue, 27 Mar 2018 09:31:18 +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 84D94335C60 for ; Tue, 27 Mar 2018 09:31:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4BBFE258 for ; Tue, 27 Mar 2018 09:31:15 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1522142985.d1a4d8f62280c4a7429efdd5ae678bef3b66fda2.polynomial-c@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-20180318.ebuild X-VCS-Directories: sys-block/mbuffer/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: d1a4d8f62280c4a7429efdd5ae678bef3b66fda2 X-VCS-Branch: master Date: Tue, 27 Mar 2018 09:31:15 +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-Archives-Salt: 5439f329-4c43-4d31-9524-c62727863418 X-Archives-Hash: 55737346cc44daf1bd6ef98a9301a20e commit: d1a4d8f62280c4a7429efdd5ae678bef3b66fda2 Author: Lars Wendler gentoo org> AuthorDate: Tue Mar 27 09:29:45 2018 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue Mar 27 09:29:45 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1a4d8f6 sys-block/mbuffer: Bump to version 20180318 Package-Manager: Portage-2.3.24, Repoman-2.3.6 sys-block/mbuffer/Manifest | 1 + sys-block/mbuffer/mbuffer-20180318.ebuild | 58 +++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/sys-block/mbuffer/Manifest b/sys-block/mbuffer/Manifest index fd16c652241..655a930f5a7 100644 --- a/sys-block/mbuffer/Manifest +++ b/sys-block/mbuffer/Manifest @@ -3,3 +3,4 @@ DIST mbuffer-20160228.tgz 123108 BLAKE2B a19997f66a9a9247775bda94e0254938f286c0d DIST mbuffer-20170515.tgz 125736 BLAKE2B 5524b1e63637180661d432dcf124b5579f17d4da3ff0bedba41d1a94d147df9478e209eaa3fd409092a0f82c37bee10910791b8b6344ab509211cc7fc2f03a8a SHA512 991cb33b09e48f1177b7a05e5ab2c189aa2cb0f03e220d7e46996b3a3e3ba1e3f3ad4a68b8750ed73dc765c5874029715bba1d2f5a80a9601cd0a39e1f9fd447 DIST mbuffer-20170921.tgz 136192 BLAKE2B 2ec9858aae970340cf5b9d2f305039d351df6efbe51ee3a28d1de407da508a82fceb7c41f1dc89c1a58d7b26430151e8103023a1574cdad84bee1f7b78770402 SHA512 f4b897e7649893cb02f9b3b806e956acf60692cd549f9cfe6cf164c703f369f0af251bfdabfbcdd76dacf5a4c3871ed7b98fbd6b5fcb97d184b7c317082bfaee DIST mbuffer-20171011.tgz 136630 BLAKE2B ba69435684b8c844701a51c5a77d0f5ecbf8bef3ca9b9739a63309524b14d0cbbeba422cee1c5d69f1029a42c18d089cea0bcc46dbeba7f51767df3a815f7de7 SHA512 398d7545388a94b4f8961193192cd5e1139b84f31c7699c2b7f66b84a40488a2e70c88a2a70578bd95375e11efc87978a5f6fec805dbbc5f1fea460b3a9c68c4 +DIST mbuffer-20180318.tgz 137259 BLAKE2B bec1f6acc68c3c9cf617dd7a752644628d088541c20816737ea1533eb0e9c92b76ef2dd037912501c29056994443e3ad66b1e7f4456e0f40687b32e4c6a12cf1 SHA512 ac71876aa0bea3acce8ea00c3848783b752991a0e60ebc4245277fd435c2c9e08c79cc5f47c996e590e711ca1bd652ded075c24ca820efe845f578b106c43594 diff --git a/sys-block/mbuffer/mbuffer-20180318.ebuild b/sys-block/mbuffer/mbuffer-20180318.ebuild new file mode 100644 index 00000000000..b98af0bb4ca --- /dev/null +++ b/sys-block/mbuffer/mbuffer-20180318.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="M(easuring)buffer is a replacement for buffer with additional functionality" +HOMEPAGE="http://www.maier-komor.de/mbuffer.html" +SRC_URI="http://www.maier-komor.de/software/mbuffer/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug ssl test" + +RDEPEND="ssl? ( dev-libs/openssl:0= )" +DEPEND="${RDEPEND} + test? ( dev-libs/openssl:0 )" + +PATCHES=( + "${FILESDIR}/${PN}-20171011-resolv-multi-order-issue.patch" + "${FILESDIR}/${PN}-20171011-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 +} + +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 +}