commit:     72bcf316827124967028cc3fa686f97109a6a2bf
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  7 18:30:08 2024 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Wed Feb  7 18:30:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72bcf316

sys-apps/syd: add 3.11.4

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

 sys-apps/syd/Manifest          |   1 +
 sys-apps/syd/syd-3.11.4.ebuild | 184 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 185 insertions(+)

diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest
index ec6f6bd210c2..ef04d582cf34 100644
--- a/sys-apps/syd/Manifest
+++ b/sys-apps/syd/Manifest
@@ -89,6 +89,7 @@ DIST smallvec-1.13.1.crate 34952 BLAKE2B 
e0dcf1d26883564cd4f5d20a588562404e19307
 DIST strum-0.26.1.crate 5861 BLAKE2B 
dbcfb1e1ae7dd18e26cdcee4be8837a3e94bdc5d86b0cfdc98026e77f120f29d69425e50f24b219df9ae2cf35473fe03370aa5edfa2f953e7d20102206806b1f
 SHA512 
e285c10fb927b5373f0dd64131ea425c5a86b5ba4e60f131fa26f0d8427a99e58192b8a44bb87b76153d67e9625575b699147b966d505e59c7649ebc8ca1d584
 DIST strum_macros-0.26.1.crate 25326 BLAKE2B 
2f52389676e1581abf42995a54d7725b0ece50ba8da2ecba700c359a4bc3dfa3c48440908a57d8f25334a1ab6a844093e131dc351182ecec1cab9bff1b04c407
 SHA512 
f41fc17aaf84385437605ffa751a9f03d19d230780855f86d60b53de4bd1891519a3550c41a31d44312f44b59c3c184286d9181e40c3fdda3aec0c2806385455
 DIST syd-3.11.3.tar.gz 455191 BLAKE2B 
2a0a169908985e331fe37d0a8c3dfffc7fde7aa45fc2b7fbf49dbb8598747ab18a3efc7bb0a63a0b6b382d7d14cb8dded29c8ba5197e2a050721996e5a9f6256
 SHA512 
723f0bc2be6f28f05c595747a684cd6ba6d36a1bf8914141f90a7e5f6243978117105b75658c4f53623ef9f886217829c6e2620651dc08080cf9982a23db3053
+DIST syd-3.11.4.tar.gz 455378 BLAKE2B 
502658bbe96cf0b65591c258bba274c4228202437193bc7a24d4905bdbeb3d323223efc64989cc0e210087f74adb736f76e23a0a547bffe0a8768e22978a197f
 SHA512 
339a3bb987919f80c803059ae4b166eae2555052d65f49c64515906f2a9729bcc819765c43d99b162b75413e2565e5b99ab7632664b7a8119adf6713a96d27b6
 DIST syn-2.0.48.crate 250566 BLAKE2B 
e46b0863af76c3116c84d01b654a9820b7edc51f75c9c5301a7967d12284f78da602409f34fc40524728350dc6b998a4d738f08b8868f95236b3e5d24c460580
 SHA512 
926c0ad55cc743df20f9166b6d71fd44421aeb1f073fd86b6ddb53e13cd508b539c0360ce64b07b65597bb14639c8f33acf7e60951e1e9128624517aa3aee325
 DIST tempfile-3.9.0.crate 32182 BLAKE2B 
4e802990988aff3ab5173bd96dbd906651a8df46b2619e6a500a3b9e7f4a3cd01dc7ee977791343f7875afdc4793a845000bb363d8c1a6599aeb6b1efcce5d56
 SHA512 
04e06c966bfa7a1567e7185ebd5c2876b96e46e36af14931bf0eba63795cd20d1c3427b6709a4cab2a68b8d289fdabd5537a50e5407a76e3a9fa0dcc7d3ce6d7
 DIST tinytemplate-1.2.1.crate 26490 BLAKE2B 
af39d96f33f63238e455a4e38fde1d1730fd9661ae68be7b05df6ef9d2ab1a04db1332cc4ec9deb6da3a8e22b124df81b0fa8916d8491b808742bb733c8e48be
 SHA512 
0cc080057e096f0796e72004343e1a8332c2e8a12e43f6ade150ebf632e9c29c7ad04de0b940cd57df81efdc4d07a6607da9b86a30d8383e39ac3d7be185edb9

diff --git a/sys-apps/syd/syd-3.11.4.ebuild b/sys-apps/syd/syd-3.11.4.ebuild
new file mode 100644
index 000000000000..0955677e07e4
--- /dev/null
+++ b/sys-apps/syd/syd-3.11.4.ebuild
@@ -0,0 +1,184 @@
+# 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="
+       [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]
+"
+
+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_compile() {
+       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"
+               myfeatures=( "static" )
+       fi
+       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
+}
+
+src_test() {
+       RUSTFLAGS="" cargo_src_test
+}

Reply via email to