commit:     64a295f3b3a7ec758ef8e7e2f33e99472dbf83b1
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Mon May  6 07:00:20 2024 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Mon May  6 07:02:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64a295f3

sys-apps/syd: add 3.18.5

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 sys-apps/syd/Manifest          |   1 +
 sys-apps/syd/syd-3.18.5.ebuild | 329 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 330 insertions(+)

diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest
index 062718fb0477..740630929917 100644
--- a/sys-apps/syd/Manifest
+++ b/sys-apps/syd/Manifest
@@ -205,6 +205,7 @@ DIST strum-0.26.2.crate 7189 BLAKE2B 
7582fe304551e98b121d3a386af22bc022d7d11323b
 DIST strum_macros-0.26.2.crate 27056 BLAKE2B 
c9df13a91dd08f8bba0dfeec4fc03b59cd74eafaace7d2d228b8636264a9ea11137d0be741a936f7290e09525586818726000f07ed84a5ae711b89d61f52e89e
 SHA512 
519bc654adcf131d85d1ef83f62be2429f7472df25cf962fdc1cf5070d33c39dfe71f08fbf296df9b85fdfcda95cf2fea27e8e52e9ae93de27bb8fc4a5b55dd1
 DIST syd-3.17.4.tar.gz 676758 BLAKE2B 
7391f2a4409dbd60c8d883ccf3077641083c83becad0e317e0b06ec75845e00f1478602d216b04ea0333cadda44170033bedeb83a78ec23b3e482240276c135a
 SHA512 
be844554c4d6d04e2b025bcb958ae31d3d04f010076966fc84634977a686d19bd0e27f8b6d5f438b44eb97867d9d444c663a55ae452aa7b63bbcd2bc1077dd9f
 DIST syd-3.18.3.tar.gz 699730 BLAKE2B 
12afee9bca004ec21896630fc14380b81cc4980b972e93794ba3344b99623a20d6883b8cc1653e39c74c9ff1ab3c7c634c7f34bb70174fe897d1ed3d79194c75
 SHA512 
c96fbc0ff27c5c106c115401aef65c901110004bfb2e2747b983f54f932b7120877675e89ca550b9b1868c0864eff95240233ca7b56503dff64fe13550cd5365
+DIST syd-3.18.5.tar.gz 700286 BLAKE2B 
3e0b744635661ffa50d9597816f19be39733986d539deed48b31e769e1e73e236681692a04896d955f9ffb7cbc768db5ac97867ea6157714738b404c6fce97fc
 SHA512 
c09274900ee6972ebb3c44750147d24bd7de6b5a3e90671386892f911d2adf7f3ed7d84971725b77781b48ca3f05b81f8103632d52112f7ed27d046c62dff6e8
 DIST syn-1.0.109.crate 237611 BLAKE2B 
e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9
 SHA512 
12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d
 DIST syn-2.0.60.crate 255808 BLAKE2B 
d7a8e415dd72267fd92da48ba8b3e6feb728f0639797db1aa74aeaa2a57935b7565eec37cbd32eec826154e2c54075b121737369eb15af36c322c34b3cfd7930
 SHA512 
20bfa02b03c193672a9922f9a5e196185341e082a262f7c00d7c2d467d9e2d77f4af3994634923cfaeee34aa9eab510415165f052ffd9b1ed0b1b581e272898d
 DIST tabwriter-1.4.0.crate 9951 BLAKE2B 
8833c5a7f37749268187e60d95b07262e77c461ab868cd934e58031703dc0c9ea83b8757e681747900dc07eb5c8e41e589d9c37568b66ca25c95f0fbf07c8a8c
 SHA512 
066846124e3beee816f76ed3a59fb224593537ce5807aa472fbcd0cb98f638dba6801d171b6d1026e56b6eaae6f2e873d64c190c97bbd8d6ffeffc82f3b4d52f

