commit:     3e0eb67461fa483e0c9fafa98843b39c69347131
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 13 14:39:04 2024 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 14:39:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e0eb674

sys-apps/syd: add 3.25.1

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

 sys-apps/syd/Manifest          |   2 +
 sys-apps/syd/syd-3.25.1.ebuild | 304 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 306 insertions(+)

diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest
index f4be7640f5a8..5abb16215f8e 100644
--- a/sys-apps/syd/Manifest
+++ b/sys-apps/syd/Manifest
@@ -163,6 +163,7 @@ DIST protobuf-codegen-3.2.0.crate 56540 BLAKE2B 
84d40924d83bd21577660784c34f9b63
 DIST protobuf-parse-3.2.0.crate 65995 BLAKE2B 
51089383817818803869d7f7e2ee0c2f0c93349a6fe6dba01b478576fdfb1b1889dfaf1e19172fe329b35bb8f34487e299c4b6a5c5b915cd513cecba9d6d93ea
 SHA512 
e8b3ee2b61bd59098b2de006aee2f6328a42fc710ae3f2f75fe2cbe792884c60fdb96eb36347399e2671dc36d75632d1f469d3eda19d5f9a4be6c1af3a9a9d64
 DIST protobuf-support-3.2.0.crate 10757 BLAKE2B 
67dc8319f4438a3338b9f739f03cff060f657a53d48ac8269b3fe17a1da6d6a73cfac92a93ad1008e76748f1f42188f04c523a1d7feeb8496953a39de2f5c557
 SHA512 
6b0ef0ce706fe748136b96431b7d07a6241fd4e8bb4aa4c320c3a4f149576b3bec6ba9d60a12c5c2a59cabd18df4cfb6e8dff5e38da64878758bd1e06547a657
 DIST quick_cache-0.6.5.crate 40283 BLAKE2B 
344a4442016d6a4aaa2187a06b037d5c7003e72a62224858b5ed00ea866abc7df487670f5647e362abd16bc0e0c3fd4caf6f86fed381db7d7c1bbd7d7f51c80e
 SHA512 
29c88b763cdbe494116f7ff0e07ead28edd9f1e5d09f77487c1e32fd9964b58b1157f90f7c3dd34b94d693976ca08157d81221e9e2d482af934c1bf6b86befab
+DIST quick_cache-0.6.6.crate 40974 BLAKE2B 
f857637db15e60b27f3ddda187a0e3c1391d21735983d3691614de2ca0c9c4810308c61159252e249dde3f5894db0b2da4c06a42e3cdceef10b35f1140d7ef97
 SHA512 
dffe6469b990f559aae3b33708f7d5cb90baf24d8a6432929ced364e536c823d3406e6901430f8144aec72671102c0f3580411357374601f3cf870a2fad4f134
 DIST quote-1.0.37.crate 28558 BLAKE2B 
a7d007a69e619f853af94333e1066bb767013312bd99f147b1b153611242bcfa9c76768b1ba47278589db309a9acd61a772c8ec3b567e48439bb9d831f9326d4
 SHA512 
c4ed21428c1f89cf22b85d80720a7869831a9c129d694617b0ce8c258278114ab98846f3f653abf736d1c86bc9224bbd695e9a7b06aa3adf292d02e1ef14cc05
 DIST redox_syscall-0.5.3.crate 23830 BLAKE2B 
0a38235ec277144f0c3e7bcb1d273c7f357d85aef33dbd06328ef16bab7df0a07b523431590899ea58d55e8e1d84c32392478530200cca3a9483e8a47b29e233
 SHA512 
777d1208004b7756887d6c5745ea408972670e59430e1d299d01a463ae41b98e0920ee77aefef8755fc949d4799dca679afaaae9c1a7d060f76f69af5b90427e
 DIST redox_users-0.4.6.crate 15585 BLAKE2B 
1d60d0b7781395ff271d79264910d24fb021cd8ef612714265abae25b26ac158d48f542f1e73701bf5b99bd67546a7b878e4a14e40cdbd478b35bcc8b4778f5f
 SHA512 
