diff options
author | Patrick Lauer <patrick@gentoo.org> | 2024-09-13 14:39:04 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2024-09-13 14:39:04 +0000 |
commit | 3e0eb67461fa483e0c9fafa98843b39c69347131 (patch) | |
tree | cccf1fea85394819284843f9084b0debf30cc84c | |
parent | games-board/stockfish: add 17 (diff) | |
download | gentoo-3e0eb67461fa483e0c9fafa98843b39c69347131.tar.gz gentoo-3e0eb67461fa483e0c9fafa98843b39c69347131.tar.bz2 gentoo-3e0eb67461fa483e0c9fafa98843b39c69347131.zip |
sys-apps/syd: add 3.25.1
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
-rw-r--r-- | sys-apps/syd/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/syd/syd-3.25.1.ebuild | 304 |
2 files changed, 306 insertions, 0 deletions
diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest index f4be7640f5a8..5abb16215f8e 100644 --- a/sys-apps/syd/Manifest +++ b/sys-apps/syd/Manifest @@ -163,6 +163,7 @@ DIST protobuf-codegen-3.2.0.crate 56540 BLAKE2B 84d40924d83bd21577660784c34f9b63 DIST protobuf-parse-3.2.0.crate 65995 BLAKE2B 51089383817818803869d7f7e2ee0c2f0c93349a6fe6dba01b478576fdfb1b1889dfaf1e19172fe329b35bb8f34487e299c4b6a5c5b915cd513cecba9d6d93ea SHA512 e8b3ee2b61bd59098b2de006aee2f6328a42fc710ae3f2f75fe2cbe792884c60fdb96eb36347399e2671dc36d75632d1f469d3eda19d5f9a4be6c1af3a9a9d64 DIST protobuf-support-3.2.0.crate 10757 BLAKE2B 67dc8319f4438a3338b9f739f03cff060f657a53d48ac8269b3fe17a1da6d6a73cfac92a93ad1008e76748f1f42188f04c523a1d7feeb8496953a39de2f5c557 SHA512 6b0ef0ce706fe748136b96431b7d07a6241fd4e8bb4aa4c320c3a4f149576b3bec6ba9d60a12c5c2a59cabd18df4cfb6e8dff5e38da64878758bd1e06547a657 DIST quick_cache-0.6.5.crate 40283 BLAKE2B 344a4442016d6a4aaa2187a06b037d5c7003e72a62224858b5ed00ea866abc7df487670f5647e362abd16bc0e0c3fd4caf6f86fed381db7d7c1bbd7d7f51c80e SHA512 29c88b763cdbe494116f7ff0e07ead28edd9f1e5d09f77487c1e32fd9964b58b1157f90f7c3dd34b94d693976ca08157d81221e9e2d482af934c1bf6b86befab +DIST quick_cache-0.6.6.crate 40974 BLAKE2B f857637db15e60b27f3ddda187a0e3c1391d21735983d3691614de2ca0c9c4810308c61159252e249dde3f5894db0b2da4c06a42e3cdceef10b35f1140d7ef97 SHA512 dffe6469b990f559aae3b33708f7d5cb90baf24d8a6432929ced364e536c823d3406e6901430f8144aec72671102c0f3580411357374601f3cf870a2fad4f134 DIST quote-1.0.37.crate 28558 BLAKE2B a7d007a69e619f853af94333e1066bb767013312bd99f147b1b153611242bcfa9c76768b1ba47278589db309a9acd61a772c8ec3b567e48439bb9d831f9326d4 SHA512 c4ed21428c1f89cf22b85d80720a7869831a9c129d694617b0ce8c258278114ab98846f3f653abf736d1c86bc9224bbd695e9a7b06aa3adf292d02e1ef14cc05 DIST redox_syscall-0.5.3.crate 23830 BLAKE2B 0a38235ec277144f0c3e7bcb1d273c7f357d85aef33dbd06328ef16bab7df0a07b523431590899ea58d55e8e1d84c32392478530200cca3a9483e8a47b29e233 SHA512 777d1208004b7756887d6c5745ea408972670e59430e1d299d01a463ae41b98e0920ee77aefef8755fc949d4799dca679afaaae9c1a7d060f76f69af5b90427e DIST redox_users-0.4.6.crate 15585 BLAKE2B 1d60d0b7781395ff271d79264910d24fb021cd8ef612714265abae25b26ac158d48f542f1e73701bf5b99bd67546a7b878e4a14e40cdbd478b35bcc8b4778f5f SHA512 719d63fec42bad3cbed39deb9242ce1daf3f391bccafa8121f63198120371f112d78b0da8d66458519e946581511004983f04b0a697071f22294ac7c831120c9 @@ -205,6 +206,7 @@ DIST strum-0.26.3.crate 7237 BLAKE2B bdc348c718c39609c00b9fa7d47b7090b1467022b7a DIST strum_macros-0.26.4.crate 27531 BLAKE2B 7f7d57c957a1591054288fcae6590a5e669fba1b47d8f1a52371ce60fd84f91fdb430e48cc7edbb5fc72914be5ce12af29758b653680da3f4177339b31206750 SHA512 77a17ce47d5e8fe8a89cb6aa6c3ca5d5c2625aea0f93456f05a9994238cd3b08b3f7c6a45e9b3db21bca8fb5759f505f15cc111ac84acbbb34d59cdae8307b0b DIST syd-3.24.4.tar.gz 842234 BLAKE2B d705aa8ac99e7b180eef1ae619bc943ab376df2b725a7eb5539eed8f8063fb6b199ba7bf597dcebc7f6d710999c1883edcec7acacb3c24c42b359753e2a92802 SHA512 4d20a518f350c93b45c06a929d415ce047d2bc0db69aa8be1a0abb2698899a5faa86a2e32af9039ed15147c5db52569140fc85c4a9c1fc5a1220a9f000242cd2 DIST syd-3.25.0.tar.gz 831359 BLAKE2B f0890432d39a0acf6a590d63b9b701ee4e1d170593f20b30a375d76e3c0835d1df82ff603bf54ebbe42282de165c1d3990f83e1d7d2b03b9ad37c04ccaae1860 SHA512 491dc2e7a5b45ddf9d818f6e842a003a24f228d7e78c8bdce4923d60d2c64e36eab3b32264e8c87e0352c3c7882c3e9ce6f9c19568556ed1245a9fe8d2400172 +DIST syd-3.25.1.tar.gz 832440 BLAKE2B 8ff5bb7ec37be78c16e43251d8e8dc920f9211c1268e6f66ac7a53c9c1334d8947615a61df4923a6299d11e968a4a096d2b9bc052e4bfd07db09b9377fd95516 SHA512 784c9e606a2283fae971cd4c62ddfbaed9b0732ab9d54b1c5522baa3a1697161b7eb293043bbb3f948853713b7ed21e4d3d94ce697eae26290bcef2d87e42571 DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d DIST syn-2.0.76.crate 268798 BLAKE2B 5446965c6331fbb445a313ca8da9d8e7454e31d9a36c2f595747edc65c0d2a05e9d8e4e9fb6dbb30da8264c7db36b1cea14110201bb06e40bca69b25c3f79f1c SHA512 c633b9f68e67b3cbf2432d3648e42f8d92403877a0128becd22cb108c0cfab9f1bc6b941b9cde225d8b727890e9f86457fad05b544fd07be4c01c2e60a2cdeaa DIST syn-2.0.77.crate 268784 BLAKE2B adf14ddc4b284ad78dae3c05be7e63a58a85a2ef16c1051b991aa278843ba7231f0da3cf2adc65eb95762d4c88b4e1440cb616c651d3bb568392bb036399304c SHA512 f8030332c3c4ab34fc1e86196eb0eeda9700e5438f2a339591a5968d8bdd3373b523dba4bd998bf578e4247e0019d999d4e9c6d062a1dedcafe18d27b6c9f6d4 diff --git a/sys-apps/syd/syd-3.25.1.ebuild b/sys-apps/syd/syd-3.25.1.ebuild new file mode 100644 index 000000000000..564f952e42f6 --- /dev/null +++ b/sys-apps/syd/syd-3.25.1.ebuild @@ -0,0 +1,304 @@ +# 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 + adler2@2.0.0 + adler@1.0.2 + ahash@0.8.11 + aho-corasick@1.1.3 + android-tzdata@0.1.1 + android_system_properties@0.1.5 + anes@0.1.6 + 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 + argv@0.1.11 + arrayvec@0.7.6 + autocfg@1.3.0 + backtrace@0.3.73 + bitflags@1.3.2 + bitflags@2.6.0 + bumpalo@3.16.0 + caps@0.5.5 + cast@0.3.0 + cc@1.1.15 + cfg-if@1.0.0 + cfg_aliases@0.1.1 + 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.16 + clap_builder@4.5.15 + clap_derive@4.5.13 + clap_lex@0.7.2 + colorchoice@1.0.2 + core-foundation-sys@0.8.7 + crc32fast@1.4.2 + criterion-plot@0.5.0 + criterion@0.5.1 + crunchy@0.2.2 + cty@0.2.2 + darling@0.20.10 + darling_core@0.20.10 + darling_macro@0.20.10 + derive_builder@0.20.1 + derive_builder_core@0.20.1 + derive_builder_macro@0.20.1 + dirs-sys@0.4.1 + dirs@5.0.1 + either@1.13.0 + equivalent@1.0.1 + errno@0.3.9 + error-chain@0.12.4 + expiringmap@0.1.2 + fastrand@2.1.1 + fixedbitset@0.5.7 + flate2@1.0.33 + 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 + goblin@0.8.2 + gperftools@0.2.0 + half@2.4.1 + hashbrown@0.12.3 + hashbrown@0.14.5 + heck@0.5.0 + hermit-abi@0.3.9 + hermit-abi@0.4.0 + hex-conservative@0.2.1 + 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.5.0 + io-uring@0.6.4 + ipnetwork@0.20.0 + is-terminal@0.4.13 + is_terminal_polyfill@1.70.1 + itertools@0.10.5 + itoa@1.0.11 + js-sys@0.3.70 + lazy_static@1.5.0 + lexis@0.2.3 + libc@0.2.158 + libcgroups@0.4.0 + libcontainer@0.4.0 + libloading@0.8.5 + liboci-cli@0.4.0 + libredox@0.1.3 + libseccomp-sys@0.2.1 + libseccomp@0.3.0 + linux-raw-sys@0.4.14 + lock_api@0.4.12 + log@0.4.22 + md5@0.7.0 + memchr@2.7.4 + memoffset@0.9.1 + mimalloc2-rust-sys@2.1.7-source + mimalloc2-rust@0.3.2 + miniz_oxide@0.7.4 + miniz_oxide@0.8.0 + nc@0.9.3 + nix@0.28.0 + 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.36.4 + oci-spec@0.6.8 + once_cell@1.19.0 + oorandom@11.1.4 + 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 + pin-project-lite@0.2.14 + pin-utils@0.1.0 + pkg-config@0.3.30 + plain@0.2.3 + prctl@1.0.0 + proc-macro-error-attr@1.0.4 + proc-macro-error@1.0.4 + proc-macro2@1.0.86 + procfs-core@0.16.0 + procfs@0.16.0 + protobuf-codegen@3.2.0 + protobuf-parse@3.2.0 + protobuf-support@3.2.0 + protobuf@3.2.0 + quick_cache@0.6.6 + quote@1.0.37 + redox_syscall@0.5.3 + redox_users@0.4.6 + regex-automata@0.4.7 + regex-syntax@0.8.4 + regex@1.10.6 + 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 + rustc-hash@2.0.0 + rustix@0.38.35 + rustversion@1.0.17 + 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.209 + serde_derive@1.0.209 + serde_json@1.0.127 + sharded-slab@0.1.7 + shellexpand@3.1.0 + shlex@1.3.0 + slab@0.4.9 + smallvec@1.13.2 + strsim@0.11.1 + strum@0.26.3 + strum_macros@0.26.4 + syn@1.0.109 + syn@2.0.77 + tabwriter@1.4.0 + tcmalloc@0.3.0 + tempfile@3.12.0 + thiserror-impl@1.0.63 + thiserror@1.0.63 + 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 + unicode-ident@1.0.12 + unicode-width@0.1.13 + utf8parse@0.2.2 + valuable@0.1.0 + version_check@0.9.5 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.93 + wasm-bindgen-macro-support@0.2.93 + wasm-bindgen-macro@0.2.93 + wasm-bindgen-shared@0.2.93 + wasm-bindgen@0.2.93 + which@4.4.2 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.9 + 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-sys@0.59.0 + windows-targets@0.48.5 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.6 + zerocopy-derive@0.7.35 + zerocopy@0.7.35 + 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,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 +} |