diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /sys-block/mbuffer | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'sys-block/mbuffer')
-rw-r--r-- | sys-block/mbuffer/Manifest | 3 | ||||
-rw-r--r-- | sys-block/mbuffer/files/mbuffer-20200929-find-OBJDUMP.patch | 11 | ||||
-rw-r--r-- | sys-block/mbuffer/mbuffer-20200929.ebuild | 70 |
3 files changed, 84 insertions, 0 deletions
diff --git a/sys-block/mbuffer/Manifest b/sys-block/mbuffer/Manifest index bef93e8485af..38329dbece3c 100644 --- a/sys-block/mbuffer/Manifest +++ b/sys-block/mbuffer/Manifest @@ -1,5 +1,8 @@ AUX mbuffer-20180410-sysconfdir.patch 897 BLAKE2B 1fc57be6f5ce11f483d43dc69c9e4120b09a4c59caaee90deefd5500058ea0c8b9cd6b9b3dea1a2f21733acf4eb8a922171d791e57d658275997ca951f73559e SHA512 36964604338a0bfd0e9cb55d17b307f32dfe09d280019e8083e5909b81e091887bb8f360ef9aebf21eb8448a3d9ba305a6f7a7bc35ea4884418bb7d67e9fadb0 AUX mbuffer-20200505-find-OBJDUMP.patch 377 BLAKE2B 7b9d8660d85532a5dff19195ab884fa37155ec603b414e576766c593295388c7f3ac2c3f6e333dbb5dbdf794036aedc814435b35bf746b10a5a0575905bcdbfb SHA512 4228741aeece32872c11da8a6840d8a7de6db77d4663edb44a8875384c70ba0807929bbb70c397f870ea1c18c5d0c0a224ad90f3d4e7094246496b461a5e6bff +AUX mbuffer-20200929-find-OBJDUMP.patch 279 BLAKE2B f22f74549eb2fba1061141616097fc01b987c846302a0fd59aaf8a0236a291207a02f0a85ec542fb217377eb40eb0983cd450aaf9a56f3df7838c29f31ab663a SHA512 20a9969de11f6eaf398627a306465df6b43ccb640176c4743ce8e8aa59b06f1837b0ef968223a0770c7aa1cf1959713526fa064f3eb54bbfabb067d834e510c0 DIST mbuffer-20200505.tgz 146020 BLAKE2B b85742f710405e29775c7d25e9c1be733fd94d7157018017b7c8fb5b5cdeab7fa8819b024d297d96af960a73a8982fdeaefe50627c605f797df4d75b0c15435f SHA512 8a1e5721869fd705d02486cf93467bfe0a59b58789826ca337c18a023e9fbb18c1651211bfebdea4cdd45772ad23d0715bb3892bed04ce66f5fbe72406cde9f7 +DIST mbuffer-20200929.tgz 147855 BLAKE2B abbcb4b29013ed24b4135a8b7576a0e728c3b5f1987558f0582711b1b00333caea8b55a02c4506ac179a4dae04977ee64572df09a210bf34bd71fd336be7e418 SHA512 332106205ea8743c9cf47529106c04ac15801a02b116d8e0c0fd3baadad51331c9f4ba1c8fa125edb42940cf401048a45ba23e2dac0e5189671bcf0ecee36996 EBUILD mbuffer-20200505.ebuild 1580 BLAKE2B 7d4d32ea78865d3fe29f94f77e2c2228814b37587bf97ceea6010ef0c99da441bba41344c2b5c4ba38cba7eb64a3e803a5f48ad4785d4bbac858db75fc891352 SHA512 eac277d0ec3650f05087ba0c3e50b15e088eda8c7de182d40334318c44cf54e895c8885bd3a42473cceb31882dbf5ec57f8792ce23c69ca8fe64f18f504dca6d +EBUILD mbuffer-20200929.ebuild 1586 BLAKE2B 890fbffad6fc330fc3d270d64c3604aa07c35fc55d1e8f9edb25460d90cd7422f4f8b641f78ffc87f8cf6054c8602f4e85d6de987e9382859ba7012f8e4c3b28 SHA512 208c74375c003d86f62b519d555e944f174a7372f6fa37a3f83bfc7130be7368f72505be25bf0ea573ed28224f0a0b7f29b0abc8783e98c0ad71d0b1da4981e2 MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 diff --git a/sys-block/mbuffer/files/mbuffer-20200929-find-OBJDUMP.patch b/sys-block/mbuffer/files/mbuffer-20200929-find-OBJDUMP.patch new file mode 100644 index 000000000000..891084b6ca7e --- /dev/null +++ b/sys-block/mbuffer/files/mbuffer-20200929-find-OBJDUMP.patch @@ -0,0 +1,11 @@ +--- a/configure.in ++++ b/configure.in +@@ -113,7 +113,7 @@ AC_PATH_PROG(AWK,awk) + AC_SYS_LARGEFILE + AC_STRUCT_ST_BLKSIZE + +-AC_CHECK_TARGET_TOOLS(OBJDUMP,gobjdump objdump) ++AC_CHECK_TOOLS(OBJDUMP, [gobjdump objdump]) + + AC_HEADER_ASSERT + AC_CHECK_LIB(pthread, pthread_mutex_init) diff --git a/sys-block/mbuffer/mbuffer-20200929.ebuild b/sys-block/mbuffer/mbuffer-20200929.ebuild new file mode 100644 index 000000000000..a0fc6c22696b --- /dev/null +++ b/sys-block/mbuffer/mbuffer-20200929.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2020 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 +} |