summaryrefslogtreecommitdiff
path: root/databases/postgresql92-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/postgresql92-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.
Notes
Notes: svn path=/head/; revision=424765
Diffstat (limited to 'databases/postgresql92-server')
-rw-r--r--databases/postgresql92-server/Makefile12
-rw-r--r--databases/postgresql92-server/distinfo6
-rw-r--r--databases/postgresql92-server/files/pkg-message-server.in4
-rw-r--r--databases/postgresql92-server/files/postgresql.in6
-rw-r--r--databases/postgresql92-server/pkg-plist-server2
5 files changed, 14 insertions, 16 deletions
diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile
index 53d3bfae23d3..9341deb76ee8 100644
--- a/databases/postgresql92-server/Makefile
+++ b/databases/postgresql92-server/Makefile
@@ -2,14 +2,16 @@
# $FreeBSD$
PORTNAME?= postgresql
-DISTVERSION?= 9.2.18
-PORTREVISION?= 1
+DISTVERSION?= 9.2.19
+PORTREVISION?= 0
CATEGORIES?= databases
MASTER_SITES= PGSQL/source/v${DISTVERSION}
PKGNAMESUFFIX?= ${PORTVERSION:R:S/.//}${COMPONENT}
MAINTAINER?= pgsql@FreeBSD.org
-COMMENT?= The most advanced open-source database available anywhere
+COMMENT?= PostgreSQL is the most advanced open-source database available anywhere
+
+LICENSE= PostgreSQL
CONFLICTS?= ${PORTNAME}[^${PORTVERSION:R:R}]?-client* \
${PORTNAME}${COMPONENT}-[^${PORTVERSION:R:R}].* \
@@ -106,7 +108,6 @@ GSSAPI_DESC= Build with GSSAPI support
OPTIMIZED_CFLAGS_DESC= Builds with compiler optimizations (-O3)
DEBUG_DESC= Builds with debugging symbols
-
OPTIONS_DEFINE+= SSL
SSL_DESC= Build with OpenSSL support
@@ -244,9 +245,6 @@ do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily ;\
${INSTALL_SCRIPT} ${WRKDIR}/502.pgsql \
${STAGEDIR}${PREFIX}/etc/periodic/daily
-. if ${PORTVERSION:M9.[2345].*}
- ${MKDIR} ${STAGEDIR}${PREFIX}/${PG_USER}
-. endif
. endif # SERVER_ONLY
. if defined(CLIENT_ONLY)
@ cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-local
diff --git a/databases/postgresql92-server/distinfo b/databases/postgresql92-server/distinfo
index 99116b79b9e4..2d4a634bd899 100644
--- a/databases/postgresql92-server/distinfo
+++ b/databases/postgresql92-server/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1470919631
-SHA256 (postgresql/postgresql-9.2.18.tar.bz2) = d7aa37d586ae4d46d07a4fac417ff966e45a9dd99bac8b3cd149be8df9ea35f4
-SIZE (postgresql/postgresql-9.2.18.tar.bz2) = 16448429
+TIMESTAMP = 1477347738
+SHA256 (postgresql/postgresql-9.2.19.tar.bz2) = 1d29d73a4f590fcc348280f13ac2ff6a0f72c94908c54e3c20b7ab1560e8dbad
+SIZE (postgresql/postgresql-9.2.19.tar.bz2) = 16466698
SHA256 (postgresql/pg-9218-icu-2016-08-10.diff.gz) = 2f9c831b3dff866f0b2f6f2a9ef771a4045486bc252a851aadc73c50d376319d
SIZE (postgresql/pg-9218-icu-2016-08-10.diff.gz) = 5587
diff --git a/databases/postgresql92-server/files/pkg-message-server.in b/databases/postgresql92-server/files/pkg-message-server.in
index 54f397448198..3650316fba7b 100644
--- a/databases/postgresql92-server/files/pkg-message-server.in
+++ b/databases/postgresql92-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/postgresql92-server/files/postgresql.in b/databases/postgresql92-server/files/postgresql.in
index 643171a44b91..016b5567ca33 100644
--- a/databases/postgresql92-server/files/postgresql.in
+++ b/databases/postgresql92-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/postgresql92-server/pkg-plist-server b/databases/postgresql92-server/pkg-plist-server
index 7cd2c727fd0c..d0199b45d231 100644
--- a/databases/postgresql92-server/pkg-plist-server
+++ b/databases/postgresql92-server/pkg-plist-server
@@ -464,6 +464,7 @@ lib/postgresql/utf8_and_win.so
%%TZDATA%%%%DATADIR%%/timezone/Asia/Vientiane
%%TZDATA%%%%DATADIR%%/timezone/Asia/Vladivostok
%%TZDATA%%%%DATADIR%%/timezone/Asia/Yakutsk
+%%TZDATA%%%%DATADIR%%/timezone/Asia/Yangon
%%TZDATA%%%%DATADIR%%/timezone/Asia/Yekaterinburg
%%TZDATA%%%%DATADIR%%/timezone/Asia/Yerevan
%%TZDATA%%%%DATADIR%%/timezone/Atlantic/Azores
@@ -761,4 +762,3 @@ lib/postgresql/utf8_and_win.so
%%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%%