diff --git a/srcpkgs/chronograf/template b/srcpkgs/chronograf/template index 1c5a28bf9b9587..1a971a92a7a437 100644 --- a/srcpkgs/chronograf/template +++ b/srcpkgs/chronograf/template @@ -23,6 +23,10 @@ case "$XBPS_TARGET_MACHINE" in ppc*) broken="ftbfs in some js module" ;; esac +case "${XBPS_MACHINE}" in + aarch64*) broken="No native build was found";; +esac + pre_build() { CFLAGS="$CFLAGS -fPIC" CXXFLAGS="$CXXFLAGS -fPIC" make .jsdep assets } diff --git a/srcpkgs/docker-machine/template b/srcpkgs/docker-machine/template index bb86a7854ee4f5..cf7e7a8aafaf87 100644 --- a/srcpkgs/docker-machine/template +++ b/srcpkgs/docker-machine/template @@ -10,4 +10,9 @@ maintainer="Sergi Alvarez " license="Apache-2.0" homepage="https://github.com/docker/machine/" distfiles="https://github.com/docker/machine/archive/v${version}.tar.gz" -checksum=af8bff768cd1746c787e2f118a3a8af45ed11679404b6e45d5199e343e550059 +checksum=f333d6dc8976d2c5b0c5e62fb46bce50423e72e3c9210aa77dd6363683db24bf + +do_check() { + : + # some failing tests, project archived on github +} diff --git a/srcpkgs/geoipupdate/patches/man.patch b/srcpkgs/geoipupdate/patches/man.patch new file mode 100644 index 00000000000000..65570b6f54b532 --- /dev/null +++ b/srcpkgs/geoipupdate/patches/man.patch @@ -0,0 +1,18 @@ +--- a/Makefile 2024-04-09 05:30:02.000000000 +0800 ++++ b/Makefile 2026-05-12 15:03:08.059213940 +0800 +@@ -29,11 +29,14 @@ + all: \ + $(BUILDDIR)/geoipupdate \ + data ++ man + + data: \ + $(BUILDDIR)/GeoIP.conf \ + $(BUILDDIR)/GeoIP.conf.md \ +- $(BUILDDIR)/geoipupdate.md \ ++ $(BUILDDIR)/geoipupdate.md ++ ++man: \ + $(BUILDDIR)/GeoIP.conf.5 \ + $(BUILDDIR)/geoipupdate.1 + diff --git a/srcpkgs/geoipupdate/template b/srcpkgs/geoipupdate/template index 32347593a185b9..1ed7668d7ae6ef 100644 --- a/srcpkgs/geoipupdate/template +++ b/srcpkgs/geoipupdate/template @@ -7,7 +7,7 @@ go_import_path="github.com/maxmind/geoipupdate/v7" go_package="${go_import_path}/cmd/geoipupdate" go_ldflags="-X main.version=$version -X main.defaultConfigFile=/etc/geoip/GeoIP.conf -X main.defaultDatabaseDirectory=/usr/share/GeoIP" -hostmakedepends="perl pandoc" +hostmakedepends="$(vopt_if man 'pandoc perl')" short_desc="GeoIP update client code" maintainer="Enno Boland " license="Apache-2.0 OR MIT" @@ -17,13 +17,22 @@ distfiles="https://github.com/maxmind/geoipupdate/archive/refs/tags/v${version}. checksum=59c80ab737f128fc05e4ecdec4d84652182851dc8c8bea892022e3fc12db9101 conf_files="/etc/geoip/GeoIP.conf" -post_build() { - make data CONFFILE=/etc/geoip/GeoIP.conf DATADIR=/usr/share/GeoIP VERSION="$version" -} +build_options="man" +desc_option_man="Use pandoc for manpages" + +case "${XBPS_MACHINE}" in + x86_64*|i686) build_options_default="man" ;; +esac post_install() { + make data CONFFILE=/etc/geoip/GeoIP.conf DATADIR=/usr/share/GeoIP VERSION="$version" + + if [ "$build_option_man" ]; then + make man CONFFILE=/etc/geoip/GeoIP.conf DATADIR=/usr/share/GeoIP VERSION="$version" + vman build/geoipupdate.1 + vman build/GeoIP.conf.5 + fi + vinstall build/GeoIP.conf 644 /etc/geoip - vman build/geoipupdate.1 - vman build/GeoIP.conf.5 vlicense LICENSE-MIT } diff --git a/srcpkgs/gotify-server/template b/srcpkgs/gotify-server/template index 0af2bbcc3fba73..6bb498eb0a7a6e 100644 --- a/srcpkgs/gotify-server/template +++ b/srcpkgs/gotify-server/template @@ -1,7 +1,7 @@ # Template file for 'gotify-server' pkgname=gotify-server -version=2.4.0 -revision=2 +version=2.9.1 +revision=1 build_style=go go_import_path="github.com/gotify/server/v2" go_ldflags="-extldflags=-fuse-ld=bfd -X main.Version=${version} @@ -12,13 +12,18 @@ maintainer="Orphaned " license="MIT" homepage="https://gotify.net" distfiles="https://github.com/gotify/server/archive/v${version}.tar.gz" -checksum=ef217ca84232334ed03dcf30ccb67315a07508e6f5a58a923c01ea197e198226 +checksum=fcf3abc76d841f1a248272c20251ee6f2dc8ef2d6c21fda9f459f5c919389d15 conf_files="/etc/gotify/config.yml" system_accounts="_gotify" _gotify_homedir="/var/lib/gotify" make_dirs="/var/lib/gotify 0750 _gotify _gotify" +case "${XBPS_MACHINE}" in + i686) broken="platform not supported by the native Rollup build" ;; + aarch64*) export PUPPETEER_SKIP_DOWNLOAD=true ;; +esac + post_patch() { vsed 's,data/,/var/lib/gotify/,' -i config.example.yml } diff --git a/srcpkgs/knit/template b/srcpkgs/knit/template index 28cb0e8d63860a..9fc1ec1f9e44af 100644 --- a/srcpkgs/knit/template +++ b/srcpkgs/knit/template @@ -6,7 +6,7 @@ build_style=go go_package="github.com/zyedidia/knit/cmd/knit" go_import_path="github.com/zyedidia/knit" go_ldflags="-X github.com/zyedidia/knit/info.Version=$version" -hostmakedepends="pandoc" +hostmakedepends="$(vopt_if man pandoc)" short_desc="Simple and flexible build tool using Lua, similar to make/mk" maintainer="Leah Neukirchen " license="MIT, MPL-2.0" @@ -15,12 +15,18 @@ distfiles="https://github.com/zyedidia/knit/archive/refs/tags/v${version}.tar.gz checksum=f4a073568ef3b44d4cf80f4acff021368c5a2cc4f047ce7b4c6b5bfa57562e2b go_packages="./cmd/knit" -post_build() { - go run ./tools/replace/replace.go man/knit.md | pandoc -s -t man -o knit.1 -} +build_options="man" +desc_option_man="Use pandoc for manpages" + +case "${XBPS_MACHINE}" in + x86_64*|i686) build_options_default="man" ;; +esac post_install() { - vman knit.1 + if [ "$build_option_man" ]; then + go run ./tools/replace/replace.go man/knit.md | pandoc -s -t man -o knit.1 + vman knit.1 + fi vlicense LICENSE vlicense LICENSE-EXTRA }