2020-10-31 15:34:48 +00:00
|
|
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
2020-12-18 20:50:42 +00:00
|
|
|
pkgname=redxen-config-haproxy
|
2021-01-05 02:02:36 +00:00
|
|
|
pkgver=2021.01.05
|
2020-12-18 20:50:42 +00:00
|
|
|
pkgrel=0
|
2020-10-31 15:34:48 +00:00
|
|
|
pkgdesc="HAProxy frontend configuration"
|
|
|
|
url="https://git.redxen.eu/RedXen"
|
|
|
|
arch="noarch"
|
|
|
|
license="none"
|
2021-01-05 02:02:36 +00:00
|
|
|
depends="haproxy redxen-secret-letsencrypt-full 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
|
|
|
|
2021-01-05 02:02:36 +00:00
|
|
|
sha512sums="4c95f03028547baf62008e4e91723b43d99931c804a906d410b6f213b3310ffd5d14ca9aeae537438e41c6def5b3586fe017c54db667ebe07387f4655a05edeb main.cfg"
|