Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / plantuml-server
Commits: 4a71c9ac by Robin Candau at 2025-02-13T22:00:23+01:00 upgpkg: 1.2024.6-2: Strip non-deterministic information from war file (e.g. timestamps) for reproducible builds - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,12 +1,13 @@ pkgbase = plantuml-server pkgdesc = PlantUML Online Server pkgver = 1.2024.6 - pkgrel = 1 + pkgrel = 2 url = https://plantuml.com/ arch = any license = GPL-3.0-only makedepends = maven makedepends = java-environment>=11 + makedepends = strip-nondeterminism depends = java-runtime>=11 depends = bash optdepends = plantuml-ascii-math: AsciiMath or JLaTeXMath notation ===================================== PKGBUILD ===================================== @@ -2,14 +2,14 @@ pkgname=plantuml-server pkgver=1.2024.6 -pkgrel=1 +pkgrel=2 pkgdesc="PlantUML Online Server" arch=(any) url="https://plantuml.com/" license=('GPL-3.0-only') backup=("etc/conf.d/plantuml-server") depends=("java-runtime>=11" "bash") -makedepends=("maven" "java-environment>=11") +makedepends=("maven" "java-environment>=11" "strip-nondeterminism") source=("${pkgname}-${pkgver}.tar.gz::https://github.com/plantuml/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz" "${pkgname}.run" "${pkgname}.conf" @@ -25,6 +25,10 @@ optdepends=('plantuml-ascii-math: AsciiMath or JLaTeXMath notation' build() { cd "${srcdir}/${pkgname}-${pkgver}" mvn package + + # Strip non-deterministic information from the war file (e.g. timestamps) + # This is required for reproducible builds + find . -name "plantuml.war" -exec strip-nondeterminism {} + } package() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/plantuml-server/-/commit/4a71c9ac182da40f4d3bcf2b6ea4f4ea45a23e18 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/plantuml-server/-/commit/4a71c9ac182da40f4d3bcf2b6ea4f4ea45a23e18 You're receiving this email because of your account on gitlab.archlinux.org.