diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-03-27 11:29:45 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-03-27 11:29:45 +0200 |
commit | d1a4d8f62280c4a7429efdd5ae678bef3b66fda2 (patch) | |
tree | 0ce3744df2af1d0871ed16318260c18a0aaa9c0f /sys-block | |
parent | sys-fs/mdadm: Removed old. (diff) | |
download | gentoo-d1a4d8f62280c4a7429efdd5ae678bef3b66fda2.tar.gz gentoo-d1a4d8f62280c4a7429efdd5ae678bef3b66fda2.tar.bz2 gentoo-d1a4d8f62280c4a7429efdd5ae678bef3b66fda2.zip |
sys-block/mbuffer: Bump to version 20180318
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/mbuffer/Manifest | 1 | ||||
-rw-r--r-- | sys-block/mbuffer/mbuffer-20180318.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/sys-block/mbuffer/Manifest b/sys-block/mbuffer/Manifest index fd16c6522414..655a930f5a7b 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 000000000000..b98af0bb4ca8 --- /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 +} |