summaryrefslogtreecommitdiff
path: root/databases/postgresql92-server
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2017-08-10 14:21:20 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2017-08-10 14:21:20 +0000
commit27530e04c3dfba151467e9eaa76b246d3dccf145 (patch)
tree6d5621fc208f35b38e44e6d4e82e3f6bfc4a5319 /databases/postgresql92-server
parentAdd CVE:s fixed in latest PostgreSQL release (diff)
The PostgreSQL Global Development Group has released an update to all
supported versions of our database system, including 9.6.4, 9.5.8, 9.4.13, 9.3.18, and 9.2.22. This release fixes three security issues. It also patches over 50 other bugs reported over the last three months. Users who are affected by the below security issues should update as soon as possible. Users affected by CVE-2017-7547 (https://access.redhat.com/security/cve/CVE-2017-7547) will need to perform additional steps after upgrading to resolve the issue. Other users should plan to update at the next convenient downtime. URL: https://www.postgresql.org/about/news/1772/ Security: CVE-2017-7546, CVE-2017-7547, CVE-2017-7548
Notes
Notes: svn path=/head/; revision=447678
Diffstat (limited to 'databases/postgresql92-server')
-rw-r--r--databases/postgresql92-server/Makefile12
-rw-r--r--databases/postgresql92-server/distinfo6
2 files changed, 11 insertions, 7 deletions
diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile
index 5c9eaef84b52..6c4b74d03e70 100644
--- a/databases/postgresql92-server/Makefile
+++ b/databases/postgresql92-server/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME?= postgresql
-DISTVERSION?= 9.2.21
+DISTVERSION?= 9.2.22
PORTREVISION?= 1
CATEGORIES?= databases
MASTER_SITES= PGSQL/source/v${DISTVERSION}
@@ -61,7 +61,7 @@ INSTALL_TARGET?=install-strip
SERVER_ONLY= yes
COMPONENT= -server
USE_RC_SUBR= postgresql
-USES+= pgsql:${DISTVERSION:C/([0-9][0-9]*\.[0-9][0-9]*).*/\1/g}
+USES+= pgsql:${DISTVERSION:C/([0-9]\.?[0-9]).*/\1/g}
USERS= ${PG_USER}
GROUPS= ${PG_GROUP}
SUB_FILES+= 502.pgsql
@@ -83,9 +83,11 @@ DTRACE_DESC= Build with DTrace probes
TZDATA_DESC= Use internal timezone database
XML_DESC= Build with XML data type
+.if ${DISTVERSION:C/([0-9]*).*/\1/} != 10
# See http://people.freebsd.org/~girgen/postgresql-icu/README.html for more info
OPTIONS_DEFINE+= ICU
ICU_DESC= Use ICU for unicode collation
+.endif
# See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/76999 for more info
# (requires dump/restore if modified.)
@@ -96,8 +98,10 @@ OPTIONS_DEFAULT+= XML TZDATA INTDATE
.if !defined(SLAVE_ONLY)
OPTIONS_DEFINE+= NLS PAM GSSAPI OPTIMIZED_CFLAGS DEBUG
-OPTIONS_RADIO= KRB5
-OPTIONS_RADIO_KRB5= MIT_KRB5 HEIMDAL_KRB5
+. if ${DISTVERSION:R} == 9.2 || ${DISTVERSION:R} == 9.3
+ OPTIONS_RADIO= KRB5
+ OPTIONS_RADIO_KRB5= MIT_KRB5 HEIMDAL_KRB5
+. endif
KRB5_DESC= Build with kerberos provider support
NLS_DESC= Use internationalized messages
diff --git a/databases/postgresql92-server/distinfo b/databases/postgresql92-server/distinfo
index 0cef4cac67f4..b65d365e2e64 100644
--- a/databases/postgresql92-server/distinfo
+++ b/databases/postgresql92-server/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1494282359
-SHA256 (postgresql/postgresql-9.2.21.tar.bz2) = 0697e843523ee60c563f987f9c65bc4201294b18525d6e5e4b2c50c6d4058ef9
-SIZE (postgresql/postgresql-9.2.21.tar.bz2) = 16508040
+TIMESTAMP = 1502191515
+SHA256 (postgresql/postgresql-9.2.22.tar.bz2) = a70e94fa58776b559a8f7b5301371ac4922c9e3ed313ccbef20862514de7c192
+SIZE (postgresql/postgresql-9.2.22.tar.bz2) = 16531224
SHA256 (postgresql/pg-9218-icu-2016-08-10.diff.gz) = 2f9c831b3dff866f0b2f6f2a9ef771a4045486bc252a851aadc73c50d376319d
SIZE (postgresql/pg-9218-icu-2016-08-10.diff.gz) = 5587