diff --git a/sys-apps/syd/syd-3.18.5.ebuild b/sys-apps/syd/syd-3.18.5.ebuild
new file mode 100644
index 000000000000..80ae803cfc48
--- /dev/null
+++ b/sys-apps/syd/syd-3.18.5.ebuild
@@ -0,0 +1,329 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.13.1
+
+EAPI=8
+
+RESTRICT="test" # fails with sandbox
+
+CRATES="
+       addr2line@0.21.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.0.3
+       anstyle-wincon@3.0.3
+       anstyle@1.0.7
+       anyhow@1.0.82
+       argv@0.1.11
+       autocfg@1.3.0
+       backtrace@0.3.71
+       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.96
+       cfg-if@1.0.0
+       cfg_aliases@0.1.1
+       chrono@0.4.38
+       ciborium-io@0.2.2
+       ciborium-ll@0.2.2
+       ciborium@0.2.2
+       clap@4.5.4
+       clap_builder@4.5.2
+       clap_derive@4.5.4
+       clap_lex@0.7.0
+       colorchoice@1.0.1
+       const-hex@1.11.3
+       core-foundation-sys@0.8.6
+       cpufeatures@0.2.12
+       crc32fast@1.4.0
+       criterion-plot@0.5.0
+       criterion@0.5.1
+       crossbeam-channel@0.5.12
+       crossbeam-deque@0.8.5
+       crossbeam-epoch@0.9.18
+       crossbeam-queue@0.3.11
+       crossbeam-utils@0.8.19
+       crossbeam@0.8.4
+       crunchy@0.2.2
+       cty@0.2.2
+       darling@0.20.8
+       darling_core@0.20.8
+       darling_macro@0.20.8
+       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.11.0
+       env_filter@0.1.0
+       env_logger@0.11.3
+       equivalent@1.0.1
+       errno@0.3.8
+       fastrand@2.1.0
+       fixedbitset@0.4.2
+       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.14
+       getset@0.1.2
+       gimli@0.28.1
+       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.4.1
+       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.2
+       libc@0.2.154
+       libcgroups@0.3.2
+       libcontainer@0.3.2
+       libloading@0.8.3
+       libm@0.2.8
+       liboci-cli@0.3.2
+       libredox@0.1.3
+       libseccomp-sys@0.2.1
+       libseccomp@0.3.0
+       linux-raw-sys@0.1.4
+       linux-raw-sys@0.4.13
+       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.4-source
+       mimalloc2-rust@0.3.1
+       miniz_oxide@0.7.2
+       nc@0.8.20
+       nix@0.26.4
+       nix@0.27.1
+       nix@0.28.0
+       nonempty@0.10.0
+       num-traits@0.2.19
+       num_cpus@1.16.0
+       object@0.32.2
+       oci-spec@0.6.5
+       once_cell@1.19.0
+       oorandom@11.1.3
+       openat2@0.1.2
+       option-ext@0.2.0
+       parking_lot@0.12.2
+       parking_lot_core@0.9.10
+       parse-size@1.0.0
+       pentacle@1.0.0
+       petgraph@0.6.4
+       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.81
+       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.6
+       regex-syntax@0.8.3
+       regex@1.10.4
+       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.23
+       rustix@0.36.17
+       rustix@0.38.34
+       rustversion@1.0.15
+       rusty_pool@0.7.0
+       ryu@1.0.17
+       safe-path@0.1.0
+       same-file@1.0.6
+       scopeguard@1.2.0
+       scroll@0.12.0
+       scroll_derive@0.12.0
+       sendfd@0.4.3
+       serde@1.0.200
+       serde_derive@1.0.200
+       serde_json@1.0.116
+       shellexpand@3.1.0
+       slab@0.4.9
+       slotmap@1.0.7
+       smallvec@1.13.2
+       strsim@0.10.0
+       strsim@0.11.1
+       strum@0.26.2
+       strum_macros@0.26.2
+       syn@1.0.109
+       syn@2.0.60
+       tabwriter@1.4.0
+       tempfile@3.10.1
+       thiserror-impl@1.0.59
+       thiserror@1.0.59
+       thread-id@4.2.1
+       tick_counter@0.4.5
+       tinytemplate@1.2.1
+       tracing-attributes@0.1.27
+       tracing-core@0.1.32
+       tracing@0.1.40
+       unarray@0.1.4
+       unicode-ident@1.0.12
+       unicode-width@0.1.12
+       utf8parse@0.2.1
+       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.33
+       zerocopy@0.7.33
+"
+
+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
+}

Reply via email to