1 |
commit: 564f51325a7213a6201787373a360b4f7eaad286 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 29 19:39:18 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 30 00:19:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=564f5132 |
7 |
|
8 |
sys-block/mbuffer: bump to v20210328 |
9 |
|
10 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
sys-block/mbuffer/Manifest | 1 + |
14 |
sys-block/mbuffer/mbuffer-20210328.ebuild | 70 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 71 insertions(+) |
16 |
|
17 |
diff --git a/sys-block/mbuffer/Manifest b/sys-block/mbuffer/Manifest |
18 |
index 54fa2d5745f..3838573278c 100644 |
19 |
--- a/sys-block/mbuffer/Manifest |
20 |
+++ b/sys-block/mbuffer/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST mbuffer-20200505.tgz 146020 BLAKE2B b85742f710405e29775c7d25e9c1be733fd94d7157018017b7c8fb5b5cdeab7fa8819b024d297d96af960a73a8982fdeaefe50627c605f797df4d75b0c15435f SHA512 8a1e5721869fd705d02486cf93467bfe0a59b58789826ca337c18a023e9fbb18c1651211bfebdea4cdd45772ad23d0715bb3892bed04ce66f5fbe72406cde9f7 |
23 |
DIST mbuffer-20200929.tgz 147855 BLAKE2B abbcb4b29013ed24b4135a8b7576a0e728c3b5f1987558f0582711b1b00333caea8b55a02c4506ac179a4dae04977ee64572df09a210bf34bd71fd336be7e418 SHA512 332106205ea8743c9cf47529106c04ac15801a02b116d8e0c0fd3baadad51331c9f4ba1c8fa125edb42940cf401048a45ba23e2dac0e5189671bcf0ecee36996 |
24 |
DIST mbuffer-20210209.tgz 147894 BLAKE2B ff6b1da468d34b1fef66178200f68998da0ef4042424845157afbd59e53dbef9e3d003ec9c1a663b28c0e3291d515841bb0a29dabf72a4dd781f6dde2b69b17d SHA512 82a3fd769c6935164db41dbc2e189fef27068c5d4604be923f42f6a9ba3dc3668e6918ba838a0015e9b5becde8b42c9268aa679e3aadb770c517873790f842d1 |
25 |
+DIST mbuffer-20210328.tgz 148009 BLAKE2B b369fdae908cfa239e70d092f512f1613215f1a38e5f2dba9403edeb5579fe14a099f0b9950572c1e294c7d5938bd5a363a1cc3239b4553ecd24c6b805fbfe27 SHA512 69f7cac7fe49a86944092d642c6138455ba95da8e6d00abd41b37d126a9f03c3252e69795c5fb5bf8e56d0ce1461bde6b51f48c5eb7073ee49ee4e6df83d834d |
26 |
|
27 |
diff --git a/sys-block/mbuffer/mbuffer-20210328.ebuild b/sys-block/mbuffer/mbuffer-20210328.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..715e227db5d |
30 |
--- /dev/null |
31 |
+++ b/sys-block/mbuffer/mbuffer-20210328.ebuild |
32 |
@@ -0,0 +1,70 @@ |
33 |
+# Copyright 1999-2021 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-3" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" |
47 |
+IUSE="debug libressl ssl test" |
48 |
+ |
49 |
+REQUIRED_USE="test? ( ssl )" |
50 |
+ |
51 |
+RESTRICT="!test? ( test )" |
52 |
+ |
53 |
+RDEPEND="ssl? ( |
54 |
+ !libressl? ( dev-libs/openssl:0= ) |
55 |
+ libressl? ( dev-libs/libressl:0= ) |
56 |
+ )" |
57 |
+DEPEND="${RDEPEND}" |
58 |
+ |
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}/${PN}-20180410-sysconfdir.patch" |
61 |
+ "${FILESDIR}/${PN}-20200929-find-OBJDUMP.patch" |
62 |
+) |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ ln -s "${DISTDIR}"/${P}.tgz test.tar #258881 |
66 |
+ |
67 |
+ default |
68 |
+ |
69 |
+ mv configure.in configure.ac || die |
70 |
+ |
71 |
+ eautoreconf |
72 |
+} |
73 |
+ |
74 |
+src_configure() { |
75 |
+ local myeconfargs=( |
76 |
+ $(use_enable ssl md5) |
77 |
+ $(use_enable debug) |
78 |
+ ) |
79 |
+ econf "${myeconfargs[@]}" |
80 |
+} |
81 |
+ |
82 |
+src_test() { |
83 |
+ if has usersandbox ${FEATURES} || has network-sandbox ${FEATURES}; then |
84 |
+ ewarn "Some tests may fail with FEATURES=usersandbox or" |
85 |
+ ewarn "FEATURES=network-sandbox; Skipping tests because" |
86 |
+ ewarn "test suite would hang forever in such environments!" |
87 |
+ return 0; |
88 |
+ fi |
89 |
+ |
90 |
+ # Enforce MAKEOPTS=-j1 because src_test() spawns multiple listener |
91 |
+ # using same port and src_install may have problems (with /etc folder) |
92 |
+ local -x MAKEOPTS=-j1 |
93 |
+ |
94 |
+ default |
95 |
+} |
96 |
+ |
97 |
+pkg_postinst() { |
98 |
+ if ! has_version "app-arch/mt-st"; then |
99 |
+ elog "" |
100 |
+ elog "If you want autoloader support you need to install \"app-arch/mt-st\" in addition!" |
101 |
+ fi |
102 |
+} |