commit:     34e478475c05e6b932fc1058a11a9d0b12671582
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 19 08:28:22 2025 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Oct 19 08:28:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34e47847

sys-apps/syd: add 3.41.0

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

 sys-apps/syd/Manifest          |   6 +
 sys-apps/syd/syd-3.41.0.ebuild | 355 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 361 insertions(+)

diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest
index 50d83459cf4f..472e98721020 100644
--- a/sys-apps/syd/Manifest
+++ b/sys-apps/syd/Manifest
@@ -24,9 +24,11 @@ DIST btoi-0.5.0.crate 11606 BLAKE2B 
1d0e5f9467025bba567a582c8cdc0f4624880c6921ee
 DIST bumpalo-3.19.0.crate 96414 BLAKE2B 
f8c155f77cf977d72749f3cb943a6b171dfc4f67135da345a935ba603f2b52b5feafbba908b31feff391128196c7b0088f6f62d5b37bc4d2277fc0fb9c560b54
 SHA512 
58db27a643c55adae07061100e3604dad0056bacd42ce1142bcc34249645e9313e886c3174a755593544684fcc632f134f9c6066752ac695254fb9ecd40878cf
 DIST bytes-1.10.1.crate 76779 BLAKE2B 
96573ff7852cd2d4f37a68cb4d76bc43d2018dc25b7b7e2164df022de4e1974f22d4d3ea7cbfb280667650cdb5063d600f4f76cbdca43dae508f29ced449b0f7
 SHA512 
03429f01927b94ba6c958c46b2e5bf92a23b39ce9385689e21accd34a5d3be01fd0f665f4bbffb1f7c5bdf1edfb1bf11d5ccad00eff0f9388be39fe2f753d296
 DIST caps-0.5.5.crate 17575 BLAKE2B 
77d788f936eb36c2f4776ee719cdc138dac4b840ce632190f34ed26e705175209f9905c71d96d54f0c69f4c6d25f0a203a4d490f2034c330480bedd5ffab149e
 SHA512 
866312aa0f3847dc2779570d1466aaae00945d78a2f5f3b05a833c67a2abd04c0380715f61dce79814845e4e57321adde67fea97f99dca56a970c6e6f80aa029
+DIST caps-0.5.6.crate 17964 BLAKE2B 
b49ee3e8ab8a77a59b0508d3eaf88bf1b52fa9987f0424833314ada1e1725f720e7776ddf0df2ab280fef8b16263c9b142d978b69e7efecfa9007bb2a48cd8f7
 SHA512 
fa92918231853271c73ea755f7d1e9abd37bcf537d9e7714ade6768d7306286eb64357b33bbefb1eb64eb2330a2eb50cab894969b200573617e1e5816b6ab32d
 DIST cc-1.2.40.crate 91094 BLAKE2B 
c6739b79c371f68210c0c19d653b24e8167e18bb1ba1b146f3880c3dca78c17b675647f5aa2bb51d36f1ba70e21a0b3bde3dea65cb5862221978d5b431b85e0a
 SHA512 
d168c92ba8beb5017801db756efb0a8f6d749bc85e4303a4de4abb9aaafe0f4cff0afbc9ecf8647914c6f00210eb56f3ec9178b41166557662fcef0b3a887d53
 DIST cc-1.2.41.crate 91154 BLAKE2B 
c7fa1a47ed63df938d95de922e412e8bea8a38842bbf20eb7a5bdfdcb3932aa98e7352b18d06816f68680e7b491681aaefc38e955ff92a9e6d8be6662ff465ef
 SHA512 
7ecb7ecaa64c58dd1225d46804b2314bcf04befc20e0928821387d9b793f0366e8485d24b3786045c5455a13ff9f6a1ad0a09723d9c7e25ed192afb91951b4b4
 DIST cfg-if-1.0.3.crate 8719 BLAKE2B 
5cd0ac122110740895b45cdf8e0f738f2de1882d5a06c696d08e906765e4ddcd72a866dcc115da52d9fece205c9ad15dc25ad98dff36b32517012a7586e986ee
 SHA512 
