[Update] PostgreSQL 10.5 OpenBSD-stable

2018-08-09 Thread Pierre-Emmanuel André
Hi,

Same diff as -current but for -stable.
Tested on @amd64.

Comments, ok ?

Regards,
Index: Makefile
===
RCS file: /cvs/ports/databases/postgresql/Makefile,v
retrieving revision 1.236.2.1
diff -u -p -u -p -r1.236.2.1 Makefile
--- Makefile	23 May 2018 10:54:18 -	1.236.2.1
+++ Makefile	9 Aug 2018 16:14:54 -
@@ -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.4
+VERSION=	10.5
 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.72.2.1
diff -u -p -u -p -r1.72.2.1 distinfo
--- distinfo	23 May 2018 10:54:18 -	1.72.2.1
+++ distinfo	9 Aug 2018 16:14:54 -
@@ -1,2 +1,2 @@
-SHA256 (postgresql-10.4.tar.gz) = YBkrx1zXPmiFAOg1DqBlzKAy4hq+V+ctT1VuC/hPzxc=
-SIZE (postgresql-10.4.tar.gz) = 26652442
+SHA256 (postgresql-10.5.tar.gz) = E75wU7HYrU4klDsk2AFwV0/HAbSbPxTmil8b2kUs49E=
+SIZE (postgresql-10.5.tar.gz) = 26818092
Index: pkg/PLIST-docs
===
RCS file: /cvs/ports/databases/postgresql/pkg/PLIST-docs,v
retrieving revision 1.84.2.1
diff -u -p -u -p -r1.84.2.1 PLIST-docs
--- pkg/PLIST-docs	23 May 2018 10:54:18 -	1.84.2.1
+++ pkg/PLIST-docs	9 Aug 2018 16:14:54 -
@@ -656,6 +656,7 @@ share/doc/postgresql/html/release-10-1.h
 share/doc/postgresql/html/release-10-2.html
 share/doc/postgresql/html/release-10-3.html
 share/doc/postgresql/html/release-10-4.html
+share/doc/postgresql/html/release-10-5.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
@@ -954,6 +955,7 @@ share/doc/postgresql/html/release-9-3-20
 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-23.html
+share/doc/postgresql/html/release-9-3-24.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
@@ -972,6 +974,7 @@ share/doc/postgresql/html/release-9-4-15
 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-18.html
+share/doc/postgresql/html/release-9-4-19.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
@@ -986,6 +989,7 @@ share/doc/postgresql/html/release-9-5-10
 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-13.html
+share/doc/postgresql/html/release-9-5-14.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
@@ -996,6 +1000,7 @@ share/doc/postgresql/html/release-9-5-8.
 share/doc/postgresql/html/release-9-5-9.html
 share/doc/postgresql/html/release-9-5.html
 share/doc/postgresql/html/release-9-6-1.html
+share/doc/postgresql/html/release-9-6-10.html
 share/doc/postgresql/html/release-9-6-2.html
 share/doc/postgresql/html/release-9-6-3.html
 share/doc/postgresql/html/release-9-6-4.html
Index: pkg/PLIST-main
===
RCS file: /cvs/ports/databases/postgresql/pkg/PLIST-main,v
retrieving revision 1.28
diff -u -p -u -p -r1.28 PLIST-main
--- pkg/PLIST-main	30 Nov 2017 16:13:12 -	1.28
+++ pkg/PLIST-main	9 Aug 2018 16:14:54 -
@@ -43,6 +43,7 @@ include/postgresql/pg_config.h
 include/postgresql/pg_config_ext.h
 include/postgresql/pg_config_manual.h
 include/postgresql/pg_config_os.h
+include/postgresql/pgtypes.h
 include/postgresql/pgtypes_date.h
 include/postgresql/pgtypes_error.h
 include/postgresql/pgtypes_interval.h


Re: [Update] PostgreSQL 10.5

2018-08-09 Thread Klemens Nanni
On Thu, Aug 09, 2018 at 04:22:14PM +0200, Pierre-Emmanuel André wrote:
> Small diff to update PostgreSQL to it's latest version.
> Release note : https://www.postgresql.org/about/news/1878/
> Fix for 2 CVE: CVE-2018-10915 and CVE-2018-10925
OK kn

