aports/software-configs/postgresql-redxen-config/APKBUILD

28 lines
1.1 KiB
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=postgresql-redxen-config
pkgver=1
pkgrel=0
pkgdesc="PostgreSQL configuration files"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
depends="postgresql"
options="!check" # PostgreSQL doesn't have configuration checks
source="
postgresql.conf
pg_hba.conf
pg_ident.conf
"
package() {
install -o postgres -g postgres -dm750 "$pkgdir"/databases/postgres
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="4888ad8feb31f9957935753cff19c1ba801b297cb1f214ddd02ba5a4a116fafe544f7fcd5553c754c333adfabcf121f8134dd129e6d9d8d378247fae0d23ca9c postgresql.conf
b58aee924351baabfae1aa325d93d31cf1648236482e666c00212936b449548bc865ea2956ce550499ade79ada782a9ecf7403e7ada48bf97cb559bc1af43510 pg_hba.conf
cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e pg_ident.conf"