Wire Forge-native release infrastructure
Some checks failed
Cache: Publish Nix / Publish Nix Cache (push) Waiting to run
Build Rust / Cargo Test (push) Successful in 4m14s
Build Site / Next.js Build (push) Failing after 6s
Infra: OpenTofu / OpenTofu (grafana) (push) Successful in 5s
Lint Governance / BEP Metadata (push) Successful in 0s
Build: Android / Android Rust Core Stub (push) Failing after 23s

This commit is contained in:
Conrad Kramer 2026-06-07 05:51:12 -07:00
parent 97c569fb35
commit 002bd382e9
199 changed files with 14268 additions and 185 deletions

View file

@ -0,0 +1,21 @@
pkgbase = burrow-git
pkgdesc = Burrow VPN daemon and CLI
pkgver = 0.1.r0.g0000000
pkgrel = 1
url = https://git.burrow.net/hackclub/burrow
install = burrow.install
arch = x86_64
arch = aarch64
license = GPL-3.0-or-later
makedepends = cargo
makedepends = git
makedepends = protobuf
depends = openssl
depends = sqlite
depends = systemd
provides = burrow
conflicts = burrow
source = git+https://git.burrow.net/hackclub/burrow.git
sha256sums = SKIP
pkgname = burrow-git

View file

@ -0,0 +1,35 @@
# Maintainer: Burrow Release Automation <packages@burrow.net>
pkgname=burrow-git
pkgver=0.1.r0.g0000000
pkgrel=1
pkgdesc="Burrow VPN daemon and CLI"
arch=("x86_64" "aarch64")
url="https://git.burrow.net/hackclub/burrow"
license=("GPL-3.0-or-later")
depends=("openssl" "sqlite" "systemd")
makedepends=("cargo" "git" "protobuf")
provides=("burrow")
conflicts=("burrow")
source=("git+https://git.burrow.net/hackclub/burrow.git")
sha256sums=("SKIP")
install="burrow.install"
pkgver() {
cd burrow
printf "0.1.r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd burrow
cargo build --locked --release -p burrow --bin burrow
}
package() {
cd burrow
install -Dm755 target/release/burrow "${pkgdir}/usr/bin/burrow"
install -Dm644 systemd/burrow.service "${pkgdir}/usr/lib/systemd/system/burrow.service"
install -Dm644 systemd/burrow.socket "${pkgdir}/usr/lib/systemd/system/burrow.socket"
install -Dm644 README.md "${pkgdir}/usr/share/doc/burrow/README.md"
install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/burrow/LICENSE.md"
}

View file

@ -0,0 +1,16 @@
post_install() {
systemctl daemon-reload
echo "Enable Burrow with: systemctl enable --now burrow.socket"
}
post_upgrade() {
systemctl daemon-reload
}
pre_remove() {
systemctl disable --now burrow.socket >/dev/null 2>&1 || true
}
post_remove() {
systemctl daemon-reload
}