> Tested on @amd64.
> Comments, ok ?
Continues to work for me on sparc64 as well, thanks.



[Update] PostgreSQL 10.5

2018-08-09 Thread Pierre-Emmanuel André
Hi,

Small diff to update PostgreSQL to it's latest version.
Release note : https://www.postgresql.org/about/news/1878/
Fix for 2 CVE: CVE-2018-10915 and CVE-2018-10925

Tested on @amd64.
Comments, ok ?

Regards,


ps: diff for 6.3 will follow.
Index: Makefile
===
RCS file: /cvs/ports/databases/postgresql/Makefile,v
retrieving revision 1.237
diff -u -p -u -p -r1.237 Makefile
--- Makefile	17 May 2018 18:42:42 -	1.237
+++ Makefile	9 Aug 2018 14:19:40 -
@@ -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.4
+VERSION=	10.5
 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.73
diff -u -p -u -p -r1.73 distinfo
--- distinfo	17 May 2018 18:42:42 -	1.73
+++ distinfo	9 Aug 2018 14:19:40 -
@@ -1,2 +1,2 @@
-SHA256 (postgresql-10.4.tar.gz) = YBkrx1zXPmiFAOg1DqBlzKAy4hq+V+ctT1VuC/hPzxc=
-SIZE (postgresql-10.4.tar.gz) = 26652442
+SHA256 (postgresql-10.5.tar.gz) = E75wU7HYrU4klDsk2AFwV0/HAbSbPxTmil8b2kUs49E=
+SIZE (postgresql-10.5.tar.gz) = 26818092
Index: pkg/PLIST-docs
===
RCS file: /cvs/ports/databases/postgresql/pkg/PLIST-docs,v
retrieving revision 1.85
diff -u -p -u -p -r1.85 PLIST-docs
--- pkg/PLIST-docs	17 May 2018 18:42:42 -	1.85
+++ pkg/PLIST-docs	9 Aug 2018 14:19:40 -
@@ -656,6 +656,7 @@ share/doc/postgresql/html/release-10-1.h
 share/doc/postgresql/html/release-10-2.html
 share/doc/postgresql/html/release-10-3.html
 share/doc/postgresql/html/release-10-4.html
+share/doc/postgresql/html/release-10-5.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
@@ -954,6 +955,7 @@ share/doc/postgresql/html/release-9-3-20
 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-23.html
+share/doc/postgresql/html/release-9-3-24.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
@@ -972,6 +974,7 @@ share/doc/postgresql/html/release-9-4-15
 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-18.html
+share/doc/postgresql/html/release-9-4-19.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
@@ -986,6 +989,7 @@ share/doc/postgresql/html/release-9-5-10
 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-13.html
+share/doc/postgresql/html/release-9-5-14.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
@@ -996,6 +1000,7 @@ share/doc/postgresql/html/release-9-5-8.
 share/doc/postgresql/html/release-9-5-9.html
 share/doc/postgresql/html/release-9-5.html
 share/doc/postgresql/html/release-9-6-1.html
+share/doc/postgresql/html/release-9-6-10.html
 share/doc/postgresql/html/release-9-6-2.html
 share/doc/postgresql/html/release-9-6-3.html
 share/doc/postgresql/html/release-9-6-4.html
Index: pkg/PLIST-main
===
RCS file: /cvs/ports/databases/postgresql/pkg/PLIST-main,v
retrieving revision 1.28
diff -u -p -u -p -r1.28 PLIST-main
--- pkg/PLIST-main	30 Nov 2017 16:13:12 -	1.28
+++ pkg/PLIST-main	9 Aug 2018 14:19:40 -
@@ -43,6 +43,7 @@ include/postgresql/pg_config.h
 include/postgresql/pg_config_ext.h
 include/postgresql/pg_config_manual.h
 include/postgresql/pg_config_os.h
+include/postgresql/pgtypes.h
 include/postgresql/pgtypes_date.h
 include/postgresql/pgtypes_error.h
 include/postgresql/pgtypes_interval.h