mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
sys-apps/syd: add 3.44.1
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
This commit is contained in:
parent
2909348b11
commit
bd8196b896
@ -206,8 +206,10 @@ DIST strum_macros-0.27.2.crate 30522 BLAKE2B c70e2f27074e04b796f2b0e1a1856e95fa7
|
||||
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 syd-3.44.1.tar.gz 4945489 BLAKE2B deffd488f22ade044a726ff3297467bf327b01a9fe0f4649f9299c8ea5b5fb32706b997228aeb35152987278fe59c741b42d27d009d6f7a7497fb4f3006e6a15 SHA512 0dabbae89db3e25cf33520566d7ca1b7694efdefb47125c9230d00636c18cac79f8ca537cdb780685c47568a35ac4a5c6dbcbeb34808c2a8bcd47037ce175572
|
||||
DIST syn-2.0.108.crate 301754 BLAKE2B 627699ade4dcd89157c64628e7243be829d79e5e1800c3da82f2da24628e8895809f3b250e9cdcfaa3c69d2d2deb7d4db8868767961c25ce6ad71baebd995ad6 SHA512 27ca199db662f3d06de9f139b9707fc30e9719556831b9fcb78f7108f61cdf186cbead48ebd4b684bdcb96944552ba4340a4bd154556cc08d0698f65c9332aaa
|
||||
DIST syn-2.0.109.crate 301826 BLAKE2B 1078f6f0e47331a66b72cb789ca0a7fba6ebc7a5459d65719faa133403cffc5f3339fb61aea966ee599e4337f38b131188dc8f34ccb93cc4bc99eabd58131ef6 SHA512 edba9df045f3b90bbafd1c2a1f1e0e091c03ed5ef3f020584a2eef833ea1bce04c63a62bf83462e4da3a82d42a3b57ea378f5da87842f39cb10205865ac43c7c
|
||||
DIST syn-2.0.110.crate 302184 BLAKE2B 68135017080bbdcee324fc4c98a719d70f9abe3f0a0913b82ad5dd96c8969712bb50d1bb387ed5e60b9fb64e69d6a1e0070361b4c41bc7c0804a4b674099222f SHA512 f9a393a3edcb49d039926bafa46f8befcb840da2af80329eb8b0efa1a2911e5db3e531d1866341f78cb4c28b7a122a07e269263262ff372c27334c7988f536e1
|
||||
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
|
||||
|
||||
355
sys-apps/syd/syd-3.44.1.ebuild
Normal file
355
sys-apps/syd/syd-3.44.1.ebuild
Normal file
@ -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="
|
||||
addr2line@0.25.1
|
||||
adler2@2.0.1
|
||||
ahash@0.8.12
|
||||
aho-corasick@1.1.4
|
||||
android_system_properties@0.1.5
|
||||
anstream@0.6.21
|
||||
anstyle-parse@0.2.7
|
||||
anstyle-query@1.1.4
|
||||
anstyle-wincon@3.0.10
|
||||
anstyle@1.0.13
|
||||
anyhow@1.0.100
|
||||
arrayref@0.3.9
|
||||
arrayvec@0.5.2
|
||||
autocfg@1.5.0
|
||||
backtrace@0.3.76
|
||||
base64@0.13.1
|
||||
bitflags@1.3.2
|
||||
bitflags@2.10.0
|
||||
bitvec@1.0.1
|
||||
blake2b_simd@0.5.11
|
||||
block-buffer@0.10.4
|
||||
brunch@0.8.1
|
||||
btoi@0.5.0
|
||||
bumpalo@3.19.0
|
||||
bytes@1.10.1
|
||||
caps@0.5.6
|
||||
cc@1.2.45
|
||||
cfg-if@1.0.4
|
||||
cfg_aliases@0.2.1
|
||||
chrono@0.4.42
|
||||
clap@4.5.51
|
||||
clap_builder@4.5.51
|
||||
clap_derive@4.5.49
|
||||
clap_lex@0.7.6
|
||||
colorchoice@1.0.4
|
||||
const_format@0.2.35
|
||||
const_format_proc_macros@0.2.34
|
||||
constant_time_eq@0.1.5
|
||||
core-foundation-sys@0.8.7
|
||||
cpufeatures@0.2.17
|
||||
crc-catalog@2.4.0
|
||||
crc32fast@1.5.0
|
||||
crc@3.3.0
|
||||
crossbeam-utils@0.8.21
|
||||
crypto-common@0.1.6
|
||||
dactyl@0.9.1
|
||||
darling@0.20.11
|
||||
darling_core@0.20.11
|
||||
darling_macro@0.20.11
|
||||
data-encoding@2.9.0
|
||||
derive_builder@0.20.2
|
||||
derive_builder_core@0.20.2
|
||||
derive_builder_macro@0.20.2
|
||||
digest@0.10.7
|
||||
dirs-sys@0.3.7
|
||||
dirs-sys@0.5.0
|
||||
dirs@1.0.5
|
||||
dirs@4.0.0
|
||||
dirs@6.0.0
|
||||
either@1.15.0
|
||||
equivalent@1.0.2
|
||||
errno@0.3.14
|
||||
error-chain@0.12.4
|
||||
expiringmap@0.1.2
|
||||
fastrand@2.3.0
|
||||
find-msvc-tools@0.1.4
|
||||
fixedbitset@0.5.7
|
||||
flate2@1.1.5
|
||||
fnv@1.0.7
|
||||
funty@2.0.0
|
||||
generic-array@0.14.9
|
||||
getrandom@0.1.16
|
||||
getrandom@0.2.16
|
||||
getrandom@0.3.4
|
||||
getset@0.1.6
|
||||
gimli@0.32.3
|
||||
goblin@0.9.3
|
||||
gperftools@0.2.0
|
||||
hashbrown@0.12.3
|
||||
hashbrown@0.16.0
|
||||
heck@0.5.0
|
||||
hermit-abi@0.5.2
|
||||
hex@0.4.3
|
||||
home@0.5.12
|
||||
iana-time-zone-haiku@0.1.2
|
||||
iana-time-zone@0.1.64
|
||||
iced-x86@1.21.0
|
||||
ident_case@1.0.1
|
||||
indexmap@1.9.3
|
||||
indexmap@2.12.0
|
||||
io-uring@0.6.4
|
||||
ipnet@2.11.0
|
||||
iprange@0.6.7
|
||||
is_terminal_polyfill@1.70.2
|
||||
itertools@0.14.0
|
||||
itoa@1.0.15
|
||||
js-sys@0.3.82
|
||||
keccak@0.1.5
|
||||
lazy_static@1.5.0
|
||||
lexis@0.2.3
|
||||
lexopt@0.3.1
|
||||
libc@0.2.177
|
||||
libcgroups@0.5.7
|
||||
libcontainer@0.5.7
|
||||
libloading@0.8.9
|
||||
libmimalloc-sys@0.1.44
|
||||
liboci-cli@0.5.7
|
||||
libredox@0.1.10
|
||||
libseccomp-sys@0.3.0
|
||||
libseccomp@0.4.0
|
||||
linefeed@0.6.0
|
||||
linux-raw-sys@0.11.0
|
||||
linux-raw-sys@0.4.15
|
||||
log@0.4.28
|
||||
md5@0.8.0
|
||||
memchr@2.7.6
|
||||
memoffset@0.9.1
|
||||
mimalloc@0.1.48
|
||||
minimal-lexical@0.2.1
|
||||
miniz_oxide@0.8.9
|
||||
mortal@0.2.4
|
||||
nc@0.9.6
|
||||
netlink-sys@0.8.7
|
||||
nix@0.26.4
|
||||
nix@0.29.0
|
||||
nix@0.30.1
|
||||
nom@7.1.3
|
||||
nom@8.0.0
|
||||
nu-ansi-term@0.50.3
|
||||
num-traits@0.2.19
|
||||
num_cpus@1.17.0
|
||||
object@0.37.3
|
||||
oci-spec@0.8.3
|
||||
once_cell@1.21.3
|
||||
once_cell_polyfill@1.70.2
|
||||
option-ext@0.2.0
|
||||
parse-size@1.1.0
|
||||
pathrs@0.2.1
|
||||
phf@0.11.3
|
||||
phf_codegen@0.11.3
|
||||
phf_generator@0.11.3
|
||||
phf_shared@0.11.3
|
||||
pin-project-lite@0.2.16
|
||||
pkg-config@0.3.32
|
||||
plain@0.2.3
|
||||
portable-atomic-util@0.2.4
|
||||
portable-atomic@1.11.1
|
||||
prctl@1.0.0
|
||||
proc-macro-error-attr2@2.0.0
|
||||
proc-macro-error2@2.0.1
|
||||
proc-macro2@1.0.103
|
||||
procfs-core@0.17.0
|
||||
procfs-core@0.18.0
|
||||
procfs@0.17.0
|
||||
procfs@0.18.0
|
||||
protobuf-codegen@3.2.0
|
||||
protobuf-parse@3.2.0
|
||||
protobuf-support@3.2.0
|
||||
protobuf@3.2.0
|
||||
quote@1.0.42
|
||||
r-efi@5.3.0
|
||||
radium@0.7.0
|
||||
raki@1.3.2
|
||||
rand@0.8.5
|
||||
rand_core@0.6.4
|
||||
redox_syscall@0.1.57
|
||||
redox_users@0.3.5
|
||||
redox_users@0.4.6
|
||||
redox_users@0.5.2
|
||||
regex-automata@0.4.13
|
||||
regex-syntax@0.8.8
|
||||
regex@1.12.2
|
||||
ringbuf@0.4.8
|
||||
rpassword@7.4.0
|
||||
rtoolbox@0.0.3
|
||||
rust-argon2@0.8.3
|
||||
rust-criu@0.4.0
|
||||
rustc-demangle@0.1.26
|
||||
rustix@0.38.44
|
||||
rustix@1.1.2
|
||||
rustversion@1.0.22
|
||||
ryu@1.0.20
|
||||
safe-path@0.1.0
|
||||
scroll@0.12.0
|
||||
scroll_derive@0.12.1
|
||||
sendfd@0.4.4
|
||||
serde@1.0.228
|
||||
serde_core@1.0.228
|
||||
serde_derive@1.0.228
|
||||
serde_json@1.0.145
|
||||
sha1@0.10.6
|
||||
sha3@0.10.8
|
||||
sharded-slab@0.1.7
|
||||
shellexpand@3.1.1
|
||||
shlex@1.3.0
|
||||
simd-adler32@0.3.7
|
||||
siphasher@1.0.1
|
||||
smallstr@0.2.0
|
||||
smallvec@1.15.1
|
||||
static_assertions@1.1.0
|
||||
strsim@0.11.1
|
||||
strum@0.27.2
|
||||
strum_macros@0.27.2
|
||||
subtle@2.6.1
|
||||
syn@2.0.110
|
||||
tabwriter@1.4.1
|
||||
tap@1.0.1
|
||||
tcmalloc@0.3.0
|
||||
tempfile@3.23.0
|
||||
terminfo@0.8.0
|
||||
thiserror-impl@1.0.69
|
||||
thiserror-impl@2.0.17
|
||||
thiserror@1.0.69
|
||||
thiserror@2.0.17
|
||||
thread_local@1.1.9
|
||||
tick_counter@0.4.5
|
||||
tinyvec@1.10.0
|
||||
tinyvec_macros@0.1.1
|
||||
tracing-attributes@0.1.30
|
||||
tracing-core@0.1.34
|
||||
tracing-log@0.2.0
|
||||
tracing-subscriber@0.3.20
|
||||
tracing@0.1.41
|
||||
typenum@1.19.0
|
||||
unicode-ident@1.0.22
|
||||
unicode-normalization@0.1.25
|
||||
unicode-width@0.1.14
|
||||
unicode-width@0.2.2
|
||||
unicode-xid@0.2.6
|
||||
utf8parse@0.2.2
|
||||
valuable@0.1.1
|
||||
version_check@0.9.5
|
||||
wasi@0.11.1+wasi-snapshot-preview1
|
||||
wasi@0.9.0+wasi-snapshot-preview1
|
||||
wasip2@1.0.1+wasi-0.2.4
|
||||
wasm-bindgen-macro-support@0.2.105
|
||||
wasm-bindgen-macro@0.2.105
|
||||
wasm-bindgen-shared@0.2.105
|
||||
wasm-bindgen@0.2.105
|
||||
which@4.4.2
|
||||
winapi-i686-pc-windows-gnu@0.4.0
|
||||
winapi-x86_64-pc-windows-gnu@0.4.0
|
||||
winapi@0.3.9
|
||||
windows-core@0.62.2
|
||||
windows-implement@0.60.2
|
||||
windows-interface@0.59.3
|
||||
windows-link@0.2.1
|
||||
windows-result@0.4.1
|
||||
windows-strings@0.5.1
|
||||
windows-sys@0.52.0
|
||||
windows-sys@0.59.0
|
||||
windows-sys@0.60.2
|
||||
windows-sys@0.61.2
|
||||
windows-targets@0.52.6
|
||||
windows-targets@0.53.5
|
||||
windows_aarch64_gnullvm@0.52.6
|
||||
windows_aarch64_gnullvm@0.53.1
|
||||
windows_aarch64_msvc@0.52.6
|
||||
windows_aarch64_msvc@0.53.1
|
||||
windows_i686_gnu@0.52.6
|
||||
windows_i686_gnu@0.53.1
|
||||
windows_i686_gnullvm@0.52.6
|
||||
windows_i686_gnullvm@0.53.1
|
||||
windows_i686_msvc@0.52.6
|
||||
windows_i686_msvc@0.53.1
|
||||
windows_x86_64_gnu@0.52.6
|
||||
windows_x86_64_gnu@0.53.1
|
||||
windows_x86_64_gnullvm@0.52.6
|
||||
windows_x86_64_gnullvm@0.53.1
|
||||
windows_x86_64_msvc@0.52.6
|
||||
windows_x86_64_msvc@0.53.1
|
||||
wit-bindgen@0.46.0
|
||||
wyz@0.5.1
|
||||
yaxpeax-arch@0.3.2
|
||||
yaxpeax-arm@0.4.0
|
||||
zerocopy-derive@0.8.27
|
||||
zerocopy@0.8.27
|
||||
zeroize@1.8.2
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user