25 lines
675 B
Plaintext
25 lines
675 B
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
pkgname=redxen-config-haproxy
|
|
pkgver=2021.01.16
|
|
pkgrel=0
|
|
pkgdesc="HAProxy frontend configuration"
|
|
url="https://git.redxen.eu/RedXen"
|
|
arch="noarch"
|
|
license="none"
|
|
depends="haproxy redxen-secret-letsencrypt-full redxen-data-haproxy-errorpages"
|
|
source="
|
|
main.cfg
|
|
"
|
|
options="!check" # Certificate is not readable by building user
|
|
|
|
package() {
|
|
install -Dm644 main.cfg "$pkgdir"/etc/haproxy/main.cfg
|
|
}
|
|
|
|
check() {
|
|
haproxy -c -f main.cfg
|
|
}
|
|
|
|
sha512sums="66f99eae0cb1858c320f7674f7fd5f941229982604b001ea1971aebf399789377fcc8e317db480345c1cfb319ddc12f079e9cb68966c897a12955eb5413fc03c main.cfg"
|