diff options
author | Patrick Lauer <patrick@gentoo.org> | 2024-06-09 05:50:48 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2024-06-09 05:51:45 +0000 |
commit | 20abed36d6e584210c95c05f09c19aaaf17129b5 (patch) | |
tree | 9e7c02a0dacfa8850e37f3bdc591f051d8f2501c /sys-apps/syd | |
parent | sys-devel/gcc: add 14.1.1_p20240608 (diff) | |
download | gentoo-20abed36d6e584210c95c05f09c19aaaf17129b5.tar.gz gentoo-20abed36d6e584210c95c05f09c19aaaf17129b5.tar.bz2 gentoo-20abed36d6e584210c95c05f09c19aaaf17129b5.zip |
sys-apps/syd: add 3.21.1
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'sys-apps/syd')
-rw-r--r-- | sys-apps/syd/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/syd/syd-3.21.1.ebuild | 335 |
2 files changed, 337 insertions, 0 deletions
diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest index b4428e51f6de..76a26f8b86aa 100644 --- a/sys-apps/syd/Manifest +++ b/sys-apps/syd/Manifest @@ -218,6 +218,7 @@ DIST strum_macros-0.26.2.crate 27056 BLAKE2B c9df13a91dd08f8bba0dfeec4fc03b59cd7 DIST strum_macros-0.26.4.crate 27531 BLAKE2B 7f7d57c957a1591054288fcae6590a5e669fba1b47d8f1a52371ce60fd84f91fdb430e48cc7edbb5fc72914be5ce12af29758b653680da3f4177339b31206750 SHA512 77a17ce47d5e8fe8a89cb6aa6c3ca5d5c2625aea0f93456f05a9994238cd3b08b3f7c6a45e9b3db21bca8fb5759f505f15cc111ac84acbbb34d59cdae8307b0b DIST syd-3.20.0.tar.gz 762148 BLAKE2B 9b904d4ccb4161bf5c5ee0e056b2e0e042e9c180356b7a18570527559a7c4ff62ed3161680842681cea4f1fe7368ef6bbee611a956f2b1e5486b4aff35f1fb51 SHA512 cf0ed7f79b3c77b563b2da7be10486bb47ad070a69fe3998240dd7a7906fc6ca95aeba4b69c879564abfe6196239b34edae4b8da1f329261a5d4577798d686f9 DIST syd-3.21.0.tar.gz 732770 BLAKE2B 27b74fe269d2c63de18e946fa2acac469f6bb54a80ccfd11dd20e5476abb6e50f39a5f4c69b39ce999f9721dbdf975fde9823ce385b83678a8d2e4d1cc9d5074 SHA512 35e96a05bbfad0f0e83c183ffd5c23cd9a3381a676f467af823fc4865e05bfdc93e6005b94edace22c09282d8ba61a16c3477bee8bf457d8095bc3ca0bac967f +DIST syd-3.21.1.tar.gz 733506 BLAKE2B 5dcd1b628c317cf353b2a10b790dcdca41563d4d1e850fbfaf57a3442e88684110e7de2999388fa4e57565e2a99d5b4ac08e52405db38c51f6390cd1f43be5ed SHA512 411ab13a70a6952cbed6b8db5437ff6c67ae7558dd94bb534ebc98a93ff7f6e114a8395fee23170071a36b339b21cc3fc5943a0d663cdb0dde0fcee75260559f DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d DIST syn-2.0.66.crate 264855 BLAKE2B 5029091b2cfa88e5c739be913a647dc9492696398c09b891f84089350e6f09baafd9935b81e0f3519d5465eff2e1822ef6cdc96c15d6a40d1b6b8dd2f9e7d073 SHA512 60a617bfd37d74c52e4d4d63ef0a27a2f9b982469a6926922f2f6e96754a0c66affb0847b9a44d505c053cbd788b97e998efb8d1e558ea00ae4a0b7f15bed9b0 DIST tabwriter-1.4.0.crate 9951 BLAKE2B 8833c5a7f37749268187e60d95b07262e77c461ab868cd934e58031703dc0c9ea83b8757e681747900dc07eb5c8e41e589d9c37568b66ca25c95f0fbf07c8a8c SHA512 066846124e3beee816f76ed3a59fb224593537ce5807aa472fbcd0cb98f638dba6801d171b6d1026e56b6eaae6f2e873d64c190c97bbd8d6ffeffc82f3b4d52f @@ -238,6 +239,7 @@ DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542d DIST unicode-width-0.1.12.crate 24062 BLAKE2B 61afd22353d46a8a77519af9b3580d75dafc7965967f7724cb740f1ee199c7742b3549ad6c67776b876dbda5b8f27c634431f68517e29a72ade1622da9fde446 SHA512 0bafd7a69bdf49c849e7c063ebf0487eca8a76244e3bc18c9a5f4609465dc0e5d482daceb6a9a6f4125b801bf7063cb8225fdb55173e5dc55e7bf278300df1b4 DIST unicode-width-0.1.13.crate 457228 BLAKE2B 757c4da5fa090369a26130b08440c2348f1cd1c0dfbb6770dd75b65eba797eaa65f5d683f0c2862cced06124d46a89b4825af0d990f6adc2df8709b8ef291665 SHA512 9781d6dab2c6343e8c28ec66b50cb4293261bb2114e122fa80ad2facdb23020f5b621c38030193b918669e58adf143808e5ab4c507c18beb6dc61e97b2e296f4 DIST utf8parse-0.2.1.crate 13435 BLAKE2B a1c111d7ffc60690f2aaa86f034c66ba1abe4e126f1774a4377d41eba3269369862f57515af387ea785d69a8adf46338b5e53761b5ee6f4f4380473f4d9cab0a SHA512 51fba8f1e7eb74b7020fd831e30a67fc8353ac2ee07335c8c3374a5570ac8117f165f6905d4b7f0360095b7b5ed3e739001d02a8cc3c89195baf2cd679136050 +DIST utf8parse-0.2.2.crate 13499 BLAKE2B 095b5d219ab8ff04c06fd6303e03d913ae36a57845f0b2ca3217a40e31a54cb0fb5ecedbde165d28f5f60f1553d8252986d7098fa83befc84a7cb20bf3b76144 SHA512 f3dbf78fe924f1dc3cf9498b6e43fb10174699463f31091a7a8136d8f31ec84fc00e80e3d8551b7e86257e8b3573cfddb56fc0de797fdb2cde0e962a8f239266 DIST valuable-0.1.0.crate 27718 BLAKE2B ef5ded994c9a6dd302bed27f0d757447b0c86dfefa499c1ef0d25c3a6745ce61cfa2c926826534c9f605f9b89b4a19f91f06f94ae7c03f1ddc4c58fab3ae58bb SHA512 a97f65db1f1c5049a276dbb0e45e25c6fc6ce9d27ac1fcd77c945324cd8216ef60344065c79799ca04e338455e4f7422c44078eea32d5fc359dd0211ee7eb387 DIST version_check-0.9.4.crate 14895 BLAKE2B fa1fa4008af165bfc1fdbe560488afd9d232cfafee94104fbcc4cbc52f234849bff9ddfa88109a1ac682f6d9c1d86b0459893d223f64e65adc08966aaf93dc89 SHA512 b172dc9a3759a4a683ffc39b9a40b03b9974b626a088217de87090466cef695226557c226cf3e469b2b25ee7297b7eb0d7719878cab42457f80146a81943c0c8 DIST walkdir-2.5.0.crate 23951 BLAKE2B a2d3a973f206e94699adec0263dd5e211347722cf3ab82536295019268b3125084da5dbcad818070bfdcb6a5de08da4eb483475bc225a829f58a1e3e040b5fba SHA512 da36a121dc6656942dc9cd9887fcf4f6eea7750354ef3f59c7c25d836e7afe06f33260b4d55d0d99421104ed4ce56ef2a1f0f4c3b713766fff90548c21793fad diff --git a/sys-apps/syd/syd-3.21.1.ebuild b/sys-apps/syd/syd-3.21.1.ebuild new file mode 100644 index 000000000000..6b19060e17f9 --- /dev/null +++ b/sys-apps/syd/syd-3.21.1.ebuild @@ -0,0 +1,335 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +RESTRICT="test" # fails with sandbox + +CRATES=" + addr2line@0.22.0 + adler@1.0.2 + ahash@0.8.11 + aho-corasick@1.1.3 + allocator-api2@0.2.18 + android-tzdata@0.1.1 + android_system_properties@0.1.5 + anes@0.1.6 + anstream@0.6.14 + anstyle-parse@0.2.4 + anstyle-query@1.1.0 + anstyle-wincon@3.0.3 + anstyle@1.0.7 + anyhow@1.0.86 + argv@0.1.11 + autocfg@1.3.0 + backtrace@0.3.72 + bitflags@1.3.2 + bitflags@2.5.0 + bstr@1.9.1 + bumpalo@3.16.0 + byteorder@1.5.0 + caps@0.5.5 + cast@0.3.0 + cc@1.0.99 + cfg-if@1.0.0 + cfg_aliases@0.2.1 + chrono@0.4.38 + ciborium-io@0.2.2 + ciborium-ll@0.2.2 + ciborium@0.2.2 + clap@4.5.6 + clap_builder@4.5.6 + clap_derive@4.5.5 + clap_lex@0.7.1 + colorchoice@1.0.1 + const-hex@1.12.0 + core-foundation-sys@0.8.6 + cpufeatures@0.2.12 + crc32fast@1.4.2 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-channel@0.5.13 + crossbeam-deque@0.8.5 + crossbeam-epoch@0.9.18 + crossbeam-queue@0.3.11 + crossbeam-utils@0.8.20 + crossbeam@0.8.4 + crunchy@0.2.2 + cty@0.2.2 + darling@0.20.9 + darling_core@0.20.9 + darling_macro@0.20.9 + derive_builder@0.20.0 + derive_builder_core@0.20.0 + derive_builder_macro@0.20.0 + dirs-sys@0.4.1 + dirs@5.0.1 + either@1.12.0 + env_filter@0.1.0 + env_logger@0.11.3 + equivalent@1.0.1 + errno@0.3.9 + fastrand@2.1.0 + fixedbitset@0.4.2 + fixedbitset@0.5.7 + flate2@1.0.30 + fnv@1.0.7 + futures-channel@0.3.30 + futures-core@0.3.30 + futures-executor@0.3.30 + futures-io@0.3.30 + futures-macro@0.3.30 + futures-sink@0.3.30 + futures-task@0.3.30 + futures-util@0.3.30 + futures@0.3.30 + getargs@0.5.0 + getrandom@0.2.15 + getset@0.1.2 + gimli@0.29.0 + glob@0.3.1 + globset@0.4.14 + goblin@0.8.2 + half@2.4.1 + hashbrown@0.12.3 + hashbrown@0.14.5 + heck@0.5.0 + hermit-abi@0.3.9 + hex@0.4.3 + home@0.5.9 + iana-time-zone-haiku@0.1.2 + iana-time-zone@0.1.60 + ident_case@1.0.1 + indexmap@1.9.3 + indexmap@2.2.6 + io-lifetimes@1.0.11 + io-uring@0.6.4 + ipnetwork@0.20.0 + is-terminal@0.4.12 + is_terminal_polyfill@1.70.0 + itertools@0.10.5 + itoa@1.0.11 + js-sys@0.3.69 + lazy_static@1.4.0 + lexis@0.2.3 + libc@0.2.155 + libcgroups@0.3.3 + libcontainer@0.3.3 + libloading@0.8.3 + libm@0.2.8 + liboci-cli@0.3.3 + libredox@0.1.3 + libseccomp-sys@0.2.1 + libseccomp@0.3.0 + linux-raw-sys@0.1.4 + linux-raw-sys@0.4.14 + lock_api@0.4.12 + log@0.4.21 + md5@0.7.0 + memchr@2.7.2 + memoffset@0.7.1 + memoffset@0.9.1 + mimalloc2-rust-sys@2.1.7-source + mimalloc2-rust@0.3.2 + miniz_oxide@0.7.3 + nc@0.8.21 + nix@0.26.4 + nix@0.27.1 + nix@0.29.0 + nonempty@0.10.0 + nu-ansi-term@0.46.0 + num-traits@0.2.19 + num_cpus@1.16.0 + object@0.35.0 + oci-spec@0.6.5 + once_cell@1.19.0 + oorandom@11.1.3 + openat2@0.1.2 + option-ext@0.2.0 + overload@0.1.1 + parking_lot@0.12.3 + parking_lot_core@0.9.10 + parse-size@1.0.0 + pentacle@1.0.0 + petgraph@0.6.5 + pin-project-lite@0.2.14 + pin-utils@0.1.0 + pkg-config@0.3.30 + plain@0.2.3 + ppv-lite86@0.2.17 + prctl@1.0.0 + proc-macro-error-attr@1.0.4 + proc-macro-error@1.0.4 + proc-macro2@1.0.85 + procfs-core@0.16.0 + procfs@0.15.1 + procfs@0.16.0 + proptest@1.4.0 + protobuf-codegen@3.2.0 + protobuf-parse@3.2.0 + protobuf-support@3.2.0 + protobuf@3.2.0 + quote@1.0.36 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rand_xorshift@0.3.0 + redox_syscall@0.5.1 + redox_users@0.4.5 + regex-automata@0.4.6 + regex-syntax@0.8.3 + regex@1.10.4 + rs_hasher_ctx@0.1.3 + rs_internal_hasher@0.1.3 + rs_internal_state@0.1.3 + rs_n_bit_words@0.1.3 + rs_sha1@0.1.3 + rs_sha3_256@0.1.2 + rs_sha3_384@0.1.2 + rs_sha3_512@0.1.2 + rust-criu@0.4.0 + rustc-demangle@0.1.24 + rustix@0.36.17 + rustix@0.38.34 + rustversion@1.0.17 + rusty_pool@0.7.0 + ryu@1.0.18 + safe-path@0.1.0 + same-file@1.0.6 + scopeguard@1.2.0 + scroll@0.12.0 + scroll_derive@0.12.0 + secure-string@0.3.0 + sendfd@0.4.3 + serde@1.0.203 + serde_derive@1.0.203 + serde_json@1.0.117 + sharded-slab@0.1.7 + shellexpand@3.1.0 + slab@0.4.9 + slotmap@1.0.7 + smallvec@1.13.2 + strsim@0.11.1 + strum@0.26.2 + strum_macros@0.26.4 + syn@1.0.109 + syn@2.0.66 + tabwriter@1.4.0 + tempfile@3.10.1 + thiserror-impl@1.0.61 + thiserror@1.0.61 + thread-id@4.2.1 + thread_local@1.1.8 + tick_counter@0.4.5 + tinytemplate@1.2.1 + tracing-attributes@0.1.27 + tracing-core@0.1.32 + tracing-log@0.2.0 + tracing-subscriber@0.3.18 + tracing@0.1.40 + unarray@0.1.4 + unicode-ident@1.0.12 + unicode-width@0.1.13 + utf8parse@0.2.2 + valuable@0.1.0 + version_check@0.9.4 + 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 + which@4.4.2 + 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.45.0 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-targets@0.42.2 + windows-targets@0.48.5 + windows-targets@0.52.5 + windows_aarch64_gnullvm@0.42.2 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.5 + windows_aarch64_msvc@0.42.2 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.5 + windows_i686_gnu@0.42.2 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.5 + windows_i686_gnullvm@0.52.5 + windows_i686_msvc@0.42.2 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.5 + windows_x86_64_gnu@0.42.2 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.5 + windows_x86_64_gnullvm@0.42.2 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.5 + windows_x86_64_msvc@0.42.2 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.5 + zerocopy-derive@0.7.34 + zerocopy@0.7.34 + zeroize@1.8.1 +" + +inherit cargo + +DESCRIPTION="seccomp and landlock based application sandbox with support for namespaces" +HOMEPAGE="https://sydbox.exherbolinux.org" +SRC_URI="https://git.sr.ht/~alip/syd/archive/v${PV}.tar.gz -> ${P}.tar.gz + ${CARGO_CRATE_URIS} +" + +IUSE="static" + +LICENSE="GPL-3+" +# Dependent crate licenses +LICENSE+=" Apache-2.0 MIT Unicode-DFS-2016" + +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="static? ( sys-libs/libseccomp[static-libs] ) + sys-libs/libseccomp" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/syd-v${PV}" + +src_configure() { + if use static; then + export LIBSECCOMP_LINK_TYPE="static" + export LIBSECCOMP_LIB_PATH=$(pkgconf --variable=libdir libseccomp) + export RUSTFLAGS+="-Clink-args=-static -Clink-args=-no-pie -Clink-args=-Wl,-Bstatic -Ctarget-feature=+crt-static" + local myfeatures=( "log,mimalloc,uring,utils" ) + cargo_src_configure --no-default-features + else + local myfeatures=( "oci" ) + cargo_src_configure + fi +} + +src_install () { + cargo_src_install + dodoc README.md + insinto /usr/libexec + doins src/esyd.sh + + insinto /etc + newins data/user.syd-3 user.syd-3.sample + + insinto /usr/share/vim/vimfiles/ftdetect + doins vim/ftdetect/syd.vim + insinto /usr/share/vim/vimfiles/syntax + doins vim/syntax/syd-3.vim +} + +src_test() { + RUSTFLAGS="" cargo_src_test +} |