afe424a191c2aaaffec3d114e0116d0324d12117aeb22df78e47ad6752444bc5acb074ab0a174476b71e584a37743f9dcc2b0e8036d590fcc5afc7c55f86122b
+DIST cfg-if-1.0.4.crate 9360 BLAKE2B 
beadbfb273ee97cbb6e3740891fbace57511399ad203459b66b397587d794677a9515cde4e9ec4320c3795518bf1551d72b9a889f8ac4b225168f493288b7c19
 SHA512 
176e04df7ba783b7143bb84397b777f5c5a1305c08a5c3a218d4a66830620be89ed68992ba27686165bcd3fb2f34b2daf80b2a1d4b481ecc267c988e84d28e9d
 DIST cfg_aliases-0.2.1.crate 6355 BLAKE2B 
a758d9c88527f0e6e7cfd6d4c83eda1bcb4d6e2438189fe08e8ecbcaa78d56afc5a4873f3b82bf7da96afd690b44cdf1e44466b6da0f37c358b340481017103e
 SHA512 
74969d12d5d24002a29e08d52e30fbce014dd481a7c35ee0162e69333c5f2d7755f3b02439b31522e12444cf1ac8e65880ce33fe6778dac03757e362cbf8a72c
 DIST chrono-0.4.42.crate 238174 BLAKE2B 
da67b970d4bff78a7d4910ad4cef4a8b6177ff2a2a507e24d540d173dca492fad220d09dba96eff8c75cce3e066c490207f8cf769da84ac456870dcec20dad58
 SHA512 
776b4b127c1a07ddce587aad341fa1022cebaa90ad667064809b3f83fc33aa355c811d7df445d6aae405265660deba9d8514d909391e47ea26d968bd4f24becf
 DIST clap-4.5.48.crate 61935 BLAKE2B 
938e544a2aca0b071857e320cee118f3ce92e30c566278fa4bf9707033a7f2bc900aa8b775bee2784c13ae3ebca9c90072b4533a1c91caed0ac75b55363a3fed
 SHA512 
7b46da97596dbb18dc6262ca9fef964427e96e6b79f939a8d15c7bc1424680587ede1b245fe9b57bc7848e1c917fabb4bff366f72e9279429be2517fa50c87e3
@@ -79,6 +81,7 @@ DIST generic-array-0.14.9.crate 17439 BLAKE2B 
881593869e9a357ecfa470b8c8aaf40388
 DIST getrandom-0.1.16.crate 25077 BLAKE2B 
0cbe96c27e78100c181a064e5fe524efa9a7a267fe60f8336d2ae0125883acd5d575ff17d1d56607255d9b2c30cb9d962026fdea1a5c3c29a5e0760d27c3136a
 SHA512 
c5450c522c07c7a38b326f9a9062bac7d089630219d577ea4b55abad4e0c31d17b7cde385fc43912dfa100b42334e7a52422c55fda8b738caae428c6f9addb53
 DIST getrandom-0.2.16.crate 40163 BLAKE2B 
cf95b380a610313eaf068fa210bdb4a9e0b9211321d708f9877cd9e1901df0f6b7f57462a4937da3419c7547ef300291deb5367f4dce4ff776e7f0d9d36dcd8d
 SHA512 
6391d5322f8ce2ea7d14062d378ae2ffad66622afd58b9f1732e5314b27d3a554c8a008f6d0d133640f11d769ac51ea4acd24e40259e14e2ffce93d5c3c1eb1e
 DIST getrandom-0.3.3.crate 49493 BLAKE2B 
17bf881c1ec8e70b263dad11fbb307484d7ff6a7bb6c0ed217730c0a766adb3a19e6633b28cff9eb7c1f9deea55a647ad53636533c392a5c39ac82e26623a18c
 SHA512 
