diff options
author | Patrick Lauer <patrick@gentoo.org> | 2024-06-09 18:15:22 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2024-06-09 18:16:10 +0000 |
commit | 8004dbfc628928e45c0371489495af38d666ead3 (patch) | |
tree | 23a20d874901dfa479f3bbcac6583b990d7ac4bf /sys-apps/syd | |
parent | dev-ml/ppx_js_style: Stabilize 0.16.0 x86, #933839 (diff) | |
download | gentoo-8004dbfc628928e45c0371489495af38d666ead3.tar.gz gentoo-8004dbfc628928e45c0371489495af38d666ead3.tar.bz2 gentoo-8004dbfc628928e45c0371489495af38d666ead3.zip |
sys-apps/syd: add 3.21.2
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'sys-apps/syd')
-rw-r--r-- | sys-apps/syd/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/syd/syd-3.21.2.ebuild | 335 |
2 files changed, 339 insertions, 0 deletions
diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest index dd7c00373f8d..36c3301aeb49 100644 --- a/sys-apps/syd/Manifest +++ b/sys-apps/syd/Manifest @@ -180,8 +180,11 @@ DIST rand_xorshift-0.3.0.crate 9121 BLAKE2B 56c29e159c0beb9c751429130e84e4666f90 DIST redox_syscall-0.5.1.crate 22536 BLAKE2B b7766fcf35dd865fc98495f60da54ca9a6b4cff007f4323d1c63de5d1152766aa5517139b5ec50afca39d934360c701a180c4516feccbc2600085d5d72dabd2a SHA512 0952b5f4f79f2cff04b4c21d964df7b56bc0cbff8d8a2a9a7d38ba66fd69cbd0fb004cd3d8ac6feadde8d9590858cd7e1763da7e4a5de840cdef42b1b6f1e460 DIST redox_users-0.4.5.crate 15514 BLAKE2B 9fc9d9c4875ed711efb75fb08f345b5f4f0667717d37710143742e48251a709c53760bcbc31ce13e6432672f9417be429c38c2e77a6b786887841714290a1194 SHA512 7a25cc91c9d1bfe537f20b83255990681d136ced5aaa7aa0cdb1b1fc024ba36aa1fb75c335c768a85ee078019a9ca2460efd911cad8ae6fe8b0385fb171aa4b4 DIST regex-1.10.4.crate 253191 BLAKE2B 08bdb925efbea1ee9f885a89ec6b4692e39d7b17039f788e5b3c1dbfb7847d4f53b67f0c61e4085af7ef4901e67e33ea94948668bf706fef19b4102a06ef0447 SHA512 88ef121a51759f418d5dc01607a6e02651bd00343dae92962c02a80f30343d3f079a0375457780ce46bf205ca38f279b03989154638199fe2fcede10554bf21b +DIST regex-1.10.5.crate 253805 BLAKE2B 9f5418b577209051640c3614a98b15604a1e71144763a6f00caa7757f0ff67fd833a7d14fe9d6acef96386a2a4eb60cf5d490472e73fd62ca8bb0e78d4f9f125 SHA512 177fddb001e14281510e34070f88f8e5167278a46f1d93d9286d9606b7673346f504e4064d7ad53558e6988a400c728e33b663ab398fee12ae23fba7158da5fb DIST regex-automata-0.4.6.crate 617565 BLAKE2B 8f1e2a3cc1d2d50478776281d2bf10164ef441dcf7127994f4a0341ec40588ec8dc1c07fdf9f670da9e61a7753551500b80314df130370b61d2c03c2b2e3135a SHA512 b288e1facae2612f73d3de3fe9fd1af13d337107004f990263abe6277b31b948478ad9c2b807dcafa73fa565e48bdf2113139f5ca67eb73165b7d29e2ee5c9f1 +DIST regex-automata-0.4.7.crate 617582 BLAKE2B 6295d866706b623b2025fdc0c407086fec15053229d708713d0ec165bd526ba25e7468d0009625cbbbc21d20345f0af2eea10addf6de633e8e6a02dddced67b8 SHA512 b19d00d64bb8cd833cfb35fabb162b9481716f4b7f6035c1c8f1de4e0f90e00823d006e057aa3505aeda48c9e1802e61173c4a2878891129a3a918727e43b0d3 DIST regex-syntax-0.8.3.crate 347497 BLAKE2B 9ac2f63098ffa3fff51fe2bc0bcf9ef164cf9389a909a3f0cb668d2598e7ca65d573e47d571ee2e6bba3a1a96ef7c298b8d681e1ef89c8c53b7d590e0e22839b SHA512 925f7bcc50d94c65d34fcc770c6e58dd5b8a045541c0109e77b8efe842eef4c110087ac9c0f86c7c3022ed013abbc5c0a187d796dce292ad5361a0cdf7153d76 +DIST regex-syntax-0.8.4.crate 347577 BLAKE2B 400323cdad2a7daa8d4006e4dd7a7b1234704df0f80ca0f4bb19447f8f1d270053bc8aa613e48291ab3a78c7eb02d7afec57bfc8d966a48b372a4c80de9b120c SHA512 10719c138d9aa304106fcbf77da0b01645d1b6fbc621abb639dbd43ed5fc3dbd22aaad8b86df55a60e7b2b4fc347b6f41419131d7b047273e146073250d892ed DIST rs_hasher_ctx-0.1.3.crate 9896 BLAKE2B 16e3250944c9836bd36d94327605c664fc4f059287b244c5aab74963acc436f076e27378e70a5ab9db47152fda741f8a5392e60712d4e37082f72aada8647299 SHA512 93b8668712639e945f6246edfbec5e62e3472a827821c2685da43ae1a9a38b7f29aca5432cff12f0233d0960f72e4cfb1c39628f1968810ea6332bfb75551c3c DIST rs_internal_hasher-0.1.3.crate 10707 BLAKE2B b5c9cc3033363d0c14452d8712427e466daab7763250b2f32df261ace2bb85da4e4f4062390fd59adb85107de7cb7a6471bb8f8640bd85caddceee2b97138232 SHA512 b016ee365d9a6b73b51dc07b32b0a21a08e93a5993d82f773bf480ae1b470448db357e9bceb6db2e57af8c6269cda43b3b9734f5f58c21c44064527a18c0380f DIST rs_internal_state-0.1.3.crate 19150 BLAKE2B 18f53dcc99d430cff8b923cb7e183aa8b2afe7affb50e7d1a0ce465b28e18413689f9e477185fcb3756557c6d736167073d2e0b5bb9f47456eeaf91447f3d8c7 SHA512 82853d1fc636d2523b011abdcc3e4e49c6c0d88c7498a1bb96867495cd4e82947866b5f8eb9457823bbea0fae64082762ba9656378a99614ea03fe92181cf39d @@ -218,6 +221,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.1.tar.gz 733506 BLAKE2B 5dcd1b628c317cf353b2a10b790dcdca41563d4d1e850fbfaf57a3442e88684110e7de2999388fa4e57565e2a99d5b4ac08e52405db38c51f6390cd1f43be5ed SHA512 411ab13a70a6952cbed6b8db5437ff6c67ae7558dd94bb534ebc98a93ff7f6e114a8395fee23170071a36b339b21cc3fc5943a0d663cdb0dde0fcee75260559f +DIST syd-3.21.2.tar.gz 735910 BLAKE2B 6aa99f590201479b8d1239eab3ca960deeeb662b82ba69848ba2839547fe400c40e1d6d3748fbe2741a2cf2e46edc8cc20824ccea4b7aeaf7a929b4d35236f88 SHA512 87b037f54e565ea65d8397df3e4b9d7c286d5784910051bf29dffef2ca5a3cdc80590887119db1556ea1a642be49b54b14ebfbcde583db3ccee7dbc4959eca54 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 diff --git a/sys-apps/syd/syd-3.21.2.ebuild b/sys-apps/syd/syd-3.21.2.ebuild new file mode 100644 index 000000000000..a7aaed2f8bf2 --- /dev/null +++ b/sys-apps/syd/syd-3.21.2.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.7 + regex-syntax@0.8.4 + regex@1.10.5 + 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 +} |