719d63fec42bad3cbed39deb9242ce1daf3f391bccafa8121f63198120371f112d78b0da8d66458519e946581511004983f04b0a697071f22294ac7c831120c9
@@ -205,6 +206,7 @@ DIST strum-0.26.3.crate 7237 BLAKE2B 
bdc348c718c39609c00b9fa7d47b7090b1467022b7a
 DIST strum_macros-0.26.4.crate 27531 BLAKE2B 
7f7d57c957a1591054288fcae6590a5e669fba1b47d8f1a52371ce60fd84f91fdb430e48cc7edbb5fc72914be5ce12af29758b653680da3f4177339b31206750
 SHA512 
77a17ce47d5e8fe8a89cb6aa6c3ca5d5c2625aea0f93456f05a9994238cd3b08b3f7c6a45e9b3db21bca8fb5759f505f15cc111ac84acbbb34d59cdae8307b0b
 DIST syd-3.24.4.tar.gz 842234 BLAKE2B 
d705aa8ac99e7b180eef1ae619bc943ab376df2b725a7eb5539eed8f8063fb6b199ba7bf597dcebc7f6d710999c1883edcec7acacb3c24c42b359753e2a92802
 SHA512 
4d20a518f350c93b45c06a929d415ce047d2bc0db69aa8be1a0abb2698899a5faa86a2e32af9039ed15147c5db52569140fc85c4a9c1fc5a1220a9f000242cd2
 DIST syd-3.25.0.tar.gz 831359 BLAKE2B 
f0890432d39a0acf6a590d63b9b701ee4e1d170593f20b30a375d76e3c0835d1df82ff603bf54ebbe42282de165c1d3990f83e1d7d2b03b9ad37c04ccaae1860
 SHA512 
491dc2e7a5b45ddf9d818f6e842a003a24f228d7e78c8bdce4923d60d2c64e36eab3b32264e8c87e0352c3c7882c3e9ce6f9c19568556ed1245a9fe8d2400172
+DIST syd-3.25.1.tar.gz 832440 BLAKE2B 
8ff5bb7ec37be78c16e43251d8e8dc920f9211c1268e6f66ac7a53c9c1334d8947615a61df4923a6299d11e968a4a096d2b9bc052e4bfd07db09b9377fd95516
 SHA512 
784c9e606a2283fae971cd4c62ddfbaed9b0732ab9d54b1c5522baa3a1697161b7eb293043bbb3f948853713b7ed21e4d3d94ce697eae26290bcef2d87e42571
 DIST syn-1.0.109.crate 237611 BLAKE2B 
e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9
 SHA512 
12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d
 DIST syn-2.0.76.crate 268798 BLAKE2B 
5446965c6331fbb445a313ca8da9d8e7454e31d9a36c2f595747edc65c0d2a05e9d8e4e9fb6dbb30da8264c7db36b1cea14110201bb06e40bca69b25c3f79f1c
 SHA512 
c633b9f68e67b3cbf2432d3648e42f8d92403877a0128becd22cb108c0cfab9f1bc6b941b9cde225d8b727890e9f86457fad05b544fd07be4c01c2e60a2cdeaa
 DIST syn-2.0.77.crate 268784 BLAKE2B 
adf14ddc4b284ad78dae3c05be7e63a58a85a2ef16c1051b991aa278843ba7231f0da3cf2adc65eb95762d4c88b4e1440cb616c651d3bb568392bb036399304c
 SHA512 
f8030332c3c4ab34fc1e86196eb0eeda9700e5438f2a339591a5968d8bdd3373b523dba4bd998bf578e4247e0019d999d4e9c6d062a1dedcafe18d27b6c9f6d4

diff --git a/sys-apps/syd/syd-3.25.1.ebuild b/sys-apps/syd/syd-3.25.1.ebuild
new file mode 100644
index 000000000000..564f952e42f6
--- /dev/null
+++ b/sys-apps/syd/syd-3.25.1.ebuild
@@ -0,0 +1,304 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+RESTRICT="test" # fails with sandbox
+
+CRATES="
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]+wasi-snapshot-preview1
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+"
+
+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
+}

Reply via email to