From 483d7c056fba15727fe24545f93627a1d1e1e2eb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 18 Oct 2024 04:04:23 +0100 Subject: gentoo auto-resync : 18:10:2024 - 04:04:23 --- sys-block/Manifest.gz | Bin 10875 -> 10875 bytes sys-block/thin-provisioning-tools/Manifest | 3 +- ...thin-provisioning-tools-1.1.0-rio-nightly.patch | 11 + .../thin-provisioning-tools-1.1.0-r1.ebuild | 233 +++++++++++++++++++++ .../thin-provisioning-tools-1.1.0.ebuild | 220 ------------------- 5 files changed, 246 insertions(+), 221 deletions(-) create mode 100644 sys-block/thin-provisioning-tools/files/thin-provisioning-tools-1.1.0-rio-nightly.patch create mode 100644 sys-block/thin-provisioning-tools/thin-provisioning-tools-1.1.0-r1.ebuild delete mode 100644 sys-block/thin-provisioning-tools/thin-provisioning-tools-1.1.0.ebuild (limited to 'sys-block') diff --git a/sys-block/Manifest.gz b/sys-block/Manifest.gz index 0154dde9d394..565f6da751f6 100644 Binary files a/sys-block/Manifest.gz and b/sys-block/Manifest.gz differ diff --git a/sys-block/thin-provisioning-tools/Manifest b/sys-block/thin-provisioning-tools/Manifest index 396942e38a71..2ff69adac457 100644 --- a/sys-block/thin-provisioning-tools/Manifest +++ b/sys-block/thin-provisioning-tools/Manifest @@ -5,6 +5,7 @@ AUX thin-provisioning-tools-0.9.0-build-fixes.patch 667 BLAKE2B cb739c4e54de19a4 AUX thin-provisioning-tools-0.9.0-metadata_checker-Rename-function-to-reflect-command-.patch 2237 BLAKE2B d88a1ffb8e947a611deeee2e5e69b8a09b200f5dbf86f948a61c8f664eb17b099c12e1c1df2167361e6a0f457cec45723238dc3081e8e849c921bb5cd12cf9f6 SHA512 b838fcdca33186626fd75688b4383c64a18b503a3b9b6e136d4b1a706095e0a2b8d11f90d0b739d2568b2efd5eea2128680fa64fa6e39ac33a66c41f51d76d18 AUX thin-provisioning-tools-0.9.0-thin_check-Allow-using-clear-needs-check-and-skip-ma.patch 5793 BLAKE2B 017dffdb8a3170ede131396e4eb5cdb2e12a442cbbd0f515e06aa0b905c560a21a9de7190019492c2bb81dd772ee8ba38eb5cc05b635dd1b6a65c6f0864308ef SHA512 ba978d05cad60d3436e11d6c499498209f2efea989b5ac65e0920b44b2fa0b1c6ba8431e73220f671426a95dc6d843ad383cf9de6cb4b0c78f7342f881903878 AUX thin-provisioning-tools-1.0.6-build-with-cargo.patch 824 BLAKE2B d14adb08e8fde976072ddb23b71f4d20a097bbea9fc364e9a50656e8186166f6094a655ab3d3f402683790db17a22ab90a7969fbfcd56414fbaf7cf146d0b7d0 SHA512 73a5b3482170186d2527f76e57ee71c146f31997fd06925938c5b92f198ada258e7c763d14f2075a7130331697d1d254c50116b63d374b070fb3bb89139acff6 +AUX thin-provisioning-tools-1.1.0-rio-nightly.patch 220 BLAKE2B a3a9dedf714c31d35b4047bbbcd6ddb6c5d369ff5ff8463ac787578ee53fa8b8c1bde98c20f5632fdee0d6979204cb3c0f65423b7efe8d036eea8863d809b7d7 SHA512 cd6828f8435b6f7ee74163eed64cf26cc2911895446b705038b4071d22a66e4a8b36f2b1750c35120d21c6c96bc8ec08b3b09952cb495120d652391ec51a45ef DIST adler-1.0.2.crate 12778 BLAKE2B a1dc17786adae945ac09d3525e609ed944e6465690787bbb831a1b9d53793cba1989793d0a5606d5d23ee20d36457923d451b1b3530c9ec7072a487aa3e55bbd SHA512 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1 DIST aho-corasick-1.1.2.crate 183136 BLAKE2B 2d4306d8968061b9f7e50190be6a92b3f668169ba1b9f9691de08a57c96185f7a4288d20c64cb8488a260eb18d3ed4b0e8358b0cca47aa44759b2e448049cbaa SHA512 61ef5092673ab5a60bec4e92df28a91fe6171ba59d5829ffe41fc55aff3bfb755533a4ad53dc7bf827a0b789fcce593b17e69d1fcfb3694f06ed3b1bd535d40c DIST aho-corasick-1.1.3.crate 183311 BLAKE2B 8dfcbba0b9d94e55eae739b16f5c6474baa43ee7854c5ca792f426a9f46fb0eece79cd493b804e51449181bcad338b96819fe977c02c9907654d713e26b9f830 SHA512 ba422a54688c4678fcf16e34fdf3ed06c333e6e3fc8b75af9272a215add494d43ebaef319021134b61327fd5d3572aec0dc655b714ffb3bc71ba3c265c9ebb69 @@ -237,5 +238,5 @@ EBUILD thin-provisioning-tools-0.9.0-r4.ebuild 1715 BLAKE2B 5f307ade4332dcf24107 EBUILD thin-provisioning-tools-1.0.10.ebuild 3558 BLAKE2B b598fbeabb81c4a81c94c085b9a09e09b3499b58171464c98cadacbafc6b3af6e8c2ebb86817264bd1925f5560a95aa1ebeda4b4a6ec45bcd66200da6fdd172e SHA512 154bd5c4fa60e7f89d30997f431baa77e297726d4827a07bd9f8b2e0310e5b4f8e14d2c5356846c80e41992a30a5308c419cb7f61489c1155980913ad8cafdc6 EBUILD thin-provisioning-tools-1.0.13.ebuild 3378 BLAKE2B feb593182e6d0fa6c16ac54fc88f767091b9f4dc0bf6cd1cae99fc687c849a1ee452be745f9c1ae656301f0b679024449c365ecb3b5a839c101ec422d8159732 SHA512 9d4ac5061162c4f99e72c0f308ead68135b45c920c756083209ecdcad0e356036ffa35715c7d640c556270063f884131d93c67b2163210f2b61221b07c2a0c49 EBUILD thin-provisioning-tools-1.0.14.ebuild 4094 BLAKE2B 50bcff5e2bc51499edd64c3e6cbbf4eb81cc44ea2ccfd4d296bbda83832801f2fc666eb0678476a7ab00105074331bbb1ff578477971f4a72635a14ba21a28bc SHA512 1c8d11dbbda982a1fd29464cc79e31eeab0ce59b6df7441dc9389758dd95ef82e7ad4c18320d9af38d9b7356ed514bf72829b4715378c016965cf3cbe07a78d0 -EBUILD thin-provisioning-tools-1.1.0.ebuild 4114 BLAKE2B 1c899153359d4a7e74749c910af9fa131f84cadff95e32a24badd680740889eb4906516b1e5353deec8582a67ab3d7a32a7ca88256331ad2ca912297e15b8e3c SHA512 b344562acb900ed9e694d17c4b679850aa2ce572f8acba4f17772d9e9f1ff7339bdd1cbdcc0052f02e9b5c006b451068fe587abb79f47898c063c36e960df174 +EBUILD thin-provisioning-tools-1.1.0-r1.ebuild 4339 BLAKE2B 4d0d16c1988f9790fcf68ff011dece8c8747efcb4dbe18118d02288a05dd2e834adc5988518af910c52d3bbdb586e2801d8fe9b2f8ea8c280e49f24432fa9d70 SHA512 98b6be2a338a1ce4b49260e3a05f6915a4a088b495a9a2ee47c643d13d6fd1b580d3dcf27b6e5ff8bc69f675263f8e720c4bd2caa94682b5b6c808c8f1b47f6a MISC metadata.xml 523 BLAKE2B 4655ecae3360d46012106a3956bfa251e5d496883858bf54d98b41c058b900839f27c4904c29c927ae6a9c0f9de3aabfc803f991bb77044e94fb6973d686cc7e SHA512 930adf57684772db565b607ee5dc309777ce3620ee10f60f305656fb566cba0e16300648808a046381eb1ec3ea3d8bf56ab582a70082e0f10b4089e2ecefc981 diff --git a/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-1.1.0-rio-nightly.patch b/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-1.1.0-rio-nightly.patch new file mode 100644 index 000000000000..3472b9fbad64 --- /dev/null +++ b/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-1.1.0-rio-nightly.patch @@ -0,0 +1,11 @@ +https://bugs.gentoo.org/939517 +--- a/src/lib.rs ++++ b/src/lib.rs +@@ -130,7 +130,6 @@ + trivial_casts, + trivial_numeric_casts, + unsafe_code, +- unused_qualifications + )] + #![deny( + clippy::cast_lossless, diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.1.0-r1.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.1.0-r1.ebuild new file mode 100644 index 000000000000..198b0bb7c620 --- /dev/null +++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.1.0-r1.ebuild @@ -0,0 +1,233 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + adler@1.0.2 + aho-corasick@1.1.3 + anstream@0.6.15 + anstyle-parse@0.2.5 + anstyle-query@1.1.1 + anstyle-wincon@3.0.4 + anstyle@1.0.8 + anyhow@1.0.86 + atty@0.2.14 + autocfg@1.3.0 + base64@0.22.1 + bindgen@0.69.4 + bitflags@1.3.2 + bitflags@2.6.0 + bytemuck@1.16.3 + byteorder@1.5.0 + cassowary@0.3.0 + cexpr@0.6.0 + cfg-if@1.0.0 + cfg_aliases@0.2.1 + clang-sys@1.8.1 + clap@4.5.13 + clap_builder@4.5.13 + clap_lex@0.7.2 + colorchoice@1.0.2 + console@0.15.8 + crc32c@0.6.8 + crc32fast@1.4.2 + data-encoding@2.6.0 + devicemapper-sys@0.3.0 + devicemapper@0.34.3 + downcast@0.11.0 + duct@0.13.7 + either@1.13.0 + encode_unicode@0.3.6 + env_filter@0.1.2 + env_logger@0.11.5 + env_logger@0.8.4 + errno@0.3.9 + exitcode@1.1.2 + fastrand@2.1.0 + fixedbitset@0.4.2 + flate2@1.0.31 + fragile@2.0.0 + getrandom@0.2.15 + glob@0.3.1 + hermit-abi@0.1.19 + hermit-abi@0.3.9 + humantime@2.1.0 + indicatif@0.17.8 + instant@0.1.13 + iovec@0.1.4 + is_terminal_polyfill@1.70.1 + itertools@0.12.1 + lazy_static@1.5.0 + lazycell@1.3.0 + libc@0.2.155 + libloading@0.8.5 + libudev-sys@0.1.4 + linux-raw-sys@0.4.14 + log@0.4.22 + memchr@2.7.4 + minimal-lexical@0.2.1 + miniz_oxide@0.7.4 + mockall@0.13.0 + mockall_derive@0.13.0 + nix@0.29.0 + nom@7.1.3 + num-derive@0.4.2 + num-traits@0.2.19 + num_cpus@1.16.0 + number_prefix@0.4.0 + numtoa@0.1.0 + once_cell@1.19.0 + os_pipe@1.2.1 + pkg-config@0.3.30 + portable-atomic@1.7.0 + ppv-lite86@0.2.20 + predicates-core@1.0.8 + predicates-tree@1.0.11 + predicates@3.1.2 + proc-macro2@1.0.86 + quick-xml@0.36.1 + quickcheck@1.0.3 + quickcheck_macros@1.0.0 + quote@1.0.36 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rangemap@1.5.1 + redox_syscall@0.2.16 + redox_termios@0.1.3 + regex-automata@0.4.7 + regex-syntax@0.8.4 + regex@1.10.6 + retry@2.0.0 + roaring@0.10.6 + rustc-hash@1.1.0 + rustc_version@0.4.0 + rustix@0.38.34 + safemem@0.3.3 + semver@1.0.23 + serde@1.0.204 + serde_derive@1.0.204 + shared_child@1.0.1 + shlex@1.3.0 + strsim@0.11.1 + syn@1.0.109 + syn@2.0.72 + tempfile@3.11.0 + termion@1.5.6 + termtree@0.4.1 + thiserror-impl@1.0.63 + thiserror@1.0.63 + threadpool@1.8.1 + tui@0.19.0 + udev@0.7.0 + unicode-ident@1.0.12 + unicode-segmentation@1.11.0 + unicode-width@0.1.13 + utf8parse@0.2.2 + wasi@0.11.0+wasi-snapshot-preview1 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.52.6 + zerocopy-derive@0.7.35 + zerocopy@0.7.35 +" + +declare -A GIT_CRATES=( + [rio]='https://github.com/jthornber/rio;2979a720f671e836302c01546f9cc9f7988610c8;rio-%commit%' +) + +LLVM_COMPAT=( {17..18} ) + +inherit cargo llvm-r1 + +DESCRIPTION="A suite of tools for thin provisioning on Linux" +HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools" + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/jthornber/thin-provisioning-tools.git" + inherit git-r3 +else + SRC_URI=" + https://github.com/jthornber/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + ${CARGO_CRATE_URIS} + " + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="GPL-3" +# Dependent crate licenses +LICENSE+=" Apache-2.0 BSD GPL-3 ISC MIT MPL-2.0 Unicode-DFS-2016" +SLOT="0" +IUSE="io-uring" + +RDEPEND="virtual/libudev:=" +# libdevmapper.h needed for devicemapper-sys crate +DEPEND=" + ${RDEPEND} + sys-fs/lvm2 +" +# Needed for bindgen +BDEPEND=" + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT} + ') + virtual/pkgconfig +" + +DOCS=( + CHANGES + COPYING + README.md + doc/TODO.md + doc/thinp-version-2/notes.md +) + +# Rust +QA_FLAGS_IGNORED="usr/sbin/pdata_tools" + +PATCHES=( + "${FILESDIR}/${PN}-1.0.6-build-with-cargo.patch" +) + +src_unpack() { + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + cargo_live_src_unpack + else + cargo_src_unpack + fi +} + +src_prepare() { + default + + cd "${WORKDIR}"/rio* || die + eapply "${FILESDIR}/${PN}-1.1.0-rio-nightly.patch" +} + +src_configure() { + local myfeatures=( $(usev io-uring io_uring) ) + cargo_src_configure +} + +src_install() { + emake \ + DESTDIR="${D}" \ + DATADIR="${ED}/usr/share" \ + PDATA_TOOLS="$(cargo_target_dir)/pdata_tools" \ + install + + einstalldocs +} diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.1.0.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.1.0.ebuild deleted file mode 100644 index 5611fe2ff14b..000000000000 --- a/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.1.0.ebuild +++ /dev/null @@ -1,220 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" - adler@1.0.2 - aho-corasick@1.1.3 - anstream@0.6.15 - anstyle-parse@0.2.5 - anstyle-query@1.1.1 - anstyle-wincon@3.0.4 - anstyle@1.0.8 - anyhow@1.0.86 - atty@0.2.14 - autocfg@1.3.0 - base64@0.22.1 - bindgen@0.69.4 - bitflags@1.3.2 - bitflags@2.6.0 - bytemuck@1.16.3 - byteorder@1.5.0 - cassowary@0.3.0 - cexpr@0.6.0 - cfg-if@1.0.0 - cfg_aliases@0.2.1 - clang-sys@1.8.1 - clap@4.5.13 - clap_builder@4.5.13 - clap_lex@0.7.2 - colorchoice@1.0.2 - console@0.15.8 - crc32c@0.6.8 - crc32fast@1.4.2 - data-encoding@2.6.0 - devicemapper-sys@0.3.0 - devicemapper@0.34.3 - downcast@0.11.0 - duct@0.13.7 - either@1.13.0 - encode_unicode@0.3.6 - env_filter@0.1.2 - env_logger@0.11.5 - env_logger@0.8.4 - errno@0.3.9 - exitcode@1.1.2 - fastrand@2.1.0 - fixedbitset@0.4.2 - flate2@1.0.31 - fragile@2.0.0 - getrandom@0.2.15 - glob@0.3.1 - hermit-abi@0.1.19 - hermit-abi@0.3.9 - humantime@2.1.0 - indicatif@0.17.8 - instant@0.1.13 - iovec@0.1.4 - is_terminal_polyfill@1.70.1 - itertools@0.12.1 - lazy_static@1.5.0 - lazycell@1.3.0 - libc@0.2.155 - libloading@0.8.5 - libudev-sys@0.1.4 - linux-raw-sys@0.4.14 - log@0.4.22 - memchr@2.7.4 - minimal-lexical@0.2.1 - miniz_oxide@0.7.4 - mockall@0.13.0 - mockall_derive@0.13.0 - nix@0.29.0 - nom@7.1.3 - num-derive@0.4.2 - num-traits@0.2.19 - num_cpus@1.16.0 - number_prefix@0.4.0 - numtoa@0.1.0 - once_cell@1.19.0 - os_pipe@1.2.1 - pkg-config@0.3.30 - portable-atomic@1.7.0 - ppv-lite86@0.2.20 - predicates-core@1.0.8 - predicates-tree@1.0.11 - predicates@3.1.2 - proc-macro2@1.0.86 - quick-xml@0.36.1 - quickcheck@1.0.3 - quickcheck_macros@1.0.0 - quote@1.0.36 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rangemap@1.5.1 - redox_syscall@0.2.16 - redox_termios@0.1.3 - regex-automata@0.4.7 - regex-syntax@0.8.4 - regex@1.10.6 - retry@2.0.0 - roaring@0.10.6 - rustc-hash@1.1.0 - rustc_version@0.4.0 - rustix@0.38.34 - safemem@0.3.3 - semver@1.0.23 - serde@1.0.204 - serde_derive@1.0.204 - shared_child@1.0.1 - shlex@1.3.0 - strsim@0.11.1 - syn@1.0.109 - syn@2.0.72 - tempfile@3.11.0 - termion@1.5.6 - termtree@0.4.1 - thiserror-impl@1.0.63 - thiserror@1.0.63 - threadpool@1.8.1 - tui@0.19.0 - udev@0.7.0 - unicode-ident@1.0.12 - unicode-segmentation@1.11.0 - unicode-width@0.1.13 - utf8parse@0.2.2 - wasi@0.11.0+wasi-snapshot-preview1 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.52.0 - windows-sys@0.59.0 - windows-targets@0.52.6 - windows_aarch64_gnullvm@0.52.6 - windows_aarch64_msvc@0.52.6 - windows_i686_gnu@0.52.6 - windows_i686_gnullvm@0.52.6 - windows_i686_msvc@0.52.6 - windows_x86_64_gnu@0.52.6 - windows_x86_64_gnullvm@0.52.6 - windows_x86_64_msvc@0.52.6 - zerocopy-derive@0.7.35 - zerocopy@0.7.35 -" - -declare -A GIT_CRATES=( - [rio]='https://github.com/jthornber/rio;2979a720f671e836302c01546f9cc9f7988610c8;rio-%commit%' -) - -LLVM_COMPAT=( {17..18} ) - -inherit cargo llvm-r1 - -DESCRIPTION="A suite of tools for thin provisioning on Linux" -HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools" - -if [[ ${PV} == *9999 ]]; then - EGIT_REPO_URI="https://github.com/jthornber/thin-provisioning-tools.git" - inherit git-r3 -else - SRC_URI=" - https://github.com/jthornber/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - ${CARGO_CRATE_URIS} - " - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -LICENSE="GPL-3" -# Dependent crate licenses -LICENSE+=" Apache-2.0 BSD GPL-3 ISC MIT MPL-2.0 Unicode-DFS-2016" -SLOT="0" -IUSE="io-uring" - -# Needed for bindgen -BDEPEND=" - $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - ') - virtual/pkgconfig -" - -DOCS=( - CHANGES - COPYING - README.md - doc/TODO.md - doc/thinp-version-2/notes.md -) - -# Rust -QA_FLAGS_IGNORED="usr/sbin/pdata_tools" - -PATCHES=( - "${FILESDIR}/${PN}-1.0.6-build-with-cargo.patch" -) - -src_unpack() { - if [[ ${PV} == 9999 ]] ; then - git-r3_src_unpack - cargo_live_src_unpack - else - cargo_src_unpack - fi -} - -src_configure() { - local myfeatures=( $(usev io-uring io_uring) ) - cargo_src_configure -} - -src_install() { - emake \ - DESTDIR="${D}" \ - DATADIR="${ED}/usr/share" \ - PDATA_TOOLS="$(cargo_target_dir)/pdata_tools" \ - install - - einstalldocs -} -- cgit v1.2.3