aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2021-11-09 02:00:06 +0100
committerJakub Jirutka <jakub@jirutka.cz>2021-11-12 01:49:33 +0100
commit0a7631c2584fc6f209b09d8a207fc422151c9cc2 (patch)
tree0abab6c74fbd3121e341fcb3c60b1329fe558e32
parent3d9df1620c1e9f0c374f816bb55737951084566f (diff)
downloadaports-0a7631c2584fc6f209b09d8a207fc422151c9cc2.tar.gz
aports-0a7631c2584fc6f209b09d8a207fc422151c9cc2.tar.bz2
aports-0a7631c2584fc6f209b09d8a207fc422151c9cc2.tar.xz
community/repmgr: rebuild against postgresql14
-rw-r--r--community/repmgr/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/community/repmgr/APKBUILD b/community/repmgr/APKBUILD
index d3598e9512..e15c5ab4c5 100644
--- a/community/repmgr/APKBUILD
+++ b/community/repmgr/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=repmgr
pkgver=5.3.0
-pkgrel=0
+pkgrel=1
pkgdesc="Replication Manager for PostgreSQL"
url="http://www.repmgr.org/"
arch="all"
@@ -29,7 +29,9 @@ check() {
}
package() {
- make USE_PGXS=1 DESTDIR="$pkgdir" install
+ depends="$depends postgresql$(pg_config --major-version)"
+
+ make USE_PGXS=1 DESTDIR="$pkgdir" bindir=/usr/bin install
install -D -m 640 -o postgres -g postgres \
repmgr.conf.sample "$pkgdir"/etc/repmgr.conf