From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8826C158089 for ; Thu, 26 Oct 2023 05:22:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AEB002BC03B; Thu, 26 Oct 2023 05:22:42 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8C5812BC03B for ; Thu, 26 Oct 2023 05:22:42 +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 A67C6335C2A for ; Thu, 26 Oct 2023 05:22:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0658712A6 for ; Thu, 26 Oct 2023 05:22:40 +0000 (UTC) From: "罗百科" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "罗百科" Message-ID: <1698297747.459f29efbc149051e9a634c237685ab2534ae117.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.1.9.ebuild X-VCS-Directories: sys-apps/syd/ X-VCS-Committer: patrick X-VCS-Committer-Name: 罗百科 X-VCS-Revision: 459f29efbc149051e9a634c237685ab2534ae117 X-VCS-Branch: master Date: Thu, 26 Oct 2023 05:22:40 +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: 684ff12f-0a47-4f3c-ba24-d5f7475620c5 X-Archives-Hash: fe490fb80a08d0a39a9f363051be3827 commit: 459f29efbc149051e9a634c237685ab2534ae117 Author: Patrick Lauer gentoo org> AuthorDate: Thu Oct 26 05:22:27 2023 +0000 Commit: 罗百科 gentoo 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 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=" + aho-corasick@1.1.2 + anes@0.1.6 + anstyle@1.0.4 + anyhow@1.0.75 + argv@0.1.9 + autocfg@1.1.0 + bitflags@1.3.2 + bitflags@2.4.1 + bstr@1.7.0 + caps@0.5.5 + cast@0.3.0 + cfg-if@1.0.0 + ciborium-io@0.2.1 + ciborium-ll@0.2.1 + ciborium@0.2.1 + clap@4.4.6 + clap_builder@4.4.6 + clap_lex@0.5.1 + criterion-plot@0.5.0 + criterion@0.5.1 + either@1.9.0 + env_logger@0.10.0 + errno@0.3.5 + fnv@1.0.7 + getargs@0.5.0 + globset@0.4.13 + half@1.8.2 + heck@0.4.1 + hermit-abi@0.3.3 + io-uring@0.6.2 + ipnetwork@0.20.0 + is-terminal@0.4.9 + itertools@0.10.5 + itoa@1.0.9 + lazy_static@1.4.0 + libc@0.2.149 + libseccomp-sys@0.2.1 + libseccomp@0.3.0 + linked-hash-map@0.5.6 + linux-raw-sys@0.4.10 + lock_api@0.4.10 + log@0.4.20 + memchr@2.6.4 + memoffset@0.7.1 + nix@0.26.4 + nonempty@0.8.1 + num-traits@0.2.17 + num_cpus@1.16.0 + once_cell@1.18.0 + oorandom@11.1.3 + parking_lot@0.12.1 + parking_lot_core@0.9.8 + pkg-config@0.3.27 + proc-macro2@1.0.69 + quote@1.0.33 + redox_syscall@0.3.5 + regex-automata@0.4.3 + regex-syntax@0.8.2 + regex@1.10.2 + rustix@0.38.20 + rustversion@1.0.14 + ryu@1.0.15 + same-file@1.0.6 + scopeguard@1.2.0 + serde@1.0.189 + serde_derive@1.0.189 + serde_json@1.0.107 + smallvec@1.11.1 + strum@0.25.0 + strum_macros@0.25.3 + syn@2.0.38 + thiserror-impl@1.0.50 + thiserror@1.0.50 + threadpool@1.8.1 + tinytemplate@1.2.1 + ttl_cache@0.5.1 + unicode-ident@1.0.12 + walkdir@2.4.0 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.6 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.48.0 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 +" + +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 +}