diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-14 07:13:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-14 07:13:52 +0000 |
commit | fe1e3bbca60a6b4b9a1889f5252e02c27b459f63 (patch) | |
tree | 2ee0c8c664dc7593daf17a1bfac31e1dd4e5c6f5 /sys-block/mbuffer | |
parent | 94eb99943eafb48140b436b347abaaee77209c01 (diff) |
gentoo auto-resync : 14:01:2024 - 07:13:52
Diffstat (limited to 'sys-block/mbuffer')
-rw-r--r-- | sys-block/mbuffer/Manifest | 2 | ||||
-rw-r--r-- | sys-block/mbuffer/mbuffer-20240107.ebuild | 69 |
2 files changed, 71 insertions, 0 deletions
diff --git a/sys-block/mbuffer/Manifest b/sys-block/mbuffer/Manifest index 99bb42311066..a35fecf5044b 100644 --- a/sys-block/mbuffer/Manifest +++ b/sys-block/mbuffer/Manifest @@ -5,8 +5,10 @@ AUX mbuffer-20231216-autoconf-warning.patch 490 BLAKE2B 36cbe4201c598ae047397575 DIST mbuffer-20220418.tgz 149535 BLAKE2B 8c7eacae791bef8ac6cd2ce57e6a5fbda7c7c233c37ccc504ad6584385df4b4df49aaf67f2d2dc7a3ee9f7e1431ba511847646a4c92616c1a4af5ac094e029e9 SHA512 aad7f764c82e3bdd4ee3fc5ac8174e716fd44cdb0418f1994d3f506d2e58264a13e15596bc8e78e9e8bb2d181875294448085bab122a2a31356d4336bb8b54a4 DIST mbuffer-20230301.tgz 151060 BLAKE2B 45794ac6920c159fe96fccafadbaffe353e4866d8336cfe83601044b53f2289171d3fd9016cb34cf955880e7dfd2c49fe0cc99ffb3e80b7ac6ef1f6bd4cf312a SHA512 efed6e9cbd4fbb255c5f71514badd38e4fb254bf0c0f8a902636c18295f6fb640a4076d015444d1ab5e17edb3a12ecc2b3da2038f1ac1a57c44b76203bf7d66e DIST mbuffer-20231216.tgz 151119 BLAKE2B d077ecc77f9d772a11a11f83df1f0f5ad91b06b8845d2ab1b075649ab2efdba3d9cfa4c7053142d6b8fb3b31d63b02052d810b4e5f817d33fa6e79c858ae834b SHA512 24cd600127a1b06ed13600b050b45d2563beacaf97b3b78c6d70bf735b084209a048ae732aceb18561c0d01c72afef383d3245820991fa3410a5193e7eb493fe +DIST mbuffer-20240107.tgz 151573 BLAKE2B 9fb8d1ead6424e676f6ec0dd591cdd48b53a5b1b4a980e23101ae1e52a0f2a0d07048208f8ae6c45aee66f963b7ed9720b47b16b04495bcba97489a87d8c8d8f SHA512 14773c1193ed5e4a0dfda4ef6bd6ccb0cf104f8c4ae1d22747e52e8247aeb1db64656700f9cf317b13140fb649db889831233f0b8fef0a8463d28713b5882977 EBUILD mbuffer-20220418.ebuild 1527 BLAKE2B 1a88ee0cc356b561d01838d2874a4a2fb408548d75cf02c1e3aa3677e524ff5b806de82adbdf291fe12564d39634fa86b9e4263f649729ce66962d62203302f3 SHA512 0adc3c2e3b113a9d3592f1e45c430974ecd1c3edf32bcfaa5f366cda3942e8e791fae0206f6c54a661eea44ec124f93a58a6fe1a56f6540348748ee556ec1d73 EBUILD mbuffer-20230301-r1.ebuild 1591 BLAKE2B 1f5b6058dea4ca2d189b26d7706592de448449a5140eea3b93388410702522b70b48a2299e663de12b24616aafa4c669974f4193a634fd4d4b123ea48ef38867 SHA512 6a5e3e816d747370f88f4f13efd6696eb168846ecd7f6243bf845ec99228ee91d3ee37afe1ef3e528956e07555e0df6ea455181f717a37d0a70d89d2c4f0fc41 EBUILD mbuffer-20230301.ebuild 1544 BLAKE2B cff5073ee1af87e170bd49adda9addc8891d82fd8fda62223a5a4e6160025f00a28f00a59e9992189c8bb23f72d9748faa383452ffb0af6dd5682b7e272bee93 SHA512 64b6554e8c78427d07c57cb305ddc9232cfd424bad9157387bf3551726cc55cdec82718c95a5e2d5c91979cd59b9bebc9dd656c1e79575eea777055d9f93ee37 EBUILD mbuffer-20231216.ebuild 1602 BLAKE2B 8bc8bddf4e50f537c9617c7db9d12c2b82bafae75fd65d8ac9397107b0894d02b50aec8eb2e638b26e41f6e8b527916a30a2b8a3976af3904a334150bdf3b105 SHA512 29c95eaa488caa25fe65533fcc2d8075cdf167154d2eb5e33017146901a1ba4482419eeccec0f89aaaee24975e85ddde212290165638a493538bbae3ef3aacaf +EBUILD mbuffer-20240107.ebuild 1602 BLAKE2B 8bc8bddf4e50f537c9617c7db9d12c2b82bafae75fd65d8ac9397107b0894d02b50aec8eb2e638b26e41f6e8b527916a30a2b8a3976af3904a334150bdf3b105 SHA512 29c95eaa488caa25fe65533fcc2d8075cdf167154d2eb5e33017146901a1ba4482419eeccec0f89aaaee24975e85ddde212290165638a493538bbae3ef3aacaf MISC metadata.xml 254 BLAKE2B f3a9f843cf94243d1129711770df727fcdc8808bca829ef784819cab6f5410dfa463cfed85182f8228c7de796a674dd602653ad3ef817a62c0c3e7198b23befe SHA512 b9fcd3084a7e197f6138e1ce8b0eff99c4c203c37a7d5c40de207040ba1501ef0e5b2f4e00216a567037bcd6d3394fdec6ff587484c9ba2fca9d04f431733b7c diff --git a/sys-block/mbuffer/mbuffer-20240107.ebuild b/sys-block/mbuffer/mbuffer-20240107.ebuild new file mode 100644 index 000000000000..298bae62a6b1 --- /dev/null +++ b/sys-block/mbuffer/mbuffer-20240107.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~ppc64 ~riscv ~sparc ~x86" +IUSE="debug ssl test" +REQUIRED_USE="test? ( ssl )" +RESTRICT="!test? ( test )" + +RDEPEND=" + ssl? ( + dev-libs/openssl + ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-20180410-sysconfdir.patch" + "${FILESDIR}/${PN}-20200929-find-OBJDUMP.patch" + "${FILESDIR}/${PN}-20231216-autoconf-warning.patch" +) + +src_prepare() { + default + + ln -s "${DISTDIR}"/${P}.tgz test.tar # bug #258881 + + 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 +} |