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: Mon, 03 Dec 2018 00:08:18
Message-Id: 1543795684.28aedbe8e34021f2777e13941127a73726cb40a9.whissi@gentoo
1 commit: 28aedbe8e34021f2777e13941127a73726cb40a9
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 3 00:07:43 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 3 00:08:04 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28aedbe8
7
8 sys-block/mbuffer: bump to v20181119
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 sys-block/mbuffer/Manifest | 1 +
14 sys-block/mbuffer/mbuffer-20181119.ebuild | 65 +++++++++++++++++++++++++++++++
15 2 files changed, 66 insertions(+)
16
17 diff --git a/sys-block/mbuffer/Manifest b/sys-block/mbuffer/Manifest
18 index 94931a1e438..cd78a7f85e4 100644
19 --- a/sys-block/mbuffer/Manifest
20 +++ b/sys-block/mbuffer/Manifest
21 @@ -4,3 +4,4 @@ DIST mbuffer-20180318.tgz 137259 BLAKE2B bec1f6acc68c3c9cf617dd7a752644628d08854
22 DIST mbuffer-20180410.tgz 140026 BLAKE2B d271b4c744d5c54aebaea9a68a674df184ac460f879ac4788afaca732466c95dd958145ffcb42155ed998cab771a5b0e70a57a6b479d244156afe6232c37b154 SHA512 88fdad5b767bc4dabdbe3300cf3de99a56d137ac991aa5be7ba383fc2447ec01cb43853f31ec88be3bf0cfa736753afe8bd5ef0a5abb386521f2d3316b781d74
23 DIST mbuffer-20180505.tgz 140183 BLAKE2B 4c575c9654f15b4f81357fff21f41170627f6747313a462a76abbb8f5125a2e97549a9975aa67a59b402af6651b4e27b17e4ac7ea72b45620b43542ebccf9107 SHA512 b2f541332afadb42bbd2452d2079373f9d8ad44f0fe5eab2934cf4c46c6b2e4ec18c862ed385ba10e5b820efeab28c982bcf4ffa37a9cf70c5c92b5aabde7f4f
24 DIST mbuffer-20180625.tgz 140946 BLAKE2B b52bf77acc142be418479a4ce878bd8a1e368aaaca44dc13b2b58a2e82c2f0e172ab04dc9d6e1a7664f353af5b005063da942441baa026caa5519ffe2b04575e SHA512 01d712f51ac0b206d6ee91fbbd4cea4873784aaca02daa9b3d72cfcc0a63696b20c15ca4b6e834924f02f2878ac90192110df584c55fb1a65620ae8b0f7ec87e
25 +DIST mbuffer-20181119.tgz 141445 BLAKE2B 8900b71af77b42ac6901285391bb571744bdcfd9fea307758b17be48f8ba3fa921c0e4752817d4feb8b139753440af25a8a8162f867e793d00e1baf8f1977e9e SHA512 0a30fa1c16f519a2ce82ae1f0f467dc9672e16affaff17f16cbec7bd3a28aea565e80ab4274ec24e60dd78560c692b8f852c7cba794a3715242f0d2385259347
26
27 diff --git a/sys-block/mbuffer/mbuffer-20181119.ebuild b/sys-block/mbuffer/mbuffer-20181119.ebuild
28 new file mode 100644
29 index 00000000000..30c0a693ced
30 --- /dev/null
31 +++ b/sys-block/mbuffer/mbuffer-20181119.ebuild
32 @@ -0,0 +1,65 @@
33 +# Copyright 1999-2018 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit autotools
39 +
40 +DESCRIPTION="M(easuring)buffer is a replacement for buffer with additional functionality"
41 +HOMEPAGE="http://www.maier-komor.de/mbuffer.html"
42 +SRC_URI="http://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 +}