summaryrefslogtreecommitdiff
path: root/extra/postgresql
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /extra/postgresql
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'extra/postgresql')
-rw-r--r--extra/postgresql/PKGBUILD13
-rw-r--r--extra/postgresql/postgresql.install4
2 files changed, 11 insertions, 6 deletions
diff --git a/extra/postgresql/PKGBUILD b/extra/postgresql/PKGBUILD
index 76e87a8d7..bd162e313 100644
--- a/extra/postgresql/PKGBUILD
+++ b/extra/postgresql/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 196301 2013-10-11 09:52:27Z dan $
+# $Id: PKGBUILD 201244 2013-12-06 16:00:26Z dan $
# Maintainer: Dan McGee <dan@archlinux.org>
pkgbase=postgresql
pkgname=('postgresql-libs' 'postgresql-docs' 'postgresql')
-pkgver=9.3.1
+pkgver=9.3.2
_majorver=${pkgver%.*}
-pkgrel=3
+pkgrel=4
arch=('i686' 'x86_64')
url="http://www.postgresql.org/"
license=('custom:PostgreSQL')
@@ -14,14 +14,14 @@ source=(http://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar
postgresql-run-socket.patch
postgresql.pam postgresql.logrotate
postgresql.service postgresql.tmpfiles.conf postgresql-check-db-dir)
-md5sums=('c003d871f712d4d3895956b028a96e74'
+md5sums=('8c905155e3e9f9367b4299a9acb41d2a'
'75c579eed03ffb2312631f0b649175b4'
'96f82c38f3f540b53f3e5144900acf17'
'd28e443f9f65a5712c52018b84e27137'
'89b48774b0dae7c37fbb0e907c3c1db8'
'1c5a1f99e8e93776c593c468e2612985'
'ea7f9f914900e60835d20cb95010e63c')
-sha256sums=('8ea4a7a92a6f5a79359b02e683ace335c5eb45dffe7f8a681a9ce82470a8a0b8'
+sha256sums=('700da51a71857e092f6af1c85fcd86b46d7d5cd2f2ba343cafb1f206c20232d7'
'8538619cb8bea51078b605ad64fe22abd6050373c7ae3ad6595178da52f6a7d9'
'57dfd072fd7ef0018c6b0a798367aac1abb5979060ff3f9df22d1048bb71c0d5'
'6abb842764bbed74ea4a269d24f1e73d1c0b1d8ecd6e2e6fb5fb10590298605e'
@@ -95,7 +95,7 @@ package_postgresql-libs() {
package_postgresql-docs() {
pkgdesc="HTML documentation for PostgreSQL"
- options=(docs)
+ options=('docs')
cd "${srcdir}/postgresql-${pkgver}"
@@ -118,6 +118,7 @@ package_postgresql() {
'perl: for PL/Perl support'
'tcl: for PL/Tcl support'
'postgresql-old-upgrade: upgrade from previous major version using pg_upgrade')
+ options=('staticlibs')
install=postgresql.install
cd "${srcdir}/postgresql-${pkgver}"
diff --git a/extra/postgresql/postgresql.install b/extra/postgresql/postgresql.install
index 6dbbb6da8..699efe692 100644
--- a/extra/postgresql/postgresql.install
+++ b/extra/postgresql/postgresql.install
@@ -10,6 +10,10 @@ post_install() {
passwd -l postgres >/dev/null
fi
systemd-tmpfiles --create postgresql.conf
+ if [ ! -d '/var/lib/postgres/data' ]; then
+ mkdir -p '/var/lib/postgres/data'
+ chown postgres:postgres '/var/lib/postgres/data'
+ fi
}
post_upgrade() {