8188d8fab05e8bdb3918eea6fc6f89aaf3767f8350fa953aeadfcdf24a513bb4e0d464853a264939bf2fa17f95ebd4077b74d813d587a7368072c5d7748c4c5b
+DIST getrandom-0.3.4.crate 50932 BLAKE2B 
34165a6994877aeaf3063affd48eb499512371a1fdc0d890feee598b5e22c14cb8347642a0e9374cd5d8a59a8281db839e45923769260312379321bef54c687d
 SHA512 
43c44ec3ba0668f388519b2cefbee63f959f0e078730b3f7563742522e5f4b120472024b95fc94aeb90900a15d327c3573271bb26b2de4785e589a8bc1bc9da8
 DIST getset-0.1.6.crate 10072 BLAKE2B 
519c97f9d8e85139ee66e0771d15650788e8b094904b8d85d3270344b4ffb6db70c8f877666043e2e6d19a2c41f153121d7d959864e77bcb140abbd88061625e
 SHA512 
7f05a0da3f97a08dc29c002233070c8e769893ba482550623e9f119aafd5ef92b8e7ffdae76016ce440387e90362c44f8f2194a187365f9730e0acbffecacfb7
 DIST gimli-0.32.3.crate 289789 BLAKE2B 
d2794b527c4e0fc8ba10d12711deba8606bbbbe3625227d9b886b3d6846760d9dbc7ec258fbc13673017bb0706a9cdcd573b760d21857fc55deaec7b4be30994
 SHA512 
e3ec768bcec1e4232b46d7c0a63470d5d966098017d344001ff600587df9ff8419b133b2037fd0869946414718da0da9285b1255468dd5375e46bed3d3a95503
 DIST goblin-0.9.3.crate 200536 BLAKE2B 
0f71ab07ff09ff812205a6218feed8aa9aed2f8d746d48db246cccdc30878449fb2701bfe587c74f2aac05d1d175a5623daaf4efb7359086fd137374d0f74d55
 SHA512 
f03ca58f92766102fece70556369b4cd1703b8948e60df1b2d09020d27fc7be69a0c0f89c7a0a7f2b0c135331479a16fb219744e4ced88856f285375b13a41dd
@@ -95,6 +98,7 @@ DIST iced-x86-1.21.0.crate 1240616 BLAKE2B 
b2ed25eea0997d6de5caf477c782f547f7e95
 DIST ident_case-1.0.1.crate 3492 BLAKE2B 
bc79ebeefbb7e3ed1139e3f41d8d20fb175786bb123bdb9c1a92ea70effb4a0e5e798f24b068cd66a1bf20d53eea4bf24de495b5568c2d649ea804389a1327ab
 SHA512 
81003a43f18da5997d644319274502e2066af9f9fd1400afda7cf2986b3ae0b7355b932302723cd3bda2d46b264340434d9279dea58425bad13785698d5808a9
 DIST indexmap-1.9.3.crate 54653 BLAKE2B 
7bc1768589e74020dc15d3dd064009edaaef39b7aeb682d0ca8e49944e3f020b9c04d64feb102e88b22feb40863479dfaf4722d6a77b5d19e7ca553f4bf64c1b
 SHA512 
2aa8069eb07a814c8fa3e11296c9f032ef60963520d7786ad20cca5cb7e73b8f76d97722a994d65295bb713020aadce5008cd3df5e99d8bd968ef1979f910a37
 DIST indexmap-2.11.4.crate 100302 BLAKE2B 
7df64cd5add93fbcc956e082881dac568b4b42056312344534a9a3df7780326632d4ef53660257a6f4b6a099bcf842d8443b58b4429321904681ee90b0086a53
 SHA512 
39ae266d1f5bc57f438689d2ebb3e5ba0b26f08487f88affffb55bf24d6ca8c52d646ea79e281c383027cea2970e4acbfd24d65f081ed77d4efbd056aab83649
+DIST indexmap-2.12.0.crate 100446 BLAKE2B 
3fad12a9daa3c5c8b3db1926391bc770c9b1b133455ddb9ff4157f212176351ac1d00c50c8fadf2afa0557487e5633648d8c6a1cdf80211b974d2ff0f773eb06
 SHA512 
