Hi, Small diff to update PostgreSQL to it's latest version (10.2). Release note is here: https://www.postgresql.org/about/news/1829/
It fixes 2 CVEs : CVE-2018-1052 and CVE-2018-1053 Comments, ok ? Diff for -stable will follow. Regards,
Index: Makefile =================================================================== RCS file: /cvs/ports/databases/postgresql/Makefile,v retrieving revision 1.234 diff -u -p -u -p -r1.234 Makefile --- Makefile 20 Jan 2018 14:03:39 -0000 1.234 +++ Makefile 8 Feb 2018 16:56:42 -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.1 +VERSION= 10.2 PREV_MAJOR= 9.6 DISTNAME= postgresql-${VERSION} PKGNAME-main= postgresql-client-${VERSION} @@ -16,7 +16,6 @@ PKGNAME-docs= postgresql-docs-${VERSION} PKGNAME-contrib=postgresql-contrib-${VERSION} PKGNAME-plpython=postgresql-plpython-${VERSION} PKGNAME-pg_upgrade=postgresql-pg_upgrade-${VERSION} -REVISION-server=0 CATEGORIES= databases SHARED_LIBS= ecpg 7.9 \ Index: distinfo =================================================================== RCS file: /cvs/ports/databases/postgresql/distinfo,v retrieving revision 1.70 diff -u -p -u -p -r1.70 distinfo --- distinfo 30 Nov 2017 16:13:12 -0000 1.70 +++ distinfo 8 Feb 2018 16:56:42 -0000 @@ -1,2 +1,2 @@ -SHA256 (postgresql-10.1.tar.gz) = zeve6uUHRPO35II7Vd7Pv3J/tMFrtzZIiYQAfXsaT3Y= -SIZE (postgresql-10.1.tar.gz) = 25905595 +SHA256 (postgresql-10.2.tar.gz) = a72BRgvNIjefwiZ4IeA+ITs50C8lU6D2PYX5TOBBbGw= +SIZE (postgresql-10.2.tar.gz) = 26214672 Index: patches/patch-src_backend_storage_lmgr_s_lock_c =================================================================== RCS file: patches/patch-src_backend_storage_lmgr_s_lock_c diff -N patches/patch-src_backend_storage_lmgr_s_lock_c --- patches/patch-src_backend_storage_lmgr_s_lock_c 30 Nov 2017 16:13:12 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,13 +0,0 @@ -$OpenBSD: patch-src_backend_storage_lmgr_s_lock_c,v 1.4 2017/11/30 16:13:12 pea Exp $ -Index: src/backend/storage/lmgr/s_lock.c ---- src/backend/storage/lmgr/s_lock.c.orig -+++ src/backend/storage/lmgr/s_lock.c -@@ -251,7 +251,7 @@ static void - tas_dummy() - { - __asm__ __volatile__( --#if defined(__NetBSD__) && defined(__ELF__) -+#if (defined(__NetBSD__) || defined(__OpenBSD__)) && defined(__ELF__) - /* no underscore for label and % for registers */ - "\ - .global tas \n\ Index: pkg/PLIST-docs =================================================================== RCS file: /cvs/ports/databases/postgresql/pkg/PLIST-docs,v retrieving revision 1.82 diff -u -p -u -p -r1.82 PLIST-docs --- pkg/PLIST-docs 30 Nov 2017 16:13:12 -0000 1.82 +++ pkg/PLIST-docs 8 Feb 2018 16:56:43 -0000 @@ -652,8 +652,9 @@ 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.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-6-0.html share/doc/postgresql/html/release-6-1-1.html share/doc/postgresql/html/release-6-1.html @@ -948,6 +949,7 @@ share/doc/postgresql/html/release-9-3-18 share/doc/postgresql/html/release-9-3-19.html 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-3.html share/doc/postgresql/html/release-9-3-4.html share/doc/postgresql/html/release-9-3-5.html @@ -963,6 +965,7 @@ share/doc/postgresql/html/release-9-4-12 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-2.html share/doc/postgresql/html/release-9-4-3.html share/doc/postgresql/html/release-9-4-4.html @@ -974,6 +977,7 @@ share/doc/postgresql/html/release-9-4-9. 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-11.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 @@ -989,6 +993,7 @@ share/doc/postgresql/html/release-9-6-3. share/doc/postgresql/html/release-9-6-4.html 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.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.33 diff -u -p -u -p -r1.33 PLIST-server --- pkg/PLIST-server 30 Nov 2017 16:13:12 -0000 1.33 +++ pkg/PLIST-server 8 Feb 2018 16:56:43 -0000 @@ -314,8 +314,8 @@ include/postgresql/server/lib/ include/postgresql/server/lib/binaryheap.h include/postgresql/server/lib/bipartite_match.h include/postgresql/server/lib/hyperloglog.h -include/postgresql/server/lib/knapsack.h include/postgresql/server/lib/ilist.h +include/postgresql/server/lib/knapsack.h include/postgresql/server/lib/pairingheap.h include/postgresql/server/lib/rbtree.h include/postgresql/server/lib/simplehash.h @@ -332,8 +332,8 @@ include/postgresql/server/libpq/libpq.h include/postgresql/server/libpq/pqcomm.h include/postgresql/server/libpq/pqformat.h include/postgresql/server/libpq/pqmq.h -include/postgresql/server/libpq/scram.h include/postgresql/server/libpq/pqsignal.h +include/postgresql/server/libpq/scram.h include/postgresql/server/mb/ include/postgresql/server/mb/pg_wchar.h include/postgresql/server/miscadmin.h @@ -658,6 +658,7 @@ include/postgresql/server/utils/freepage include/postgresql/server/utils/geo_decls.h include/postgresql/server/utils/guc.h include/postgresql/server/utils/guc_tables.h +include/postgresql/server/utils/hashutils.h include/postgresql/server/utils/help_config.h include/postgresql/server/utils/hsearch.h include/postgresql/server/utils/index_selfuncs.h