summaryrefslogtreecommitdiff
path: root/sys-apps/syd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-24 00:31:53 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-24 00:31:53 +0000
commit72e4c0bc86eea366d063d15b3d5611e8f82ffd05 (patch)
treebe4116935e605807f4a03de97c876e050718881a /sys-apps/syd
parentadd1c3acddd7a3f49fdb230135725463d2662921 (diff)
gentoo auto-resync : 24:03:2025 - 00:31:53
Diffstat (limited to 'sys-apps/syd')
-rw-r--r--sys-apps/syd/Manifest2
-rw-r--r--sys-apps/syd/syd-3.32.6.ebuild334
2 files changed, 336 insertions, 0 deletions
diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest
index 9c21816fe768..62dd78c63d86 100644
--- a/sys-apps/syd/Manifest
+++ b/sys-apps/syd/Manifest
@@ -191,6 +191,7 @@ DIST strum-0.26.3.crate 7237 BLAKE2B bdc348c718c39609c00b9fa7d47b7090b1467022b7a
DIST strum_macros-0.26.4.crate 27531 BLAKE2B 7f7d57c957a1591054288fcae6590a5e669fba1b47d8f1a52371ce60fd84f91fdb430e48cc7edbb5fc72914be5ce12af29758b653680da3f4177339b31206750 SHA512 77a17ce47d5e8fe8a89cb6aa6c3ca5d5c2625aea0f93456f05a9994238cd3b08b3f7c6a45e9b3db21bca8fb5759f505f15cc111ac84acbbb34d59cdae8307b0b
DIST subtle-2.6.1.crate 14562 BLAKE2B 3cf4940b7a01f04715da1057f6a92b1043a6b86ab2ee7f9fee0337b680ff781201d330409460f6f90b3f81bb5fd4b563e17c762c6e824ba3b0af99e4ae7d66bd SHA512 f5946ebd9bcb8776ee3446abcbf4afb3cca5d8bd847cadda87e864333ac7ded537a3efa773e9648adf20ce4add2c1da85172cff88c1e1a3a6cb051401b00c6bd
DIST syd-3.32.5.tar.gz 1814819 BLAKE2B e4ba168c3f52d60ea306cdcad67b3e34c9e767792712b82f83a3aafd2c0a6e20a3e9d21c4174f646be3fd5b86cd0b10636b7c0e52999da055a45d356422b892f SHA512 7337d857cb11e29552b87b48b5da01f96775094c6daf89e27d78517f3263e7e54af54f1672a7e5377c3231fb3b9f0384fbe79d4d4ec1bfa5a5af80aa95bdb1b8
+DIST syd-3.32.6.tar.gz 1821837 BLAKE2B 742197b64444c782ae6ff2dee52eb46797c3fb1b78c993466ef7ed77f3cef3e716f13a0fa6687a7af72e6894936ba70e896a36ec690e2cd0596989c5229b9cc5 SHA512 2f740ce5b52e4024ee5b610a3860768084a9dd51cbf913548c6308a6747eb256c7f36a32c9804c8a3678d0f2fd3d4af12e3ab0bbffa982739dff2b9baf2bcc08
DIST syn-2.0.100.crate 297947 BLAKE2B 50a9b244732eebc16464bef152bb620d86aba590942b0d68710d36e89c0ee752629be5bb8db48866c7d252d545ab910625891a5a9b499ad9142191881eb9b42b SHA512 082a975c6448febe38abdc0b43ae929a97a303c0f980ecd2bdd6c44aa2b39ee5aeedf6b1c84316cf088e0d97aff011ec0482a5242ddb338dcf7db5d55926cf6c
DIST tabwriter-1.4.1.crate 10047 BLAKE2B ae66ddfc8604ad637496c799bcd50d1387604b2506cae96c31abdbb37f0e3bd800125e56a3b3d38ecaaa83c40346060d1c66e481b191b5189b6333f5ac4ee1c3 SHA512 5001a049b27c5a146ec49d8ad986893cd0ae19aeab42cd8f6f916ddede3cfbba6797c41d251d99edd43d79b16f3739cf56bdf7721f93b3a18cfd853e88c2788e
DIST tap-1.0.1.crate 11316 BLAKE2B 60786fd5f12c2f06097330c26809fdcfce62716586d2e1985f8c01406d356ed0ab730a04dfe72ee3e1d6208a53c76c66883d45a76130750b41ba5b82aa721b83 SHA512 d69ff11a46e2fbc276212511878f48eb93640c0b147df6578ea057b23625f9366a7fc3926693fc3809688537af5ca919c91605beed364decf83c35a032310995
@@ -259,4 +260,5 @@ DIST zerocopy-0.7.35.crate 152645 BLAKE2B 8f13123c9d9257ac5a5c6954d38c3510fa6586
DIST zerocopy-derive-0.7.35.crate 37829 BLAKE2B badeb7fa5e0bfe93a6788d93fd297604ed31de526b121549300ead3c49d450f49265f499e2e7ce606dcce2b59dd01f7fa817b8fbb3f237475185c5b42f5299c4 SHA512 dbe23573b62a6267d7bc8c744320b75b2fbda03b908c1d175211f7394374fe182bce58021e25485c10671d726b2007f250565dfe53134d51c89293bb607e9feb
DIST zeroize-1.8.1.crate 20029 BLAKE2B 092eba034cd35ec47290020e0c2b213177ff5dbe14ab9e7f0b4ef3cb1ecbc42fbec2b951414e26ab00bc65aaddc2c93eddd5a1963b27c6cd613ac71c65d5cc24 SHA512 dd40ebe98b98fd742608d4066b5ab66caba94b2e679428fcaff9fe547d8cd6ff2360dc85d671ee9183e32fb79cb554d00d6aef9eb8f3d8ad0ec92d0435aa4ebe
EBUILD syd-3.32.5.ebuild 6412 BLAKE2B adf7710fded7dc9b38383e28a95c4b079ffc09937aa7bcc36c4cee6a393dddbb144d18eb456896bf6e69c446bd066a23cfc1989f7a4740f2950fe9cb5a6ab7ab SHA512 47b5d5277bd65e315226753bbad1d5560d81701621eeb02666cc35d438cd47ea7510336173b7f91dca69289c4f85c5118e259de268c27a41e2408cf2ac155451
+EBUILD syd-3.32.6.ebuild 6412 BLAKE2B adf7710fded7dc9b38383e28a95c4b079ffc09937aa7bcc36c4cee6a393dddbb144d18eb456896bf6e69c446bd066a23cfc1989f7a4740f2950fe9cb5a6ab7ab SHA512 47b5d5277bd65e315226753bbad1d5560d81701621eeb02666cc35d438cd47ea7510336173b7f91dca69289c4f85c5118e259de268c27a41e2408cf2ac155451
MISC metadata.xml 254 BLAKE2B 0e6d918ec0aa523a1d7ff2da1c9081d8257c2a83396bc5c7033412341b400364ee2d9b155d9d1df05da92b11f6a940dcda2adae7c158e479d082ce4a0583971b SHA512 24b045489397ba3bcd9dc48dbbc8a26189c1220053c04f09035dd735d2a3fb2ad6a55791f943f4502fee20c633c4a30983b76093f31ce752994f424fbb3cd21b
diff --git a/sys-apps/syd/syd-3.32.6.ebuild b/sys-apps/syd/syd-3.32.6.ebuild
new file mode 100644
index 000000000000..d7f60796afc3
--- /dev/null
+++ b/sys-apps/syd/syd-3.32.6.ebuild
@@ -0,0 +1,334 @@
+# Copyright 2024-2025 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
+ anstream@0.6.18
+ anstyle-parse@0.2.6
+ anstyle-query@1.1.2
+ anstyle-wincon@3.0.7
+ anstyle@1.0.10
+ anyhow@1.0.97
+ 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.9.0
+ bitvec@1.0.1
+ blake2b_simd@0.5.11
+ block-buffer@0.10.4
+ brunch@0.7.0
+ btoi@0.4.3
+ bumpalo@3.17.0
+ caps@0.5.5
+ cc@1.2.16
+ cfg-if@1.0.0
+ cfg_aliases@0.1.1
+ cfg_aliases@0.2.1
+ chrono@0.4.40
+ clap@4.5.32
+ clap_builder@4.5.32
+ clap_derive@4.5.32
+ clap_lex@0.7.4
+ colorchoice@1.0.3
+ constant_time_eq@0.1.5
+ constant_time_eq@0.3.1
+ core-foundation-sys@0.8.7
+ cpufeatures@0.2.17
+ crc-catalog@2.4.0
+ crc32fast@1.4.2
+ crc@3.2.1
+ crossbeam-utils@0.8.21
+ crypto-common@0.1.6
+ dactyl@0.8.0
+ 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-sys@0.4.1
+ dirs@1.0.5
+ dirs@4.0.0
+ dirs@5.0.1
+ either@1.15.0
+ equivalent@1.0.2
+ errno@0.3.10
+ error-chain@0.12.4
+ expiringmap@0.1.2
+ fastrand@2.3.0
+ fixedbitset@0.5.7
+ flate2@1.1.0
+ fnv@1.0.7
+ funty@2.0.0
+ generic-array@0.14.7
+ getrandom@0.1.16
+ getrandom@0.2.15
+ getrandom@0.3.1
+ getset@0.1.5
+ gimli@0.31.1
+ goblin@0.9.3
+ gperftools@0.2.0
+ hashbrown@0.12.3
+ hashbrown@0.15.2
+ heck@0.5.0
+ hermit-abi@0.3.9
+ hex-conservative@0.3.0
+ hex@0.4.3
+ hkdf@0.12.4
+ hmac@0.12.1
+ home@0.5.11
+ iana-time-zone-haiku@0.1.2
+ iana-time-zone@0.1.61
+ iced-x86@1.21.0
+ ident_case@1.0.1
+ indexmap@1.9.3
+ indexmap@2.8.0
+ io-uring@0.6.4
+ ipnet@2.11.0
+ iprange@0.6.7
+ is_terminal_polyfill@1.70.1
+ itoa@1.0.15
+ js-sys@0.3.77
+ keccak@0.1.5
+ lazy_static@1.5.0
+ lexis@0.2.3
+ lexopt@0.3.0
+ libc@0.2.171
+ libcgroups@0.5.2
+ libcontainer@0.5.2
+ libloading@0.8.6
+ liboci-cli@0.5.2
+ libredox@0.1.3
+ libseccomp-sys@0.2.1
+ libseccomp@0.3.0
+ linefeed@0.6.0
+ linux-raw-sys@0.4.15
+ linux-raw-sys@0.9.3
+ log@0.4.26
+ md5@0.7.0
+ memchr@2.7.4
+ memoffset@0.9.1
+ minimal-lexical@0.2.1
+ miniz_oxide@0.8.5
+ 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.7
+ oci-spec@0.7.1
+ once_cell@1.21.1
+ option-ext@0.2.0
+ overload@0.1.1
+ parse-size@1.0.0
+ phf@0.11.3
+ phf_codegen@0.11.3
+ phf_generator@0.11.3
+ phf_shared@0.11.3
+ pin-project-lite@0.2.16
+ pkg-config@0.3.32
+ plain@0.2.3
+ portable-atomic@1.11.0
+ prctl@1.0.0
+ proc-macro-error-attr2@2.0.0
+ proc-macro-error2@2.0.1
+ proc-macro2@1.0.94
+ procfs-core@0.17.0
+ procfs@0.17.0
+ protobuf-codegen@3.2.0
+ protobuf-parse@3.2.0
+ protobuf-support@3.2.0
+ protobuf@3.2.0
+ quick_cache@0.6.12
+ quote@1.0.38
+ radium@0.7.0
+ raki@1.3.1
+ rand@0.8.5
+ rand_core@0.6.4
+ redox_syscall@0.1.57
+ redox_users@0.3.5
+ redox_users@0.4.6
+ regex-automata@0.4.9
+ regex-syntax@0.8.5
+ regex@1.11.1
+ ringbuf@0.4.7
+ rust-argon2@0.8.3
+ rust-criu@0.4.0
+ rustc-demangle@0.1.24
+ rustix@0.38.44
+ rustix@1.0.2
+ rustversion@1.0.20
+ ryu@1.0.20
+ safe-path@0.1.0
+ scroll@0.12.0
+ scroll_derive@0.12.0
+ secure-string@0.3.0
+ sendfd@0.4.3
+ serde@1.0.219
+ serde_derive@1.0.219
+ serde_json@1.0.139
+ sha1@0.10.6
+ sha3@0.10.8
+ sharded-slab@0.1.7
+ shellexpand@3.1.0
+ shlex@1.3.0
+ siphasher@1.0.1
+ smallstr@0.2.0
+ smallvec@1.14.0
+ strsim@0.11.1
+ strum@0.26.3
+ strum_macros@0.26.4
+ subtle@2.6.1
+ syn@2.0.100
+ tabwriter@1.4.1
+ tap@1.0.1
+ tcmalloc@0.3.0
+ tempfile@3.19.0
+ terminfo@0.8.0
+ thiserror-impl@1.0.69
+ thiserror-impl@2.0.12
+ thiserror@1.0.69
+ thiserror@2.0.12
+ thread_local@1.1.8
+ tick_counter@0.4.5
+ tinyvec@1.9.0
+ tinyvec_macros@0.1.1
+ tracing-attributes@0.1.28
+ tracing-core@0.1.33
+ tracing-log@0.2.0
+ tracing-subscriber@0.3.19
+ tracing@0.1.41
+ typenum@1.18.0
+ unicode-ident@1.0.18
+ unicode-normalization@0.1.24
+ unicode-width@0.1.14
+ unicode-width@0.2.0
+ utf8parse@0.2.2
+ valuable@0.1.1
+ version_check@0.9.5
+ wasi@0.11.0+wasi-snapshot-preview1
+ wasi@0.13.3+wasi-0.2.2
+ wasi@0.9.0+wasi-snapshot-preview1
+ wasm-bindgen-backend@0.2.100
+ wasm-bindgen-macro-support@0.2.100
+ wasm-bindgen-macro@0.2.100
+ wasm-bindgen-shared@0.2.100
+ wasm-bindgen@0.2.100
+ which@4.4.2
+ 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-link@0.1.0
+ windows-sys@0.48.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
+ wit-bindgen-rt@0.33.0
+ wyz@0.5.1
+ yaxpeax-arch@0.3.2
+ yaxpeax-arm@0.3.1
+ 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+="
+ 0BSD Apache-2.0 BSD-2 BSD CC0-1.0 GPL-3+ ISC MIT MPL-2.0 Unicode-3.0
+ Unlicense WTFPL-2
+"
+
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="static? ( sys-libs/libseccomp[static-libs] )
+ sys-libs/libseccomp
+ app-text/scdoc"
+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+="-Ctarget-feature=+crt-static"
+ cargo_src_configure
+ else
+ local myfeatures=( "oci" )
+ cargo_src_configure
+ fi
+}
+
+src_compile() {
+ cargo_src_compile
+ emake man
+}
+
+src_install () {
+ cargo_src_install
+ mkdir -p "${D}"/usr/share/man/man{1,2,5,7}
+ emake install-man DESTDIR="${D}" PREFIX="/usr"
+ 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
+}