Files
unraid-podman/scripts/ci/buildenv-versions.env
T
maggesandClaude Sonnet 5 e2fefcdf9c
Build Packages / Build .txz packages (push) Failing after 9s
Lint / ShellCheck (push) Failing after 43s
Lint / Validate .plg XML (push) Successful in 10s
Lint / EditorConfig (push) Failing after 6s
Add reproducible build system, native Unraid plugin, and WebUI
- versions.env pins podman, conmon, crun, netavark, aardvark-dns, passt,
  and fuse-overlayfs to verified upstream source checksums; SlackBuild
  recipes, scripts/build-packages.sh, checksums.sh, release.sh, and
  update-versions.sh implement the reproducible pipeline; GitHub Actions
  workflows build in a Slackware container and publish releases without
  committing any binaries.

- plugin/podman.plg installs/updates/removes all eight packages (the
  seven components plus the plugin's own unraid-podman scaffolding
  package) via upgradepkg, using the official Unraid array-event hook
  mechanism (event/disks_mounted, event/stopping) instead of editing
  /boot/config/go. rc.podman and the sbin/ helper scripts implement
  storage creation, config seeding/sync, preflight checks, autostart
  with per-container Safe-Mode, and package verify/update/rollback.

- webui/plugins/podman implements the Dashboard, Containers, Pods,
  Images, Volumes, Networks, Logs, Terminal, Compose, and Settings
  panels against the approved mockup (webui/mockups/prototype.html),
  talking to podman system service exclusively via PodmanClient.php
  (libpod REST API over the Unix socket), with two documented
  exceptions: Terminal's one-shot exec model and Compose's use of the
  podman compose CLI, since libpod has no REST equivalent for either.

- docs/ARCHITECTURE.md and docs/ROADMAP.md record the design decisions
  and honest current status (syntax-checked, unit- and
  integration-tested against fake sockets/servers; not yet run against
  a real Unraid/Podman/Slackware system).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-11 10:51:14 +00:00

47 lines
2.5 KiB
Bash

# =============================================================================
# scripts/ci/buildenv-versions.env
#
# Version pins for the BUILD ENVIRONMENT itself — the toolchains and C
# libraries needed to compile the seven packages in packages/, but which are
# not themselves shipped as part of the plugin. Kept separate from the
# top-level versions.env, which pins only what actually gets packaged and
# installed on an Unraid system (see that file's header comment).
#
# Consumed by scripts/ci/setup-slackware-buildenv.sh.
# =============================================================================
# Go toolchain (builds podman). Official upstream tarball, not a distro
# package — Slackware ships no Go toolchain in a stock install.
GO_VERSION="1.26.5"
GO_SRC_URL="https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz"
# Checksum as published by go.dev itself (`curl -s https://go.dev/dl/?mode=json`)
# — must be re-derived from the same source whenever GO_VERSION changes.
GO_SRC_SHA256="88c162b204e6eefcc32499453b492e80209f4a4c78c33092636901c540fb0d05"
# Rust toolchain (builds netavark, aardvark-dns) — installed via rustup
# rather than a pinned tarball, since rustup itself provides reproducible,
# checksummed component installation. We pin the *channel*, not an exact
# rustc build; per-crate reproducibility comes from each Rust package's
# Cargo.lock (built with `cargo build --locked`, see the netavark/
# aardvark-dns SlackBuilds) rather than from the compiler version.
RUST_CHANNEL="stable"
RUSTUP_INIT_URL="https://sh.rustup.rs"
# --- C library build-time dependencies ---------------------------------------
# These are expected to already be present in the Slackware base image (part
# of a stock "full" Slackware 15.0 install): glib2 (conmon), libcap (crun),
# fuse3 (fuse-overlayfs). setup-slackware-buildenv.sh fails fast with a clear
# message if any of these are missing, rather than silently vendoring them.
#
# libseccomp and yajl are NOT part of a stock Slackware install and are
# built from source by setup-slackware-buildenv.sh if pkg-config doesn't
# find them.
LIBSECCOMP_VERSION="2.6.1"
LIBSECCOMP_SRC_URL="https://github.com/seccomp/libseccomp/archive/refs/tags/v${LIBSECCOMP_VERSION}.tar.gz"
LIBSECCOMP_SRC_SHA256="f9a13e4c633d319a9240189760ca348caa0837c0ebe2a09b17061da8ceaf60f0"
YAJL_VERSION="2.1.0"
YAJL_SRC_URL="https://github.com/lloyd/yajl/archive/refs/tags/${YAJL_VERSION}.tar.gz"
YAJL_SRC_SHA256="3fb73364a5a30efe615046d07e6db9d09fd2b41c763c5f7d3bfb121cd5c5ac5a"