3ceb00f2cadf667e6e7893178c43f68776c2d97ef899209ffc83cf4f536172cde52bf73f8d512a9bba8119bb77f6b6c2a920b8edbc1875b1ee31033830917c33
 DIST io-uring-0.6.4.crate 55060 BLAKE2B 
3c65b0676438353c10eea2a987c58ea1808812e32bf938edf12e579586bf80b5242d1115b4dda6b9e47f47f865b3ba3e2a5a1a70b0beab42bf1a05ee98656418
 SHA512 
a2135b58b370aff3cf75079f33fddd5d4d2dc5d0b93cb69d0f43e97586daa18f3ae1af48b9efdeb52e74abc6697437a5d0cb9986488c0cf000a0d8279fc2a394
 DIST ipnet-2.11.0.crate 29718 BLAKE2B 
5cfd0876d2c45de886a069fa564d5bd0d4bc53a62ba445692b35c12ad4e3197d9d42b51b14e31bf79e7b8ece129e4612dbf47c90ace5e2e5a9f0e478bd6a5b1c
 SHA512 
9d3c42b5bd93a792ac09975b9ced105e6e8b1eb83bfe012aeabcaa3fc388ee2c5a0541d5cd6dae48dfb97cf82aa970316962d231b65298873136335ac3e5ddca
 DIST iprange-0.6.7.crate 34510 BLAKE2B 
f880d3d5e96244dc4bc99cb8f4dcda3d15bcb3d731facd0e89a0534fec22dbb1e2850f6bed78717c43cfe46189878f22afc6022ac60fb9d971e0360f53459c37
 SHA512 
5b2e1cb5d3e261b4bb95e61fb5d824b43592c083073ec93b37382f09e51754554ed697faf0edcf3de77541858792742fb326b0e20ee64500f79b31dc578ae056
@@ -215,7 +219,9 @@ DIST strum_macros-0.27.2.crate 30522 BLAKE2B 
c70e2f27074e04b796f2b0e1a1856e95fa7
 DIST subtle-2.6.1.crate 14562 BLAKE2B 
3cf4940b7a01f04715da1057f6a92b1043a6b86ab2ee7f9fee0337b680ff781201d330409460f6f90b3f81bb5fd4b563e17c762c6e824ba3b0af99e4ae7d66bd
 SHA512 
f5946ebd9bcb8776ee3446abcbf4afb3cca5d8bd847cadda87e864333ac7ded537a3efa773e9648adf20ce4add2c1da85172cff88c1e1a3a6cb051401b00c6bd
 DIST syd-3.40.0.tar.gz 4857049 BLAKE2B 
661ab46fe75b7533aed10733426cf5a9f317c33717c16e819878dcdd7b96c45d44381664e8c44ee723265db2c3e66463743d4deb7844c29d0e1f2ce67763d4ff
 SHA512 
23335a909195a69f68af97479d8d5e85ccaa3035194c21ef0811d002e065ee165b3898ce23704cf7ccb1890c42505226a17779ede05df037933800285a087275
 DIST syd-3.40.1.tar.gz 4864487 BLAKE2B 
5d39aae0c08301cd620c43df60c1dd043902d6b1dec3d14b081b0dcfc6457540bce4afa778a538d76fe64519305951b8f51a27ca975775cc237a73b5181ce1d2
 SHA512 
48b7cdd7710a469534f3f746f0c7ef9ee34cea1b93eae4af7d17927c080929e1491263a90de656d57a4f349be4bfa3ab0821cbaac9309b2bfddf347dfacfcaa8
+DIST syd-3.41.0.tar.gz 4875841 BLAKE2B 
e59ed8b242072960189bfbda20b7a050235ca5607c7d9056d3ce9f3626f92d180bff24a87e819936223a12aeb271713b2c7399f1fb4b8704439a0e1c09a57d17
 SHA512 
69eb89948a194d758a50b35819b6366fdb9f39e40dc995be53927428622c09fa8fb239380a91589c746730aa05657bcc8564fa8cb543223f0f26a2a87aa411df
 DIST syn-2.0.106.crate 301514 BLAKE2B 
