From afd5c0235868c0ad560478d8b44c16e92f99b77d Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Tue, 28 Nov 2023 13:30:31 +0000 Subject: sys-apps/syd: add 3.5.1, drop 3.3.4 Signed-off-by: Patrick Lauer --- sys-apps/syd/Manifest | 3 +- sys-apps/syd/syd-3.3.4.ebuild | 142 --------------------------------------- sys-apps/syd/syd-3.5.1.ebuild | 152 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 153 insertions(+), 144 deletions(-) delete mode 100644 sys-apps/syd/syd-3.3.4.ebuild create mode 100644 sys-apps/syd/syd-3.5.1.ebuild (limited to 'sys-apps/syd') diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest index 17127f3f7609..cd0063c2f469 100644 --- a/sys-apps/syd/Manifest +++ b/sys-apps/syd/Manifest @@ -79,11 +79,10 @@ DIST slab-0.4.9.crate 17108 BLAKE2B 8e5288c4d00efa915e7be27b55f2204850968624f0d8 DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c427c03ee3b0b23365e73a406e4fd6ac312bf13fc5faef8bb6111c10fcfd5f839d5b3686e9b34d1626f8469fc327 SHA512 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d DIST strum-0.25.0.crate 5539 BLAKE2B 9c031e5ce19e2ecaa63e63118197c740ae9295b8881f6280ad92847b99fca6fb08b0d395ab1b2a66e25c8374cd18866d8436540538e3c0f1f047fd2235971b40 SHA512 a3522df79547e94518f25a0e29248f67f1d7e2586a7a424d7d996cb6bfe5d98fcc4fc44da7ddcd4e35a1127b2816bee55107f30cb2a559f5b9bbb1346139544a DIST strum_macros-0.25.3.crate 22570 BLAKE2B 511af0d1f0f76df7ad1528c79987b6e09390bfb33e1c34078fb5450171aca7f169afb83fa2f2338a861ded6842c8535ea6e4cdb0d31f341edab0a06d7eeac16c SHA512 e6ebc00943d9f88104815a5bd6a302a391a06fb0ed5ff836e01d341150628684e00e5e2e5b3f6466ece92d376985246f818243a0d1d775cfa55d1c50c0ec0c62 -DIST syd-3.3.4.tar.gz 297095 BLAKE2B b9196956d1d277170d540e705d01b84331131a8c2c1a56d973c992dce3654c0252486597feb34f3291a7f6e0e78784f2036b2968f5d5aea3e100fe5f5ee788d6 SHA512 d64abb751b37f6da62fd283c820102e2e87cc49d76bc4d07a2e9b6841d84005346980223b5d4dfad4a55b69d1592ad8a9e9798267b713d8b42b21339e146b84f DIST syd-3.4.1.tar.gz 300205 BLAKE2B d487be69300057a954cbb5320912218ffcdd3da9d27b652e74fcaab9293b77bd50c512b8379a6840e1dad53f056154f19bed4ff55719f26dc0c56264e3453cfc SHA512 9d7ab8512a8f8950958baec01286302692159ce95fa1f67d2fbe452c09d99521e507008437174bbebf1e0788838de13fb68dfb1861ad23e3bc69c251f46b1483 +DIST syd-3.5.1.tar.gz 314972 BLAKE2B 1dcc46d419b4b03e4e832e3cfc99b0f13cd04e1157c3a6a4afa7ee989778cc546a3f64c827bf0c12935cfc8f4add221904f0fb897bbf6882165b7f6e51bd383b SHA512 6dac2df607e65aedf806c56fc68f3515c9f49b18ba977dc8c2eb64d156a6d05d2146f533e6b5e09dc98b160f065ef375ea25897edb9ae8b83fc23a42fac76ab9 DIST syn-2.0.39.crate 244129 BLAKE2B 2cff6626624d03f70f1662af45a8644c28a9f92e2dfe38999bef3ba4a4c1ce825ae598277e9cb7abd5585eebfb17b239effc8d0bbf1c6ac196499f0d288e5e01 SHA512 96cc347cfdb0f9ca0b6c7289279a1cad8fc401625783742292564f7ceca8237ced8d9a3f62069696f6132ed06092dff2baaf4be09ef53b21260d93785b0e27c3 DIST tempfile-3.8.1.crate 32164 BLAKE2B abccff7939df8cd223a5a8ee61e5af7c35335f1cd61b3e72fed9a8565465c293e99938d57b50743141aace3cd20422ad5d3090507ed66561cb0155771fe0a5ec SHA512 b257bfb70793575d59ec4cf4b7492aff83dafb68b367a48594211f476a3b1d4800b69bddc405d8749d8b320c30cbe71be1261a60b4bbc862663b37a6c7d97a3a -DIST threadpool-1.8.1.crate 14408 BLAKE2B 8bd64ede19184e18460f6b2ad5bc888d6facd5fcaa5b43c35269e35909c9c68a884203f5c4b92619c097ad48c19ec29f73085755ee348cc637233ff3b5b50ccc SHA512 adaa5aecdeec25848af15b160e5b39833978454d834974211bd586d81837f2ce89e5590f08b7e0d4868346cf57056913a5d41bc8bf92b89109ed769cce4a8be0 DIST tinytemplate-1.2.1.crate 26490 BLAKE2B af39d96f33f63238e455a4e38fde1d1730fd9661ae68be7b05df6ef9d2ab1a04db1332cc4ec9deb6da3a8e22b124df81b0fa8916d8491b808742bb733c8e48be SHA512 0cc080057e096f0796e72004343e1a8332c2e8a12e43f6ade150ebf632e9c29c7ad04de0b940cd57df81efdc4d07a6607da9b86a30d8383e39ac3d7be185edb9 DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 DIST walkdir-2.4.0.crate 23550 BLAKE2B b4298c01cb38be0479b7ddfee627af01f889b6b6ff432e368bb67f65134c3958a4fe271a5a7dd61b19259ae88f5680e5ce8e12e50a872b05fcba68f59b7073ec SHA512 09e1bc852c01b452c95b26a369831a97bc5c9e0ada3111c73774570dd73bb5b9e4735317d5572304fb48dca44ce7b9f77bbd17c418b6b047b2ab17b8bb42d9d9 diff --git a/sys-apps/syd/syd-3.3.4.ebuild b/sys-apps/syd/syd-3.3.4.ebuild deleted file mode 100644 index adeca5bb20df..000000000000 --- a/sys-apps/syd/syd-3.3.4.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -RESTRICT="test" # fails with sandbox - -CRATES=" - aho-corasick@1.1.2 - anes@0.1.6 - anstyle@1.0.4 - anyhow@1.0.75 - argv@0.1.9 - autocfg@1.1.0 - bitflags@1.3.2 - bitflags@2.4.1 - bstr@1.8.0 - cast@0.3.0 - cfg-if@1.0.0 - ciborium-io@0.2.1 - ciborium-ll@0.2.1 - ciborium@0.2.1 - clap@4.4.8 - clap_builder@4.4.8 - clap_lex@0.6.0 - criterion-plot@0.5.0 - criterion@0.5.1 - either@1.9.0 - env_logger@0.10.1 - errno@0.3.6 - fastrand@2.0.1 - fnv@1.0.7 - getargs@0.5.0 - globset@0.4.13 - half@1.8.2 - heck@0.4.1 - hermit-abi@0.3.3 - io-uring@0.6.2 - ipnetwork@0.20.0 - is-terminal@0.4.9 - itertools@0.10.5 - itoa@1.0.9 - lazy_static@1.4.0 - libc@0.2.150 - libseccomp-sys@0.2.1 - libseccomp@0.3.0 - linux-raw-sys@0.4.11 - lock_api@0.4.11 - log@0.4.20 - memchr@2.6.4 - memoffset@0.7.1 - nix@0.26.4 - nonempty@0.8.1 - num-traits@0.2.17 - num_cpus@1.16.0 - once_cell@1.18.0 - oorandom@11.1.3 - openat2@0.1.2 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - pkg-config@0.3.27 - proc-macro2@1.0.69 - quote@1.0.33 - redox_syscall@0.4.1 - regex-automata@0.4.3 - regex-syntax@0.8.2 - regex@1.10.2 - rustix@0.38.21 - rustversion@1.0.14 - ryu@1.0.15 - same-file@1.0.6 - scopeguard@1.2.0 - serde@1.0.192 - serde_derive@1.0.192 - serde_json@1.0.108 - smallvec@1.11.2 - strum@0.25.0 - strum_macros@0.25.3 - syn@2.0.39 - tempfile@3.8.1 - threadpool@1.8.1 - tinytemplate@1.2.1 - unicode-ident@1.0.12 - walkdir@2.4.0 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.6 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.48.0 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 -" - -inherit cargo - -DESCRIPTION="practical userspace application sandbox" -HOMEPAGE="https://gitlab.exherbo.org/sydbox" - -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_compile() { - 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" - myfeatures=( "static" ) - fi - cargo_src_compile -} - -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 -} diff --git a/sys-apps/syd/syd-3.5.1.ebuild b/sys-apps/syd/syd-3.5.1.ebuild new file mode 100644 index 000000000000..6b41cc8c2a83 --- /dev/null +++ b/sys-apps/syd/syd-3.5.1.ebuild @@ -0,0 +1,152 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +RESTRICT="test" # fails with sandbox + +CRATES=" + aho-corasick@1.1.2 + anes@0.1.6 + anstyle@1.0.4 + anyhow@1.0.75 + argv@0.1.9 + autocfg@1.1.0 + bitflags@1.3.2 + bitflags@2.4.1 + bstr@1.8.0 + cast@0.3.0 + cfg-if@1.0.0 + ciborium-io@0.2.1 + ciborium-ll@0.2.1 + ciborium@0.2.1 + clap@4.4.8 + clap_builder@4.4.8 + clap_lex@0.6.0 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-channel@0.5.8 + crossbeam-utils@0.8.16 + either@1.9.0 + env_logger@0.10.1 + errno@0.3.6 + fastrand@2.0.1 + fnv@1.0.7 + futures-channel@0.3.29 + futures-core@0.3.29 + futures-executor@0.3.29 + futures-task@0.3.29 + futures-util@0.3.29 + getargs@0.5.0 + globset@0.4.13 + half@1.8.2 + heck@0.4.1 + hermit-abi@0.3.3 + io-uring@0.6.2 + ipnetwork@0.20.0 + is-terminal@0.4.9 + itertools@0.10.5 + itoa@1.0.9 + lazy_static@1.4.0 + libc@0.2.150 + libseccomp-sys@0.2.1 + libseccomp@0.3.0 + linux-raw-sys@0.4.11 + lock_api@0.4.11 + log@0.4.20 + memchr@2.6.4 + memoffset@0.7.1 + nix@0.26.4 + nonempty@0.8.1 + num-traits@0.2.17 + num_cpus@1.16.0 + once_cell@1.18.0 + oorandom@11.1.3 + openat2@0.1.2 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + pin-project-lite@0.2.13 + pin-utils@0.1.0 + pkg-config@0.3.27 + proc-macro2@1.0.69 + quote@1.0.33 + redox_syscall@0.4.1 + regex-automata@0.4.3 + regex-syntax@0.8.2 + regex@1.10.2 + rustix@0.38.21 + rustversion@1.0.14 + rusty_pool@0.7.0 + ryu@1.0.15 + same-file@1.0.6 + scopeguard@1.2.0 + serde@1.0.192 + serde_derive@1.0.192 + serde_json@1.0.108 + slab@0.4.9 + smallvec@1.11.2 + strum@0.25.0 + strum_macros@0.25.3 + syn@2.0.39 + tempfile@3.8.1 + tinytemplate@1.2.1 + unicode-ident@1.0.12 + walkdir@2.4.0 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.6 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.48.0 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 +" + +inherit cargo + +DESCRIPTION="practical userspace application sandbox" +HOMEPAGE="https://gitlab.exherbo.org/sydbox" + +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_compile() { + 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" + myfeatures=( "static" ) + fi + cargo_src_compile +} + +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 +} -- cgit v1.2.3-65-gdbad