commit: 50bb5d4ef0597c66a886a76b2d3099a28ca3da5c Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> AuthorDate: Sun Nov 9 15:12:42 2025 +0000 Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> CommitDate: Sun Nov 9 15:12:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50bb5d4e
sys-apps/syd: add 3.43.0 Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org> sys-apps/syd/Manifest | 4 + sys-apps/syd/syd-3.43.0.ebuild | 355 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 359 insertions(+) diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest index 9d75eae9d3db..e5af6748d0b9 100644 --- a/sys-apps/syd/Manifest +++ b/sys-apps/syd/Manifest @@ -25,6 +25,7 @@ DIST bumpalo-3.19.0.crate 96414 BLAKE2B f8c155f77cf977d72749f3cb943a6b171dfc4f67 DIST bytes-1.10.1.crate 76779 BLAKE2B 96573ff7852cd2d4f37a68cb4d76bc43d2018dc25b7b7e2164df022de4e1974f22d4d3ea7cbfb280667650cdb5063d600f4f76cbdca43dae508f29ced449b0f7 SHA512 03429f01927b94ba6c958c46b2e5bf92a23b39ce9385689e21accd34a5d3be01fd0f665f4bbffb1f7c5bdf1edfb1bf11d5ccad00eff0f9388be39fe2f753d296 DIST caps-0.5.6.crate 17964 BLAKE2B b49ee3e8ab8a77a59b0508d3eaf88bf1b52fa9987f0424833314ada1e1725f720e7776ddf0df2ab280fef8b16263c9b142d978b69e7efecfa9007bb2a48cd8f7 SHA512 fa92918231853271c73ea755f7d1e9abd37bcf537d9e7714ade6768d7306286eb64357b33bbefb1eb64eb2330a2eb50cab894969b200573617e1e5816b6ab32d DIST cc-1.2.44.crate 92035 BLAKE2B c09e0633e9638cc715b70258e5fcb638427e3ecf2f3460f27b165067659c17efeb4d1691c05d8fff2899cdc8099f6b29c2f91f9e49c79a2bca2e81ffeb412f69 SHA512 14599ecf99c77cc824dac1218bbc9e2d2df138964c6454eef6acff0689c71d7e83ee7e6439938414fe37530e64a331176efc7dbd3757325e0a482742ad42a02c +DIST cc-1.2.45.crate 92261 BLAKE2B 8fa401cec15bdba57e11eb23e69462185b1e89441c7479d86be8bb137333708d386ea37663d12914162c3c100f2fdca72427ea11e29617cf2ba6b010ebad2693 SHA512 9f1c8049a59e7a7d3ecf7a648470776220d312552c9c85157e8282093d740b3c3beda4f618144f4b13d883057ad9317e8cf7c4289c0615e0688b2ad4a1973279 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 @@ -158,6 +159,7 @@ DIST protobuf-codegen-3.2.0.crate 56540 BLAKE2B 84d40924d83bd21577660784c34f9b63 DIST protobuf-parse-3.2.0.crate 65995 BLAKE2B 51089383817818803869d7f7e2ee0c2f0c93349a6fe6dba01b478576fdfb1b1889dfaf1e19172fe329b35bb8f34487e299c4b6a5c5b915cd513cecba9d6d93ea SHA512 e8b3ee2b61bd59098b2de006aee2f6328a42fc710ae3f2f75fe2cbe792884c60fdb96eb36347399e2671dc36d75632d1f469d3eda19d5f9a4be6c1af3a9a9d64 DIST protobuf-support-3.2.0.crate 10757 BLAKE2B 67dc8319f4438a3338b9f739f03cff060f657a53d48ac8269b3fe17a1da6d6a73cfac92a93ad1008e76748f1f42188f04c523a1d7feeb8496953a39de2f5c557 SHA512 6b0ef0ce706fe748136b96431b7d07a6241fd4e8bb4aa4c320c3a4f149576b3bec6ba9d60a12c5c2a59cabd18df4cfb6e8dff5e38da64878758bd1e06547a657 DIST quote-1.0.41.crate 31408 BLAKE2B 9d496e0878fc329ac9492ecbd470e762bd807ec8ca4e17a856b4d1c776351434778f519977137a67b8c143ee60b20774c09768d480cff51b22f2cfcb364a20d9 SHA512 64374d70eb29f7d7e02e535ba383586d93f68a9b6464c79840fa6c42a1ac47be7ba14e415a40e158f845e486ed33d5c564c882913780d296360b30a56301ff7e +DIST quote-1.0.42.crate 31504 BLAKE2B a8106c0fe3953bcc2aa421516dfbaad6d6cb2ea839b2ce1447a45b8732dad40a921c2008b477bc0fa029dc0e0357a339db543b1f90bb9da77a5a3681fc16bed0 SHA512 6d55047312de6bab660459750c54213e986f0a80b4458fdb706c2fb3bab83b8239cd230dd9291662076d395c818a391142af1228ae3158cfa4960d6c74d531ba DIST r-efi-5.3.0.crate 64532 BLAKE2B 54bc882e333f7ba52b6dd6ac92b8a282581c10b47de91a4c4b71b15a27b2df885ab52ae2fcc8a546367ee1ce98300dcaec3c33cbd7393b134383528540bb7d14 SHA512 e748db9729dbddf215d5c37630fa272197dd2921297800209ca7bfcd6ffd8530b598b944d95547ad9723655cafdfb69b1c1fade9ba5f8c2ac5c55ec38258fdad DIST radium-0.7.0.crate 10906 BLAKE2B d576e0ea5c5287bcb6740cee3a3838b6ae4dfdef0ef05d34634b96dba5159e48260233db57a767c9e032fa5d9a5798361335cb19f7844f450113ece30ffbc51d SHA512 51e23cf52997b46c0018a94b0259b29d7bf33ddba19f6db406ca57ee5b1417d7e5f27dda3bb487d0099886011a97f238e8b3dd4d6c86e8464c0b471c1a7622a0 DIST raki-1.3.2.crate 23446 BLAKE2B a5dce72efc9ae839813258629b04c94bcd1939f77987dbfd724a0755511f60ad818354ace10f3a428d3d893a13a80f369e6b84e36928f1bdc2fa94ea8f3b4133 SHA512 e3a775b4a6a2b3ae617ee1243bd72672f1fb1371773ecae96ec5d7c0a2810a03e684288381b165d39f38cb541616bb238539557c4e02eb534ea621e3defad4d4 @@ -203,7 +205,9 @@ DIST strum-0.27.2.crate 8489 BLAKE2B 9931a92e30d058cac6feb1919558d33c9901d401bd0 DIST strum_macros-0.27.2.crate 30522 BLAKE2B c70e2f27074e04b796f2b0e1a1856e95fa7716d847789f66b27d8457efda0569826e6d3cea51621615709674b6f800cbe877498c55be5286efc0222fe7179686 SHA512 fa1a2d63cc18d9947e3bbe65777dca621a06814f48d09cea0679b09271559867bff23a95690858639e3e26fde5a252ee7548c75240b13acd907001a1e38a0ed6 DIST subtle-2.6.1.crate 14562 BLAKE2B 3cf4940b7a01f04715da1057f6a92b1043a6b86ab2ee7f9fee0337b680ff781201d330409460f6f90b3f81bb5fd4b563e17c762c6e824ba3b0af99e4ae7d66bd SHA512 f5946ebd9bcb8776ee3446abcbf4afb3cca5d8bd847cadda87e864333ac7ded537a3efa773e9648adf20ce4add2c1da85172cff88c1e1a3a6cb051401b00c6bd DIST syd-3.42.0.tar.gz 4938050 BLAKE2B 45f630548c350bd8bd1a301598125edf59733b928fb6c68ae94f0b70a7d0d0a42dfa1e3583a224c9780b73b9e6a6b76dc7e1bcfea1cab0149b0e494e27a10821 SHA512 c9267e0ac7e8cab8ada1505ce59988335f55033417186a7db28fc4f67f15fd0e8ba74c1efe3cd28c680456d2b3f0626cd3377648fb3da6ecd61d5bb6d962669b +DIST syd-3.43.0.tar.gz 4941425 BLAKE2B 387f3115c905d5b2230e0ca2f79d7e0c42c5e83aaa5a4aa9fe436c1e44cd289e363d7eaf5bba176f73c807ed0c2f888e08304c17c0f8bd23eb59dd167922d8fd SHA512 669252bc5f50e92b7fb4585d6112fa97eeae7b664493c52607399f5a0d17c08be19b7b7250a0e05a1e781c101b85f8ef9c5534b7a34333aa736a7fe126540dda DIST syn-2.0.108.crate 301754 BLAKE2B 627699ade4dcd89157c64628e7243be829d79e5e1800c3da82f2da24628e8895809f3b250e9cdcfaa3c69d2d2deb7d4db8868767961c25ce6ad71baebd995ad6 SHA512 27ca199db662f3d06de9f139b9707fc30e9719556831b9fcb78f7108f61cdf186cbead48ebd4b684bdcb96944552ba4340a4bd154556cc08d0698f65c9332aaa +DIST syn-2.0.109.crate 301826 BLAKE2B 1078f6f0e47331a66b72cb789ca0a7fba6ebc7a5459d65719faa133403cffc5f3339fb61aea966ee599e4337f38b131188dc8f34ccb93cc4bc99eabd58131ef6 SHA512 edba9df045f3b90bbafd1c2a1f1e0e091c03ed5ef3f020584a2eef833ea1bce04c63a62bf83462e4da3a82d42a3b57ea378f5da87842f39cb10205865ac43c7c 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.43.0.ebuild b/sys-apps/syd/syd-3.43.0.ebuild new file mode 100644 index 000000000000..eac29940f896 --- /dev/null +++ b/sys-apps/syd/syd-3.43.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.88.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] + [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] +" + +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 +}
