diff options
Diffstat (limited to 'sys-block/mbuffer')
-rw-r--r-- | sys-block/mbuffer/Manifest | 2 | ||||
-rw-r--r-- | sys-block/mbuffer/mbuffer-20210328.ebuild | 70 |
2 files changed, 72 insertions, 0 deletions
diff --git a/sys-block/mbuffer/Manifest b/sys-block/mbuffer/Manifest index f3957136925e..518981742c2d 100644 --- a/sys-block/mbuffer/Manifest +++ b/sys-block/mbuffer/Manifest @@ -4,7 +4,9 @@ AUX mbuffer-20200929-find-OBJDUMP.patch 279 BLAKE2B f22f74549eb2fba1061141616097 DIST mbuffer-20200505.tgz 146020 BLAKE2B b85742f710405e29775c7d25e9c1be733fd94d7157018017b7c8fb5b5cdeab7fa8819b024d297d96af960a73a8982fdeaefe50627c605f797df4d75b0c15435f SHA512 8a1e5721869fd705d02486cf93467bfe0a59b58789826ca337c18a023e9fbb18c1651211bfebdea4cdd45772ad23d0715bb3892bed04ce66f5fbe72406cde9f7 DIST mbuffer-20200929.tgz 147855 BLAKE2B abbcb4b29013ed24b4135a8b7576a0e728c3b5f1987558f0582711b1b00333caea8b55a02c4506ac179a4dae04977ee64572df09a210bf34bd71fd336be7e418 SHA512 332106205ea8743c9cf47529106c04ac15801a02b116d8e0c0fd3baadad51331c9f4ba1c8fa125edb42940cf401048a45ba23e2dac0e5189671bcf0ecee36996 DIST mbuffer-20210209.tgz 147894 BLAKE2B ff6b1da468d34b1fef66178200f68998da0ef4042424845157afbd59e53dbef9e3d003ec9c1a663b28c0e3291d515841bb0a29dabf72a4dd781f6dde2b69b17d SHA512 82a3fd769c6935164db41dbc2e189fef27068c5d4604be923f42f6a9ba3dc3668e6918ba838a0015e9b5becde8b42c9268aa679e3aadb770c517873790f842d1 +DIST mbuffer-20210328.tgz 148009 BLAKE2B b369fdae908cfa239e70d092f512f1613215f1a38e5f2dba9403edeb5579fe14a099f0b9950572c1e294c7d5938bd5a363a1cc3239b4553ecd24c6b805fbfe27 SHA512 69f7cac7fe49a86944092d642c6138455ba95da8e6d00abd41b37d126a9f03c3252e69795c5fb5bf8e56d0ce1461bde6b51f48c5eb7073ee49ee4e6df83d834d EBUILD mbuffer-20200505.ebuild 1580 BLAKE2B 7d4d32ea78865d3fe29f94f77e2c2228814b37587bf97ceea6010ef0c99da441bba41344c2b5c4ba38cba7eb64a3e803a5f48ad4785d4bbac858db75fc891352 SHA512 eac277d0ec3650f05087ba0c3e50b15e088eda8c7de182d40334318c44cf54e895c8885bd3a42473cceb31882dbf5ec57f8792ce23c69ca8fe64f18f504dca6d EBUILD mbuffer-20200929.ebuild 1582 BLAKE2B b9437a653554366b43dc1bba1b84fdefcfd85873141bdc19416d281b23d720fb14e9003ffbd9310e012903c04aa38d9cbb7c5da4f019777105d90710808b29ae SHA512 7f755da461b9028347feab8d76987d345cc1999dc2519c59bf2bfcd7077f4c2a57fb094be541f13b60722ce0420a7555e5edc63d5e056377c86eb432d522c151 EBUILD mbuffer-20210209.ebuild 1586 BLAKE2B 2b37d5199d3e4d8dec45677169a8585ef117630f82bf850e32d0f7d90c47726419d0884cc071d34402f2b7f70c741da5af04f4ffce889eb51740e16ba466f0d6 SHA512 41841737e3827d8299733d3d32e880aebf7eeff90a31ae6c66d012a4db4469d47b15a91d366d9a8288d65ff3061db8a246e7eb8cab6974362ada7d21b357990b +EBUILD mbuffer-20210328.ebuild 1586 BLAKE2B 2b37d5199d3e4d8dec45677169a8585ef117630f82bf850e32d0f7d90c47726419d0884cc071d34402f2b7f70c741da5af04f4ffce889eb51740e16ba466f0d6 SHA512 41841737e3827d8299733d3d32e880aebf7eeff90a31ae6c66d012a4db4469d47b15a91d366d9a8288d65ff3061db8a246e7eb8cab6974362ada7d21b357990b MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 diff --git a/sys-block/mbuffer/mbuffer-20210328.ebuild b/sys-block/mbuffer/mbuffer-20210328.ebuild new file mode 100644 index 000000000000..715e227db5dc --- /dev/null +++ b/sys-block/mbuffer/mbuffer-20210328.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2021 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-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +IUSE="debug libressl ssl test" + +REQUIRED_USE="test? ( ssl )" + +RESTRICT="!test? ( test )" + +RDEPEND="ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-20180410-sysconfdir.patch" + "${FILESDIR}/${PN}-20200929-find-OBJDUMP.patch" +) + +src_prepare() { + ln -s "${DISTDIR}"/${P}.tgz test.tar #258881 + + 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 + + # Enforce MAKEOPTS=-j1 because src_test() spawns multiple listener + # using same port and src_install may have problems (with /etc folder) + local -x MAKEOPTS=-j1 + + 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 +} |