commit 30d932a6114e033bc14a6bfad3b2c3c157104cdb
parent 7177c664097c6a34b336cc3067ebc1fce439c406
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Sat, 14 Nov 2026 22:42:47 +0530
parent 7177c664097c6a34b336cc3067ebc1fce439c406
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Sat, 14 Nov 2026 22:42:47 +0530
Package saait and publish Debian builds through CI
3 files changed, 34 insertions(+), 3 deletions(-)
diff --git a/.config/Jobfile b/.config/Jobfile @@ -4,7 +4,7 @@ triggers="refs/heads/main: checks plan packages" ci_apk_packages=${FPKGS_APK_PACKAGES:-} # initify is a required CI tool artifact, even when application selection changes. # Builds exercise conversion fixtures; package jobs never install into the host. -ci_deb_packages="initify ${FPKGS_DEB_PACKAGES:-minimal-fxa-server sqlite-vector sqlite-memory}" +ci_deb_packages="initify ${FPKGS_DEB_PACKAGES:-minimal-fxa-server sqlite-vector sqlite-memory saait}" checks() { for file in "$srcdir"/scripts/*.sh "$srcdir"/tests/*.sh; do
diff --git a/Unix/saait/APKBUILD b/Unix/saait/APKBUILD @@ -0,0 +1,31 @@ +pkgname=saait +pkgver=0.8 +pkgrel=0 +pkgdesc="The most boring static HTML page generator" +url="https://codemadness.org/saait.html" +arch="all" +license="ISC" +makedepends="build-essentials-stub" +source="https://codemadness.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" +sha256sums="ba562912b7f3a52884d292b20eba04771995413e7015d3454f905ff3c0210404 saait-0.8.tar.gz" + +build() { + make + # The legacy tar.gz builder does not call check(). + check +} + +check() { + mkdir -p output + ./saait pages/*.cfg + test -s output/index.html + test -s output/example.html + grep -q 'Example page' output/example.html +} + +package() { + make DESTDIR="$pkgdir" PREFIX=/usr MANPREFIX=/usr/share/man install + mkdir -p "$pkgdir/usr/share/licenses/$pkgname" + install -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
diff --git a/docs/ci.md b/docs/ci.md @@ -17,8 +17,8 @@ live host or rewrite existing recipes; keep legacy CI explicitly on tar.gz until its packages and toolchain have been migrated. **Per-format allowlists:** `.config/Jobfile` always selects `initify` as a required -Debian CI tool artifact, plus `minimal-fxa-server`, `sqlite-vector`, and -`sqlite-memory` by default. `FPKGS_DEB_PACKAGES` +Debian CI tool artifact, plus `minimal-fxa-server`, `sqlite-vector`, +`sqlite-memory`, and `saait` by default. `FPKGS_DEB_PACKAGES` changes the application selection without dropping `initify`. Its recipe checks Perl syntax and converts a synthetic service/timer during each uncached build. The APK allowlist
: nply/foundationpkgs