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"
|
2020-11-04 16:51:36 +00:00
|
|
|
depends="haproxy letsencrypt-redxen-fullchain"
|
2020-11-01 14:28:32 +00:00
|
|
|
source="
|
|
|
|
main.cfg
|
|
|
|
"
|
2020-11-02 15:03:45 +00:00
|
|
|
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
|
|
|
|
2020-11-04 16:51:36 +00:00
|
|
|
sha512sums="3d47bdc1ed327578c367aaf44e9b0a1323b0da5764cdcf650935532672fe9840538fcd0763db16c96a97af0ac1c5c7905332b438c5ef3c9127034330f9df22b7 main.cfg"
|