release: correct OBS harness for ZUPT 5.2.5
This commit is contained in:
parent
c27e3d5528
commit
fcce1b5a4a
29 changed files with 301 additions and 153 deletions
|
|
@ -11,7 +11,7 @@
|
|||
# Test locally with `makepkg -s` after the release archive is published.
|
||||
|
||||
pkgname=zupt
|
||||
pkgver=5.2.4
|
||||
pkgver=5.2.5
|
||||
pkgrel=1
|
||||
pkgdesc='Pure-C11 post-quantum backup compression utility (AES-256-CTR + HMAC-SHA256 + ML-KEM-768 + X25519)'
|
||||
arch=('x86_64')
|
||||
|
|
@ -22,8 +22,8 @@ makedepends=('gcc' 'git' 'make')
|
|||
checkdepends=('python')
|
||||
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cristiancmoises/zupt/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
||||
# Byte-reproducible upstream v5.2.4 source archive.
|
||||
sha256sums=('425a950960c36086bffe6e2504f7ab3d8a8c5ef1cc76b6f04c62182e108fb32b')
|
||||
# Byte-reproducible upstream v5.2.5 source archive.
|
||||
sha256sums=('REPLACE_AFTER_FINAL_ARCHIVE_SHA256')
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,12 @@
|
|||
zupt (5.2.5-1) UNRELEASED; urgency=medium
|
||||
|
||||
* Run the standalone OBS source-service chain from its isolated working
|
||||
directory and add a packaging-policy regression for that contract.
|
||||
* Preserve the immutable, unpromoted 5.2.4 history and require fresh 5.2.5
|
||||
package, checksum, native-platform, and promotion gates.
|
||||
|
||||
-- Cristian Cezar Moisés <sac@securityops.co> Mon, 31 Aug 2026 19:55:00 +0000
|
||||
|
||||
zupt (5.2.4-1) UNRELEASED; urgency=medium
|
||||
|
||||
* Make the static Windows GUI package-version check robust to canonical
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
xcb-util-renderutil xcb-util-wm xcb-util-cursor
|
||||
libinput-minimal mtdev libevdev eudev))
|
||||
|
||||
(define %zupt-version "5.2.4")
|
||||
(define %zupt-version "5.2.5")
|
||||
|
||||
(define %zupt-source
|
||||
(origin
|
||||
|
|
@ -72,7 +72,7 @@
|
|||
"/releases/download/v" %zupt-version
|
||||
"/zupt-" %zupt-version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0axkiw82w6329kqbcxncy5g8r2ixmgvh89bfzszqcq63c04ranj2"))))
|
||||
(base32 "REPLACE_AFTER_FINAL_ARCHIVE_GUIX_BASE32"))))
|
||||
|
||||
(define-public zupt
|
||||
(package
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@
|
|||
class Zupt < Formula
|
||||
desc "Post-quantum backup compression utility (ML-KEM-768 + AES-256-CTR + HMAC-SHA256)"
|
||||
homepage "https://github.com/cristiancmoises/zupt"
|
||||
url "https://github.com/cristiancmoises/zupt/releases/download/v5.2.4/zupt-5.2.4.tar.gz"
|
||||
version "5.2.4"
|
||||
sha256 "425a950960c36086bffe6e2504f7ab3d8a8c5ef1cc76b6f04c62182e108fb32b"
|
||||
url "https://github.com/cristiancmoises/zupt/releases/download/v5.2.5/zupt-5.2.5.tar.gz"
|
||||
version "5.2.5"
|
||||
sha256 "REPLACE_AFTER_FINAL_ARCHIVE_SHA256"
|
||||
license all_of: ["AGPL-3.0-or-later", "GPL-3.0-or-later", "BSD-2-Clause", "BSD-3-Clause", "CC0-1.0"]
|
||||
|
||||
depends_on "python@3.12" => :test # only for test-suite tamper harness
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
# nix flake check # lint the flake
|
||||
#
|
||||
# To consume from another flake:
|
||||
# inputs.zupt.url = "github:cristiancmoises/zupt/v5.2.4";
|
||||
# inputs.zupt.url = "github:cristiancmoises/zupt/v5.2.5";
|
||||
# ...packages.x86_64-linux.default = inputs.zupt.packages.x86_64-linux.zupt;
|
||||
#
|
||||
# `make dist` has its own reproducibility gate. This development flake has no
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
zupt = pkgs.stdenv.mkDerivation {
|
||||
pname = "zupt";
|
||||
version = "5.2.4";
|
||||
version = "5.2.5";
|
||||
|
||||
# When publishing, replace this with `fetchurl` against the
|
||||
# release tarball. For local development the flake assumes it
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# ZUPT 5.2.4 for openSUSE Build Service
|
||||
# ZUPT 5.2.5 for openSUSE Build Service
|
||||
|
||||
This directory is the upstream, source-only OBS recipe for ZUPT. It is a
|
||||
handoff for the downstream maintainer; its presence does not mean that the
|
||||
|
|
@ -10,13 +10,14 @@ changes in this handoff. Alessandro de Oliveira Faria (Cabelo) is credited only
|
|||
as the openSUSE collaborator and downstream OBS package maintainer: he reviews
|
||||
the handoff, commits it through the portal/project he maintains, and may make
|
||||
the openSUSE-side adjustments he considers necessary. This role does not
|
||||
attribute upstream code or the 5.2.2/5.2.3/5.2.4 upstream changes to Cabelo.
|
||||
attribute upstream code or the 5.2.2/5.2.3/5.2.4/5.2.5 upstream changes to
|
||||
Cabelo.
|
||||
|
||||
## Files and source policy
|
||||
|
||||
| File | Purpose |
|
||||
|---|---|
|
||||
| `_service` | Fetch the immutable `v5.2.4` tag and create `Source0` at build time. |
|
||||
| `_service` | Fetch the immutable `v5.2.5` tag and create `Source0` at build time. |
|
||||
| `zupt.spec` | Build and test the CLI with optional external system integrations disabled. |
|
||||
| `zupt.changes` | openSUSE-format package history. |
|
||||
| `source-audit.sh` | Handoff wrapper for the repository scanner; run it from the complete handoff tree. |
|
||||
|
|
@ -29,11 +30,11 @@ https://github.com/cristiancmoises/zupt.git
|
|||
```
|
||||
|
||||
`obs_scm` stores an `.obscpio` plus `.obsinfo`. The `tar` and `recompress`
|
||||
services reconstruct `zupt-5.2.4.tar.gz` inside the build environment, which
|
||||
services reconstruct `zupt-5.2.5.tar.gz` inside the build environment, which
|
||||
matches `Source0` in the spec.
|
||||
|
||||
This source policy does not prohibit separately built release-page packages.
|
||||
The upstream 5.2.4 gates may publish the CLI source tarball, DEB, binary RPM,
|
||||
The upstream 5.2.5 gates may publish the CLI source tarball, DEB, binary RPM,
|
||||
SRPM, notice-bearing Linux tar.xz, Windows ZIP, and macOS DMG, together with a
|
||||
GUI DEB, noarch RPM, GUI SRPM, and source-only portable GUI ZIP after each
|
||||
format-specific test succeeds. None of those files is an OBS `Source0` input
|
||||
|
|
@ -138,7 +139,7 @@ reconstructed by the build-time services. Neither `%build` nor `%check` may
|
|||
access the network.
|
||||
|
||||
For a source RPM check outside OBS, place the service-produced
|
||||
`zupt-5.2.4.tar.gz` next to the spec and use a disposable RPM build tree:
|
||||
`zupt-5.2.5.tar.gz` next to the spec and use a disposable RPM build tree:
|
||||
|
||||
```sh
|
||||
rpm_top=$(mktemp -d)
|
||||
|
|
@ -166,12 +167,36 @@ unavailable rather than passing it. Earlier off-screen GUI smoke evidence is
|
|||
supporting evidence, not an exact-commit package result.
|
||||
|
||||
Post-tag CI integration failures prevented 5.2.2 promotion. These historical
|
||||
local results do not establish 5.2.4, native Windows or macOS success, hosted
|
||||
local results do not establish 5.2.5, native Windows or macOS success, hosted
|
||||
GitHub CI/release promotion, authenticated OBS acceptance, or resolution of the
|
||||
automatic openSUSE `debugsource` rpmlint `no-binary` finding. The immutable
|
||||
5.2.3 candidate was not promoted because its source-policy test assumed LF for
|
||||
a Windows `.bat` file checked out as CRLF. The exact 5.2.4 candidate must repeat
|
||||
every applicable gate; those gates remain pending until recorded otherwise.
|
||||
a Windows `.bat` file checked out as CRLF.
|
||||
|
||||
## Prior 5.2.4 exact-tag source-service evidence
|
||||
|
||||
The immutable v5.2.4 candidate was not promoted. Exact-tag GitHub Actions run
|
||||
`33431386002` recorded 12 successful jobs and one failed openSUSE job. That job's
|
||||
standalone `Serviceinfo` harness passed the service directory to the executor
|
||||
but did not make it the process working directory; dependent native Windows and
|
||||
macOS jobs were skipped.
|
||||
|
||||
A disposable local openSUSE Tumbleweed reproduction independently resolved
|
||||
`refs/tags/v5.2.4` to the tagged commit. With `osc` 1.27.3,
|
||||
`obs-service-obs_scm` 0.12.4, `obs-service-tar` 0.12.4, and
|
||||
`obs-service-recompress` 0.5.2 installed, the same executor completed
|
||||
`obs_scm`, `tar`, and `recompress` after `os.chdir(service_dir)`. It produced
|
||||
exactly one `zupt-5.2.4.tar.gz`; its SHA-256 was
|
||||
`aa68a58fc2e88ee92296542de1f189e2b8a803154d832fb04d5296b25acaef8f`, and the
|
||||
source scanner reported `PASS source-only: 204 files, 1 archives`.
|
||||
|
||||
This result establishes that the explicit tag revision works and isolates a
|
||||
release/test harness defect. It does not change the product, archive format,
|
||||
cryptography, codec, or SDK ABI; it does not make skipped native jobs pass or
|
||||
establish authenticated OBS/Factory acceptance. No v5.2.4 evidence transfers
|
||||
automatically to v5.2.5. The exact v5.2.5 candidate must repeat every applicable
|
||||
gate, and the automatic openSUSE `debugsource` rpmlint `no-binary` finding
|
||||
remains unresolved and unsuppressed.
|
||||
|
||||
## Prior openSUSE packaging validation
|
||||
|
||||
|
|
@ -210,11 +235,11 @@ gate.
|
|||
## Handoff procedure for Alessandro/Cabelo
|
||||
|
||||
1. Upstream completes every applicable pre-tag source and local audit gate,
|
||||
then creates and verifies the annotated `v5.2.4` tag. Exact-tag hosted,
|
||||
then creates and verifies the annotated `v5.2.5` tag. Exact-tag hosted,
|
||||
native-platform, package, and promotion gates must pass before release or
|
||||
downstream handoff; the tag itself is never moved to repair a failure.
|
||||
2. With Git, `file`, bsdtar, tar, zip, unzip and SHA-256 tools installed, run
|
||||
`scripts/export-opensuse-package.sh v5.2.4`. Verify the reported ZIP and
|
||||
`scripts/export-opensuse-package.sh v5.2.5`. Verify the reported ZIP and
|
||||
SHA-256 outside the Git index. The handoff includes both
|
||||
`packaging/opensuse/source-audit.sh` and its required
|
||||
`scripts/check-source-only.sh`; keep that relative layout while auditing.
|
||||
|
|
@ -226,7 +251,7 @@ gate.
|
|||
```
|
||||
|
||||
4. From the extracted handoff root, run
|
||||
`packaging/opensuse/source-audit.sh --archive /path/to/zupt-5.2.4.tar.gz`.
|
||||
`packaging/opensuse/source-audit.sh --archive /path/to/zupt-5.2.5.tar.gz`.
|
||||
Then copy `_service`, `zupt.spec`, `zupt.changes` and `README.md`
|
||||
into the flat OBS package checkout. The audit wrapper is not an OBS build
|
||||
source and must not be copied without its companion `scripts/` directory.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<service name="obs_scm" mode="manual">
|
||||
<param name="url">https://github.com/cristiancmoises/zupt.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">refs/tags/v5.2.4</param>
|
||||
<param name="revision">refs/tags/v5.2.5</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">^v(.*)$</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,13 @@
|
|||
-------------------------------------------------------------------
|
||||
Mon Aug 31 19:55:00 UTC 2026 - Cristian Cezar Moisés <sac@securityops.co>
|
||||
|
||||
- Update to 5.2.5:
|
||||
* Run the standalone OBS source-service chain from its isolated working
|
||||
directory so downstream services can find .obsinfo.
|
||||
* Add a packaging-policy regression for the executor working directory.
|
||||
* Preserve immutable, unpromoted 5.2.4 history and require fresh 5.2.5 gates.
|
||||
* Pin the OBS source service to the immutable v5.2.5 tag.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 31 18:55:00 UTC 2026 - Cristian Cezar Moisés <sac@securityops.co>
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
#
|
||||
|
||||
Name: zupt
|
||||
Version: 5.2.4
|
||||
Version: 5.2.5
|
||||
Release: 0
|
||||
Summary: Backup compression with authenticated and post-quantum encryption
|
||||
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ Requirements
|
|||
------------
|
||||
1. Python 3.9 or newer.
|
||||
2. PySide6 6.5 or newer, or a compatible PyQt6 package.
|
||||
3. ZUPT 5.2.4, installed as `zupt` on PATH or placed beside the launcher
|
||||
3. ZUPT 5.2.5, installed as `zupt` on PATH or placed beside the launcher
|
||||
(`zupt.exe` on Windows). A local command must have been built
|
||||
and tested independently; this bundle never downloads one.
|
||||
|
||||
|
|
@ -46,7 +46,7 @@ Troubleshooting
|
|||
---------------
|
||||
* "requires PySide6 or PyQt6": install one Qt binding through your operating
|
||||
system package manager or another trusted, preconfigured Python source.
|
||||
* "zupt not found": install ZUPT 5.2.4 or place its command beside
|
||||
* "zupt not found": install ZUPT 5.2.5 or place its command beside
|
||||
the launcher.
|
||||
* Set ZUPT_DEBUG=1 to print command-discovery diagnostics to stderr.
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
# installed smoke test.
|
||||
|
||||
Name: zupt
|
||||
Version: 5.2.4
|
||||
Version: 5.2.5
|
||||
Release: 1%{?dist}
|
||||
Summary: Backup compression with authenticated and post-quantum encryption
|
||||
|
||||
|
|
@ -101,6 +101,11 @@ comments. Plain archives use non-cryptographic checksums.
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Aug 31 2026 Cristian Cezar Moisés <sac@securityops.co> - 5.2.5-1
|
||||
- Run the standalone OBS source-service chain from its isolated working
|
||||
directory and add a packaging-policy regression for that contract.
|
||||
- Preserve immutable, unpromoted 5.2.4 history and require fresh 5.2.5 gates.
|
||||
|
||||
* Mon Aug 31 2026 Cristian Cezar Moisés <sac@securityops.co> - 5.2.4-1
|
||||
- Make the static Windows GUI package-version check robust to canonical CRLF
|
||||
checkouts, advance source-only package metadata, and prepare final hashes.
|
||||
|
|
|
|||
Loading…
Reference in a new issue