commit: cf580c380b7dc07f9394e5bbce41bd7365d1ab9b Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> AuthorDate: Thu May 1 19:08:18 2025 +0000 Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> CommitDate: Thu May 1 19:08:59 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf580c38
sys-apps/syd: add 3.33.0 Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org> sys-apps/syd/Manifest | 5 + sys-apps/syd/syd-3.33.0.ebuild | 329 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 334 insertions(+) diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest index 9b388fb13d0b..ea01088b8d06 100644 --- a/sys-apps/syd/Manifest +++ b/sys-apps/syd/Manifest @@ -99,6 +99,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.8.0.crate 89670 BLAKE2B 65d206045ca5c8479f9436df693d282fb73e79873fa1c586e5a2922e29ceba0adad529429bed87afb4ed4fcd66bb03c29711ee4bda9b9f848a2c35dcd7cafa8f SHA512 4ac87d1b1991d4a3c332bf4f3c6fa864ce783e1abd04e80558f6e4f3b28180062afec5bd1587511d04883c52d1756f25eeed48a45a4395b9a4bdd66e6f9668ab +DIST indexmap-2.9.0.crate 91214 BLAKE2B c1ff1f45814b84daa854a692e22d385598bf30121e39cdc3de800282b187a39588797a4b187cfe8075eec77ae64bb5ce6a80939cc2cbbdbe6e17e42459ca71cd SHA512 ac474dea5da1dc14a61a28f5b4c850073875030ffad3aa871211a8b075a3e9a64cc748310b4554657f45a70d526010febaf3d3992a80502db389c2347aeeb2c6 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 @@ -120,7 +121,9 @@ DIST liboci-cli-0.5.2.crate 5560 BLAKE2B e7bf12ddd7895c97a6fa5c537a60fc2891b0da9 DIST liboci-cli-0.5.3.crate 5564 BLAKE2B b345350851c7dcdb6c5ad98722ab15a7acef49b178fa2148935b426be7c8f045e43dafaf5551582348fa3940441649be2440cb9ecd96c15ff7864b9dd17f367e SHA512 58566a9283211fb2fc4dabf7d5af16d93cfe56e7877caacdaf41e6bfd41bff5ecd2283c5658ccf2bd7f374786c2808f3142be4776ef88ff9ec8f869e58bd6693 DIST libredox-0.1.3.crate 6068 BLAKE2B cf09f261d3a945d290ecaaa724903e0042d66eca46dde8a40c261ccb1e82c0d6b9926898eadafc6313fdb9f19cde56377b8a9179935482559c4b9707e327511a SHA512 c62142fdca92388664eef83fc89b8607e2df318cbadff6edf9e3d927837853d5cfeb54445299a82054a0ca81853b0a33536966ab26f1f2e0fa43b39aaaf67c49 DIST libseccomp-0.3.0.crate 50169 BLAKE2B 4752d6d6105aecd71d1553e28c773a7effe220b7d5d44c965e9c5a815bbb2e390dfc2a3914cbc25ca83b8a94cf6dfa6bf672f520e9d238f991f06ef5552c5878 SHA512 3f17bcec7ff5b060d019902ad2e40245cd11512f0e2c02459f41c82180258c95be55179538c17de2bf194d96f847c0c3f038f9239ac976b7b33909f5080d42c1 +DIST libseccomp-0.4.0.crate 56543 BLAKE2B 2882992a0cff9846f16dc37e87b7847e459d49185708a2630d08d889b4cf8b852777025ea784c2c7a4551f24d7a643eb9f5d810e343ef392a70815d6a3f198ea SHA512 d38964062aa2a9997ff37b02026ddbb7fddb7ef333451ce10a47eda199bb282dcb41adf80ba419118c90706eeeddeff889c197d21d7cde6eaaaa69e07f38390e DIST libseccomp-sys-0.2.1.crate 11601 BLAKE2B 77a77d6d1f8ef6f5d25b35c299032738aed0a404c855cb84223a7334caaf57392fbd8f0915f4f7be875778176cbfdb8062eabbf7b414d3c198a5d41cd8a466ef SHA512 b53b13f95ac487d802ff051b4cee32be2dfa496846f3104a61399a53a07a7d6fb6b4543088765858e26e060e22e0bf93f8cb3a175c06dae4719f918844c7fe0f +DIST libseccomp-sys-0.3.0.crate 12223 BLAKE2B 748ab9a55499efeb7ec450c29e0e56dff260b2ff5f8a0609c78ac5179b7470cacd851fd53038f6140cccce12867e6ebe45631238d91b6ed19c5c2deeb4602309 SHA512 a97709d809751ce9f8243bf9d2fc546d0913fe24ca37a1991c46b3dc916145125382bc4a4f0206a1c8062c5fd5d625dbd0b0f9d7c4a89d337ec3db99add39409 DIST linefeed-0.6.0.crate 63684 BLAKE2B e446522c886a16a107f7857fae477436528ffeb0bb19eb353114d1333758a9d2412aaec77e317cc4b88e6c8d6ca9e011cfd930f07babb3d5401bb3a10d2bfe34 SHA512 d5ae60c7a5ee931bb3999130b25845305b656d6ce3e92338dd8cf27e4e8d0c2f9e0f702abb86c19f80436f079732ddf5ebd4f150f93f8eea99ac3ae76295b868 DIST linux-raw-sys-0.4.15.crate 2150898 BLAKE2B d1936eb74377d9bfddccef3830b56eb716c38ea3cb7e13b73325dfd00f9fc0df74bae49e4214dd7f27c257403b8b12cd1ef332d53336279d13f7e9497caf4135 SHA512 b5c39181fb6b901abddd8b2e7b449142e2e5691cddadb8e6b74ddc3b53076b1d410522cfa45af68dd18befd24ff12313c2494cf2cb0cf142e2228bfe42014309 DIST linux-raw-sys-0.9.3.crate 2311047 BLAKE2B 09d35c16ecae3c8abe21206aa008704cb80a2ce127afa746f51c623e71ce312f1c60d7fbd6b1f2de24f8e9095fa9f5e743af42c5ba1a572adc73c80f6dd138f5 SHA512 800137d5d0746de5c70ca976d03e16d19a2e08e58469ce5ef523eb97a794add156685d91b68d39556b6e051b77a039a9a0491fd4bce9575e041b9bb4566f2c9d @@ -202,6 +205,7 @@ DIST sha1-0.10.6.crate 13517 BLAKE2B 85ad8dcd237125945f6f9c2d7a48bc9802dfe8398a2 DIST sha3-0.10.8.crate 858216 BLAKE2B 0251020db34e0be3f150d342d055bae00c7fe17e2eb1f5134016389e45a4d3ef35ab8e533f58cedd7e10412955c4a011ba8e604e129fc5bd9a433ff756f0ca5e SHA512 390102cea4cbb0de4fa772a0842cf6d13dadde9fd95c5dfa9e75ebf89e98a2b4bb10f05257797e8f688af78ac42d951cb71df71e3b7ec36e52e2661932479c7e DIST sharded-slab-0.1.7.crate 58227 BLAKE2B 9b4c4e4849ed324cf48c2b905f21139d1d65aa5ab13e7fb11817cac9a32ad09f8dbb1e50a93d40cafa0aba872792bc92f7bd2e219f62f80695409e949c07978b SHA512 3be7438d4a75debb14463477f34de6db1ac38abe958ada5d5dae7ae8d5993e245da69fcb989d91aaaffda5f2b085d4bcc88d10e07ec567b7f40a21437de6d4cb DIST shellexpand-3.1.0.crate 25591 BLAKE2B ba395d9d98fed37979e97609689f909b264ddb44dae56ae4958da9a0e85aa382a00bbca42530cda2701e934233aa1d44509495235ba0512beb33a827cee5c9f0 SHA512 9b20074425db359cf92f29c52be91a3a58a91e6f3116b210913f24dc31b5371ef9d77fe46e7da39e42eac87fa4ccb8ebf9175d7bd5fe6b520d12b9d3b31cc65e +DIST shellexpand-3.1.1.crate 25904 BLAKE2B 4927c9958f411724f00486ba14a8db6178528fd33d9fb307196692b69d55d4960469ef5902a3255b23e5e68c87498321ba947f51a0358ef93ea9f1898b507e94 SHA512 8b545f11bdbba8d235da6c43ca3ae592894b85d96419298259f36effa3c0956e8fe43b6b4b9c0bf5b2c1edea17f4d1881a00439a40dfbf9a709723b7beb8a8c9 DIST shlex-1.3.0.crate 18713 BLAKE2B 18800c364d3a628f1a3125097ea82fe6286550c2997235df0bf8483a3906aacabc81308cb239887d46ba2f457cc6f8acd5aca78316707eea5098cd5666aea67d SHA512 5c8cedbe666a14b8a0874defb9208146ce64579cde52ed483e4a794cac5dde6a24bf8d684404edff582f842e1fd4fa3fbeddbe074f191e4ec4aa517aa456fe8a DIST siphasher-1.0.1.crate 10351 BLAKE2B 6653898cf0eb071fe83b7c317f93ffb73bd26ed601961173875b26ec8851632599891ec178b7e14318abb9eb98d522db8022deb852af9ad9f6bf38a5a5708e82 SHA512 d230991add51a555af95b30ef104c0e5ed7011fafb92d6ac9ba0f238c8bf4d2fbd39f4b04dbbe960453f8fdd16d3768ba39f39e4877ad453562e689ec8f24a28 DIST smallstr-0.2.0.crate 7521 BLAKE2B de85addbf6f23141a5797b7eb448fac2349f96801fc2f7faea66b21356723406d83e0c46d26198e0bfbd1df9bc4673f611d72f2a3ef222358a3d57fde1f7183e SHA512 88f835ccf1eb7a618d931f2234cab47eed32de67da31fde3dcd64495aeabf17daad83b9c6ef87c42267027e649eb6f5a880fdc7a1716addd3bbbd37315d39563 @@ -212,6 +216,7 @@ DIST strum_macros-0.26.4.crate 27531 BLAKE2B 7f7d57c957a1591054288fcae6590a5e669 DIST subtle-2.6.1.crate 14562 BLAKE2B 3cf4940b7a01f04715da1057f6a92b1043a6b86ab2ee7f9fee0337b680ff781201d330409460f6f90b3f81bb5fd4b563e17c762c6e824ba3b0af99e4ae7d66bd SHA512 f5946ebd9bcb8776ee3446abcbf4afb3cca5d8bd847cadda87e864333ac7ded537a3efa773e9648adf20ce4add2c1da85172cff88c1e1a3a6cb051401b00c6bd DIST syd-3.32.6.tar.gz 1821837 BLAKE2B 742197b64444c782ae6ff2dee52eb46797c3fb1b78c993466ef7ed77f3cef3e716f13a0fa6687a7af72e6894936ba70e896a36ec690e2cd0596989c5229b9cc5 SHA512 2f740ce5b52e4024ee5b610a3860768084a9dd51cbf913548c6308a6747eb256c7f36a32c9804c8a3678d0f2fd3d4af12e3ab0bbffa982739dff2b9baf2bcc08 DIST syd-3.32.7.tar.gz 1824787 BLAKE2B 22d87b2a3b16a760cb672f6162042f8a55386e7e1f63aa3ef14a735c496bce776c69e4f50b70bf16ee791ab7e4cb05c2b280bca45dff90df94b65cec1de1ffe4 SHA512 631bf98d2e691225b99384024e0b53d20aaf3435731e0a9f20dc9e87ffb99de5b50ffd2e9be89bf026dee175d6f558e0f5e57c1d16d75ee22a048c8025373972 +DIST syd-3.33.0.tar.gz 1779853 BLAKE2B 59c31fc48e39ed345ddd76a59b9c7576668b717ee8b1b2746b7cf8d1b50575940f3d4bdcaffe804a86a5b5cfd5d293c39d392e3834e7f2c5dd8a7388b5d68342 SHA512 24db7713cfbf9aea9766b1a1e7519030958c15e79ca6dddc1ed7501c6469210bca170e2abcc0b6db1f803288fd91229b8b18db0adf38b2a0b7bcb394be5aee3a DIST syn-2.0.100.crate 297947 BLAKE2B 50a9b244732eebc16464bef152bb620d86aba590942b0d68710d36e89c0ee752629be5bb8db48866c7d252d545ab910625891a5a9b499ad9142191881eb9b42b SHA512 082a975c6448febe38abdc0b43ae929a97a303c0f980ecd2bdd6c44aa2b39ee5aeedf6b1c84316cf088e0d97aff011ec0482a5242ddb338dcf7db5d55926cf6c DIST tabwriter-1.4.1.crate 10047 BLAKE2B ae66ddfc8604ad637496c799bcd50d1387604b2506cae96c31abdbb37f0e3bd800125e56a3b3d38ecaaa83c40346060d1c66e481b191b5189b6333f5ac4ee1c3 SHA512 5001a049b27c5a146ec49d8ad986893cd0ae19aeab42cd8f6f916ddede3cfbba6797c41d251d99edd43d79b16f3739cf56bdf7721f93b3a18cfd853e88c2788e DIST tap-1.0.1.crate 11316 BLAKE2B 60786fd5f12c2f06097330c26809fdcfce62716586d2e1985f8c01406d356ed0ab730a04dfe72ee3e1d6208a53c76c66883d45a76130750b41ba5b82aa721b83 SHA512 d69ff11a46e2fbc276212511878f48eb93640c0b147df6578ea057b23625f9366a7fc3926693fc3809688537af5ca919c91605beed364decf83c35a032310995 diff --git a/sys-apps/syd/syd-3.33.0.ebuild b/sys-apps/syd/syd-3.33.0.ebuild new file mode 100644 index 000000000000..3e8179721215 --- /dev/null +++ b/sys-apps/syd/syd-3.33.0.ebuild @@ -0,0 +1,329 @@ +# Copyright 2024-2025 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] + [email protected] + [email protected] + [email protected] + [email protected]+wasi-snapshot-preview1 + [email protected]+wasi-0.2.4 + [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] +" + +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 + Unlicense WTFPL-2 +" + +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 +}
