aports/software-configs/haproxy-redxen-config/APKBUILD

25 lines
626 B
Plaintext
Raw Normal View History

2020-10-31 15:34:48 +00:00
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=haproxy-redxen-config
pkgver=1
pkgrel=0
pkgdesc="HAProxy frontend configuration"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
depends="haproxy letsencrypt-redxen-fullchain"
2020-11-01 14:28:32 +00:00
source="
main.cfg
"
options="!check" # Certificate is distributed separately
2020-10-31 15:34:48 +00:00
package() {
2020-11-01 14:28:32 +00:00
install -Dm644 main.cfg "$pkgdir"/etc/haproxy/main.cfg
2020-10-31 15:34:48 +00:00
}
2020-11-01 14:28:32 +00:00
check() {
haproxy -c -f main.cfg
}
2020-10-31 15:34:48 +00:00
sha512sums="3d47bdc1ed327578c367aaf44e9b0a1323b0da5764cdcf650935532672fe9840538fcd0763db16c96a97af0ac1c5c7905332b438c5ef3c9127034330f9df22b7 main.cfg"