commit:     8c44eb13097b7034d038d9a39a53003a74eb3127
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue May  7 07:11:58 2024 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Tue May  7 07:12:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c44eb13

sys-apps/syd: add 3.18.7

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

 sys-apps/syd/Manifest          |   3 +
 sys-apps/syd/syd-3.18.7.ebuild | 329 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 332 insertions(+)

diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest
index 9f0d5acac4af..abbc9d9e9474 100644
--- a/sys-apps/syd/Manifest
+++ b/sys-apps/syd/Manifest
@@ -23,6 +23,7 @@ DIST byteorder-1.5.0.crate 23288 BLAKE2B 
7f85a7948406844070a2c8202e0bd52f73b3dfc
 DIST caps-0.5.5.crate 17575 BLAKE2B 
77d788f936eb36c2f4776ee719cdc138dac4b840ce632190f34ed26e705175209f9905c71d96d54f0c69f4c6d25f0a203a4d490f2034c330480bedd5ffab149e
 SHA512 
866312aa0f3847dc2779570d1466aaae00945d78a2f5f3b05a833c67a2abd04c0380715f61dce79814845e4e57321adde67fea97f99dca56a970c6e6f80aa029
 DIST cast-0.3.0.crate 11452 BLAKE2B 
fe6edddd0589fa436cda32342d7beaabe4003afdbdf1d7c5db7e8748adf23b1b2cdcdd286235837c735d2143f29e692c152a5d56fb0458a54961e4dea303b2cb
 SHA512 
4a3e19bc1e9e5ecc03aaef9bcdce01624ac0e6858c065fa1c41693db0ac172b9735ce872064561347cd9e79f00a274129011f6e4ccf9e61d960c8bb684b6d396
 DIST cc-1.0.96.crate 76576 BLAKE2B 
e0171d68b04bf2435a858b3d50376580f0740588770064bb695ba49b6827bf1f92aa4e973c8dc55e1622e795d23fa8fe42abd122d5d016e800dd5ea86c4ceb3d
 SHA512 
a3e8058165e61020bb10491dae50fcbffbb411d27d6dc44997a931f424e88cb36d89004165aae9c531244a7026920804222c819d12b1be3e3db571bec181d8a3
+DIST cc-1.0.97.crate 76951 BLAKE2B 
ec2e65797dfe13223b64f28bf6d143e00362f8bdd14e4df3d16ec2c5b68b8c603968f8cf6e7ede95b527ef16a748775bf247e8bf11010a326bbac4b296d72eb5
 SHA512 
119d1769530ec2fcc643b9b4a0f2a45db6f0772e4df882b832f961824bbb41d101d4a507573b4e05b4627d647fa823e81bc66dafdde40146878616af96b24143
 DIST cfg-if-1.0.0.crate 7934 BLAKE2B 
e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b
 SHA512 
0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
 DIST cfg_aliases-0.1.1.crate 6009 BLAKE2B 
6acfae9a89d3479f7ce1f0b5dbb13bfe27c006b936a96685606a61a06f69d17ab754a8a0d96c54213f758281c2fb32ac74d03a34e0f836dc7e438387955aac37
 SHA512 
238828445c5b48ca41ff88825af0a1ad30494e423bb6f89b6d5e4d26042afaa1ceb0e32041f7cddd79c3e15c6c82a1ddb9469c4b63a1ac52d4bcc1174900f880
 DIST chrono-0.4.38.crate 220559 BLAKE2B 
ab828bfeed56eb737a1797d5e1132cafe87a1e14bf7a1fe4a5098f50e6ceead50ca2e7f041cc2ff63d5f4e41e2853322f6c345bb31ff12a5b412e3e5202f5fea
 SHA512 
858e47e3facebd5383e71898f26b27d92fe4a69027e2cc47da2af59975ead7767355e0b699f4228eabe76a3eff8b2519c7cecf8b60dc3fc60fbf9b28e2f3d4d9
@@ -76,6 +77,7 @@ DIST futures-task-0.3.30.crate 11126 BLAKE2B 
c2ded9b9b709fc10c44cfeaa72d4e7477e4
 DIST futures-util-0.3.30.crate 159977 BLAKE2B 
9012edf76336952dab02cb61db48dfc74b6cfc17c137c36372709e8d575b306a4d7c4da89328067c9482a645aceb7b44ef57deb21a0c25964a5515e738a039d0
 SHA512 
7faae5aa35641d858d0f5430e4a69acd4ba9037852ad73c5a890bffeed411d28820883e18bad4ca8f7b0a765f9f4c5dbeaf5d0cfaaf90c2c69846434ae091951
 DIST getargs-0.5.0.crate 18851 BLAKE2B 
85a25ed54220b81598a74f2b83e6aabfb3d25645d471b43e20bc2343d3b1d80010f8521c2ab5ab2b137edb3404aa7d14509d5c7199c28b6590331d8ab7e0452c
 SHA512 
60b397f47fea19ab7190f90ef8fc482ac95fe8cddca2d8d7b8b397e8257a8879d86c8bfa13c17216e14311ce6f78fba7c741d705381fa10a110d3ccb829dcea9
 DIST getrandom-0.2.14.crate 37307 BLAKE2B 
5904388869335ea904d950ee83ad1867a0d3f6831b7139102b53f4bb4a2c12371c9396f1f1cbcc44e3ce69a4ea316651b1674722071bfa7562385ad4b6a88c33
 SHA512 
