summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2024-07-16 06:12:27 +0000
committerPatrick Lauer <patrick@gentoo.org>2024-07-16 06:13:03 +0000
commit5054dccdf0af1b98b4e29bfcae870ae9a48e8be4 (patch)
treebb70efb9664ea3dba4ff7c259095db97551b7283 /sys-apps/syd
parentdev-ruby/mechanize: stabilize 2.10.0 for amd64 (diff)
downloadgentoo-5054dccdf0af1b98b4e29bfcae870ae9a48e8be4.tar.gz
gentoo-5054dccdf0af1b98b4e29bfcae870ae9a48e8be4.tar.bz2
gentoo-5054dccdf0af1b98b4e29bfcae870ae9a48e8be4.zip
sys-apps/syd: add 3.23.12
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'sys-apps/syd')
-rw-r--r--sys-apps/syd/Manifest3
-rw-r--r--sys-apps/syd/syd-3.23.12.ebuild313
2 files changed, 316 insertions, 0 deletions
diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest
index 9302694f9bbe..9085e0dd89c7 100644
--- a/sys-apps/syd/Manifest
+++ b/sys-apps/syd/Manifest
@@ -23,6 +23,7 @@ DIST caps-0.5.5.crate 17575 BLAKE2B 77d788f936eb36c2f4776ee719cdc138dac4b840ce63
DIST cast-0.3.0.crate 11452 BLAKE2B fe6edddd0589fa436cda32342d7beaabe4003afdbdf1d7c5db7e8748adf23b1b2cdcdd286235837c735d2143f29e692c152a5d56fb0458a54961e4dea303b2cb SHA512 4a3e19bc1e9e5ecc03aaef9bcdce01624ac0e6858c065fa1c41693db0ac172b9735ce872064561347cd9e79f00a274129011f6e4ccf9e61d960c8bb684b6d396
DIST cc-1.1.2.crate 80962 BLAKE2B 9d0aa0299a302fada82145c6a96f8a8b839f7c54502be3038bf6c9763ec733b0b526712540db7349fbb121110c50096585976a874bf6f90cd3bbcf9831e65a87 SHA512 c051cce2877992f017747f5fe08cbf2aaae79a2c4f904772a89005b80f2b3eaec582c18095533155e395cb70f7f27012bd6819d9adf574b9ffddb723657b0ae5
DIST cc-1.1.4.crate 81127 BLAKE2B fef48f4305d9ff973408aaa73dbe17c2420a3fcf1f46eb1865157ad91b96797bca3b258f9c8c473b6306bd0a148fbd8fc04b2952334b0985f880b890e80d72f3 SHA512 f4140aa80d8263dec91f602b8d08adf95cdcb239c9dc6085dabf3a4a47ca2b0ac7d370aebc882593c0d548bea5d082dfed8eeed113e5e89a08228330b57fb6ab
+DIST cc-1.1.5.crate 81493 BLAKE2B 3edd99cd9d05b090a57cf62f1236c02d0731baa8b2bdcd6c14f21e68323cdf4a65439f81701c1b1960b70919f1a342f1ad8e0bc830bfd187eedbbf443a5df77b SHA512 2ee646d3808bd06b3bba5788d0f93762009875e1f5c25dad67b0f8dafcb512be3ff105bf9d2e92a2507a2fd942b8d774004971c1f203ad40894336ffb89ceebd
DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
DIST cfg_aliases-0.2.1.crate 6355 BLAKE2B a758d9c88527f0e6e7cfd6d4c83eda1bcb4d6e2438189fe08e8ecbcaa78d56afc5a4873f3b82bf7da96afd690b44cdf1e44466b6da0f37c358b340481017103e SHA512 74969d12d5d24002a29e08d52e30fbce014dd481a7c35ee0162e69333c5f2d7755f3b02439b31522e12444cf1ac8e65880ce33fe6778dac03757e362cbf8a72c
DIST chrono-0.4.38.crate 220559 BLAKE2B ab828bfeed56eb737a1797d5e1132cafe87a1e14bf7a1fe4a5098f50e6ceead50ca2e7f041cc2ff63d5f4e41e2853322f6c345bb31ff12a5b412e3e5202f5fea SHA512 858e47e3facebd5383e71898f26b27d92fe4a69027e2cc47da2af59975ead7767355e0b699f4228eabe76a3eff8b2519c7cecf8b60dc3fc60fbf9b28e2f3d4d9
@@ -158,6 +159,7 @@ DIST rand_chacha-0.3.1.crate 15251 BLAKE2B 645771b2c3e274f085e0837a20306b1d59f6e
DIST rand_core-0.6.4.crate 22666 BLAKE2B 8b6b66d50aade877f2779c006f8038db450f808c66d73d79efa66c4178dc03db06f12201bf0e7930181c4b0f4030c49b20cce6eb7839763cf2217cad9710789a SHA512 36c67eb845aa2ccca49d6d680f28d418229bbc5a050729e487fe6b9f9f384fdd7b8d67fc6508b90b79ffb3c26688e72feceb3ecae57d3d7f59338aeb62296f79
DIST rand_xorshift-0.3.0.crate 9121 BLAKE2B 56c29e159c0beb9c751429130e84e4666f9031b6f70e180544f9cc8f8e85d98676b861b588dbda46f2cdbd254fb908c02c6ba640d53422e6bfa1ae4e48ca5a33 SHA512 256e410e5bc08c56496c53c3d53936f3b1cfed41458b0ee8879d7aa8b95375055746ca49e29000ef847b37f01e9237f569cd000c4b281f6c78ddfc78ce439a49
DIST redox_syscall-0.5.2.crate 23957 BLAKE2B 6261df25a59af5119a21d31fc3b6a8800bb1783cf2fd63a5524d48d0b187f5f2e65ebbdec00d9282adf110ba8f307d4ceb154bf029a0c6a26e8a887fc722b2d7 SHA512 b7e39a08e220153370449cec7b058c2dbc4916ff7be01b34658e1793035323ecc28f40712194cb9bfc9b863e4bb316e58662721eb0e54f68f09438bd880ea032
+DIST redox_syscall-0.5.3.crate 23830 BLAKE2B 0a38235ec277144f0c3e7bcb1d273c7f357d85aef33dbd06328ef16bab7df0a07b523431590899ea58d55e8e1d84c32392478530200cca3a9483e8a47b29e233 SHA512 777d1208004b7756887d6c5745ea408972670e59430e1d299d01a463ae41b98e0920ee77aefef8755fc949d4799dca679afaaae9c1a7d060f76f69af5b90427e
DIST redox_users-0.4.5.crate 15514 BLAKE2B 9fc9d9c4875ed711efb75fb08f345b5f4f0667717d37710143742e48251a709c53760bcbc31ce13e6432672f9417be429c38c2e77a6b786887841714290a1194 SHA512 7a25cc91c9d1bfe537f20b83255990681d136ced5aaa7aa0cdb1b1fc024ba36aa1fb75c335c768a85ee078019a9ca2460efd911cad8ae6fe8b0385fb171aa4b4
DIST regex-1.10.5.crate 253805 BLAKE2B 9f5418b577209051640c3614a98b15604a1e71144763a6f00caa7757f0ff67fd833a7d14fe9d6acef96386a2a4eb60cf5d490472e73fd62ca8bb0e78d4f9f125 SHA512 177fddb001e14281510e34070f88f8e5167278a46f1d93d9286d9606b7673346f504e4064d7ad53558e6988a400c728e33b663ab398fee12ae23fba7158da5fb
DIST regex-automata-0.4.7.crate 617582 BLAKE2B 6295d866706b623b2025fdc0c407086fec15053229d708713d0ec165bd526ba25e7468d0009625cbbbc21d20345f0af2eea10addf6de633e8e6a02dddced67b8 SHA512 b19d00d64bb8cd833cfb35fabb162b9481716f4b7f6035c1c8f1de4e0f90e00823d006e057aa3505aeda48c9e1802e61173c4a2878891129a3a918727e43b0d3
@@ -193,6 +195,7 @@ DIST strsim-0.11.1.crate 14266 BLAKE2B 252a9ede4241b165525486aa8855dece37af77f5b
DIST strum-0.26.3.crate 7237 BLAKE2B bdc348c718c39609c00b9fa7d47b7090b1467022b7a8a28cc7c8a72a0aef20569c6ab22a8a8d26c2d9272f18d000e4ce94858a6647194f0a7b86d812d52b05a9 SHA512 62f116d5bbc6167a6ac68b049f8045bc660901f1ce1252f8bdcd91cb28bef821aad8098905369db6c2fe74c134a5d549e55ddd28e383d7d78f7175258924b268
DIST strum_macros-0.26.4.crate 27531 BLAKE2B 7f7d57c957a1591054288fcae6590a5e669fba1b47d8f1a52371ce60fd84f91fdb430e48cc7edbb5fc72914be5ce12af29758b653680da3f4177339b31206750 SHA512 77a17ce47d5e8fe8a89cb6aa6c3ca5d5c2625aea0f93456f05a9994238cd3b08b3f7c6a45e9b3db21bca8fb5759f505f15cc111ac84acbbb34d59cdae8307b0b
DIST syd-3.23.10.tar.gz 815048 BLAKE2B 35f892bd31562c8fbd1862e92dc1168e752dc5697902f764bb63eb71fbd6db890f0c5fa387dfde3ff7a1362e2a0319bdd30efcee165145ab761668ceddf3ebce SHA512 1a9587b7486784d21832f9b512f3d31460df0428de7c64b56049befe163267d758673df6ed68577b97966742bcad080221f49fe85a1a33f7fbecb5495cac2544
+DIST syd-3.23.12.tar.gz 816491 BLAKE2B ec20fe87a79600be9a32f47e43fc46e5c73043e873d5290165e60aa769829090899d5d67bcf5edcecfad4256d81c437a8bd2bc2df3ee65c5faed0a89c320ad6a SHA512 828856652553c8898c5e7022bc09616bb5328dc64d0068d82d02cc5da70abd4f6ae8bde867ba7d522e8e5d734ac8db3c7b61d865946e8f112538462a9341c5ae
DIST syd-3.23.9.tar.gz 813474 BLAKE2B 76a337254594b57b236325aedfa152de5a7f238d908605a110b8b669af70db03097617d71846d2b2e804c9aef2f6c351986dede96acc29409ee499a8cfb52354 SHA512 5c9e4c11eb304f1063800fef40ce6792d286bb5dd5668152b1ef8b6731e213ca7a05274b46e980dd51a9663f77f1c89706674f0399a716eafe47b7c8a8b3c4dd
DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d
DIST syn-2.0.71.crate 266398 BLAKE2B 78760c9965b59e14ab5d97e83c4dabdba99cd1933b66350c7d5c5f9e55f34fe68207597b51aeb023b211a065d986889655ab701b94347397ca6856a4fcbcdc85 SHA512 cf6264bc148ec550d943d7d146c7360a7d753e37ef553e6d0c6dc265bf516084530a5617f6826069275cc6f71d9f820014f7d92f04356ae964df8b79edaf7bbe
diff --git a/sys-apps/syd/syd-3.23.12.ebuild b/sys-apps/syd/syd-3.23.12.ebuild
new file mode 100644
index 000000000000..5b01f95b5ae2
--- /dev/null
+++ b/sys-apps/syd/syd-3.23.12.ebuild
@@ -0,0 +1,313 @@
+# 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.73
+ bitflags@1.3.2
+ bitflags@2.6.0
+ bstr@1.9.1
+ bumpalo@3.16.0
+ caps@0.5.5
+ cast@0.3.0
+ cc@1.1.5
+ 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.9
+ clap_builder@4.5.9
+ clap_derive@4.5.8
+ 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.10
+ darling_core@0.20.10
+ darling_macro@0.20.10
+ 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.13.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
+ globset@0.4.14
+ 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-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.5.0
+ lexis@0.2.3
+ libc@0.2.155
+ libcgroups@0.3.3
+ libcontainer@0.3.3
+ libloading@0.8.4
+ 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.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
+ nc@0.8.21
+ 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.36.1
+ oci-spec@0.6.5
+ once_cell@1.19.0
+ oorandom@11.1.4
+ 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
+ petgraph@0.6.5
+ pin-project-lite@0.2.14
+ pin-utils@0.1.0
+ pkg-config@0.3.30
+ 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.86
+ procfs-core@0.16.0
+ procfs@0.16.0
+ proptest@1.5.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.3
+ 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
+ rustc-hash@2.0.0
+ rustix@0.38.34
+ rustversion@1.0.17
+ ryu@1.0.18
+ safe-path@0.1.0
+ same-file@1.0.6
+ scopeguard@1.2.0
+ secure-string@0.3.0
+ sendfd@0.4.3
+ serde@1.0.204
+ serde_derive@1.0.204
+ serde_json@1.0.120
+ 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.3
+ strum_macros@0.26.4
+ syn@1.0.109
+ syn@2.0.71
+ tabwriter@1.4.0
+ tempfile@3.10.1
+ thiserror-impl@1.0.62
+ thiserror@1.0.62
+ 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.48.0
+ windows-sys@0.52.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
+}