Commit fa0c7a9c authored by Natanael Copa's avatar Natanael Copa

main/postgresql: upgrade to 9.0.1

parent 3548df55
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=postgresql
pkgver=8.4.4
pkgver=9.0.1
pkgrel=0
pkgdesc="A sophisticated object-relational DBMS"
url="http://www.postgresql.org/"
license="BSD"
depends="bbsuid postgresql-client"
install="$pkgname.pre-upgrade"
makedepends="readline-dev openssl-dev zlib-dev"
makedepends="readline-dev openssl-dev zlib-dev libxml2-dev"
subpackages="$pkgname-dev $pkgname-doc libpq $pkgname-client"
source="ftp://ftp.$pkgname.org/pub/source/v$pkgver/$pkgname-$pkgver.tar.bz2
$pkgname.initd
......@@ -24,12 +24,12 @@ build() {
--with-openssl \
|| return 1
make || return 1
make world || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver || return 1
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install install-docs || return 1
install -D -m755 "$srcdir"/postgresql.initd \
"$pkgdir"/etc/init.d/postgresql || return 1
......@@ -56,8 +56,8 @@ client() {
}
md5sums="4bf2448ad965bca3940df648c02194df postgresql-8.4.4.tar.bz2
md5sums="57ba57e43cfe29e16dacbf5789be98d1 postgresql-9.0.1.tar.bz2
66c197b8186a6df0752fe2aed40c90c4 postgresql.initd
12199d445bfa42aafc2a958012737107 postgresql.confd
c56a4db0c3757f5dc7f9d59132b428ba postgresql.confd
7f8de63848c51c8a30c39bec6b1b1606 pg-restore.initd
bf45384752b320b369f1425939763178 pg-restore.confd"
# PostgreSQL's Database Directory
PGDATA="/var/lib/postgresql/8.4/data"
PGDATA="/var/lib/postgresql/9.0/data"
# PostgreSQL User
PGUSER="postgres"
......
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