Hi,

Small diff to update PostgreSQL to it's latest version on OpenBSD 6.2 -stable.
It fixes 2 CVEs : CVE-2018-1052 and CVE-2018-1053

Comments, ok ?

Regards,

Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/postgresql/Makefile,v
retrieving revision 1.229.2.1
diff -u -p -u -p -r1.229.2.1 Makefile
--- Makefile	16 Nov 2017 12:53:58 -0000	1.229.2.1
+++ Makefile	9 Feb 2018 16:12:27 -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=	9.6.6
+VERSION=	9.6.7
 PREV_MAJOR=	9.5
 DISTNAME=	postgresql-${VERSION}
 PKGNAME-main=	postgresql-client-${VERSION}
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/postgresql/distinfo,v
retrieving revision 1.68.2.1
diff -u -p -u -p -r1.68.2.1 distinfo
--- distinfo	16 Nov 2017 12:53:58 -0000	1.68.2.1
+++ distinfo	9 Feb 2018 16:12:27 -0000
@@ -1,2 +1,2 @@
-SHA256 (postgresql-9.6.6.tar.gz) = U+HNX9/19FQVrp1bZFF3J1Jlo+gAyGvsu5TOGDo6UGE=
-SIZE (postgresql-9.6.6.tar.gz) = 25709021
+SHA256 (postgresql-9.6.7.tar.gz) = Uiu+5hlAK7kq2CjgQxgpMoyn5urC1DASv3x/oyLT3sI=
+SIZE (postgresql-9.6.7.tar.gz) = 25552260
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	8 Jan 2015 15:01:11 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_backend_storage_lmgr_s_lock_c,v 1.2 2015/01/08 15:01:11 pea Exp $
---- src/backend/storage/lmgr/s_lock.c.orig	Sun May 11 14:16:48 2014
-+++ src/backend/storage/lmgr/s_lock.c	Thu May 15 21:52:50 2014
-@@ -219,7 +219,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.80.2.1
diff -u -p -u -p -r1.80.2.1 PLIST-docs
--- pkg/PLIST-docs	16 Nov 2017 12:53:58 -0000	1.80.2.1
+++ pkg/PLIST-docs	9 Feb 2018 16:12:27 -0000
@@ -927,6 +927,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
@@ -942,6 +943,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
@@ -953,6 +955,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
@@ -968,6 +971,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

Reply via email to