6c334415e09f570e3123e3c6c6eed1727533ac6c9c4142e16ae995c237a16effe146832a891be9fdde4335bd02b454e0fdd9160f20dc02f107ad106756221658
+DIST getrandom-0.2.15.crate 37163 BLAKE2B 
7d534e799a4711d01c6553b8c9422dbf01e384a850fb0f7cd76e444628f2b96d28d0f5e8dae042f8081a2bf9340f57c558be50a6f22ed5fa6b0301a15898fb35
 SHA512 
04789a53d3f4a84862e1e8b2113641af67e471b468de1222470d5e6cef0015232463a2cf3c3518dc2a533b3983b175a7c8922da00665bcf71c1e4e279b67e6fb
 DIST getset-0.1.2.crate 8831 BLAKE2B 
b1408f4c0b2ece039d06180e3e2990db2a4ca3c74575be3b4d3df562fc48a43ee8feda42cd957786aa481fc77a554a8e944f34a6a718c07012aea153a1c299c0
 SHA512 
54f162d0d072253abcf26c8779a9d8eb423db9df85716da13a785edb4c61757cf0c03f3563dde5de4534be9d4d50498c03b8337dcaafeaefc29c9c836dff1371
 DIST gimli-0.28.1.crate 270497 BLAKE2B 
4089e0f871295d464e548610ab5f0c2fd863825416109cf58ca827e482897f00eab23b795295758f1e3af16167b52c77c91df6f707f1f445984a6c4bcd68c6ef
 SHA512 
695e46471fc07813dc4a47744458729b097f6efbfceeb57eb3db4165654e99bebb98dde2d73230b90bb5dd7c0ca0c6e77c7c3dc6f2abf70058b830a2fb386d25
 DIST glob-0.3.1.crate 18880 BLAKE2B 
dc89b3a664e810264dd7a01ad892e865ce35b504bfe5dba12d7ea8084da7de84feaa94c2208f1a1eefed90297e552636ad61ccebf6fc8cb4d01f27d605ad0a09
 SHA512 
29368160138bcb7ea5660f9f30c5711cfca8bc8ba836bbade3fbe8c424e7b4118daf27cffa677962e37e36f025fd2bb5a9c2aea865b0ff155cace455dfbb658b
@@ -203,6 +205,7 @@ DIST strum-0.26.2.crate 7189 BLAKE2B 
7582fe304551e98b121d3a386af22bc022d7d11323b
 DIST strum_macros-0.26.2.crate 27056 BLAKE2B 
c9df13a91dd08f8bba0dfeec4fc03b59cd74eafaace7d2d228b8636264a9ea11137d0be741a936f7290e09525586818726000f07ed84a5ae711b89d61f52e89e
 SHA512 
519bc654adcf131d85d1ef83f62be2429f7472df25cf962fdc1cf5070d33c39dfe71f08fbf296df9b85fdfcda95cf2fea27e8e52e9ae93de27bb8fc4a5b55dd1
 DIST syd-3.18.3.tar.gz 699730 BLAKE2B 
12afee9bca004ec21896630fc14380b81cc4980b972e93794ba3344b99623a20d6883b8cc1653e39c74c9ff1ab3c7c634c7f34bb70174fe897d1ed3d79194c75
 SHA512 
c96fbc0ff27c5c106c115401aef65c901110004bfb2e2747b983f54f932b7120877675e89ca550b9b1868c0864eff95240233ca7b56503dff64fe13550cd5365
 DIST syd-3.18.5.tar.gz 700286 BLAKE2B 
3e0b744635661ffa50d9597816f19be39733986d539deed48b31e769e1e73e236681692a04896d955f9ffb7cbc768db5ac97867ea6157714738b404c6fce97fc
 SHA512 
c09274900ee6972ebb3c44750147d24bd7de6b5a3e90671386892f911d2adf7f3ed7d84971725b77781b48ca3f05b81f8103632d52112f7ed27d046c62dff6e8
+DIST syd-3.18.7.tar.gz 701046 BLAKE2B 
2e394783af580e893b799d01f45232ca2b8ae8af2d89ae79a732f01abb9f7b9d0169e491656be5b0973708092139561e14aa530026b19fdafe951d28914ebc98
 SHA512 
cf1b76fdbecbfb2998b22703479b680928381d7938b98925794b5d8ea6e75e5731d0e671731a7f230ccd34853d297521075c7a71ce49c32a3ad3e240df2d7463
 DIST syn-1.0.109.crate 237611 BLAKE2B 
e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9
 SHA512 
12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d
 DIST syn-2.0.60.crate 255808 BLAKE2B 
d7a8e415dd72267fd92da48ba8b3e6feb728f0639797db1aa74aeaa2a57935b7565eec37cbd32eec826154e2c54075b121737369eb15af36c322c34b3cfd7930
 SHA512 
20bfa02b03c193672a9922f9a5e196185341e082a262f7c00d7c2d467d9e2d77f4af3994634923cfaeee34aa9eab510415165f052ffd9b1ed0b1b581e272898d
 DIST tabwriter-1.4.0.crate 9951 BLAKE2B 
8833c5a7f37749268187e60d95b07262e77c461ab868cd934e58031703dc0c9ea83b8757e681747900dc07eb5c8e41e589d9c37568b66ca25c95f0fbf07c8a8c
 SHA512 
066846124e3beee816f76ed3a59fb224593537ce5807aa472fbcd0cb98f638dba6801d171b6d1026e56b6eaae6f2e873d64c190c97bbd8d6ffeffc82f3b4d52f

diff --git a/sys-apps/syd/syd-3.18.7.ebuild b/sys-apps/syd/syd-3.18.7.ebuild
new file mode 100644
index 000000000000..c8e6f0fc4106
--- /dev/null
+++ b/sys-apps/syd/syd-3.18.7.ebuild
@@ -0,0 +1,329 @@
+# 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]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [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]
+       [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,mimalloc,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