From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 940201581EC for ; Sat, 23 Nov 2024 16:52:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E16C4E0824; Sat, 23 Nov 2024 16:52:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C44C2E0824 for ; Sat, 23 Nov 2024 16:52:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D39F0341707 for ; Sat, 23 Nov 2024 16:52:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70EAF11DF for ; Sat, 23 Nov 2024 16:52:41 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1732380759.962d16f9e9d473c1477a3f30842ddec5c75c9c16.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/syd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/syd/Manifest sys-apps/syd/syd-3.28.5.ebuild X-VCS-Directories: sys-apps/syd/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 962d16f9e9d473c1477a3f30842ddec5c75c9c16 X-VCS-Branch: master Date: Sat, 23 Nov 2024 16:52:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6f9e8214-254d-4964-9bdc-b1721c8339b7 X-Archives-Hash: af2f25dae4b1b8ab07e50192166f8013 commit: 962d16f9e9d473c1477a3f30842ddec5c75c9c16 Author: Patrick Lauer gentoo org> AuthorDate: Sat Nov 23 16:51:49 2024 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Sat Nov 23 16:52:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=962d16f9 sys-apps/syd: add 3.28.5 Signed-off-by: Patrick Lauer gentoo.org> sys-apps/syd/Manifest | 1 + sys-apps/syd/syd-3.28.5.ebuild | 330 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 331 insertions(+) diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest index b0b0d39fbd6e..074316cee79f 100644 --- a/sys-apps/syd/Manifest +++ b/sys-apps/syd/Manifest @@ -214,6 +214,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.28.3.tar.gz 1098961 BLAKE2B c12960a6f4eb18107486f22d960f20c7f17c89eeb91aec94f03c6530154a00cbff178e8af441821905416491114084d722d9aa2544f27101f10ff793c8a9b4aa SHA512 ba1feda7d9888a169a6d2070f7ecf239e0e31a9f4ec03cee5fc58e15e7bf14c638aa019e215acbc165ac256a15fecde814a1829a387def49b289c4acb3796d0c DIST syd-3.28.4.tar.gz 1100727 BLAKE2B 20e27f3062bc958d045166bedc0564c9ca0aa78a6a6623410f52e22bebd3e456883a96fcf14c34ee86c03622d6b10a23d24651fe5b72c9ec52de9a108debd16a SHA512 c97c852946b7dd65bc0134e4b7dd2c246e0ac372d0543f39867044b6ab935e934383269552d1ca516657826d15b72a9d0e398768ae264b970e1a3083d9870b09 +DIST syd-3.28.5.tar.gz 1100861 BLAKE2B 997f7e92acb837ed5628f8cf657292129a039e2e4c667126201b47048561e7c038947416b0a26246673aac78eaaa43df7fa7f641e60d236c5a870dcd5be5a56a SHA512 06513cc43c32bd4109621011042ff2e8343bbb21f029c96d7ad91dcde381ce94beaa0a6a389902c36717da58a806d65a91658d19f3e50f3447bddf424cf36196 DIST syn-2.0.87.crate 278076 BLAKE2B 93385f64103fdb482bec34c7912474ae7a5935948715e6eb9a54907e0db5c39f089f6cd393bab33c935c59a1bbb0f4099431f206343811c1a450554d96a35756 SHA512 bcfff545d6dfefd81e09f8f30a86bdd85759b3a7d4093ef3365ed02718e10dbd604c52b94c9d7fa955d339fdc5b6c079940c6f345b5a48c52b5c8607794ca6f2 DIST syn-2.0.89.crate 289852 BLAKE2B 4e2b06d2a0ea9b8970338ab61f8c5569cb7c10466dcf139576d0618c3690cfd23c98b66f0714c34839364dee72df6a6d8571f73dbf03ecc347fb1effb118fc2f SHA512 d172936f04a383b7b5e79dad328e70ea3c4faba4a88d0b6d186645413e8698434d30f53012cc9d3813f617c8bef75e95a2d064fdabae7867678abbed22bcd910 DIST tabwriter-1.4.0.crate 9951 BLAKE2B 8833c5a7f37749268187e60d95b07262e77c461ab868cd934e58031703dc0c9ea83b8757e681747900dc07eb5c8e41e589d9c37568b66ca25c95f0fbf07c8a8c SHA512 066846124e3beee816f76ed3a59fb224593537ce5807aa472fbcd0cb98f638dba6801d171b6d1026e56b6eaae6f2e873d64c190c97bbd8d6ffeffc82f3b4d52f diff --git a/sys-apps/syd/syd-3.28.5.ebuild b/sys-apps/syd/syd-3.28.5.ebuild new file mode 100644 index 000000000000..6f5c8f5dd0e0 --- /dev/null +++ b/sys-apps/syd/syd-3.28.5.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.16 + 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.13 + 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.92 + 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.41 + 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.89 + 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.14 + 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+="-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 +}