commit: 7710ec803b6f726a12100e82e24b5e2abf6fe5d0 Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> AuthorDate: Wed Aug 13 06:30:04 2025 +0000 Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> CommitDate: Wed Aug 13 06:31:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7710ec80
sys-apps/syd: add 3.37.7 Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org> sys-apps/syd/Manifest | 4 + sys-apps/syd/syd-3.37.7.ebuild | 348 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 352 insertions(+) diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest index 1a4388024eca..4cfb678517da 100644 --- a/sys-apps/syd/Manifest +++ b/sys-apps/syd/Manifest @@ -109,6 +109,7 @@ DIST lazy_static-1.5.0.crate 14025 BLAKE2B df29e0e3d1c061815bdd608b41074436024dc DIST lexis-0.2.3.crate 28357 BLAKE2B 8382e207742c9f973a0b80669ea43762e548ccc6c3c2438d3dd7bf60ca320bd2bacec3291f06204190846e721fbc6293c8ef3fee4df5568d6cd65dd52cac38f9 SHA512 650bcc5515a82fa0969f2f96eb7f8a47e876d50dd03a3b611a6d156b2f53241728fd53be6eca1d5dcd1544ea5b5bc8743869a0ed3f84e1716fb7e06ca6252915 DIST lexopt-0.3.1.crate 26158 BLAKE2B 1ed62786f100c3907d852ecd339d391409da25a9e221e504604753e07e3a21bb949ace31642e84e5740b3ab7d93822757d874fc22fd86425103a829dbe7f55f9 SHA512 1fe0e7b7adc0c545b5536483093f673152eaf564a4f49d16af4b7b605da569e7557052eb15a1d84504e634601c2867f6ecfd57e4dd21aefe2d9d506bda5f4031 DIST libc-0.2.174.crate 779933 BLAKE2B 20ffcbbcad6961e732521940f0595039dc0576d85b2d3b2ad3f1decd37571132a4cd7505b2e108078a4379fc4cec46290b5633bcbcc6e7009c3b474c1a852628 SHA512 243f2ffd5741ef859e4dc5b7ee0396071943b1d10429efcaecb322957e256c4be88a7a649029dfd47e6456acc73ee257893fb6c4e8b4d0fe66a12bc5d1c13c73 +DIST libc-0.2.175.crate 788728 BLAKE2B dfbcc891a6da7d327916883deec54dbcb0ee5e7fda0b805926f06088dbbbef0520a838c07a62ea075d6a5a035994ea8130efbbc88e08b928c13b06bc5cf75bb9 SHA512 02fa1b6e61ecec3b626f3c802b53e7f46c98558f6e8c810b46d7322c2e4825f1be87068942ac81c07a2188356c6e2b6836b0dddd784396e43ab3712a62cd17ea DIST libcgroups-0.5.4.crate 91498 BLAKE2B 2a07aeb8fc1681cdcaf420b02a37f62f97c020456c37eada6062f711a26b19ebc96c7170487aadaed2d0b6021a135579eb0104d9c739ed062a8cfd1ee1573c9e SHA512 16ef2869ff9905157b22313f122128930e41cc9e8001a2c7ac5040f3984b99c2fb098180c34dac8602cd597c38a970c63bed6c49e38d132de24dbae9472e1463 DIST libcontainer-0.5.4.crate 126476 BLAKE2B 9e965e877d763c6525f559f0be4fa3d8b57da9005e905afba27b99dd7b49928dd8549c88d5ae98a937eacf4dadec192ef12d403456578fdabcdf0a17ceab9713 SHA512 1bedfa12715ace9f37805d94827c298be7ff3ec1e099b0d949094eed5a9205f498d378965cf518ce0a2de75ffe8d857016517b0bf72202ab605678e7bccdd78b DIST libloading-0.8.8.crate 31345 BLAKE2B 6b06cd450a16b8480e5853c92e2a07700f4e1e333e04870b37190c986d36cdfb8a2aaacc6b3b91d5be5092d0bc60916b5122576da4bda2c8e111698eabe60b7b SHA512 180a11a600baa520c4b7004ddcbc1e3c467224ce8d072070906ebb4e90ed5dca27bc68691cebbf7ffda1b31e7b5115d055de6496d51814ab30caba558e01c925 @@ -158,6 +159,7 @@ DIST prctl-1.0.0.crate 5084 BLAKE2B 0d876151fd520cd2dcf1c2367e54187876465de1d4f4 DIST proc-macro-error-attr2-2.0.0.crate 7745 BLAKE2B 6e0e6d0d19bc467550de90a075a602f0be1e6ba24b29b84e42f01ccc953dec4f841625a84930a84cc5c00a1959ebdde9919c8d6d21664dd2161ea4a18a6f1d08 SHA512 8dfdd6aa54b03cc3b29e97f6be2a2d0716cb52b751cb7cbce8ceaa9120f95f9567be5869d6c4467ad16560b6db037d2c48ecf5290817c4e06b6acec1d7aaec44 DIST proc-macro-error2-2.0.1.crate 24807 BLAKE2B 20bc34aff566445280cc874fc0c2a43ef6ea2ff67f674107f816daceee712749fafcdd1a8fd52fc35f8b875375e5fe05a571b717629e6cbd250b42162c2b3837 SHA512 6406a792b780178e80597709fa34923b59f8a9e8ad22fddafd78b3495b943765f5657542078a88dafa0e904073a22fbd9722d45ee175bcb51725e566682a976b DIST proc-macro2-1.0.95.crate 51820 BLAKE2B 93229d80556ec03bce4031607d13c7902cacc2d7e2586a692ffe8543d52e3f3ba253c9c311ddedf6d9348ce8758ae8ff64577675cda2dac557f936a328de47e3 SHA512 f78e4d47ecd29c1b2315554705e445507bbfb9449afd0bf1b74df28f266ac6382ca8c3ce135ddc55c989eaee64d1794a0933a941c8ff55f543fa21c400016547 +DIST proc-macro2-1.0.96.crate 52660 BLAKE2B 988da574eb30ff3b206c8ec2d40751b20d2acc1decf148a259da7960b970c6f68d9ddf726bd9bde08601a35df0f5bbf0667753c83cec527a882fdcb36fc300d6 SHA512 e57159e6b4d1633245a9cf9f1d1f9ff4f783d2110aa7a234483fe0b535c2c4620ca019d4ef4a8428efa3e466c102233a5ccca87cd9030b802f36581114bb38a5 DIST procfs-0.17.0.crate 73252 BLAKE2B eb205ec08019da77522599f192dde47d733fd68c08eb68611cf2ece6de93708cc1f2a3e0e941abb48b5d6c2f64da9e2ba158c1dc8f3570ea086b43f3e7ec8030 SHA512 76950134beb05f3df3dd0ba32488e1661a8e90fe5ac59a9227b4a5d2413e4ffc9772c9f79d37fc882fa9ef6b2c2c8c96f00458181926b0a1655500da56183a3e DIST procfs-core-0.17.0.crate 87533 BLAKE2B 8774dfbc5cd2cfd12c1424de79d6be403c9d3e3a04a0437ec4f4dcbb4535495faf7e6cb30d268bd16c053ec8cd72cfe9a6b2d2e577c6519d15553c9f7e0fa7d5 SHA512 392a6c6702333eca25f4bfbbf10ad0c300d8b1c3f1ffa51151495509b45c0e094e8a8d43a18a9490dbf5910fbffb9fc2669b39b989c8d10bc5aa080377978ef4 DIST protobuf-3.2.0.crate 211054 BLAKE2B e49bb3ad408fa83512c136e44e04a266962dd3a2829e3a4268487804d91a7590ed6f33247cd79953d4b17cbddb9b73109bcbd68253445beb12148abbc123de2a SHA512 16936a6ca8b84ba494ba9811ea9fa99785f314e5f780a2ead203a3d53163d2ec954a01d0a32260f96dde19d590f3f9182a33cb6647a4a129d802b872e457db42 @@ -184,6 +186,7 @@ DIST rustc-demangle-0.1.26.crate 30340 BLAKE2B aa4d90be1dc313db5777e7b47fd6e6d9c DIST rustix-0.38.44.crate 379347 BLAKE2B 780efaa7c9e7fb78782c552345ead692e4dc87a6e68fe9c972097ed4ef9066b54633c565d4f1b4752e08a1ceceef15ed5d8c11286c7cf17d971648ac5f9d399f SHA512 b7e66a27c9188eff307aa9912852706f686864852a97af0696ac5fc5dccdf2e4d22a69266fa74ac71aa123e2831f24b898b7ee9121850d65cfb56e12bd647d8f DIST rustix-1.0.8.crate 416688 BLAKE2B 20e09bbc33ca3d7da2e30c30e1e1bcd7a7868e8edd3c8aa1f4bc37fc5ee499da3cd25f548993ccffb926f39abeb8d207ea419cc764f07ff108d8e40050514e4d SHA512 23e98aaeb57688afd2bb78b4943eca542a800ec98ccbb63e544ed00f83dde5e25e6fd22c9f7a903d95d74818b30b080e50f8a3cc5aa16cd879e4a0132d9d4d7d DIST rustversion-1.0.21.crate 21001 BLAKE2B 0ca6d2ae448a04a509e3746dff26c8ad9ff91b3d86fcb3cbdffc82de6e8592b585d8f1c029d96a257b4f195288d035326e6d8a12f3beece16a1d195544897375 SHA512 69ed338f2a8e8048ef6d44a5ceaed4ccb9d10d88130a5da4b25899af44949600f785d9508673a90245ae33e086ae6d2a297d6b16942c30159fa73e0602a88a67 +DIST rustversion-1.0.22.crate 21096 BLAKE2B cdf773cda21ebde50da897c0af0e4af14660ce953d3037054a99d8adc3db2dc6e30a57201a45676abfb183c62016a68069848e7537f711b1752339d194b0a378 SHA512 7929352df3e5279ac88cebb26ca89bb13c755f46986d2d1f514d18a3239a63638bf64f8ff153920569d173185d988d692ee676335afba0bf72d47f71babe0e15 DIST ryu-1.0.20.crate 48738 BLAKE2B b126085448cb58639a7b5867fe313dcaabaf19df478f67fcb6cf15b8e881a21e641878345e0bf1fea7d24b56b921e667fd26a39cb81fca7ea02585332068263f SHA512 329c581429d9b8baa7d9edd9cf20e23fb8002f339d9fb3d50ed4c7eb68fb19c1ba966d52a9c9602265ca5f59f2bd4393ddcb3a7ac20c64aee3096e137eb2a384 DIST safe-path-0.1.0.crate 10966 BLAKE2B c87dfd71f93df7e5c81dcaeac41b74fe282a8e8c8cc990cc6d876957e198ea8dc0c06e73f8b27699239d3012ac250520dc08ef91ec20080306d0a6a616bff7ca SHA512 bc673dfa28380208e239c1d2ab7d8b0ca174f7b124288ed6779ed9d257dff1f16e1f9c2a2a61ff69d131024f727ec17147b5a651933a7c0ee5f9126b11aef79b DIST scroll-0.12.0.crate 24145 BLAKE2B 93f070ad4d0656b6cbbbca78d27269e8fd5895c515bcfd51152bf5ce2756d43ff0bf13dd63201f4f1207feb993bfa853c9567a298a040369dc6be91324570deb SHA512 475a9b3f09d4164a7192c9d2fbc209354b9442e669c3cb318bd3f31d1a407aa328543bfe315c12ddd962bf8518ac378476d6b5677ecea170e6d507c70c4ca935 @@ -207,6 +210,7 @@ DIST strum_macros-0.27.2.crate 30522 BLAKE2B c70e2f27074e04b796f2b0e1a1856e95fa7 DIST subtle-2.6.1.crate 14562 BLAKE2B 3cf4940b7a01f04715da1057f6a92b1043a6b86ab2ee7f9fee0337b680ff781201d330409460f6f90b3f81bb5fd4b563e17c762c6e824ba3b0af99e4ae7d66bd SHA512 f5946ebd9bcb8776ee3446abcbf4afb3cca5d8bd847cadda87e864333ac7ded537a3efa773e9648adf20ce4add2c1da85172cff88c1e1a3a6cb051401b00c6bd DIST syd-3.37.4.tar.gz 1969760 BLAKE2B 1d42c5bede9e0f9eea04902a84d7fe3a19f95b87f52f09df4e9ea3afea309963e3b5508a51c38bb1d2d2a8b6f2336d37e21aa21d43f3be3c887aae2cc72578b1 SHA512 e0e9437fff57a082a717c98ca4961334130ca08983002cda99cccd7f9cb3edc4c7e43d4a7be71082a3b5aabd6f625472e46a7eb1062b54662fa0290366376971 DIST syd-3.37.6.tar.gz 1973239 BLAKE2B 52c9060d456a0d629a92b1c0ba6ca3ff9ab9e07cd3cf9cb7018ac6bf4ae5ffbc76bcf7cf2b4713ba992c09ff0f98e82d38133f33695401c2d9567d6627ca1150 SHA512 d9ef3c0a4e622f122ee7c8cc7182251d2283ee5af80cab662be7fe64edb16231ff03d0e2f27a1abd2b85397fd0f4151d2774c47aab81f2258dbefd3f4df293f1 +DIST syd-3.37.7.tar.gz 1974122 BLAKE2B 880dbd556425023531fce3fc36411cf89ac0cb9ee20a587dd0ee6f20e741bc6c0106ea04d1e1278ca8e298321fa542cbe2dd42aa243fc9c18f8f555ce7d06194 SHA512 5fc94fa12b13c66a4143e20feafe27bb1845b6c4adf7b1b47c90e62d82da2115e5a70ccb9592ddd7a1960f9f9202c1061a8ccfeb67de77b6851c6589866c1b46 DIST syn-2.0.104.crate 299699 BLAKE2B f64d2267abe9140456dd31d52ada0c75bfa3e4e0112ca77491245e9e84a0530f6c7cdc7428b73cf567a65ef6e7727f814fb9cb34db0ecc9cc3afd05b69fd36f7 SHA512 da532fa362266161b5604c821c913f8f990eb32c18e18c0a360b7147b9f71ae008e208f377cb203e85818bd5db926951122a971fa97563a10678f0ba4671e64f 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.37.7.ebuild b/sys-apps/syd/syd-3.37.7.ebuild new file mode 100644 index 000000000000..36da5766d403 --- /dev/null +++ b/sys-apps/syd/syd-3.37.7.ebuild @@ -0,0 +1,348 @@ +# 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] + [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] + [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 +}
