Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / syd
Commits: e36065cf by Robin Candau at 2025-12-02T23:24:01+01:00 upgpkg: 3.45.2-3: Build all features and install all binaries Fixes https://gitlab.archlinux.org/archlinux/packaging/packages/syd/-/issues/40 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = syd pkgdesc = Seccomp and landlock based application sandbox with support for namespaces pkgver = 3.45.2 - pkgrel = 2 + pkgrel = 3 url = https://gitlab.exherbo.org/sydbox/sydbox arch = x86_64 license = GPL-3.0-only @@ -12,6 +12,7 @@ pkgbase = syd depends = gcc-libs depends = glibc depends = libseccomp + depends = gperftools optdepends = syd-tui: Syd's Terminal User Interface optdepends = pandora_box: Syd's log inspector & profile writer provides = sydbox ===================================== PKGBUILD ===================================== @@ -3,12 +3,12 @@ pkgname=syd _pkgname=sydbox pkgver=3.45.2 -pkgrel=2 +pkgrel=3 pkgdesc="Seccomp and landlock based application sandbox with support for namespaces" url="https://gitlab.exherbo.org/sydbox/sydbox" arch=('x86_64') license=('GPL-3.0-only') -depends=('bash' 'gcc-libs' 'glibc' 'libseccomp') +depends=('bash' 'gcc-libs' 'glibc' 'libseccomp' 'gperftools') makedepends=('cargo' 'git' 'scdoc') optdepends=("syd-tui: Syd's Terminal User Interface" "pandora_box: Syd's log inspector & profile writer") @@ -28,7 +28,7 @@ build() { cd "${_pkgname}" export RUSTUP_TOOLCHAIN=stable export CARGO_TARGET_DIR=target - cargo build --frozen --release + cargo build --frozen --release --all-features find man -type f -name "*.scd" -exec sh -c 'scdoc < "${1}" > "${1%.scd}"' _ {} \; } @@ -39,7 +39,7 @@ check() { # "syd_test" and "fs" tests fail with sandbox # "hash" tests seems flaky (they fail on the build server for some reason) # "proc / executables paths [...]" fails if `/usr/lib/libgcc_s.so.1` is not executable (which is shipped by `gcc_libs`) - cargo test --frozen -- \ + cargo test --frozen --all-features -- \ --skip=syd_test \ --skip=fs::tests::test_canonicalize_non_directory_with_slash \ --skip=fs::tests::test_canonicalize_self_referential_symlink \ @@ -55,7 +55,7 @@ check() { package() { cd "${_pkgname}" - install -Dm 755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + find target/release/ -maxdepth 1 -type f -name "${pkgname}*" ! -name "*.d" -exec install -Dm 755 -t "${pkgdir}/usr/bin/" {} + install -Dm 755 src/esyd.sh "${pkgdir}/usr/lib/${pkgname}/esyd.sh" View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/syd/-/commit/e36065cfcf7fae7aa8cc995123c05c85e51deaed -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/syd/-/commit/e36065cfcf7fae7aa8cc995123c05c85e51deaed You're receiving this email because of your account on gitlab.archlinux.org.
