Hi,

Small diff to update PostgreSQL to it's latest stable version (10.3).
This version fixes a CVE : CVE-2018-1058
Release note here: https://www.postgresql.org/about/news/1834/

Tested on @amd64.
Diff for -stable will follow.

Comments, ok ?

Regards,

Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/postgresql/Makefile,v
retrieving revision 1.235
diff -u -p -u -p -r1.235 Makefile
--- Makefile	15 Feb 2018 13:00:36 -0000	1.235
+++ Makefile	1 Mar 2018 17:16:36 -0000
@@ -7,7 +7,7 @@ COMMENT-contrib=PostgreSQL RDBMS contrib
 COMMENT-plpython=Python procedural language for PostgreSQL
 COMMENT-pg_upgrade=Support for upgrading PostgreSQL data from previous version
 
-VERSION=	10.2
+VERSION=	10.3
 PREV_MAJOR=	9.6
 DISTNAME=	postgresql-${VERSION}
 PKGNAME-main=	postgresql-client-${VERSION}
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/postgresql/distinfo,v
retrieving revision 1.71
diff -u -p -u -p -r1.71 distinfo
--- distinfo	15 Feb 2018 13:00:36 -0000	1.71
+++ distinfo	1 Mar 2018 17:16:36 -0000
@@ -1,2 +1,2 @@
-SHA256 (postgresql-10.2.tar.gz) = a72BRgvNIjefwiZ4IeA+ITs50C8lU6D2PYX5TOBBbGw=
-SIZE (postgresql-10.2.tar.gz) = 26214672
+SHA256 (postgresql-10.3.tar.gz) = h1hCha+MX9blmbTZeJ9FX4zVV1ntganldeuuvHoD55Y=
+SIZE (postgresql-10.3.tar.gz) = 26357593
Index: pkg/PLIST-docs
===================================================================
RCS file: /cvs/ports/databases/postgresql/pkg/PLIST-docs,v
retrieving revision 1.83
diff -u -p -u -p -r1.83 PLIST-docs
--- pkg/PLIST-docs	15 Feb 2018 13:00:36 -0000	1.83
+++ pkg/PLIST-docs	1 Mar 2018 17:16:37 -0000
@@ -652,9 +652,10 @@ share/doc/postgresql/html/release-1-0.ht
 share/doc/postgresql/html/release-1-01.html
 share/doc/postgresql/html/release-1-02.html
 share/doc/postgresql/html/release-1-09.html
-share/doc/postgresql/html/release-10-1.html
-share/doc/postgresql/html/release-10-2.html
-share/doc/postgresql/html/release-10.html
+share/doc/postgresql/html/release-${V_MAJOR}-1.html
+share/doc/postgresql/html/release-${V_MAJOR}-2.html
+share/doc/postgresql/html/release-${V_MAJOR}-3.html
+share/doc/postgresql/html/release-${V_MAJOR}.html
 share/doc/postgresql/html/release-6-0.html
 share/doc/postgresql/html/release-6-1-1.html
 share/doc/postgresql/html/release-6-1.html
@@ -688,7 +689,7 @@ share/doc/postgresql/html/release-7-2-7.
 share/doc/postgresql/html/release-7-2-8.html
 share/doc/postgresql/html/release-7-2.html
 share/doc/postgresql/html/release-7-3-1.html
-share/doc/postgresql/html/release-7-3-10.html
+share/doc/postgresql/html/release-7-3-${V_MAJOR}.html
 share/doc/postgresql/html/release-7-3-11.html
 share/doc/postgresql/html/release-7-3-12.html
 share/doc/postgresql/html/release-7-3-13.html
@@ -710,7 +711,7 @@ share/doc/postgresql/html/release-7-3-8.
 share/doc/postgresql/html/release-7-3-9.html
 share/doc/postgresql/html/release-7-3.html
 share/doc/postgresql/html/release-7-4-1.html
-share/doc/postgresql/html/release-7-4-10.html
+share/doc/postgresql/html/release-7-4-${V_MAJOR}.html
 share/doc/postgresql/html/release-7-4-11.html
 share/doc/postgresql/html/release-7-4-12.html
 share/doc/postgresql/html/release-7-4-13.html
