summaryrefslogtreecommitdiff
path: root/databases/postgresql94-server
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2016-10-27 14:04:55 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2016-10-27 14:04:55 +0000
commit57c3f72fc137af2e08f70911d5ed32924f3b515c (patch)
tree5b347bd82f15f9cd341b9b99255952e73ecfa7e6 /databases/postgresql94-server
parentDocument latest flash plugin vulnerability. (diff)
Update PostgreSQL to latest versions.
The PostgreSQL Global Development Group has released an update to all supported versions of our database system, including 9.6.1, 9.5.5, 9.4.10, 9.3.15, 9.2.19, and 9.1.24. This release fixes two issues that can cause data corruption, which are described in more detail below. It also patches a number of other bugs reported over the last three months. The project urges users to apply this update at the next possible downtime.
Diffstat (limited to 'databases/postgresql94-server')
-rw-r--r--databases/postgresql94-server/Makefile4
-rw-r--r--databases/postgresql94-server/distinfo10
-rw-r--r--databases/postgresql94-server/files/pkg-message-server.in4
-rw-r--r--databases/postgresql94-server/files/postgresql.in6
-rw-r--r--databases/postgresql94-server/pkg-plist-server2
5 files changed, 13 insertions, 13 deletions
diff --git a/databases/postgresql94-server/Makefile b/databases/postgresql94-server/Makefile
index c52babe2a45e..7031794a7bc0 100644
--- a/databases/postgresql94-server/Makefile
+++ b/databases/postgresql94-server/Makefile
@@ -1,7 +1,7 @@
# Created by: Marc G. Fournier <scrappy@FreeBSD.org>
# $FreeBSD$
-DISTVERSION?= 9.4.9
+DISTVERSION?= 9.4.10
MAINTAINER?= pgsql@FreeBSD.org
@@ -12,6 +12,6 @@ INSTALL_DIRS?= src/common src/timezone src/backend \
src/bin/pg_controldata src/bin/pg_resetxlog src/pl \
src/bin/pg_basebackup
-ICU_PATCHFILE= pg-949-icu-2016-08-10.diff.gz
+ICU_PATCHFILE= pg-949-icu-2016-10-02.diff.gz
.include "${.CURDIR}/../postgresql92-server/Makefile"
diff --git a/databases/postgresql94-server/distinfo b/databases/postgresql94-server/distinfo
index 9a5a4ac9c27a..ef44eb94aef3 100644
--- a/databases/postgresql94-server/distinfo
+++ b/databases/postgresql94-server/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1470919711
-SHA256 (postgresql/postgresql-9.4.9.tar.bz2) = c120a62e90214c20d9160da3ca3fbaec97d5f1656f1dd033f60e7297b7a1e1c9
-SIZE (postgresql/postgresql-9.4.9.tar.bz2) = 17763281
-SHA256 (postgresql/pg-949-icu-2016-08-10.diff.gz) = 8e7f0470b5c04653aee850c58e690d1ca5f7cb3a2acb5d64c793a8412ee9ebfe
-SIZE (postgresql/pg-949-icu-2016-08-10.diff.gz) = 5263
+TIMESTAMP = 1477347764
+SHA256 (postgresql/postgresql-9.4.10.tar.bz2) = 7061678bed1981c681ce54c76b98b6ec17743f090a9775104a45e7e1a8826ecf
+SIZE (postgresql/postgresql-9.4.10.tar.bz2) = 17802812
+SHA256 (postgresql/pg-949-icu-2016-10-02.diff.gz) = 34612e685a79874db04bc6b66c700bfc6412042840c532eef0da7832d1f70d43
+SIZE (postgresql/pg-949-icu-2016-10-02.diff.gz) = 5289
diff --git a/databases/postgresql94-server/files/pkg-message-server.in b/databases/postgresql94-server/files/pkg-message-server.in
index 82a4cffc01cd..d161fcb82f66 100644
--- a/databases/postgresql94-server/files/pkg-message-server.in
+++ b/databases/postgresql94-server/files/pkg-message-server.in
@@ -8,8 +8,8 @@ appropriately.
The port is set up to use autovacuum for new databases, but you might
also want to vacuum and perhaps backup your database regularly. There
is a periodic script, %%PREFIX%%/etc/periodic/daily/502.pgsql, that
-you may find useful. You can use it to backup and perfom vacuum on all
-databases nightly. Per default, it perfoms `vacuum analyze'. See the
+you may find useful. You can use it to backup and perform vacuum on all
+databases nightly. Per default, it performs `vacuum analyze'. See the
script for instructions. For autovacuum settings, please review
~pgsql/data/postgresql.conf.
diff --git a/databases/postgresql94-server/files/postgresql.in b/databases/postgresql94-server/files/postgresql.in
index 643171a44b91..016b5567ca33 100644
--- a/databases/postgresql94-server/files/postgresql.in
+++ b/databases/postgresql94-server/files/postgresql.in
@@ -58,8 +58,8 @@ if [ -n "$2" ]; then
echo "You must define a data directory (postgresql_${profile}_data)"
exit 1
fi
- eval postgresql_enable="\${postgresql_${profile}_enable:-${postgresql_enable}}
- eval postgresql_data="\${postgresql_${profile}_data:-${postgresql_data}}
+ eval postgresql_enable="\${postgresql_${profile}_enable:-${postgresql_enable}}"
+ eval postgresql_data="\${postgresql_${profile}_data:-${postgresql_data}}"
eval postgresql_flags="\${postgresql_${profile}_flags:-${postgresql_flags}}"
eval postgresql_initdb_flags="\${postgresql_${profile}_initdb_flags:-${postgresql_initdb_flags}}"
fi
@@ -108,7 +108,7 @@ postgresql_command()
postgresql_initdb()
{
- su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
+ su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data} -U ${postgresql_user}"
}
run_rc_command "$1"
diff --git a/databases/postgresql94-server/pkg-plist-server b/databases/postgresql94-server/pkg-plist-server
index cb698e7e2410..572e7c029ad8 100644
--- a/databases/postgresql94-server/pkg-plist-server
+++ b/databases/postgresql94-server/pkg-plist-server
@@ -453,6 +453,7 @@ lib/libpgcommon.a
%%TZDATA%%%%DATADIR%%/timezone/Asia/Ust-Nera
%%TZDATA%%%%DATADIR%%/timezone/Asia/Vientiane
%%TZDATA%%%%DATADIR%%/timezone/Asia/Vladivostok
+%%TZDATA%%%%DATADIR%%/timezone/Asia/Yangon
%%TZDATA%%%%DATADIR%%/timezone/Asia/Yakutsk
%%TZDATA%%%%DATADIR%%/timezone/Asia/Yekaterinburg
%%TZDATA%%%%DATADIR%%/timezone/Asia/Yerevan
@@ -751,4 +752,3 @@ lib/libpgcommon.a
%%DATADIR%%/tsearch_data/ispell_sample.dict
%%DATADIR%%/tsearch_data/synonym_sample.syn
%%DATADIR%%/tsearch_data/thesaurus_sample.ths
-@dir(%%PG_USER%%,%%PG_GROUP%%,) %%PG_USER%%