From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 7D54315827B for ; Sun, 10 Aug 2025 17:39:55 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 5FB69341FC1 for ; Sun, 10 Aug 2025 17:39:55 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4CD6E11055F; Sun, 10 Aug 2025 17:39:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 402C2110280 for ; Sun, 10 Aug 2025 17:39:54 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DE311341FB1 for ; Sun, 10 Aug 2025 17:39:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 479782A02 for ; Sun, 10 Aug 2025 17:39:52 +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: <1754847590.10f74f287712086982b78133335aaf024f3a5e1f.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.37.6.ebuild X-VCS-Directories: sys-apps/syd/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 10f74f287712086982b78133335aaf024f3a5e1f X-VCS-Branch: master Date: Sun, 10 Aug 2025 17:39:52 +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: 3410a58c-9a5a-4b25-89c8-697145649dd1 X-Archives-Hash: d227de3d4ddcad217a8102716987463c commit: 10f74f287712086982b78133335aaf024f3a5e1f Author: Patrick Lauer gentoo org> AuthorDate: Sun Aug 10 17:39:24 2025 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Sun Aug 10 17:39:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f74f28 sys-apps/syd: add 3.37.6 Signed-off-by: Patrick Lauer gentoo.org> sys-apps/syd/Manifest | 1 + sys-apps/syd/syd-3.37.6.ebuild | 348 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 349 insertions(+) diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest index 78814ba8ecd2..ff69eee4eafc 100644 --- a/sys-apps/syd/Manifest +++ b/sys-apps/syd/Manifest @@ -207,6 +207,7 @@ DIST strum_macros-0.27.2.crate 30522 BLAKE2B c70e2f27074e04b796f2b0e1a1856e95fa7 DIST subtle-2.6.1.crate 14562 BLAKE2B 3cf4940b7a01f04715da1057f6a92b1043a6b86ab2ee7f9fee0337b680ff781201d330409460f6f90b3f81bb5fd4b563e17c762c6e824ba3b0af99e4ae7d66bd SHA512 f5946ebd9bcb8776ee3446abcbf4afb3cca5d8bd847cadda87e864333ac7ded537a3efa773e9648adf20ce4add2c1da85172cff88c1e1a3a6cb051401b00c6bd DIST syd-3.37.4.tar.gz 1969760 BLAKE2B 1d42c5bede9e0f9eea04902a84d7fe3a19f95b87f52f09df4e9ea3afea309963e3b5508a51c38bb1d2d2a8b6f2336d37e21aa21d43f3be3c887aae2cc72578b1 SHA512 e0e9437fff57a082a717c98ca4961334130ca08983002cda99cccd7f9cb3edc4c7e43d4a7be71082a3b5aabd6f625472e46a7eb1062b54662fa0290366376971 DIST syd-3.37.5.tar.gz 1970000 BLAKE2B ec780360bc4d0969c3735bc3733c3f52a67baac478c572ab8bd6ca5aef5507d01c79ba55beb026446f393a15aa1205b84db4a211f710a3d125de272d560406a3 SHA512 38dd0ba1ef72c105513903a61f7304c988ecf21566121a6f86160d13efcec0b189013fea01cf29f4efd010abb3323a53472e68352cca66d0c3440a12bab8f8a5 +DIST syd-3.37.6.tar.gz 1973239 BLAKE2B 52c9060d456a0d629a92b1c0ba6ca3ff9ab9e07cd3cf9cb7018ac6bf4ae5ffbc76bcf7cf2b4713ba992c09ff0f98e82d38133f33695401c2d9567d6627ca1150 SHA512 d9ef3c0a4e622f122ee7c8cc7182251d2283ee5af80cab662be7fe64edb16231ff03d0e2f27a1abd2b85397fd0f4151d2774c47aab81f2258dbefd3f4df293f1 DIST syn-2.0.104.crate 299699 BLAKE2B f64d2267abe9140456dd31d52ada0c75bfa3e4e0112ca77491245e9e84a0530f6c7cdc7428b73cf567a65ef6e7727f814fb9cb34db0ecc9cc3afd05b69fd36f7 SHA512 da532fa362266161b5604c821c913f8f990eb32c18e18c0a360b7147b9f71ae008e208f377cb203e85818bd5db926951122a971fa97563a10678f0ba4671e64f DIST tabwriter-1.4.1.crate 10047 BLAKE2B ae66ddfc8604ad637496c799bcd50d1387604b2506cae96c31abdbb37f0e3bd800125e56a3b3d38ecaaa83c40346060d1c66e481b191b5189b6333f5ac4ee1c3 SHA512 5001a049b27c5a146ec49d8ad986893cd0ae19aeab42cd8f6f916ddede3cfbba6797c41d251d99edd43d79b16f3739cf56bdf7721f93b3a18cfd853e88c2788e DIST tap-1.0.1.crate 11316 BLAKE2B 60786fd5f12c2f06097330c26809fdcfce62716586d2e1985f8c01406d356ed0ab730a04dfe72ee3e1d6208a53c76c66883d45a76130750b41ba5b82aa721b83 SHA512 d69ff11a46e2fbc276212511878f48eb93640c0b147df6578ea057b23625f9366a7fc3926693fc3809688537af5ca919c91605beed364decf83c35a032310995 diff --git a/sys-apps/syd/syd-3.37.6.ebuild b/sys-apps/syd/syd-3.37.6.ebuild new file mode 100644 index 000000000000..0f01bd96e7c3 --- /dev/null +++ b/sys-apps/syd/syd-3.37.6.ebuild @@ -0,0 +1,348 @@ +# 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.1 + ahash@0.8.12 + aho-corasick@1.1.3 + android-tzdata@0.1.1 + android_system_properties@0.1.5 + anstream@0.6.20 + anstyle-parse@0.2.7 + anstyle-query@1.1.4 + anstyle-wincon@3.0.10 + anstyle@1.0.11 + anyhow@1.0.98 + arrayref@0.3.9 + arrayvec@0.5.2 + autocfg@1.5.0 + backtrace@0.3.75 + base64@0.13.1 + bitflags@1.3.2 + bitflags@2.9.1 + bitvec@1.0.1 + blake2b_simd@0.5.11 + block-buffer@0.10.4 + brunch@0.5.3 + btoi@0.5.0 + bumpalo@3.19.0 + bytes@1.10.1 + caps@0.5.5 + cc@1.2.32 + cfg-if@1.0.1 + cfg_aliases@0.2.1 + chrono@0.4.41 + clap@4.5.43 + clap_builder@4.5.43 + clap_derive@4.5.41 + clap_lex@0.7.5 + colorchoice@1.0.4 + const_format@0.2.34 + const_format_proc_macros@0.2.34 + 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.5.0 + crc@3.3.0 + crossbeam-utils@0.8.21 + crypto-common@0.1.6 + dactyl@0.7.4 + darling@0.20.11 + darling_core@0.20.11 + darling_macro@0.20.11 + data-encoding@2.9.0 + 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.5.0 + dirs@1.0.5 + dirs@4.0.0 + dirs@6.0.0 + either@1.15.0 + equivalent@1.0.2 + errno@0.3.13 + error-chain@0.12.4 + expiringmap@0.1.2 + fastrand@2.3.0 + fixedbitset@0.5.7 + flate2@1.1.2 + fnv@1.0.7 + funty@2.0.0 + generic-array@0.14.7 + getrandom@0.1.16 + getrandom@0.2.16 + getrandom@0.3.3 + getset@0.1.6 + gimli@0.31.1 + goblin@0.9.3 + gperftools@0.2.0 + hashbrown@0.12.3 + hashbrown@0.15.5 + heck@0.5.0 + hermit-abi@0.5.2 + 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.63 + iced-x86@1.21.0 + ident_case@1.0.1 + indexmap@1.9.3 + indexmap@2.10.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.1 + libc@0.2.174 + libcgroups@0.5.4 + libcontainer@0.5.4 + libloading@0.8.8 + liboci-cli@0.5.4 + libredox@0.1.9 + libseccomp-sys@0.2.1 + libseccomp-sys@0.3.0 + libseccomp@0.3.0 + libseccomp@0.4.0 + linefeed@0.6.0 + linux-raw-sys@0.4.15 + linux-raw-sys@0.9.4 + log@0.4.27 + md5@0.8.0 + memchr@2.7.5 + memoffset@0.9.1 + minimal-lexical@0.2.1 + miniz_oxide@0.8.9 + mortal@0.2.4 + nc@0.9.6 + netlink-sys@0.8.7 + nix@0.26.4 + nix@0.29.0 + nix@0.30.1 + nom@7.1.3 + nom@8.0.0 + nu-ansi-term@0.46.0 + num-traits@0.2.19 + num_cpus@1.17.0 + object@0.36.7 + oci-spec@0.8.1 + once_cell@1.21.3 + once_cell_polyfill@1.70.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-util@0.2.4 + portable-atomic@1.11.1 + prctl@1.0.0 + proc-macro-error-attr2@2.0.0 + proc-macro-error2@2.0.1 + proc-macro2@1.0.95 + 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 + quote@1.0.40 + r-efi@5.3.0 + radium@0.7.0 + raki@1.3.2 + rand@0.8.5 + rand_core@0.6.4 + redox_syscall@0.1.57 + redox_users@0.3.5 + redox_users@0.4.6 + redox_users@0.5.2 + regex-automata@0.4.9 + regex-syntax@0.8.5 + regex@1.11.1 + ringbuf@0.4.8 + rust-argon2@0.8.3 + rust-criu@0.4.0 + rustc-demangle@0.1.26 + rustix@0.38.44 + rustix@1.0.8 + rustversion@1.0.21 + ryu@1.0.20 + safe-path@0.1.0 + scroll@0.12.0 + scroll_derive@0.12.1 + secure-string@0.3.0 + sendfd@0.4.4 + serde@1.0.219 + serde_derive@1.0.219 + serde_json@1.0.142 + sha1@0.10.6 + sha3@0.10.8 + sharded-slab@0.1.7 + shellexpand@3.1.1 + shlex@1.3.0 + siphasher@1.0.1 + smallstr@0.2.0 + smallvec@1.15.1 + strsim@0.11.1 + strum@0.27.2 + strum_macros@0.27.2 + subtle@2.6.1 + syn@2.0.104 + tabwriter@1.4.1 + tap@1.0.1 + tcmalloc@0.3.0 + tempfile@3.20.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.9 + tick_counter@0.4.5 + tinyvec@1.9.0 + tinyvec_macros@0.1.1 + tracing-attributes@0.1.30 + tracing-core@0.1.34 + 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.1 + unicode-xid@0.2.6 + utf8parse@0.2.2 + valuable@0.1.1 + version_check@0.9.5 + wasi@0.11.1+wasi-snapshot-preview1 + wasi@0.14.2+wasi-0.2.4 + 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.61.2 + windows-implement@0.60.0 + windows-interface@0.59.1 + windows-link@0.1.3 + windows-result@0.3.4 + windows-strings@0.4.2 + windows-sys@0.59.0 + windows-sys@0.60.2 + windows-targets@0.52.6 + windows-targets@0.53.3 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_gnullvm@0.53.0 + windows_aarch64_msvc@0.52.6 + windows_aarch64_msvc@0.53.0 + windows_i686_gnu@0.52.6 + windows_i686_gnu@0.53.0 + windows_i686_gnullvm@0.52.6 + windows_i686_gnullvm@0.53.0 + windows_i686_msvc@0.52.6 + windows_i686_msvc@0.53.0 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnu@0.53.0 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_gnullvm@0.53.0 + windows_x86_64_msvc@0.52.6 + windows_x86_64_msvc@0.53.0 + wit-bindgen-rt@0.39.0 + wyz@0.5.1 + yaxpeax-arch@0.3.2 + yaxpeax-arm@0.3.1 + zerocopy-derive@0.8.26 + zerocopy@0.8.26 + 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 +}