commit:     459f29efbc149051e9a634c237685ab2534ae117
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 26 05:22:27 2023 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Thu Oct 26 05:22:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=459f29ef

sys-apps/syd: add 3.1.9

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

 sys-apps/syd/Manifest         |   1 +
 sys-apps/syd/syd-3.1.9.ebuild | 141 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 142 insertions(+)

diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest
index 78f1ccea5459..ca6fa798a201 100644
--- a/sys-apps/syd/Manifest
+++ b/sys-apps/syd/Manifest
@@ -69,6 +69,7 @@ DIST smallvec-1.11.1.crate 34831 BLAKE2B 
bad85ddb1d3a1fcec0cb6aba413f90695e0aa0c
 DIST strum-0.25.0.crate 5539 BLAKE2B 
9c031e5ce19e2ecaa63e63118197c740ae9295b8881f6280ad92847b99fca6fb08b0d395ab1b2a66e25c8374cd18866d8436540538e3c0f1f047fd2235971b40
 SHA512 
a3522df79547e94518f25a0e29248f67f1d7e2586a7a424d7d996cb6bfe5d98fcc4fc44da7ddcd4e35a1127b2816bee55107f30cb2a559f5b9bbb1346139544a
 DIST strum_macros-0.25.3.crate 22570 BLAKE2B 
511af0d1f0f76df7ad1528c79987b6e09390bfb33e1c34078fb5450171aca7f169afb83fa2f2338a861ded6842c8535ea6e4cdb0d31f341edab0a06d7eeac16c
 SHA512 
e6ebc00943d9f88104815a5bd6a302a391a06fb0ed5ff836e01d341150628684e00e5e2e5b3f6466ece92d376985246f818243a0d1d775cfa55d1c50c0ec0c62
 DIST syd-3.1.8.tar.gz 255011 BLAKE2B 
ad5c435b5fa0b24dbb38048cfaa0834e1c3254f7ff58e7e4e8d8a431dba474155c3e24f565526c84f41630264111243663a74b195c51c556885096b8d3320d19
 SHA512 
6a1953b39e4faeed367527439e5b09c036e54f689f5c94f21c329255f279dcb55ad2a11c17370c68cd04e69795a6925eae81e82e9c2c1ac86c4a69203bcd6e13
+DIST syd-3.1.9.tar.gz 256072 BLAKE2B 
7095d2aed6452434ba3fd8b62ad1aff667b9915772c0657429bd492dbf5ccc443cd853dfeb10a366339cb01f22797af6b46cf2f16374d8f3cbd0e737e444dfac
 SHA512 
80c9b6cf125ce0d19d7d7d21816c6436257cdc8c712f278d0f905e66a48adc4adc2273512763c2e4e3d2c22d416e9651e8760ed129fc0d0a2555585274d2bc6c
 DIST syn-2.0.38.crate 243284 BLAKE2B 
660de454989016dbb352c262d5d066ddc663eafcb928a2f62f61e6faf14cceed5cfbc37559e3795e1ce7886c78842be71eaa82ddced0cd6dd99ad99f95ab8ca4
 SHA512 
84fd4f4bc6de97cdb63a1ee9161daf8fb8fd1fa0f3c3bba4a29c463cd62cffd292c45b8cf17fd0911e580098cadc7b167e4e686595d31d72e7b53ee7df6d5f04
 DIST thiserror-1.0.50.crate 19414 BLAKE2B 
a093f66ad191a8c4b15356f8d29578273b36f9f11b5843195eaa15b70bd4c8eaf6dffb631564386acf35a9ddf856e05055b419af52d4e008f582ae444f3dd5d2
 SHA512 
65605a9cfbc43447a50980739259a45d933f1eb315926dce909892f7162c79bd04bfcee7b38b5a9fa71b24fbe4416d050ae8e2443932577541513a23ebeeac46
 DIST thiserror-impl-1.0.50.crate 15357 BLAKE2B 
41309507014a2c628b7e91d250335070e4cca6c6c452c90ee7e6173bed049df83ca197b37c16537cf15415550919c248e0f6c798aead760e7bbcd25eab701d50
 SHA512 
8555e010f94390e93ba757bce9ef25d066ed542f23b843db431a66fbab722584ea0ce6c9d4b6f4d92cea3d91c190336abd567c4a0aa4a27893db25720c5b89c9

diff --git a/sys-apps/syd/syd-3.1.9.ebuild b/sys-apps/syd/syd-3.1.9.ebuild
new file mode 100644
index 000000000000..b0f9316e834d
--- /dev/null
+++ b/sys-apps/syd/syd-3.1.9.ebuild
@@ -0,0 +1,141 @@
+# Copyright 2023 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]
+"
+
+inherit cargo
+
+DESCRIPTION="practical userspace application sandbox"
+HOMEPAGE="https://gitlab.exherbo.org/sydbox";
+
+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 data/esyd.sh
+}

Reply via email to