@@ -741,7 +742,7 @@ share/doc/postgresql/html/release-7-4-8.
 share/doc/postgresql/html/release-7-4-9.html
 share/doc/postgresql/html/release-7-4.html
 share/doc/postgresql/html/release-8-0-1.html
-share/doc/postgresql/html/release-8-0-10.html
+share/doc/postgresql/html/release-8-0-${V_MAJOR}.html
 share/doc/postgresql/html/release-8-0-11.html
 share/doc/postgresql/html/release-8-0-12.html
 share/doc/postgresql/html/release-8-0-13.html
@@ -768,7 +769,7 @@ share/doc/postgresql/html/release-8-0-8.
 share/doc/postgresql/html/release-8-0-9.html
 share/doc/postgresql/html/release-8-0.html
 share/doc/postgresql/html/release-8-1-1.html
-share/doc/postgresql/html/release-8-1-10.html
+share/doc/postgresql/html/release-8-1-${V_MAJOR}.html
 share/doc/postgresql/html/release-8-1-11.html
 share/doc/postgresql/html/release-8-1-12.html
 share/doc/postgresql/html/release-8-1-13.html
@@ -792,7 +793,7 @@ share/doc/postgresql/html/release-8-1-8.
 share/doc/postgresql/html/release-8-1-9.html
 share/doc/postgresql/html/release-8-1.html
 share/doc/postgresql/html/release-8-2-1.html
-share/doc/postgresql/html/release-8-2-10.html
+share/doc/postgresql/html/release-8-2-${V_MAJOR}.html
 share/doc/postgresql/html/release-8-2-11.html
 share/doc/postgresql/html/release-8-2-12.html
 share/doc/postgresql/html/release-8-2-13.html
@@ -816,7 +817,7 @@ share/doc/postgresql/html/release-8-2-8.
 share/doc/postgresql/html/release-8-2-9.html
 share/doc/postgresql/html/release-8-2.html
 share/doc/postgresql/html/release-8-3-1.html
-share/doc/postgresql/html/release-8-3-10.html
+share/doc/postgresql/html/release-8-3-${V_MAJOR}.html
 share/doc/postgresql/html/release-8-3-11.html
 share/doc/postgresql/html/release-8-3-12.html
 share/doc/postgresql/html/release-8-3-13.html
@@ -840,7 +841,7 @@ share/doc/postgresql/html/release-8-3-8.
 share/doc/postgresql/html/release-8-3-9.html
 share/doc/postgresql/html/release-8-3.html
 share/doc/postgresql/html/release-8-4-1.html
-share/doc/postgresql/html/release-8-4-10.html
+share/doc/postgresql/html/release-8-4-${V_MAJOR}.html
 share/doc/postgresql/html/release-8-4-11.html
 share/doc/postgresql/html/release-8-4-12.html
 share/doc/postgresql/html/release-8-4-13.html
@@ -863,7 +864,7 @@ share/doc/postgresql/html/release-8-4-8.
 share/doc/postgresql/html/release-8-4-9.html
 share/doc/postgresql/html/release-8-4.html
 share/doc/postgresql/html/release-9-0-1.html
-share/doc/postgresql/html/release-9-0-10.html
+share/doc/postgresql/html/release-9-0-${V_MAJOR}.html
 share/doc/postgresql/html/release-9-0-11.html
 share/doc/postgresql/html/release-9-0-12.html
 share/doc/postgresql/html/release-9-0-13.html
@@ -887,7 +888,7 @@ share/doc/postgresql/html/release-9-0-8.
 share/doc/postgresql/html/release-9-0-9.html
 share/doc/postgresql/html/release-9-0.html
 share/doc/postgresql/html/release-9-1-1.html
-share/doc/postgresql/html/release-9-1-10.html
+share/doc/postgresql/html/release-9-1-${V_MAJOR}.html
 share/doc/postgresql/html/release-9-1-11.html
 share/doc/postgresql/html/release-9-1-12.html
 share/doc/postgresql/html/release-9-1-13.html
@@ -912,7 +913,7 @@ share/doc/postgresql/html/release-9-1-8.
 share/doc/postgresql/html/release-9-1-9.html
 share/doc/postgresql/html/release-9-1.html
 share/doc/postgresql/html/release-9-2-1.html
