aboutsummaryrefslogtreecommitdiffstats
path: root/main/postgresql/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/postgresql/APKBUILD')
-rw-r--r--main/postgresql/APKBUILD20
1 files changed, 14 insertions, 6 deletions
diff --git a/main/postgresql/APKBUILD b/main/postgresql/APKBUILD
index 625998e89d..00841fb1aa 100644
--- a/main/postgresql/APKBUILD
+++ b/main/postgresql/APKBUILD
@@ -1,17 +1,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=postgresql
pkgver=8.4.2
-pkgrel=0
+pkgrel=1
pkgdesc="A sophisticated object-relational DBMS"
url="http://www.postgresql.org/"
license="BSD"
-depends="bbsuid"
+depends="bbsuid postgresql-client"
install="$pkgname.pre-upgrade"
makedepends="readline-dev openssl-dev zlib-dev"
subpackages="$pkgname-dev $pkgname-doc libpq $pkgname-client"
source="ftp://ftp.$pkgname.org/pub/source/v$pkgver/$pkgname-$pkgver.tar.bz2
$pkgname.initd
$pkgname.confd
+ pg-restore.initd
+ pg-restore.confd
"
build() {
@@ -30,9 +32,13 @@ package() {
make DESTDIR="$pkgdir" install || return 1
install -D -m755 "$srcdir"/postgresql.initd \
- "$pkgdir"/etc/init.d/postgresql
+ "$pkgdir"/etc/init.d/postgresql || return 1
install -D -m644 "$srcdir"/postgresql.confd \
- "$pkgdir"/etc/conf.d/postgresql || return 1
+ "$pkgdir"/etc/conf.d/postgresql || return 1
+ install -D -m755 "$srcdir"/pg-restore.initd \
+ "$pkgdir"/etc/init.d/pg-restore || return 1
+ install -D -m644 "$srcdir"/pg-restore.confd \
+ "$pkgdir"/etc/conf.d/pg-restore || return 1
}
libpq() {
@@ -51,5 +57,7 @@ client() {
md5sums="d738227e2f1f742d2f2d4ab56496c5c6 postgresql-8.4.2.tar.bz2
-e1ac78f216a8969a46e4486270b85a9b postgresql.initd
-6218755fde294b7d17b77d280a9c9106 postgresql.confd"
+740bc8414ee27b4c81dee1690c32679f postgresql.initd
+d6b58fc2411fdadcb9b762464c5bee7d postgresql.confd
+e64d0ab26b077ed80d883c0c40704ff4 pg-restore.initd
+8d1b69ac56a1a0d1cfd7da337bf6c5e2 pg-restore.confd"