commit:     32e5c4e89cbf8eab2ae0a0d5c47e8f6da8a0c081
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 20 09:39:07 2024 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Tue Feb 20 10:36:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32e5c4e8

sys-apps/syd: add 3.14.0

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

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

diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest
index 9a39bf34df93..f2a158926435 100644
--- a/sys-apps/syd/Manifest
+++ b/sys-apps/syd/Manifest
@@ -95,6 +95,7 @@ DIST strum-0.26.1.crate 5861 BLAKE2B 
dbcfb1e1ae7dd18e26cdcee4be8837a3e94bdc5d86b
 DIST strum_macros-0.26.1.crate 25326 BLAKE2B 
2f52389676e1581abf42995a54d7725b0ece50ba8da2ecba700c359a4bc3dfa3c48440908a57d8f25334a1ab6a844093e131dc351182ecec1cab9bff1b04c407
 SHA512 
f41fc17aaf84385437605ffa751a9f03d19d230780855f86d60b53de4bd1891519a3550c41a31d44312f44b59c3c184286d9181e40c3fdda3aec0c2806385455
 DIST syd-3.12.4.tar.gz 458042 BLAKE2B 
719b46a9d44e5955886032b120b4f50a7feefe3e3066dc25330ce19d78fed3554b72d20dcddda307abaf3e934ce4b9e038f57127ef657ddc894fcb0ccb410240
 SHA512 
086d7f9492d0985675789e305794733b51e7021bd9dc4bc1cecc472956ccb7f964917aa4336baca694f3e9e229011043e56caa56b904ba10d3864d20931efbd7
 DIST syd-3.13.1.tar.gz 459379 BLAKE2B 
c67af402c5855be6f2865ab58d4a4f7db9b6c93369e26d1c7b53826af62ee62bd007f41862d27fbab8a1d0523e086839d33c608b16d2580c744d7b65ff385b4e
 SHA512 
4866bbdc122a646028e1869ccac0d8bc0f08bc3b8246604b60d726f5dd30c570d09ca6fd40fd4ef753a04dc0d0ebb8df1e0a641c65e9b2a3eae33edf2f95bf93
+DIST syd-3.14.0.tar.gz 457813 BLAKE2B 
e8e51475fbb097c2ef99f19e9d13b8be53e9deab15caa0f94ae08747e117fc294e54552f7e44f2f9dd1f709a705106169888658bdc7099001161400041ef2c99
 SHA512 
98f9fb839489f0d43569e7ace22abdf53efdcd217e7c2f38b4a50e3a54c8268bc55f84f64824633f356ad601cd76b67b0e8d04d1cd0b9aaf325e90143929b130
 DIST syn-2.0.48.crate 250566 BLAKE2B 
e46b0863af76c3116c84d01b654a9820b7edc51f75c9c5301a7967d12284f78da602409f34fc40524728350dc6b998a4d738f08b8868f95236b3e5d24c460580
 SHA512 
926c0ad55cc743df20f9166b6d71fd44421aeb1f073fd86b6ddb53e13cd508b539c0360ce64b07b65597bb14639c8f33acf7e60951e1e9128624517aa3aee325
 DIST syn-2.0.49.crate 250652 BLAKE2B 
989afeb8a654574dc2f56cc9b8f9a5ac6523cf4ccfb07fe9b7420624a45e36cbdf1343c9642e9a5e1073d9db58eba0d026d9e0441d31ecf697a4d49ebb06be1d
 SHA512 
c9e35fa289476c8cc8349ca4850ea60abbb7c920b29c7b736bea210bf3d889c250dd664f44e2d02ed2d2533fd27073567257853e2541e440bb13ae9d5185da7f
 DIST tempfile-3.10.0.crate 33376 BLAKE2B 
303e3bbc2492fd965c5e5ca02229868e94de1b1286175a07b3f9767a174c5a83bb6f6ab59d582f963f9cc4f92362be6a8e898e140397e4314bc18bd8d4e13249
 SHA512 
0f9bb6420105badfaf7e59f9679b53c6e3f875208ad8b08b9bf38cf67a1512742f1e3dc586136ec9cb760d127da6be69e9f9ed55f18722edf1af3a452e7d93fa

diff --git a/sys-apps/syd/syd-3.14.0.ebuild b/sys-apps/syd/syd-3.14.0.ebuild
new file mode 100644
index 000000000000..8434c9025227
--- /dev/null
+++ b/sys-apps/syd/syd-3.14.0.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