From be94ae04eee564451203d45977c2ef7c7ace1580 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 10 Nov 2024 03:03:09 +0000 Subject: gentoo auto-resync : 10:11:2024 - 03:03:09 --- app-crypt/rpm-sequoia/Manifest | 4 +- app-crypt/rpm-sequoia/rpm-sequoia-1.6.0-r1.ebuild | 305 +++++++++++++++++++++ app-crypt/rpm-sequoia/rpm-sequoia-1.6.0.ebuild | 299 -------------------- app-crypt/rpm-sequoia/rpm-sequoia-1.7.0-r1.ebuild | 317 ++++++++++++++++++++++ app-crypt/rpm-sequoia/rpm-sequoia-1.7.0.ebuild | 311 --------------------- 5 files changed, 624 insertions(+), 612 deletions(-) create mode 100644 app-crypt/rpm-sequoia/rpm-sequoia-1.6.0-r1.ebuild delete mode 100644 app-crypt/rpm-sequoia/rpm-sequoia-1.6.0.ebuild create mode 100644 app-crypt/rpm-sequoia/rpm-sequoia-1.7.0-r1.ebuild delete mode 100644 app-crypt/rpm-sequoia/rpm-sequoia-1.7.0.ebuild (limited to 'app-crypt/rpm-sequoia') diff --git a/app-crypt/rpm-sequoia/Manifest b/app-crypt/rpm-sequoia/Manifest index f970b9997be6..f8b07ecbe161 100644 --- a/app-crypt/rpm-sequoia/Manifest +++ b/app-crypt/rpm-sequoia/Manifest @@ -353,6 +353,6 @@ DIST zeroize-1.8.1.crate 20029 BLAKE2B 092eba034cd35ec47290020e0c2b213177ff5dbe1 DIST zeroize_derive-1.4.2.crate 11141 BLAKE2B a40add656369a3a40d5b5f3397a77a1e9f803d4b8ae5b7d51c9f2ebb332a289b3c1ea528655806a26998e081a1cc9f4b07828664542de8d8d2619faf079d25c5 SHA512 d6966b024ce5e265c93e7056659ccbb97bbf6baa30f759fd96dc4391a6487426637f61f0a2713b6160019d778cf7d8ff1f25bb33d6c4f4585b990baae418b226 DIST zerovec-0.10.4.crate 126398 BLAKE2B b078784d6f178bbb9de1c3c1b6c7ef996f00bdd7dfd2924bda921e62f3e09e953fbf50f8d0da99ac6ff6d134f146253846f5663549dcf8df08eaf34b9d4016b3 SHA512 db12bba1d7476ddead92e6dfcdcc30e2e0defff4f263a740244eabee265a2cab265473a663d3dc3210f48e113b66d951da496dfab7965ce1bc792e5f2db422a0 DIST zerovec-derive-0.10.3.crate 19438 BLAKE2B 9f7df8a4e4a0b62ab25aed967b26509db4bcc5d5b10b3bd73305099a4c49a60be8921484ced1a34d9b7ae30ffa5abe789686f432416a8f1cfc07de1db1dff594 SHA512 caefbffeb35265db9f74933bf07109d57f0da48156cafd4f330af78a5c7eb9ab0831a80789ad4fb119875ebc6cfd7e3de68c9984b77dca5151f9be41f1ae6e09 -EBUILD rpm-sequoia-1.6.0.ebuild 6009 BLAKE2B f83409c9bc73b76653d9790a0071f5e9104140abc79f9fba7aef94d78ff3e5b5a5cb6a9915d5afb694401cfeba6edd4abfc95a55a21603c358fead8242f29db6 SHA512 f8746c063996b4a0f9fa03fb8b451a1a32ff04dd57238493ca36ba3a87a07523c7721090f0bad7740a41951163c13538ac5a4bc1557e03ba58d5abfa16c36bc3 -EBUILD rpm-sequoia-1.7.0.ebuild 6203 BLAKE2B 4dc452e1a2a3fefcab03e0075173a4823f34bf1267eba5fd2b200f738a516e53b209e5292aaa2612031dcb64fa9d0e20d5593d86189db94c59147928a5962d1e SHA512 2034eb58ac48ad9cc1d04be9b6cb21ac9a21f812bc9eabde080d10d2c1bd26825eec4a44c21c89ddb831c23f66c0a0d9e2f1e6a96795e7e01faccc34cb4cdf84 +EBUILD rpm-sequoia-1.6.0-r1.ebuild 6088 BLAKE2B 4cbb384794480bf3266ae3c151c164b8d228e4bccfb3c37c92c54702c275f66c8322696ae04b8663be35980d2d11b8ee73abb90e1de07cc3684648f3ff6866ed SHA512 07a5b86e9083d1fdd55bb19fa173cd3bd85f200c3f9886e7737aa9c71e0a230aad27f8badc39e52cb44ba828b76c38bb43a21199b1345ec2a1c1c2b12e8a6107 +EBUILD rpm-sequoia-1.7.0-r1.ebuild 6271 BLAKE2B 0786faf24329483ab63a19fedc13950f01d52014996a5deaa7b9ae576b4bab429d5c8bf962555d6e0eb42a285d4512d6bddfe94e44fb6cb9a192be09f81b9112 SHA512 24bd71089d7e0f1042371a1e828eefcbf13edd9ee42135b2e8106d1bd755212f93b50f17b00f18376454dd8634d107d6ea199a930669c1948dd6f71d993329ed MISC metadata.xml 677 BLAKE2B ef639f0cedd83cf162d928db6409331c199ee34e8a9ba8b1861d1b5ae22d79eb586e9c7c6725910aeedaf5f5a06a7477677062613f376db262b12bd6c1c2cba6 SHA512 478ca30d1961b6dceb053e1afb04a1d57e3a9bc8b7de003367b7d111c4cfb675dfe803a973c6c368bb8541d66d23b91e67733177820d9f0d90c2d7ffeb3c0fb1 diff --git a/app-crypt/rpm-sequoia/rpm-sequoia-1.6.0-r1.ebuild b/app-crypt/rpm-sequoia/rpm-sequoia-1.6.0-r1.ebuild new file mode 100644 index 000000000000..1563c0d6977e --- /dev/null +++ b/app-crypt/rpm-sequoia/rpm-sequoia-1.6.0-r1.ebuild @@ -0,0 +1,305 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.13.1 + +EAPI=8 + +CRATES=" + aead@0.5.2 + aes-gcm@0.10.3 + aes@0.8.3 + aho-corasick@1.1.2 + android-tzdata@0.1.1 + android_system_properties@0.1.5 + anstyle@1.0.4 + anyhow@1.0.79 + ascii-canvas@3.0.0 + assert_cmd@2.0.13 + autocfg@1.1.0 + base16ct@0.2.0 + base64@0.21.7 + base64ct@1.6.0 + bindgen@0.68.1 + bit-set@0.5.3 + bit-vec@0.6.3 + bitflags@1.3.2 + bitflags@2.4.2 + block-buffer@0.10.4 + block-padding@0.3.3 + blowfish@0.9.1 + botan-sys@0.10.5 + botan@0.10.7 + bstr@1.9.0 + buffered-reader@1.3.0 + bumpalo@3.14.0 + byteorder@1.5.0 + camellia@0.1.0 + cast5@0.11.1 + cc@1.0.83 + cdylib-link-lines@0.1.4 + cexpr@0.6.0 + cfb-mode@0.8.2 + cfg-if@1.0.0 + chrono@0.4.32 + cipher@0.4.4 + clang-sys@1.7.0 + cmac@0.7.2 + const-oid@0.9.6 + core-foundation-sys@0.8.6 + cpufeatures@0.2.12 + crunchy@0.2.2 + crypto-bigint@0.5.5 + crypto-common@0.1.6 + ctr@0.9.2 + curve25519-dalek-derive@0.1.1 + curve25519-dalek@4.1.1 + dbl@0.3.2 + der@0.7.8 + des@0.8.1 + diff@0.1.13 + difflib@0.4.0 + digest@0.10.7 + dirs-next@2.0.0 + dirs-sys-next@0.1.2 + doc-comment@0.3.3 + dsa@0.6.2 + dyn-clone@1.0.16 + eax@0.5.0 + ecb@0.1.2 + ecdsa@0.16.9 + ed25519-dalek@2.1.0 + ed25519@2.2.3 + either@1.9.0 + elliptic-curve@0.13.8 + ena@0.14.2 + equivalent@1.0.1 + errno@0.3.8 + fastrand@2.0.1 + ff@0.13.0 + fiat-crypto@0.2.5 + fixedbitset@0.4.2 + foreign-types-shared@0.1.1 + foreign-types@0.3.2 + generic-array@0.14.7 + getrandom@0.2.12 + ghash@0.5.0 + glob@0.3.1 + group@0.13.0 + hashbrown@0.14.3 + hermit-abi@0.3.4 + hkdf@0.12.4 + hmac@0.12.1 + iana-time-zone-haiku@0.1.2 + iana-time-zone@0.1.59 + idea@0.5.1 + idna@0.4.0 + indexmap@2.1.0 + inout@0.1.3 + is-terminal@0.4.10 + itertools@0.10.5 + js-sys@0.3.67 + lalrpop-util@0.20.0 + lalrpop@0.20.0 + lazy_static@1.4.0 + lazycell@1.3.0 + libc@0.2.152 + libloading@0.8.1 + libm@0.2.8 + libredox@0.0.1 + linux-raw-sys@0.4.13 + lock_api@0.4.11 + log@0.4.20 + md-5@0.10.6 + memchr@2.7.1 + memsec@0.6.3 + minimal-lexical@0.2.1 + nettle-sys@2.3.0 + nettle@7.3.0 + new_debug_unreachable@1.0.4 + nom@7.1.3 + num-bigint-dig@0.8.4 + num-integer@0.1.45 + num-iter@0.1.43 + num-traits@0.2.17 + once_cell@1.19.0 + opaque-debug@0.3.0 + openssl-macros@0.1.1 + openssl-sys@0.9.99 + openssl@0.10.63 + p256@0.13.2 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + peeking_take_while@0.1.2 + pem-rfc7468@0.7.0 + petgraph@0.6.4 + phf_shared@0.10.0 + pkcs1@0.7.5 + pkcs8@0.10.2 + pkg-config@0.3.29 + platforms@3.3.0 + polyval@0.6.1 + ppv-lite86@0.2.17 + precomputed-hash@0.1.1 + predicates-core@1.0.6 + predicates-tree@1.0.9 + predicates@3.1.0 + primeorder@0.13.6 + proc-macro2@1.0.78 + quote@1.0.35 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + redox_syscall@0.4.1 + redox_users@0.4.4 + regex-automata@0.4.4 + regex-syntax@0.7.5 + regex-syntax@0.8.2 + regex@1.10.3 + rfc6979@0.4.0 + ripemd@0.1.3 + rsa@0.9.6 + rustc-hash@1.1.0 + rustc_version@0.4.0 + rustix@0.38.30 + rustversion@1.0.14 + scopeguard@1.2.0 + sec1@0.7.3 + semver@1.0.21 + sequoia-openpgp@1.17.0 + sequoia-policy-config@0.6.0 + serde@1.0.195 + serde_derive@1.0.195 + sha1collisiondetection@0.3.3 + sha2@0.10.8 + shlex@1.3.0 + signature@2.2.0 + siphasher@0.3.11 + smallvec@1.13.1 + spin@0.5.2 + spki@0.7.3 + string_cache@0.8.7 + subtle@2.5.0 + syn@2.0.48 + tempfile@3.9.0 + term@0.7.0 + termtree@0.4.1 + thiserror-impl@1.0.56 + thiserror@1.0.56 + tiny-keccak@2.0.2 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + toml@0.5.11 + twofish@0.7.1 + typenum@1.17.0 + unicode-bidi@0.3.15 + unicode-ident@1.0.12 + unicode-normalization@0.1.22 + unicode-xid@0.2.4 + universal-hash@0.5.1 + vcpkg@0.2.15 + version_check@0.9.4 + wait-timeout@0.2.0 + wasi@0.11.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.90 + wasm-bindgen-macro-support@0.2.90 + wasm-bindgen-macro@0.2.90 + wasm-bindgen-shared@0.2.90 + wasm-bindgen@0.2.90 + win-crypto-ng@0.5.1 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-core@0.52.0 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-targets@0.48.5 + windows-targets@0.52.0 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.0 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.0 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.0 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.0 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.0 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.0 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.0 + x25519-dalek@2.0.0 + xxhash-rust@0.8.8 + zeroize@1.7.0 + zeroize_derive@1.4.2 +" + +LLVM_COMPAT=( 17 ) +RUST_NEEDS_LLVM=1 + +inherit llvm-r1 cargo + +DESCRIPTION="Implementation of the RPM PGP interface using Sequoia" +HOMEPAGE="https://sequoia-pgp.org/ https://github.com/rpm-software-management/rpm-sequoia" +SRC_URI=" + https://github.com/rpm-software-management/rpm-sequoia/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="LGPL-2+" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 BSD Boost-1.0 CC0-1.0 ISC LGPL-2+ MIT Unicode-DFS-2016 + || ( GPL-2 GPL-3 LGPL-3 ) +" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~sparc ~x86" +IUSE="nettle +openssl" +REQUIRED_USE="^^ ( nettle openssl )" + +DEPEND=" + nettle? ( dev-libs/nettle:= ) + openssl? ( dev-libs/openssl:= ) +" +RDEPEND="${DEPEND}" +# Clang is required for bindgen +BDEPEND=" + virtual/pkgconfig + nettle? ( $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}') ) +" + +QA_FLAGS_IGNORED="usr/lib.*/librpm_sequoia.so.1" + +pkg_setup() { + llvm-r1_pkg_setup + rust_pkg_setup +} + +llvm_check_deps() { + if use nettle; then + has_version -b "sys-devel/clang:${LLVM_SLOT}" + fi +} + +src_configure() { + local myfeatures=( + $(usev nettle crypto-nettle) + $(usev openssl crypto-openssl) + ) + cargo_src_configure --no-default-features +} + +src_compile() { + # These variables will be used to generate the pkgconfig file. + PREFIX="${EPREFIX}/usr" LIBDIR="${PREFIX}"/$(get_libdir) cargo_src_compile +} + +src_install() { + newlib.so "$(cargo_target_dir)"/librpm_sequoia.so librpm_sequoia.so.1 + dosym librpm_sequoia.so.1 /usr/$(get_libdir)/librpm_sequoia.so + + insinto /usr/$(get_libdir)/pkgconfig + # build.rs sets the output dir to be target/, so don't use helper. + doins target/$(usex debug debug release)/rpm-sequoia.pc +} diff --git a/app-crypt/rpm-sequoia/rpm-sequoia-1.6.0.ebuild b/app-crypt/rpm-sequoia/rpm-sequoia-1.6.0.ebuild deleted file mode 100644 index da34f4210ca1..000000000000 --- a/app-crypt/rpm-sequoia/rpm-sequoia-1.6.0.ebuild +++ /dev/null @@ -1,299 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Autogenerated by pycargoebuild 0.13.1 - -EAPI=8 - -CRATES=" - aead@0.5.2 - aes-gcm@0.10.3 - aes@0.8.3 - aho-corasick@1.1.2 - android-tzdata@0.1.1 - android_system_properties@0.1.5 - anstyle@1.0.4 - anyhow@1.0.79 - ascii-canvas@3.0.0 - assert_cmd@2.0.13 - autocfg@1.1.0 - base16ct@0.2.0 - base64@0.21.7 - base64ct@1.6.0 - bindgen@0.68.1 - bit-set@0.5.3 - bit-vec@0.6.3 - bitflags@1.3.2 - bitflags@2.4.2 - block-buffer@0.10.4 - block-padding@0.3.3 - blowfish@0.9.1 - botan-sys@0.10.5 - botan@0.10.7 - bstr@1.9.0 - buffered-reader@1.3.0 - bumpalo@3.14.0 - byteorder@1.5.0 - camellia@0.1.0 - cast5@0.11.1 - cc@1.0.83 - cdylib-link-lines@0.1.4 - cexpr@0.6.0 - cfb-mode@0.8.2 - cfg-if@1.0.0 - chrono@0.4.32 - cipher@0.4.4 - clang-sys@1.7.0 - cmac@0.7.2 - const-oid@0.9.6 - core-foundation-sys@0.8.6 - cpufeatures@0.2.12 - crunchy@0.2.2 - crypto-bigint@0.5.5 - crypto-common@0.1.6 - ctr@0.9.2 - curve25519-dalek-derive@0.1.1 - curve25519-dalek@4.1.1 - dbl@0.3.2 - der@0.7.8 - des@0.8.1 - diff@0.1.13 - difflib@0.4.0 - digest@0.10.7 - dirs-next@2.0.0 - dirs-sys-next@0.1.2 - doc-comment@0.3.3 - dsa@0.6.2 - dyn-clone@1.0.16 - eax@0.5.0 - ecb@0.1.2 - ecdsa@0.16.9 - ed25519-dalek@2.1.0 - ed25519@2.2.3 - either@1.9.0 - elliptic-curve@0.13.8 - ena@0.14.2 - equivalent@1.0.1 - errno@0.3.8 - fastrand@2.0.1 - ff@0.13.0 - fiat-crypto@0.2.5 - fixedbitset@0.4.2 - foreign-types-shared@0.1.1 - foreign-types@0.3.2 - generic-array@0.14.7 - getrandom@0.2.12 - ghash@0.5.0 - glob@0.3.1 - group@0.13.0 - hashbrown@0.14.3 - hermit-abi@0.3.4 - hkdf@0.12.4 - hmac@0.12.1 - iana-time-zone-haiku@0.1.2 - iana-time-zone@0.1.59 - idea@0.5.1 - idna@0.4.0 - indexmap@2.1.0 - inout@0.1.3 - is-terminal@0.4.10 - itertools@0.10.5 - js-sys@0.3.67 - lalrpop-util@0.20.0 - lalrpop@0.20.0 - lazy_static@1.4.0 - lazycell@1.3.0 - libc@0.2.152 - libloading@0.8.1 - libm@0.2.8 - libredox@0.0.1 - linux-raw-sys@0.4.13 - lock_api@0.4.11 - log@0.4.20 - md-5@0.10.6 - memchr@2.7.1 - memsec@0.6.3 - minimal-lexical@0.2.1 - nettle-sys@2.3.0 - nettle@7.3.0 - new_debug_unreachable@1.0.4 - nom@7.1.3 - num-bigint-dig@0.8.4 - num-integer@0.1.45 - num-iter@0.1.43 - num-traits@0.2.17 - once_cell@1.19.0 - opaque-debug@0.3.0 - openssl-macros@0.1.1 - openssl-sys@0.9.99 - openssl@0.10.63 - p256@0.13.2 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - peeking_take_while@0.1.2 - pem-rfc7468@0.7.0 - petgraph@0.6.4 - phf_shared@0.10.0 - pkcs1@0.7.5 - pkcs8@0.10.2 - pkg-config@0.3.29 - platforms@3.3.0 - polyval@0.6.1 - ppv-lite86@0.2.17 - precomputed-hash@0.1.1 - predicates-core@1.0.6 - predicates-tree@1.0.9 - predicates@3.1.0 - primeorder@0.13.6 - proc-macro2@1.0.78 - quote@1.0.35 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - redox_syscall@0.4.1 - redox_users@0.4.4 - regex-automata@0.4.4 - regex-syntax@0.7.5 - regex-syntax@0.8.2 - regex@1.10.3 - rfc6979@0.4.0 - ripemd@0.1.3 - rsa@0.9.6 - rustc-hash@1.1.0 - rustc_version@0.4.0 - rustix@0.38.30 - rustversion@1.0.14 - scopeguard@1.2.0 - sec1@0.7.3 - semver@1.0.21 - sequoia-openpgp@1.17.0 - sequoia-policy-config@0.6.0 - serde@1.0.195 - serde_derive@1.0.195 - sha1collisiondetection@0.3.3 - sha2@0.10.8 - shlex@1.3.0 - signature@2.2.0 - siphasher@0.3.11 - smallvec@1.13.1 - spin@0.5.2 - spki@0.7.3 - string_cache@0.8.7 - subtle@2.5.0 - syn@2.0.48 - tempfile@3.9.0 - term@0.7.0 - termtree@0.4.1 - thiserror-impl@1.0.56 - thiserror@1.0.56 - tiny-keccak@2.0.2 - tinyvec@1.6.0 - tinyvec_macros@0.1.1 - toml@0.5.11 - twofish@0.7.1 - typenum@1.17.0 - unicode-bidi@0.3.15 - unicode-ident@1.0.12 - unicode-normalization@0.1.22 - unicode-xid@0.2.4 - universal-hash@0.5.1 - vcpkg@0.2.15 - version_check@0.9.4 - wait-timeout@0.2.0 - wasi@0.11.0+wasi-snapshot-preview1 - wasm-bindgen-backend@0.2.90 - wasm-bindgen-macro-support@0.2.90 - wasm-bindgen-macro@0.2.90 - wasm-bindgen-shared@0.2.90 - wasm-bindgen@0.2.90 - win-crypto-ng@0.5.1 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-core@0.52.0 - windows-sys@0.48.0 - windows-sys@0.52.0 - windows-targets@0.48.5 - windows-targets@0.52.0 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_gnullvm@0.52.0 - windows_aarch64_msvc@0.48.5 - windows_aarch64_msvc@0.52.0 - windows_i686_gnu@0.48.5 - windows_i686_gnu@0.52.0 - windows_i686_msvc@0.48.5 - windows_i686_msvc@0.52.0 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnu@0.52.0 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_gnullvm@0.52.0 - windows_x86_64_msvc@0.48.5 - windows_x86_64_msvc@0.52.0 - x25519-dalek@2.0.0 - xxhash-rust@0.8.8 - zeroize@1.7.0 - zeroize_derive@1.4.2 -" - -LLVM_MAX_SLOT=17 - -inherit cargo llvm - -DESCRIPTION="Implementation of the RPM PGP interface using Sequoia" -HOMEPAGE="https://sequoia-pgp.org/ https://github.com/rpm-software-management/rpm-sequoia" -SRC_URI=" - https://github.com/rpm-software-management/rpm-sequoia/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - ${CARGO_CRATE_URIS} -" - -LICENSE="LGPL-2+" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 BSD Boost-1.0 CC0-1.0 ISC LGPL-2+ MIT Unicode-DFS-2016 - || ( GPL-2 GPL-3 LGPL-3 ) -" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~sparc ~x86" -IUSE="nettle +openssl" -REQUIRED_USE="^^ ( nettle openssl )" - -DEPEND=" - nettle? ( dev-libs/nettle:= ) - openssl? ( dev-libs/openssl:= ) -" -RDEPEND="${DEPEND}" -# Clang is required for bindgen -BDEPEND=" - virtual/pkgconfig - nettle? ( , so don't use helper. - doins target/$(usex debug debug release)/rpm-sequoia.pc -} diff --git a/app-crypt/rpm-sequoia/rpm-sequoia-1.7.0-r1.ebuild b/app-crypt/rpm-sequoia/rpm-sequoia-1.7.0-r1.ebuild new file mode 100644 index 000000000000..c5c225f601ba --- /dev/null +++ b/app-crypt/rpm-sequoia/rpm-sequoia-1.7.0-r1.ebuild @@ -0,0 +1,317 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.13.3 + +EAPI=8 + +CRATES=" + aead@0.5.2 + aes-gcm@0.10.3 + aes@0.8.4 + aho-corasick@1.1.3 + android-tzdata@0.1.1 + android_system_properties@0.1.5 + anstyle@1.0.7 + anyhow@1.0.86 + ascii-canvas@3.0.0 + assert_cmd@2.0.14 + autocfg@1.3.0 + base16ct@0.2.0 + base64@0.22.1 + base64ct@1.6.0 + bindgen@0.68.1 + bit-set@0.5.3 + bit-vec@0.6.3 + bitflags@2.6.0 + block-buffer@0.10.4 + block-padding@0.3.3 + blowfish@0.9.1 + botan-sys@0.10.5 + botan@0.10.7 + bstr@1.9.1 + buffered-reader@1.3.1 + bumpalo@3.16.0 + byteorder@1.5.0 + camellia@0.1.0 + cast5@0.11.1 + cc@1.0.106 + cdylib-link-lines@0.1.5 + cexpr@0.6.0 + cfb-mode@0.8.2 + cfg-if@1.0.0 + chrono@0.4.38 + cipher@0.4.4 + clang-sys@1.8.1 + cmac@0.7.2 + const-oid@0.9.6 + core-foundation-sys@0.8.6 + cpufeatures@0.2.12 + crunchy@0.2.2 + crypto-bigint@0.5.5 + crypto-common@0.1.6 + ctr@0.9.2 + curve25519-dalek-derive@0.1.1 + curve25519-dalek@4.1.3 + dbl@0.3.2 + der@0.7.9 + des@0.8.1 + difflib@0.4.0 + digest@0.10.7 + dirs-next@2.0.0 + dirs-sys-next@0.1.2 + displaydoc@0.2.5 + doc-comment@0.3.3 + dsa@0.6.3 + dyn-clone@1.0.17 + eax@0.5.0 + ecb@0.1.2 + ecdsa@0.16.9 + ed25519-dalek@2.1.1 + ed25519@2.2.3 + either@1.13.0 + elliptic-curve@0.13.8 + ena@0.14.3 + equivalent@1.0.1 + errno@0.3.9 + fastrand@2.1.0 + ff@0.13.0 + fiat-crypto@0.2.9 + fixedbitset@0.4.2 + foreign-types-shared@0.1.1 + foreign-types@0.3.2 + generic-array@0.14.7 + generic-array@1.1.0 + getrandom@0.2.15 + ghash@0.5.1 + glob@0.3.1 + group@0.13.0 + hashbrown@0.14.5 + hkdf@0.12.4 + hmac@0.12.1 + iana-time-zone-haiku@0.1.2 + iana-time-zone@0.1.60 + icu_collections@1.5.0 + icu_locid@1.5.0 + icu_locid_transform@1.5.0 + icu_locid_transform_data@1.5.0 + icu_normalizer@1.5.0 + icu_normalizer_data@1.5.0 + icu_properties@1.5.1 + icu_properties_data@1.5.0 + icu_provider@1.5.0 + icu_provider_macros@1.5.0 + idea@0.5.1 + idna@1.0.2 + indexmap@2.2.6 + inout@0.1.3 + itertools@0.11.0 + js-sys@0.3.69 + lalrpop-util@0.20.2 + lalrpop@0.20.2 + lazy_static@1.5.0 + lazycell@1.3.0 + libc@0.2.155 + libloading@0.8.4 + libm@0.2.8 + libredox@0.1.3 + linux-raw-sys@0.4.14 + litemap@0.7.3 + lock_api@0.4.12 + log@0.4.22 + md-5@0.10.6 + memchr@2.7.4 + memsec@0.7.0 + minimal-lexical@0.2.1 + nettle-sys@2.3.0 + nettle@7.4.0 + new_debug_unreachable@1.0.6 + nom@7.1.3 + num-bigint-dig@0.8.4 + num-integer@0.1.46 + num-iter@0.1.45 + num-traits@0.2.19 + once_cell@1.19.0 + opaque-debug@0.3.1 + openssl-macros@0.1.1 + openssl-sys@0.9.102 + openssl@0.10.64 + p256@0.13.2 + p384@0.13.0 + p521@0.13.3 + parking_lot@0.12.3 + parking_lot_core@0.9.10 + peeking_take_while@0.1.2 + pem-rfc7468@0.7.0 + petgraph@0.6.5 + phf_shared@0.10.0 + pkcs1@0.7.5 + pkcs8@0.10.2 + pkg-config@0.3.30 + polyval@0.6.2 + ppv-lite86@0.2.17 + precomputed-hash@0.1.1 + predicates-core@1.0.6 + predicates-tree@1.0.9 + predicates@3.1.0 + primeorder@0.13.6 + proc-macro2@1.0.86 + quote@1.0.36 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + redox_syscall@0.5.2 + redox_users@0.4.5 + regex-automata@0.4.7 + regex-syntax@0.8.4 + regex@1.10.5 + rfc6979@0.4.0 + ripemd@0.1.3 + rsa@0.9.6 + rustc-hash@1.1.0 + rustc_version@0.4.0 + rustix@0.38.34 + rustversion@1.0.17 + same-file@1.0.6 + scopeguard@1.2.0 + sec1@0.7.3 + semver@1.0.23 + sequoia-openpgp@1.21.1 + sequoia-policy-config@0.6.0 + serde@1.0.204 + serde_derive@1.0.204 + sha1collisiondetection@0.3.4 + sha2@0.10.8 + shlex@1.3.0 + signature@2.2.0 + siphasher@0.3.11 + smallvec@1.13.2 + spin@0.9.8 + spki@0.7.3 + stable_deref_trait@1.2.0 + string_cache@0.8.7 + subtle@2.6.1 + syn@2.0.70 + synstructure@0.13.1 + tempfile@3.10.1 + term@0.7.0 + termtree@0.4.1 + thiserror-impl@1.0.61 + thiserror@1.0.61 + tiny-keccak@2.0.2 + tinystr@0.7.6 + toml@0.5.11 + twofish@0.7.1 + typenum@1.17.0 + unicode-ident@1.0.12 + unicode-xid@0.2.4 + universal-hash@0.5.1 + utf16_iter@1.0.5 + utf8_iter@1.0.4 + vcpkg@0.2.15 + version_check@0.9.4 + wait-timeout@0.2.0 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.92 + wasm-bindgen-macro-support@0.2.92 + wasm-bindgen-macro@0.2.92 + wasm-bindgen-shared@0.2.92 + wasm-bindgen@0.2.92 + win-crypto-ng@0.5.1 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.8 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-core@0.52.0 + windows-sys@0.52.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 + write16@1.0.0 + writeable@0.5.5 + x25519-dalek@2.0.1 + xxhash-rust@0.8.11 + yoke-derive@0.7.4 + yoke@0.7.4 + zerofrom-derive@0.1.4 + zerofrom@0.1.4 + zeroize@1.8.1 + zeroize_derive@1.4.2 + zerovec-derive@0.10.3 + zerovec@0.10.4 +" + +LLVM_COMPAT=( 17 18 ) +RUST_MIN_VER="1.74.1" +RUST_NEEDS_LLVM=1 + +inherit llvm-r1 cargo + +DESCRIPTION="Implementation of the RPM PGP interface using Sequoia" +HOMEPAGE="https://sequoia-pgp.org/ https://github.com/rpm-software-management/rpm-sequoia" +SRC_URI=" + https://github.com/rpm-software-management/rpm-sequoia/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="LGPL-2+" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 BSD Boost-1.0 CC0-1.0 ISC LGPL-2+ MIT Unicode-3.0 + Unicode-DFS-2016 + || ( GPL-2 GPL-3 LGPL-3 ) +" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~sparc ~x86" +IUSE="nettle +openssl" +REQUIRED_USE="^^ ( nettle openssl )" + +DEPEND=" + nettle? ( + dev-libs/gmp:= + dev-libs/nettle:= + ) + openssl? ( dev-libs/openssl:= ) +" +RDEPEND="${DEPEND}" +# Clang is required for bindgen +BDEPEND=" + virtual/pkgconfig + nettle? ( $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}') ) +" + +QA_FLAGS_IGNORED="usr/lib.*/librpm_sequoia.so.1" + +pkg_setup() { + llvm-r1_pkg_setup + rust_pkg_setup +} + +src_configure() { + local myfeatures=( + $(usev nettle crypto-nettle) + $(usev openssl crypto-openssl) + ) + cargo_src_configure --no-default-features +} + +src_compile() { + # These variables will be used to generate the pkgconfig file. + PREFIX="${EPREFIX}/usr" LIBDIR="${PREFIX}"/$(get_libdir) cargo_src_compile +} + +src_install() { + newlib.so "$(cargo_target_dir)"/librpm_sequoia.so librpm_sequoia.so.1 + dosym librpm_sequoia.so.1 /usr/$(get_libdir)/librpm_sequoia.so + + insinto /usr/$(get_libdir)/pkgconfig + # build.rs sets the output dir to be target/, so don't use helper. + doins target/$(usex debug debug release)/rpm-sequoia.pc +} diff --git a/app-crypt/rpm-sequoia/rpm-sequoia-1.7.0.ebuild b/app-crypt/rpm-sequoia/rpm-sequoia-1.7.0.ebuild deleted file mode 100644 index 082e1f09d371..000000000000 --- a/app-crypt/rpm-sequoia/rpm-sequoia-1.7.0.ebuild +++ /dev/null @@ -1,311 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Autogenerated by pycargoebuild 0.13.3 - -EAPI=8 - -CRATES=" - aead@0.5.2 - aes-gcm@0.10.3 - aes@0.8.4 - aho-corasick@1.1.3 - android-tzdata@0.1.1 - android_system_properties@0.1.5 - anstyle@1.0.7 - anyhow@1.0.86 - ascii-canvas@3.0.0 - assert_cmd@2.0.14 - autocfg@1.3.0 - base16ct@0.2.0 - base64@0.22.1 - base64ct@1.6.0 - bindgen@0.68.1 - bit-set@0.5.3 - bit-vec@0.6.3 - bitflags@2.6.0 - block-buffer@0.10.4 - block-padding@0.3.3 - blowfish@0.9.1 - botan-sys@0.10.5 - botan@0.10.7 - bstr@1.9.1 - buffered-reader@1.3.1 - bumpalo@3.16.0 - byteorder@1.5.0 - camellia@0.1.0 - cast5@0.11.1 - cc@1.0.106 - cdylib-link-lines@0.1.5 - cexpr@0.6.0 - cfb-mode@0.8.2 - cfg-if@1.0.0 - chrono@0.4.38 - cipher@0.4.4 - clang-sys@1.8.1 - cmac@0.7.2 - const-oid@0.9.6 - core-foundation-sys@0.8.6 - cpufeatures@0.2.12 - crunchy@0.2.2 - crypto-bigint@0.5.5 - crypto-common@0.1.6 - ctr@0.9.2 - curve25519-dalek-derive@0.1.1 - curve25519-dalek@4.1.3 - dbl@0.3.2 - der@0.7.9 - des@0.8.1 - difflib@0.4.0 - digest@0.10.7 - dirs-next@2.0.0 - dirs-sys-next@0.1.2 - displaydoc@0.2.5 - doc-comment@0.3.3 - dsa@0.6.3 - dyn-clone@1.0.17 - eax@0.5.0 - ecb@0.1.2 - ecdsa@0.16.9 - ed25519-dalek@2.1.1 - ed25519@2.2.3 - either@1.13.0 - elliptic-curve@0.13.8 - ena@0.14.3 - equivalent@1.0.1 - errno@0.3.9 - fastrand@2.1.0 - ff@0.13.0 - fiat-crypto@0.2.9 - fixedbitset@0.4.2 - foreign-types-shared@0.1.1 - foreign-types@0.3.2 - generic-array@0.14.7 - generic-array@1.1.0 - getrandom@0.2.15 - ghash@0.5.1 - glob@0.3.1 - group@0.13.0 - hashbrown@0.14.5 - hkdf@0.12.4 - hmac@0.12.1 - iana-time-zone-haiku@0.1.2 - iana-time-zone@0.1.60 - icu_collections@1.5.0 - icu_locid@1.5.0 - icu_locid_transform@1.5.0 - icu_locid_transform_data@1.5.0 - icu_normalizer@1.5.0 - icu_normalizer_data@1.5.0 - icu_properties@1.5.1 - icu_properties_data@1.5.0 - icu_provider@1.5.0 - icu_provider_macros@1.5.0 - idea@0.5.1 - idna@1.0.2 - indexmap@2.2.6 - inout@0.1.3 - itertools@0.11.0 - js-sys@0.3.69 - lalrpop-util@0.20.2 - lalrpop@0.20.2 - lazy_static@1.5.0 - lazycell@1.3.0 - libc@0.2.155 - libloading@0.8.4 - libm@0.2.8 - libredox@0.1.3 - linux-raw-sys@0.4.14 - litemap@0.7.3 - lock_api@0.4.12 - log@0.4.22 - md-5@0.10.6 - memchr@2.7.4 - memsec@0.7.0 - minimal-lexical@0.2.1 - nettle-sys@2.3.0 - nettle@7.4.0 - new_debug_unreachable@1.0.6 - nom@7.1.3 - num-bigint-dig@0.8.4 - num-integer@0.1.46 - num-iter@0.1.45 - num-traits@0.2.19 - once_cell@1.19.0 - opaque-debug@0.3.1 - openssl-macros@0.1.1 - openssl-sys@0.9.102 - openssl@0.10.64 - p256@0.13.2 - p384@0.13.0 - p521@0.13.3 - parking_lot@0.12.3 - parking_lot_core@0.9.10 - peeking_take_while@0.1.2 - pem-rfc7468@0.7.0 - petgraph@0.6.5 - phf_shared@0.10.0 - pkcs1@0.7.5 - pkcs8@0.10.2 - pkg-config@0.3.30 - polyval@0.6.2 - ppv-lite86@0.2.17 - precomputed-hash@0.1.1 - predicates-core@1.0.6 - predicates-tree@1.0.9 - predicates@3.1.0 - primeorder@0.13.6 - proc-macro2@1.0.86 - quote@1.0.36 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - redox_syscall@0.5.2 - redox_users@0.4.5 - regex-automata@0.4.7 - regex-syntax@0.8.4 - regex@1.10.5 - rfc6979@0.4.0 - ripemd@0.1.3 - rsa@0.9.6 - rustc-hash@1.1.0 - rustc_version@0.4.0 - rustix@0.38.34 - rustversion@1.0.17 - same-file@1.0.6 - scopeguard@1.2.0 - sec1@0.7.3 - semver@1.0.23 - sequoia-openpgp@1.21.1 - sequoia-policy-config@0.6.0 - serde@1.0.204 - serde_derive@1.0.204 - sha1collisiondetection@0.3.4 - sha2@0.10.8 - shlex@1.3.0 - signature@2.2.0 - siphasher@0.3.11 - smallvec@1.13.2 - spin@0.9.8 - spki@0.7.3 - stable_deref_trait@1.2.0 - string_cache@0.8.7 - subtle@2.6.1 - syn@2.0.70 - synstructure@0.13.1 - tempfile@3.10.1 - term@0.7.0 - termtree@0.4.1 - thiserror-impl@1.0.61 - thiserror@1.0.61 - tiny-keccak@2.0.2 - tinystr@0.7.6 - toml@0.5.11 - twofish@0.7.1 - typenum@1.17.0 - unicode-ident@1.0.12 - unicode-xid@0.2.4 - universal-hash@0.5.1 - utf16_iter@1.0.5 - utf8_iter@1.0.4 - vcpkg@0.2.15 - version_check@0.9.4 - wait-timeout@0.2.0 - walkdir@2.5.0 - wasi@0.11.0+wasi-snapshot-preview1 - wasm-bindgen-backend@0.2.92 - wasm-bindgen-macro-support@0.2.92 - wasm-bindgen-macro@0.2.92 - wasm-bindgen-shared@0.2.92 - wasm-bindgen@0.2.92 - win-crypto-ng@0.5.1 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.8 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-core@0.52.0 - windows-sys@0.52.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 - write16@1.0.0 - writeable@0.5.5 - x25519-dalek@2.0.1 - xxhash-rust@0.8.11 - yoke-derive@0.7.4 - yoke@0.7.4 - zerofrom-derive@0.1.4 - zerofrom@0.1.4 - zeroize@1.8.1 - zeroize_derive@1.4.2 - zerovec-derive@0.10.3 - zerovec@0.10.4 -" - -LLVM_COMPAT=( {17..18} ) - -inherit cargo llvm-r1 - -DESCRIPTION="Implementation of the RPM PGP interface using Sequoia" -HOMEPAGE="https://sequoia-pgp.org/ https://github.com/rpm-software-management/rpm-sequoia" -SRC_URI=" - https://github.com/rpm-software-management/rpm-sequoia/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - ${CARGO_CRATE_URIS} -" - -LICENSE="LGPL-2+" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 BSD Boost-1.0 CC0-1.0 ISC LGPL-2+ MIT Unicode-3.0 - Unicode-DFS-2016 - || ( GPL-2 GPL-3 LGPL-3 ) -" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~sparc ~x86" -IUSE="nettle +openssl" -REQUIRED_USE="^^ ( nettle openssl )" - -DEPEND=" - nettle? ( - dev-libs/gmp:= - dev-libs/nettle:= - ) - openssl? ( dev-libs/openssl:= ) -" -RDEPEND="${DEPEND}" -# Clang is required for bindgen -BDEPEND=" - virtual/pkgconfig - >=virtual/rust-1.73 - nettle? ( $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}') ) -" - -QA_FLAGS_IGNORED="usr/lib.*/librpm_sequoia.so.1" - -src_configure() { - local myfeatures=( - $(usev nettle crypto-nettle) - $(usev openssl crypto-openssl) - ) - cargo_src_configure --no-default-features -} - -src_compile() { - # These variables will be used to generate the pkgconfig file. - PREFIX="${EPREFIX}/usr" LIBDIR="${PREFIX}"/$(get_libdir) cargo_src_compile -} - -src_install() { - newlib.so "$(cargo_target_dir)"/librpm_sequoia.so librpm_sequoia.so.1 - dosym librpm_sequoia.so.1 /usr/$(get_libdir)/librpm_sequoia.so - - insinto /usr/$(get_libdir)/pkgconfig - # build.rs sets the output dir to be target/, so don't use helper. - doins target/$(usex debug debug release)/rpm-sequoia.pc -} -- cgit v1.2.3