aports/configs/haproxy/APKBUILD

25 lines
680 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=redxen-config-haproxy
2020-12-22 22:14:01 +00:00
pkgver=2020.12.22
pkgrel=0
2020-10-31 15:34:48 +00:00
pkgdesc="HAProxy frontend configuration"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
depends="haproxy redxen-secret-letsencrypt-fullchain redxen-data-haproxy-errorpages"
2020-11-01 14:28:32 +00:00
source="
main.cfg
"
2020-11-20 16:31:49 +00:00
options="!check" # Certificate is not readable by building user
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
2020-12-22 22:14:01 +00:00
sha512sums="567d0e7bc1479024102d4ad3a9075ff75d137ae42889e032b0e6b463baae20b458cc42406b3cd1389286a9ff5653c58f661f9934b25bd05791d33e7ca132dab9 main.cfg"