commit:     5054dccdf0af1b98b4e29bfcae870ae9a48e8be4
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 16 06:12:27 2024 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Tue Jul 16 06:13:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5054dccd

sys-apps/syd: add 3.23.12

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

 sys-apps/syd/Manifest           |   3 +
 sys-apps/syd/syd-3.23.12.ebuild | 313 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 316 insertions(+)

diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest
index 9302694f9bbe..9085e0dd89c7 100644
--- a/sys-apps/syd/Manifest
+++ b/sys-apps/syd/Manifest
@@ -23,6 +23,7 @@ DIST caps-0.5.5.crate 17575 BLAKE2B 
77d788f936eb36c2f4776ee719cdc138dac4b840ce63
 DIST cast-0.3.0.crate 11452 BLAKE2B 
fe6edddd0589fa436cda32342d7beaabe4003afdbdf1d7c5db7e8748adf23b1b2cdcdd286235837c735d2143f29e692c152a5d56fb0458a54961e4dea303b2cb
 SHA512 
4a3e19bc1e9e5ecc03aaef9bcdce01624ac0e6858c065fa1c41693db0ac172b9735ce872064561347cd9e79f00a274129011f6e4ccf9e61d960c8bb684b6d396
 DIST cc-1.1.2.crate 80962 BLAKE2B 
9d0aa0299a302fada82145c6a96f8a8b839f7c54502be3038bf6c9763ec733b0b526712540db7349fbb121110c50096585976a874bf6f90cd3bbcf9831e65a87
 SHA512 
c051cce2877992f017747f5fe08cbf2aaae79a2c4f904772a89005b80f2b3eaec582c18095533155e395cb70f7f27012bd6819d9adf574b9ffddb723657b0ae5
 DIST cc-1.1.4.crate 81127 BLAKE2B 
fef48f4305d9ff973408aaa73dbe17c2420a3fcf1f46eb1865157ad91b96797bca3b258f9c8c473b6306bd0a148fbd8fc04b2952334b0985f880b890e80d72f3
 SHA512 
f4140aa80d8263dec91f602b8d08adf95cdcb239c9dc6085dabf3a4a47ca2b0ac7d370aebc882593c0d548bea5d082dfed8eeed113e5e89a08228330b57fb6ab
+DIST cc-1.1.5.crate 81493 BLAKE2B 
3edd99cd9d05b090a57cf62f1236c02d0731baa8b2bdcd6c14f21e68323cdf4a65439f81701c1b1960b70919f1a342f1ad8e0bc830bfd187eedbbf443a5df77b
 SHA512 
2ee646d3808bd06b3bba5788d0f93762009875e1f5c25dad67b0f8dafcb512be3ff105bf9d2e92a2507a2fd942b8d774004971c1f203ad40894336ffb89ceebd
 DIST cfg-if-1.0.0.crate 7934 BLAKE2B 
e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b
 SHA512 
0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
 DIST cfg_aliases-0.2.1.crate 6355 BLAKE2B 
a758d9c88527f0e6e7cfd6d4c83eda1bcb4d6e2438189fe08e8ecbcaa78d56afc5a4873f3b82bf7da96afd690b44cdf1e44466b6da0f37c358b340481017103e
 SHA512 
74969d12d5d24002a29e08d52e30fbce014dd481a7c35ee0162e69333c5f2d7755f3b02439b31522e12444cf1ac8e65880ce33fe6778dac03757e362cbf8a72c
 DIST chrono-0.4.38.crate 220559 BLAKE2B 
ab828bfeed56eb737a1797d5e1132cafe87a1e14bf7a1fe4a5098f50e6ceead50ca2e7f041cc2ff63d5f4e41e2853322f6c345bb31ff12a5b412e3e5202f5fea
 SHA512 
858e47e3facebd5383e71898f26b27d92fe4a69027e2cc47da2af59975ead7767355e0b699f4228eabe76a3eff8b2519c7cecf8b60dc3fc60fbf9b28e2f3d4d9
@@ -158,6 +159,7 @@ DIST rand_chacha-0.3.1.crate 15251 BLAKE2B 
645771b2c3e274f085e0837a20306b1d59f6e
 DIST rand_core-0.6.4.crate 22666 BLAKE2B 
8b6b66d50aade877f2779c006f8038db450f808c66d73d79efa66c4178dc03db06f12201bf0e7930181c4b0f4030c49b20cce6eb7839763cf2217cad9710789a
 SHA512 
36c67eb845aa2ccca49d6d680f28d418229bbc5a050729e487fe6b9f9f384fdd7b8d67fc6508b90b79ffb3c26688e72feceb3ecae57d3d7f59338aeb62296f79
 DIST rand_xorshift-0.3.0.crate 9121 BLAKE2B 
56c29e159c0beb9c751429130e84e4666f9031b6f70e180544f9cc8f8e85d98676b861b588dbda46f2cdbd254fb908c02c6ba640d53422e6bfa1ae4e48ca5a33
 SHA512 
256e410e5bc08c56496c53c3d53936f3b1cfed41458b0ee8879d7aa8b95375055746ca49e29000ef847b37f01e9237f569cd000c4b281f6c78ddfc78ce439a49
 DIST redox_syscall-0.5.2.crate 23957 BLAKE2B 
6261df25a59af5119a21d31fc3b6a8800bb1783cf2fd63a5524d48d0b187f5f2e65ebbdec00d9282adf110ba8f307d4ceb154bf029a0c6a26e8a887fc722b2d7
 SHA512 
