update LavinMQ bundled sources
Build Alpine Packages / preflight (pull_request) Failing after 4s
Build Alpine Packages / build (gitea) (pull_request) Skipped
Build Alpine Packages / build (greptimedb) (pull_request) Skipped
Build Alpine Packages / build (lavinmq) (pull_request) Skipped
Build Alpine Packages / build (nifi) (pull_request) Skipped
Build Alpine Packages / build (rclone-openrc) (pull_request) Skipped
Build Alpine Packages / build (seaweedfs) (pull_request) Skipped
Build Alpine Packages / verify-and-publish (pull_request) Skipped

This commit is contained in:
Joachim Schlöffel
2026-10-08 09:55:25 +02:00
parent 29c79708f1
commit a2761c0b1f
8 changed files with 66 additions and 18 deletions
+4 -13
View File
@@ -55,23 +55,14 @@ Wrapper settings in `/etc/conf.d/lavinmq`:
1. In `APKBUILD`, set `pkgver` to the new upstream version and reset `pkgrel`
to `0`.
2. Add versioned vendored archives for the locked Shards dependencies and
frontend assets. If the new upstream `shard.lock` and the asset rules in its
`Makefile` are unchanged, the existing archives can be reused under the new
names:
2. Generate the versioned, locked Shards and frontend-asset archives:
```sh
cd packaging/alpine/local/lavinmq
cp lavinmq-2.10.1-shards.tar.gz lavinmq-<version>-shards.tar.gz
cp lavinmq-2.10.1-assets.tar.gz lavinmq-<version>-assets.tar.gz
git add -f lavinmq-<version>-shards.tar.gz lavinmq-<version>-assets.tar.gz
ALPINE_PACKAGE=lavinmq mise run apk:update-generated
```
When `shard.lock` changes, extract the upstream source, run
`shards install --production` in it, and create the shards archive with
`tar -czf lavinmq-<version>-shards.tar.gz lib`. If the asset rules change,
download the files specified by the new `Makefile` to a staging directory
and create `lavinmq-<version>-assets.tar.gz` from that directory's contents.
The hook uses the upstream `shard.lock` and `Makefile`, so it also refreshes
the bundled inputs when either dependency list changes.
3. From the repository root, refresh checksums and build the package:
```sh