diff options
Diffstat (limited to 'sys-block/mbuffer')
-rw-r--r-- | sys-block/mbuffer/Manifest | 2 | ||||
-rw-r--r-- | sys-block/mbuffer/mbuffer-20190725.ebuild | 65 |
2 files changed, 67 insertions, 0 deletions
diff --git a/sys-block/mbuffer/Manifest b/sys-block/mbuffer/Manifest index c5425cca850d..41f0a28607b8 100644 --- a/sys-block/mbuffer/Manifest +++ b/sys-block/mbuffer/Manifest @@ -6,8 +6,10 @@ DIST mbuffer-20150412.tgz 122935 BLAKE2B c57708861a9fc049fd4f3aa9c1229798a82e866 DIST mbuffer-20171011.tgz 136630 BLAKE2B ba69435684b8c844701a51c5a77d0f5ecbf8bef3ca9b9739a63309524b14d0cbbeba422cee1c5d69f1029a42c18d089cea0bcc46dbeba7f51767df3a815f7de7 SHA512 398d7545388a94b4f8961193192cd5e1139b84f31c7699c2b7f66b84a40488a2e70c88a2a70578bd95375e11efc87978a5f6fec805dbbc5f1fea460b3a9c68c4 DIST mbuffer-20181119.tgz 141445 BLAKE2B 8900b71af77b42ac6901285391bb571744bdcfd9fea307758b17be48f8ba3fa921c0e4752817d4feb8b139753440af25a8a8162f867e793d00e1baf8f1977e9e SHA512 0a30fa1c16f519a2ce82ae1f0f467dc9672e16affaff17f16cbec7bd3a28aea565e80ab4274ec24e60dd78560c692b8f852c7cba794a3715242f0d2385259347 DIST mbuffer-20190127.tgz 142141 BLAKE2B 43ab5d92e0f930037da512f8310bb97edc534b8dbc9b76e36407ec87939e87667e723af026c6e48703a47c83c47ee72e82c36d4c99ab720a6c190fbb0bdfc30c SHA512 e42ba41ebe206cb34d16a4b8a2cf8470e8173ba3147ade8fb1fbb3e9fcf534e0a129f2327055a034a9e65c7b59b56441717641841d632709b02f3dd5e9962922 +DIST mbuffer-20190725.tgz 145246 BLAKE2B f0ec2826fcf59543c255c484bf3c901f8c515633a8f81042dcdfa5a712f2eff619fc031fffd6510f98c7348f49916c08ec1c465764546a606b9d451240e2768a SHA512 3f3670a0b618dadf47aa47310c88be96915af372c4dcdbdf3ba6b4d9c67fd994a027bdf6ed397c34c062499dbbc2b563ff9e79d8351c0faedfdeebe660ca4a25 EBUILD mbuffer-20150412.ebuild 795 BLAKE2B 92d4c504fb558dafd340c80c814240c3dc266a8f1a28bddc8621004269da216a16b2630a637963c0478208c0e5761a6ee99570dbf1a96fd84058a377190c04ce SHA512 b4b9c424ccc4da361b00a173c4d18f0bd55994242f962c35c79dcd6edaec7c4f7e3ab29a18314b2dc047ea4916171dafaca57de7bf49ad18ae18a6989a93f32b EBUILD mbuffer-20171011.ebuild 1419 BLAKE2B b623eea89a7b8d913c885b818d94b83ca4883df2d44d2c36463d2e62d9240affed87290989359c51a380e56a763d31f98440de4a011a05692aa2ec686b890d07 SHA512 94da802069d9c9336d85fc837ab8debbd5441aa69530714b3f90690ff13b7e9ef42a86448ba1e443b60b3cacf7ac9646397b5c3f5f71256b5dd631490439539c EBUILD mbuffer-20181119.ebuild 1456 BLAKE2B cf6f4a9db384e77059cb01cf4e2e0c94331e59a17a66e1a4734d85edc591b616f59884fe68ec055238b66e464a655314a1121fe2ee11124ea7417a964b9f1fd9 SHA512 12c54c5a023a249722715250565fc04a398cf113e1719c47e5c0efd29f7f9638a9527fa25cf98d887d50f1a11acff00f652caf001887a3125994c2b14fdd421a EBUILD mbuffer-20190127.ebuild 1459 BLAKE2B a87dde3b2660aef09ce4f5a856e4b0ef749670d8bf12b2360fee723f2e25cc1fc0323da076d873958702330376219fb0d2022432ad7fb4fe74cbe3ca73f4d66e SHA512 c83578e3dc9f649ee256c0b5e2b1353f09d04812fa065dc036755d1d2a71b64c3075158a9d13b12aea7380ba6b79a10983637c603bb1c11ed94cc9786afd8231 +EBUILD mbuffer-20190725.ebuild 1461 BLAKE2B 532bf0487562555bb3d4b4eb6b34a108fddb36bee4a02aa9e97b1f817a8f4ec8f3402261a333992c1b13cb52f819c39a3cb826ccb98e6ef73ed7ccb96d21dd87 SHA512 2c05fd3280392b9b09f3165495e838ced872e8964c5d73cf6eb9d43d89bd3920494154763d15a7745cea0537e860875d5d171b127a4bf8104e2085ec9a467636 MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 diff --git a/sys-block/mbuffer/mbuffer-20190725.ebuild b/sys-block/mbuffer/mbuffer-20190725.ebuild new file mode 100644 index 000000000000..77c4badc66e9 --- /dev/null +++ b/sys-block/mbuffer/mbuffer-20190725.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="M(easuring)buffer is a replacement for buffer with additional functionality" +HOMEPAGE="https://www.maier-komor.de/mbuffer.html" +SRC_URI="https://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 )" + +REQUIRED_USE="test? ( ssl )" + +PATCHES=( + "${FILESDIR}/${PN}-20180410-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 + + mv configure.in configure.ac || die + + eautoreconf +} + +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 +} |