aports/configs/postgresql/APKBUILD

28 lines
1.1 KiB
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-config-postgresql
pkgver=2021.01.07
pkgrel=0
pkgdesc="PostgreSQL configuration files"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
depends="postgresql postgresql-contrib"
options="!check" # PostgreSQL doesn't have configuration checks
source="
postgresql.conf
pg_hba.conf
pg_ident.conf
"
package() {
install -dm750 "$pkgdir"/var/lib/postgresql
install -Dm644 postgresql.conf "$pkgdir"/etc/postgresql/redxen/postgresql.conf
install -Dm644 pg_hba.conf "$pkgdir"/etc/postgresql/redxen/pg_hba.conf
install -Dm644 pg_ident.conf "$pkgdir"/etc/postgresql/redxen/pg_ident.conf
}
sha512sums="8bb7d9a9c442da7652a79f70f5ab253cab68cdc98652c8e3a9a90bacb953db8de9811a6fdec70b1eaa8552217240cb633ca3d7a3e5c8b9eed423532532dbbc67 postgresql.conf
fc4faccaf8d8a7e0a683e20b959a0ca1c6aa8b190ab1e5f1568deb9483329e82a43264ff676845eeafd4f6c8d812ce2648702ba3ea52de4eadff8dbafece274b pg_hba.conf
cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e pg_ident.conf"