Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/mbuffer/
Date: Tue, 30 Jul 2019 23:02:57
Message-Id: 1564527765.7e2cbc5b01cc3d01dbb5ead5b3273a887394f38d.whissi@gentoo
1 commit: 7e2cbc5b01cc3d01dbb5ead5b3273a887394f38d
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 30 22:54:35 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 30 23:02:45 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e2cbc5b
7
8 sys-block/mbuffer: bump to v20190725
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 sys-block/mbuffer/Manifest | 1 +
14 sys-block/mbuffer/mbuffer-20190725.ebuild | 65 +++++++++++++++++++++++++++++++
15 2 files changed, 66 insertions(+)
16
17 diff --git a/sys-block/mbuffer/Manifest b/sys-block/mbuffer/Manifest
18 index 05b474cf3ba..04a189645c8 100644
19 --- a/sys-block/mbuffer/Manifest
20 +++ b/sys-block/mbuffer/Manifest
21 @@ -2,3 +2,4 @@ DIST mbuffer-20150412.tgz 122935 BLAKE2B c57708861a9fc049fd4f3aa9c1229798a82e866
22 DIST mbuffer-20171011.tgz 136630 BLAKE2B ba69435684b8c844701a51c5a77d0f5ecbf8bef3ca9b9739a63309524b14d0cbbeba422cee1c5d69f1029a42c18d089cea0bcc46dbeba7f51767df3a815f7de7 SHA512 398d7545388a94b4f8961193192cd5e1139b84f31c7699c2b7f66b84a40488a2e70c88a2a70578bd95375e11efc87978a5f6fec805dbbc5f1fea460b3a9c68c4
23 DIST mbuffer-20181119.tgz 141445 BLAKE2B 8900b71af77b42ac6901285391bb571744bdcfd9fea307758b17be48f8ba3fa921c0e4752817d4feb8b139753440af25a8a8162f867e793d00e1baf8f1977e9e SHA512 0a30fa1c16f519a2ce82ae1f0f467dc9672e16affaff17f16cbec7bd3a28aea565e80ab4274ec24e60dd78560c692b8f852c7cba794a3715242f0d2385259347
24 DIST mbuffer-20190127.tgz 142141 BLAKE2B 43ab5d92e0f930037da512f8310bb97edc534b8dbc9b76e36407ec87939e87667e723af026c6e48703a47c83c47ee72e82c36d4c99ab720a6c190fbb0bdfc30c SHA512 e42ba41ebe206cb34d16a4b8a2cf8470e8173ba3147ade8fb1fbb3e9fcf534e0a129f2327055a034a9e65c7b59b56441717641841d632709b02f3dd5e9962922
25 +DIST mbuffer-20190725.tgz 145246 BLAKE2B f0ec2826fcf59543c255c484bf3c901f8c515633a8f81042dcdfa5a712f2eff619fc031fffd6510f98c7348f49916c08ec1c465764546a606b9d451240e2768a SHA512 3f3670a0b618dadf47aa47310c88be96915af372c4dcdbdf3ba6b4d9c67fd994a027bdf6ed397c34c062499dbbc2b563ff9e79d8351c0faedfdeebe660ca4a25
26
27 diff --git a/sys-block/mbuffer/mbuffer-20190725.ebuild b/sys-block/mbuffer/mbuffer-20190725.ebuild
28 new file mode 100644
29 index 00000000000..77c4badc66e
30 --- /dev/null
31 +++ b/sys-block/mbuffer/mbuffer-20190725.ebuild
32 @@ -0,0 +1,65 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit autotools
39 +
40 +DESCRIPTION="M(easuring)buffer is a replacement for buffer with additional functionality"
41 +HOMEPAGE="https://www.maier-komor.de/mbuffer.html"
42 +SRC_URI="https://www.maier-komor.de/software/mbuffer/${P}.tgz"
43 +
44 +LICENSE="GPL-2"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~ppc ~x86"
47 +IUSE="debug ssl test"
48 +
49 +RDEPEND="ssl? ( dev-libs/openssl:0= )"
50 +DEPEND="${RDEPEND}
51 + test? ( dev-libs/openssl:0 )"
52 +
53 +REQUIRED_USE="test? ( ssl )"
54 +
55 +PATCHES=(
56 + "${FILESDIR}/${PN}-20180410-sysconfdir.patch"
57 +)
58 +
59 +src_prepare() {
60 + ln -s "${DISTDIR}"/${P}.tgz test.tar #258881
61 +
62 + # Enforce MAKEOPTS=-j1 because src_test() spawns multiple listener
63 + # using same port and src_install may have problems (with /etc folder)
64 + export MAKEOPTS=-j1
65 +
66 + default
67 +
68 + mv configure.in configure.ac || die
69 +
70 + eautoreconf
71 +}
72 +
73 +src_configure() {
74 + local myeconfargs=(
75 + $(use_enable ssl md5)
76 + $(use_enable debug)
77 + )
78 + econf "${myeconfargs[@]}"
79 +}
80 +
81 +src_test() {
82 + if has usersandbox ${FEATURES} || has network-sandbox ${FEATURES}; then
83 + ewarn "Some tests may fail with FEATURES=usersandbox or"
84 + ewarn "FEATURES=network-sandbox; Skipping tests because"
85 + ewarn "test suite would hang forever in such environments!"
86 + return 0;
87 + fi
88 +
89 + default
90 +}
91 +
92 +pkg_postinst() {
93 + if ! has_version "app-arch/mt-st"; then
94 + elog ""
95 + elog "If you want autoloader support you need to install \"app-arch/mt-st\" in addition!"
96 + fi
97 +}