-share/doc/postgresql/html/release-9-2-10.html
+share/doc/postgresql/html/release-9-2-${V_MAJOR}.html
 share/doc/postgresql/html/release-9-2-11.html
 share/doc/postgresql/html/release-9-2-12.html
 share/doc/postgresql/html/release-9-2-13.html
@@ -937,7 +938,7 @@ share/doc/postgresql/html/release-9-2-8.
 share/doc/postgresql/html/release-9-2-9.html
 share/doc/postgresql/html/release-9-2.html
 share/doc/postgresql/html/release-9-3-1.html
-share/doc/postgresql/html/release-9-3-10.html
+share/doc/postgresql/html/release-9-3-${V_MAJOR}.html
 share/doc/postgresql/html/release-9-3-11.html
 share/doc/postgresql/html/release-9-3-12.html
 share/doc/postgresql/html/release-9-3-13.html
@@ -950,6 +951,7 @@ share/doc/postgresql/html/release-9-3-19
 share/doc/postgresql/html/release-9-3-2.html
 share/doc/postgresql/html/release-9-3-20.html
 share/doc/postgresql/html/release-9-3-21.html
+share/doc/postgresql/html/release-9-3-22.html
 share/doc/postgresql/html/release-9-3-3.html
 share/doc/postgresql/html/release-9-3-4.html
 share/doc/postgresql/html/release-9-3-5.html
@@ -959,13 +961,14 @@ share/doc/postgresql/html/release-9-3-8.
 share/doc/postgresql/html/release-9-3-9.html
 share/doc/postgresql/html/release-9-3.html
 share/doc/postgresql/html/release-9-4-1.html
-share/doc/postgresql/html/release-9-4-10.html
+share/doc/postgresql/html/release-9-4-${V_MAJOR}.html
 share/doc/postgresql/html/release-9-4-11.html
 share/doc/postgresql/html/release-9-4-12.html
 share/doc/postgresql/html/release-9-4-13.html
 share/doc/postgresql/html/release-9-4-14.html
 share/doc/postgresql/html/release-9-4-15.html
 share/doc/postgresql/html/release-9-4-16.html
+share/doc/postgresql/html/release-9-4-17.html
 share/doc/postgresql/html/release-9-4-2.html
 share/doc/postgresql/html/release-9-4-3.html
 share/doc/postgresql/html/release-9-4-4.html
@@ -976,8 +979,9 @@ share/doc/postgresql/html/release-9-4-8.
 share/doc/postgresql/html/release-9-4-9.html
 share/doc/postgresql/html/release-9-4.html
 share/doc/postgresql/html/release-9-5-1.html
-share/doc/postgresql/html/release-9-5-10.html
+share/doc/postgresql/html/release-9-5-${V_MAJOR}.html
 share/doc/postgresql/html/release-9-5-11.html
+share/doc/postgresql/html/release-9-5-12.html
 share/doc/postgresql/html/release-9-5-2.html
 share/doc/postgresql/html/release-9-5-3.html
 share/doc/postgresql/html/release-9-5-4.html
@@ -994,6 +998,7 @@ share/doc/postgresql/html/release-9-6-4.
 share/doc/postgresql/html/release-9-6-5.html
 share/doc/postgresql/html/release-9-6-6.html
 share/doc/postgresql/html/release-9-6-7.html
+share/doc/postgresql/html/release-9-6-8.html
 share/doc/postgresql/html/release-9-6.html
 share/doc/postgresql/html/release.html
 share/doc/postgresql/html/replication-origins.html
Index: pkg/PLIST-server
===================================================================
RCS file: /cvs/ports/databases/postgresql/pkg/PLIST-server,v
retrieving revision 1.34
diff -u -p -u -p -r1.34 PLIST-server
--- pkg/PLIST-server	15 Feb 2018 13:00:36 -0000	1.34
+++ pkg/PLIST-server	1 Mar 2018 17:16:37 -0000
@@ -297,6 +297,7 @@ include/postgresql/server/executor/tqueu
 include/postgresql/server/executor/tstoreReceiver.h
 include/postgresql/server/executor/tuptable.h
 include/postgresql/server/fe_utils/
+include/postgresql/server/fe_utils/connect.h
 include/postgresql/server/fe_utils/mbprint.h
 include/postgresql/server/fe_utils/print.h
 include/postgresql/server/fe_utils/psqlscan.h

Reply via email to