6b28b30ee067c23dc4bd1b38365d14c1700245c974e785173965b0822301966d642b36bdda25210d61f17a99fc71eb81e29a56c89d1649773908bae32778fb1f
 SHA512 
e07e1058770fa3f1039eaf335340cefb597c0dd11bb90fec9fa777ca5815d0e0bb1711bb4db52cac77e205dd68fbe2bce0e1aa9895c2a52a1ea6d7758d13424c
+DIST syn-2.0.107.crate 301716 BLAKE2B 
76ae71e40724b7ab0912df8c5d9ff571a21b6da1ed8f849395ca8565535c245894bbb1927952fa2c81891ce08d5e19336138f80c6374ca4a46c8bc8ed1ff53c7
 SHA512 
6c65589ad86a01307defcbfcb62d95b342135ad22636b899195784e56d476fe5eb5c7f2b54f827166e573f0a4af0ca834f4a107700417fd68edce7e423467f4a
 DIST tabwriter-1.4.1.crate 10047 BLAKE2B 
ae66ddfc8604ad637496c799bcd50d1387604b2506cae96c31abdbb37f0e3bd800125e56a3b3d38ecaaa83c40346060d1c66e481b191b5189b6333f5ac4ee1c3
 SHA512 
5001a049b27c5a146ec49d8ad986893cd0ae19aeab42cd8f6f916ddede3cfbba6797c41d251d99edd43d79b16f3739cf56bdf7721f93b3a18cfd853e88c2788e
 DIST tap-1.0.1.crate 11316 BLAKE2B 
60786fd5f12c2f06097330c26809fdcfce62716586d2e1985f8c01406d356ed0ab730a04dfe72ee3e1d6208a53c76c66883d45a76130750b41ba5b82aa721b83
 SHA512 
d69ff11a46e2fbc276212511878f48eb93640c0b147df6578ea057b23625f9366a7fc3926693fc3809688537af5ca919c91605beed364decf83c35a032310995
 DIST tcmalloc-0.3.0.crate 6674 BLAKE2B 
51e898db18b4dc79b8f771bd5990fa38b9af6ec2e9cfb4e7529e09f5b847e6513c47b0b5e13138426eb21ff95bf60d2ab65e502a01316331120825b6d9a6e2d3
 SHA512 
a8e8e3110da6a736312e48eeda1b0391f82d04aba968a4b857db2bd5615a96e297a4ebf7ad97ca4a59cb15246f0b56d72b20454d5cbc6958d52494aab18eff3b

diff --git a/sys-apps/syd/syd-3.41.0.ebuild b/sys-apps/syd/syd-3.41.0.ebuild
new file mode 100644
index 000000000000..678d9932abe1
--- /dev/null
+++ b/sys-apps/syd/syd-3.41.0.ebuild
@@ -0,0 +1,355 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+RESTRICT="test" # fails with sandbox
+
+RUST_MIN_VER="1.83.0"
+
+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]
+       [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]+wasi-snapshot-preview1
+       [email protected]+wasi-0.2.4
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [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+="
+       0BSD Apache-2.0 BSD-2 BSD CC0-1.0 GPL-3+ ISC MIT MPL-2.0 Unicode-3.0
+       WTFPL-2 ZLIB
+"
+
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="static? ( sys-libs/libseccomp[static-libs] )
+       sys-libs/libseccomp
+       app-text/scdoc"
+RDEPEND="sys-apps/pandora_box
+       ${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+="-Ctarget-feature=+crt-static"
+               cargo_src_configure
+       else
+               local myfeatures=( "oci" )
+               cargo_src_configure
+       fi
+}
+
+src_compile() {
+       cargo_src_compile
+       emake man
+}
+
+src_install () {
+       cargo_src_install
+       mkdir -p "${D}"/usr/share/man/man{1,2,5,7}
+       emake install-man DESTDIR="${D}" PREFIX="/usr"
+       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