diff options
author | Patrick Lauer <patrick@gentoo.org> | 2024-11-17 12:48:17 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2024-11-17 12:48:51 +0000 |
commit | f1e7d1f91d3afccc1e66d4c6c3bd717ba8f27c34 (patch) | |
tree | 085cf14ecef1ad21ffca4cf9c3bde40a4856a46e /sys-apps | |
parent | media-sound/rhythmbox: update HOMEPAGE (diff) | |
download | gentoo-f1e7d1f91d3afccc1e66d4c6c3bd717ba8f27c34.tar.gz gentoo-f1e7d1f91d3afccc1e66d4c6c3bd717ba8f27c34.tar.bz2 gentoo-f1e7d1f91d3afccc1e66d4c6c3bd717ba8f27c34.zip |
sys-apps/syd: add 3.28.3
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/syd/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/syd/syd-3.28.3.ebuild | 330 |
2 files changed, 333 insertions, 0 deletions
diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest index 76770e224840..6b0fd326ebcf 100644 --- a/sys-apps/syd/Manifest +++ b/sys-apps/syd/Manifest @@ -148,6 +148,7 @@ DIST lazy_static-1.5.0.crate 14025 BLAKE2B df29e0e3d1c061815bdd608b41074436024dc DIST lexis-0.2.3.crate 28357 BLAKE2B 8382e207742c9f973a0b80669ea43762e548ccc6c3c2438d3dd7bf60ca320bd2bacec3291f06204190846e721fbc6293c8ef3fee4df5568d6cd65dd52cac38f9 SHA512 650bcc5515a82fa0969f2f96eb7f8a47e876d50dd03a3b611a6d156b2f53241728fd53be6eca1d5dcd1544ea5b5bc8743869a0ed3f84e1716fb7e06ca6252915 DIST libc-0.2.159.crate 755366 BLAKE2B 70f46eb6228b4a8958dfbee00cdfa3c7d218f30d66c8591f4ccc9c5d8eda411d83ce9450552384ac4bc29deb2869561a2111dd157c9f228f617baf8f6b537bc4 SHA512 c803939ceea5ad9bdfdd122726c7a5f12ffd8b0cb66cf0bc62c9670e1e5904a504def388c1e043c520f4ece484addf6dac465aebd58578aa6b79995077bbdf9f DIST libc-0.2.162.crate 769354 BLAKE2B 3bac6124db801cdcd6918ccd86e84c99cced45c44dba11f198ec5852354942db511966fc85347d2ce4c8ff82c89eef2c47016766b2f6ffbea20d99c1deab4ead SHA512 f43e294d587e7cd9c2da9b67be83fc70801ea66c318342cf1e11556566ecc1c8a612925770d85c75af1e887b425f326fac59229b78877d2377092243ea8e6a99 +DIST libc-0.2.164.crate 769055 BLAKE2B cfb757ea04ec8ad6d6a0dff92cbedd626aa4932cd83d67d19ac51cc140f9aeb54b38b488796c4a0e722f7bceaf54c4807a32ec0560bae4840a82fc1c4a5151ab SHA512 614835ee7388c854cacdc179b5700b7de0c696ec0eebca2b997f1039157f737fa79e208832a46f2fa27fcedb6fe7a27faf26079f06ee0e679b6f35d4a5371e3f DIST libcgroups-0.4.1.crate 94787 BLAKE2B 07f2987ce62b4112e1b76013f64e606368090034e598eb7e33c8d7d22fae0caf581db5099ea43226fcef6baff37aae701bd4acbe91585d0028c4e12663e33641 SHA512 fb46b35f0a7dd2853cff355749a1c63de01728dee8e9d9a3ce841b25cc8a4ec1011fb572e14a132f65b30933eba8edfdf1bc7ef02feabf6d0528ee4b4d924619 DIST libcontainer-0.4.1.crate 109717 BLAKE2B 9a67d8e56c8ded089dc8245345426bb17031f09271415cfb3601aa631192c8ef02a03d359830c5948e2a61d17a8f133ef3f58179cf79e1fab0fcdc0dc3a4f98b SHA512 b3a766b011b70707a99725142429d8fb23712a304e2b4ad691a02f45be955e2adfbf124ca8b6e8ecd8c27f33dbc35c82389697a3c6e5e7dfe963928bdbc640fa DIST libloading-0.8.5.crate 28902 BLAKE2B a0fca8f8876092e874964b3dcbaacd417451704fc1d687669a95a0b9df22ccda73a754118ac0bd706a7c7d86e4eceb2ad012e20e341d71548b34ea8d629bbfdf SHA512 f332884fa75cf210460f4678d45091345b23469c09301614c476e95bc54163afd6d4f098a34f9e0d529fa1ec63892395b50957598070ff327743e4c3b0871074 @@ -249,6 +250,7 @@ DIST serde_derive-1.0.210.crate 56020 BLAKE2B b346e574c99b6a8b12dfc29b20a4fd2daf DIST serde_derive-1.0.215.crate 57092 BLAKE2B f28bb66017599afdcd8d45c514b8e07854eb944c1dcf931e052a01ce421e0de6c20c13b3867da5922e2153e25ce88bf9fa27e2e68ddc9d212977f71fa0bd6352 SHA512 cae686bdf10c683149956ffe1c64fcf3e9b9bf0cd6e33b4ce7429d0ca35b9fdb55443693866c1202fa79348c6ea0f49ab3be3d5f857de4ae0818d2b4c8c67d9b DIST serde_json-1.0.128.crate 149520 BLAKE2B 246eb865f64a0f161b79f3d4f783dbadbc930c4a19edb6c0fe8f0c6145c7c47be4b692d3e084b1b500820ece8e94214820978cf898926dd805bd431fb411bbc9 SHA512 9e6290d3a6a971b3c37bbc97097b8179e64c655779b43c7b75303a35ef7030f5401b3a5f62cbc95a7bd5f42ecbefb0b469234d78a76c8c1597726d8e08908a7d DIST serde_json-1.0.132.crate 150549 BLAKE2B a49aef7737fad2e6f6ec79cb6da00c734e7de7ef16be321846d1f6229534b58e15ceb0f6306eeae6f85bf07431d82959c0a56ed1394d21a67b65c8c48e971f3f SHA512 9d157ce7d705fee8245569e7c577310782b69675a6e459f21904544b824a1ca5c9b445d17419fee438dfeb6fcc35343ba14e022043fffade0210b6d2c1b5795e +DIST serde_json-1.0.133.crate 150739 BLAKE2B 7891eb5b8edcc7fd09ab1e15d3881ffdcb629aa39f2bd758c0505700a5f2dfabd85b1b66c3b094268bc1627b346e204c792f4ca61efa76c54ab9cd5744fb0ee2 SHA512 20e65ec87bff319897a141960d13deb5cadcf821209c1ee8799f1dc7f458ce432bc62c16df5bdada1c8d3cc01ff23b8125e8fa0a03545d4614f32efd687dc69f DIST sha1-0.10.6.crate 13517 BLAKE2B 85ad8dcd237125945f6f9c2d7a48bc9802dfe8398a2bac86ddb96763486092fa18e80a2e69f89cfd6e95599d34d60ced33b26a68cbbe39bf158238a79433584b SHA512 fd37be7e3f1d4b6addd313a36b55215fb70abd21be7831b71de28bd3eb03b7352817d8a7b1a166df002c3a23eadc8224e49edd4a37556c0e5357565305d4128f DIST sha3-0.10.8.crate 858216 BLAKE2B 0251020db34e0be3f150d342d055bae00c7fe17e2eb1f5134016389e45a4d3ef35ab8e533f58cedd7e10412955c4a011ba8e604e129fc5bd9a433ff756f0ca5e SHA512 390102cea4cbb0de4fa772a0842cf6d13dadde9fd95c5dfa9e75ebf89e98a2b4bb10f05257797e8f688af78ac42d951cb71df71e3b7ec36e52e2661932479c7e DIST sharded-slab-0.1.7.crate 58227 BLAKE2B 9b4c4e4849ed324cf48c2b905f21139d1d65aa5ab13e7fb11817cac9a32ad09f8dbb1e50a93d40cafa0aba872792bc92f7bd2e219f62f80695409e949c07978b SHA512 3be7438d4a75debb14463477f34de6db1ac38abe958ada5d5dae7ae8d5993e245da69fcb989d91aaaffda5f2b085d4bcc88d10e07ec567b7f40a21437de6d4cb @@ -264,6 +266,7 @@ DIST strum_macros-0.26.4.crate 27531 BLAKE2B 7f7d57c957a1591054288fcae6590a5e669 DIST subtle-2.6.1.crate 14562 BLAKE2B 3cf4940b7a01f04715da1057f6a92b1043a6b86ab2ee7f9fee0337b680ff781201d330409460f6f90b3f81bb5fd4b563e17c762c6e824ba3b0af99e4ae7d66bd SHA512 f5946ebd9bcb8776ee3446abcbf4afb3cca5d8bd847cadda87e864333ac7ded537a3efa773e9648adf20ce4add2c1da85172cff88c1e1a3a6cb051401b00c6bd DIST syd-3.26.1.tar.gz 967892 BLAKE2B 49bb9a699cdb7d98fb8e5e1ded574092bcccf7e325b5f4853afea422874bcd805f698edf27e5c0b428f2b1da32a269030f19b3538df41e46b9004a746213caa5 SHA512 8079965ae0ff6916684bf7382a03a8d825015d1795636de6a331e8f35c8154ecdbf78fc1062f24aecf240735f949a6b0fc7176b398b1e8b95c50081ddc00df53 DIST syd-3.28.2.tar.gz 1098407 BLAKE2B 907376575ed5f82d605f0733c0e52ae0ff0a5a89b34ea2f750cf1c71982976ac71030dddb4c3022d0ac94aba90df7298741b38d33e9f5a435186a1b20dea6ced SHA512 6418c7b2b7a943b14595650a8fb4f75ebdc9bc3743ef8e4bf9e1ea2f6a0d4df6d52114428fa39a243528a06860a15e8c940da99218b6bff7a5a7d76c5b9c5cc6 +DIST syd-3.28.3.tar.gz 1098961 BLAKE2B c12960a6f4eb18107486f22d960f20c7f17c89eeb91aec94f03c6530154a00cbff178e8af441821905416491114084d722d9aa2544f27101f10ff793c8a9b4aa SHA512 ba1feda7d9888a169a6d2070f7ecf239e0e31a9f4ec03cee5fc58e15e7bf14c638aa019e215acbc165ac256a15fecde814a1829a387def49b289c4acb3796d0c DIST syn-2.0.79.crate 268981 BLAKE2B 2bf4bde1890ce4ee91fbacca81bd298d15f0111fedb27b9cf8d675dc2489f46026c1804f9e4e24afbd0718539820096cd5c4ed2c2da02e598370dbfd2b18c293 SHA512 1ee073fa3428c031e53bff8ff305bcd6b37ac142bee3955dcdb44fec1c77c733eb78760c8bfb30b83fc3dacdad8a384e2b6f9f31a89c4cc300359e33457fd433 DIST syn-2.0.87.crate 278076 BLAKE2B 93385f64103fdb482bec34c7912474ae7a5935948715e6eb9a54907e0db5c39f089f6cd393bab33c935c59a1bbb0f4099431f206343811c1a450554d96a35756 SHA512 bcfff545d6dfefd81e09f8f30a86bdd85759b3a7d4093ef3365ed02718e10dbd604c52b94c9d7fa955d339fdc5b6c079940c6f345b5a48c52b5c8607794ca6f2 DIST tabwriter-1.4.0.crate 9951 BLAKE2B 8833c5a7f37749268187e60d95b07262e77c461ab868cd934e58031703dc0c9ea83b8757e681747900dc07eb5c8e41e589d9c37568b66ca25c95f0fbf07c8a8c SHA512 066846124e3beee816f76ed3a59fb224593537ce5807aa472fbcd0cb98f638dba6801d171b6d1026e56b6eaae6f2e873d64c190c97bbd8d6ffeffc82f3b4d52f diff --git a/sys-apps/syd/syd-3.28.3.ebuild b/sys-apps/syd/syd-3.28.3.ebuild new file mode 100644 index 000000000000..985a8cdd7501 --- /dev/null +++ b/sys-apps/syd/syd-3.28.3.ebuild @@ -0,0 +1,330 @@ +# 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.24.2 + adler2@2.0.0 + 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.18 + anstyle-parse@0.2.6 + anstyle-query@1.1.2 + anstyle-wincon@3.0.6 + anstyle@1.0.10 + anyhow@1.0.93 + argv@0.1.11 + arrayref@0.3.9 + arrayvec@0.5.2 + arrayvec@0.7.6 + autocfg@1.4.0 + backtrace@0.3.74 + base64@0.13.1 + bitflags@1.3.2 + bitflags@2.6.0 + blake2b_simd@0.5.11 + block-buffer@0.10.4 + btoi@0.4.3 + bumpalo@3.16.0 + caps@0.5.5 + cast@0.3.0 + cc@1.2.1 + 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.21 + clap_builder@4.5.21 + clap_derive@4.5.18 + clap_lex@0.7.3 + colorchoice@1.0.3 + constant_time_eq@0.1.5 + core-foundation-sys@0.8.7 + cpufeatures@0.2.15 + crc-catalog@2.4.0 + crc32fast@1.4.2 + crc@3.2.1 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-utils@0.8.20 + crunchy@0.2.2 + crypto-common@0.1.6 + cty@0.2.2 + darling@0.20.10 + darling_core@0.20.10 + darling_macro@0.20.10 + derive_builder@0.20.2 + derive_builder_core@0.20.2 + derive_builder_macro@0.20.2 + digest@0.10.7 + dirs-sys@0.3.7 + dirs@1.0.5 + dirs@4.0.0 + either@1.13.0 + equivalent@1.0.1 + errno@0.3.9 + error-chain@0.12.4 + expiringmap@0.1.2 + fastrand@2.2.0 + fixedbitset@0.5.7 + flate2@1.0.35 + fnv@1.0.7 + futures-channel@0.3.31 + futures-core@0.3.31 + futures-executor@0.3.31 + futures-io@0.3.31 + futures-macro@0.3.31 + futures-sink@0.3.31 + futures-task@0.3.31 + futures-util@0.3.31 + futures@0.3.31 + generic-array@0.14.7 + getargs@0.5.0 + getrandom@0.1.16 + getrandom@0.2.15 + getset@0.1.3 + gimli@0.31.1 + 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.3.0 + hex@0.4.3 + hkdf@0.12.4 + hmac@0.12.1 + home@0.5.9 + iana-time-zone-haiku@0.1.2 + iana-time-zone@0.1.61 + ident_case@1.0.1 + indexmap@1.9.3 + indexmap@2.5.0 + io-uring@0.6.4 + ipnet@2.10.1 + iprange@0.6.7 + is-terminal@0.4.13 + is_terminal_polyfill@1.70.1 + itertools@0.10.5 + itoa@1.0.11 + js-sys@0.3.72 + keccak@0.1.5 + lazy_static@1.5.0 + lexis@0.2.3 + libc@0.2.164 + libcgroups@0.4.1 + libcontainer@0.4.1 + libloading@0.8.5 + liboci-cli@0.4.1 + libredox@0.1.3 + libseccomp-sys@0.2.1 + libseccomp@0.3.0 + linefeed@0.6.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 + minimal-lexical@0.2.1 + miniz_oxide@0.8.0 + mortal@0.2.4 + nc@0.9.5 + nix@0.26.4 + nix@0.28.0 + nix@0.29.0 + nom@7.1.3 + nu-ansi-term@0.46.0 + num-traits@0.2.19 + num_cpus@1.16.0 + object@0.36.5 + oci-spec@0.6.8 + once_cell@1.19.0 + oorandom@11.1.4 + overload@0.1.1 + parking_lot@0.12.3 + parking_lot_core@0.9.10 + parse-size@1.0.0 + phf@0.11.2 + phf_codegen@0.11.2 + phf_generator@0.11.2 + phf_shared@0.11.2 + pin-project-lite@0.2.15 + pin-utils@0.1.0 + pkg-config@0.3.31 + plain@0.2.3 + prctl@1.0.0 + proc-macro-error-attr2@2.0.0 + proc-macro-error2@2.0.1 + proc-macro2@1.0.89 + 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.9 + quote@1.0.37 + rand@0.8.5 + rand_core@0.6.4 + redox_syscall@0.1.57 + redox_syscall@0.5.7 + redox_users@0.3.5 + redox_users@0.4.6 + regex-automata@0.4.9 + regex-syntax@0.8.5 + regex@1.10.6 + rust-argon2@0.8.3 + rust-criu@0.4.0 + rustc-demangle@0.1.24 + rustc-hash@2.0.0 + rustix@0.38.40 + rustversion@1.0.18 + 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.215 + serde_derive@1.0.215 + serde_json@1.0.133 + sha1@0.10.6 + sha3@0.10.8 + sharded-slab@0.1.7 + shlex@1.3.0 + siphasher@0.3.11 + slab@0.4.9 + smallstr@0.2.0 + smallvec@1.13.2 + strsim@0.11.1 + strum@0.26.3 + strum_macros@0.26.4 + subtle@2.6.1 + syn@2.0.87 + tabwriter@1.4.0 + tcmalloc@0.3.0 + tempfile@3.14.0 + terminfo@0.8.0 + thiserror-impl@1.0.69 + thiserror@1.0.69 + thread_local@1.1.8 + tick_counter@0.4.5 + tinytemplate@1.2.1 + tinyvec@1.8.0 + tinyvec_macros@0.1.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 + typenum@1.17.0 + unicode-ident@1.0.13 + unicode-normalization@0.1.24 + unicode-width@0.1.14 + utf8parse@0.2.2 + valuable@0.1.0 + version_check@0.9.5 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + wasi@0.9.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.95 + wasm-bindgen-macro-support@0.2.95 + wasm-bindgen-macro@0.2.95 + wasm-bindgen-shared@0.2.95 + wasm-bindgen@0.2.95 + 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.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 + 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="sys-apps/pandora_box + ${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" + cargo_src_configure + else + local myfeatures=( "oci" ) + cargo_src_configure + fi +} + +src_compile() { + cargo_src_compile +} + +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 +} |