b7e39a08e220153370449cec7b058c2dbc4916ff7be01b34658e1793035323ecc28f40712194cb9bfc9b863e4bb316e58662721eb0e54f68f09438bd880ea032
+DIST redox_syscall-0.5.3.crate 23830 BLAKE2B 
0a38235ec277144f0c3e7bcb1d273c7f357d85aef33dbd06328ef16bab7df0a07b523431590899ea58d55e8e1d84c32392478530200cca3a9483e8a47b29e233
 SHA512 
777d1208004b7756887d6c5745ea408972670e59430e1d299d01a463ae41b98e0920ee77aefef8755fc949d4799dca679afaaae9c1a7d060f76f69af5b90427e
 DIST redox_users-0.4.5.crate 15514 BLAKE2B 
9fc9d9c4875ed711efb75fb08f345b5f4f0667717d37710143742e48251a709c53760bcbc31ce13e6432672f9417be429c38c2e77a6b786887841714290a1194
 SHA512 
7a25cc91c9d1bfe537f20b83255990681d136ced5aaa7aa0cdb1b1fc024ba36aa1fb75c335c768a85ee078019a9ca2460efd911cad8ae6fe8b0385fb171aa4b4
 DIST regex-1.10.5.crate 253805 BLAKE2B 
9f5418b577209051640c3614a98b15604a1e71144763a6f00caa7757f0ff67fd833a7d14fe9d6acef96386a2a4eb60cf5d490472e73fd62ca8bb0e78d4f9f125
 SHA512 
177fddb001e14281510e34070f88f8e5167278a46f1d93d9286d9606b7673346f504e4064d7ad53558e6988a400c728e33b663ab398fee12ae23fba7158da5fb
 DIST regex-automata-0.4.7.crate 617582 BLAKE2B 
6295d866706b623b2025fdc0c407086fec15053229d708713d0ec165bd526ba25e7468d0009625cbbbc21d20345f0af2eea10addf6de633e8e6a02dddced67b8
 SHA512 
b19d00d64bb8cd833cfb35fabb162b9481716f4b7f6035c1c8f1de4e0f90e00823d006e057aa3505aeda48c9e1802e61173c4a2878891129a3a918727e43b0d3
@@ -193,6 +195,7 @@ DIST strsim-0.11.1.crate 14266 BLAKE2B 
252a9ede4241b165525486aa8855dece37af77f5b
 DIST strum-0.26.3.crate 7237 BLAKE2B 
bdc348c718c39609c00b9fa7d47b7090b1467022b7a8a28cc7c8a72a0aef20569c6ab22a8a8d26c2d9272f18d000e4ce94858a6647194f0a7b86d812d52b05a9
 SHA512 
62f116d5bbc6167a6ac68b049f8045bc660901f1ce1252f8bdcd91cb28bef821aad8098905369db6c2fe74c134a5d549e55ddd28e383d7d78f7175258924b268
 DIST strum_macros-0.26.4.crate 27531 BLAKE2B 
7f7d57c957a1591054288fcae6590a5e669fba1b47d8f1a52371ce60fd84f91fdb430e48cc7edbb5fc72914be5ce12af29758b653680da3f4177339b31206750
 SHA512 
77a17ce47d5e8fe8a89cb6aa6c3ca5d5c2625aea0f93456f05a9994238cd3b08b3f7c6a45e9b3db21bca8fb5759f505f15cc111ac84acbbb34d59cdae8307b0b
 DIST syd-3.23.10.tar.gz 815048 BLAKE2B 
35f892bd31562c8fbd1862e92dc1168e752dc5697902f764bb63eb71fbd6db890f0c5fa387dfde3ff7a1362e2a0319bdd30efcee165145ab761668ceddf3ebce
 SHA512 
1a9587b7486784d21832f9b512f3d31460df0428de7c64b56049befe163267d758673df6ed68577b97966742bcad080221f49fe85a1a33f7fbecb5495cac2544
+DIST syd-3.23.12.tar.gz 816491 BLAKE2B 
ec20fe87a79600be9a32f47e43fc46e5c73043e873d5290165e60aa769829090899d5d67bcf5edcecfad4256d81c437a8bd2bc2df3ee65c5faed0a89c320ad6a
 SHA512 
828856652553c8898c5e7022bc09616bb5328dc64d0068d82d02cc5da70abd4f6ae8bde867ba7d522e8e5d734ac8db3c7b61d865946e8f112538462a9341c5ae
 DIST syd-3.23.9.tar.gz 813474 BLAKE2B 
76a337254594b57b236325aedfa152de5a7f238d908605a110b8b669af70db03097617d71846d2b2e804c9aef2f6c351986dede96acc29409ee499a8cfb52354
 SHA512 
5c9e4c11eb304f1063800fef40ce6792d286bb5dd5668152b1ef8b6731e213ca7a05274b46e980dd51a9663f77f1c89706674f0399a716eafe47b7c8a8b3c4dd
 DIST syn-1.0.109.crate 237611 BLAKE2B 
e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9
 SHA512 
12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d
 DIST syn-2.0.71.crate 266398 BLAKE2B 
78760c9965b59e14ab5d97e83c4dabdba99cd1933b66350c7d5c5f9e55f34fe68207597b51aeb023b211a065d986889655ab701b94347397ca6856a4fcbcdc85
 SHA512 
cf6264bc148ec550d943d7d146c7360a7d753e37ef553e6d0c6dc265bf516084530a5617f6826069275cc6f71d9f820014f7d92f04356ae964df8b79edaf7bbe

diff --git a/sys-apps/syd/syd-3.23.12.ebuild b/sys-apps/syd/syd-3.23.12.ebuild
new file mode 100644
index 000000000000..5b01f95b5ae2
--- /dev/null
+++ b/sys-apps/syd/syd-3.23.12.ebuild
@@ -0,0 +1,313 @@
+# Copyright 2024 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]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [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]
+"
+
+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,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