Commit ccbc53af authored by Leonardo Arena's avatar Leonardo Arena

main/postgresql-bdr: upgrade to 9.4.14_p1

Use libpq from mainline
parent cfd51512
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=postgresql-bdr pkgname=postgresql-bdr
pkgver=9.4.10_p1 pkgver=9.4.14_p1
_pkgver=${pkgver/_p/_bdr} _pkgver=${pkgver/_p/_bdr}
pkgrel=6 pkgrel=0
pkgdesc="A sophisticated object-relational DBMS with bidirectional replication support (BDR)" pkgdesc="A sophisticated object-relational DBMS with bidirectional replication support (BDR)"
url="https://wiki.postgresql.org/wiki/BDR_Administration" url="https://wiki.postgresql.org/wiki/BDR_Administration"
arch="all" arch="all"
license="PostgreSQL" license="PostgreSQL"
depends="bash" depends="bash libpq"
install="$pkgname.pre-upgrade" install="$pkgname.pre-upgrade"
depends_dev="readline-dev libressl-dev zlib-dev libxml2-dev" depends_dev="readline-dev libressl-dev zlib-dev libxml2-dev"
makedepends="$depends_dev perl bison flex-dev" makedepends="$depends_dev perl bison flex-dev"
...@@ -77,6 +77,8 @@ package() { ...@@ -77,6 +77,8 @@ package() {
"$pkgdir"/etc/init.d/pgbdr-restore "$pkgdir"/etc/init.d/pgbdr-restore
install -D -m644 "$srcdir"/pgbdr-restore.confd \ install -D -m644 "$srcdir"/pgbdr-restore.confd \
"$pkgdir"/etc/conf.d/pgbdr-restore "$pkgdir"/etc/conf.d/pgbdr-restore
# conflicts with libpq mainline
rm "$pkgdir"/usr/lib/libpq.so*
} }
client() { client() {
...@@ -84,7 +86,7 @@ client() { ...@@ -84,7 +86,7 @@ client() {
provides="postgresql-client=$pkgname-$pkgver" provides="postgresql-client=$pkgname-$pkgver"
mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/bin mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/lib/libpq.so* "$subpkgdir"/usr/lib # mv "$pkgdir"/usr/lib/libpq.so* "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/bin/clusterdb \ mv "$pkgdir"/usr/bin/clusterdb \
"$pkgdir"/usr/bin/createdb \ "$pkgdir"/usr/bin/createdb \
"$pkgdir"/usr/bin/createuser \ "$pkgdir"/usr/bin/createuser \
...@@ -110,7 +112,7 @@ contrib() { ...@@ -110,7 +112,7 @@ contrib() {
make DESTDIR="$subpkgdir" FLEX="/usr/bin/flex" -C contrib install make DESTDIR="$subpkgdir" FLEX="/usr/bin/flex" -C contrib install
} }
sha512sums="85bba9c7bec128d597b95fa7bfaabe42b3fea691a86f08307c6f9b254863a30448465191516baffe4851f7ea9b03b28fa7e2544e357de674ba54f0d84716b05b postgresql-bdr-9.4.10_bdr1.tar.bz2 sha512sums="cd8fec782c201270270d4abfa59296083889bf22f63b4e18f758e8262ee52deeae247d813a3e8633861819d803cb369157854de446affdde65c1e12477bbc0b8 postgresql-bdr-9.4.14_bdr1.tar.bz2
6f7fdceb1a5aba3f00894ae88afdf25e5f9c7a0ffc00b11211011a6415ea73639d6a67f516cab66c6487484bab26ded3c93471d6d41ac0d3822926c22274f2ba initdb.patch 6f7fdceb1a5aba3f00894ae88afdf25e5f9c7a0ffc00b11211011a6415ea73639d6a67f516cab66c6487484bab26ded3c93471d6d41ac0d3822926c22274f2ba initdb.patch
1973863bfc208ce20ca2dd82557ebbd4fcddd1219d6a80f2e83550d0110d39f034cb829cca3ee9208f513a24b032267b94559c740ddddb10a4f24c630194eb5e postgresql-bdr-osxflags.patch 1973863bfc208ce20ca2dd82557ebbd4fcddd1219d6a80f2e83550d0110d39f034cb829cca3ee9208f513a24b032267b94559c740ddddb10a4f24c630194eb5e postgresql-bdr-osxflags.patch
85b863cfcae1db37ee914721fc9eb7e85ab90a77a65879bccb0bbf34eb044329425fae0411baff1d769a700ca63b4ab4040d145ca90e2d3728c3a74e61d9b4ff postgresql-bdr.initd 85b863cfcae1db37ee914721fc9eb7e85ab90a77a65879bccb0bbf34eb044329425fae0411baff1d769a700ca63b4ab4040d145ca90e2d3728c3a74e61d9b4ff postgresql-bdr.initd
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment