Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions srcpkgs/chronograf/template
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
7 changes: 6 additions & 1 deletion srcpkgs/docker-machine/template
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ maintainer="Sergi Alvarez <pancake@nopcode.org>"
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
}
18 changes: 18 additions & 0 deletions srcpkgs/geoipupdate/patches/man.patch
Original file line number Diff line number Diff line change
@@ -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

21 changes: 15 additions & 6 deletions srcpkgs/geoipupdate/template
Original file line number Diff line number Diff line change
Expand Up @@ -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 <gottox@voidlinux.org>"
license="Apache-2.0 OR MIT"
Expand All @@ -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
}
11 changes: 8 additions & 3 deletions srcpkgs/gotify-server/template
Original file line number Diff line number Diff line change
@@ -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}
Expand All @@ -12,13 +12,18 @@ maintainer="Orphaned <orphan@voidlinux.org>"
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
}
Expand Down
16 changes: 11 additions & 5 deletions srcpkgs/knit/template
Original file line number Diff line number Diff line change
Expand Up @@ -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 <leah@vuxu.org>"
license="MIT, MPL-2.0"
Expand All @@ -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
}
Loading