Hi,
This diff updates PostgreSQL to it's latest version (9.4.3).
It's a reliability fix (file permission fix).
More infos here:
+ http://www.postgresql.org/about/news/1590/
+ https://wiki.postgresql.org/wiki/May_2015_Fsync_Permissions_Bug
Tested on @amd64 on -current and 5.7.
Comments/OK ?
Regards,
Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/postgresql/Makefile,v
retrieving revision 1.203
diff -u -p -u -p -r1.203 Makefile
--- Makefile 1 Jun 2015 08:23:47 -0000 1.203
+++ Makefile 4 Jun 2015 14:29:28 -0000
@@ -11,7 +11,7 @@ BROKEN-sparc= Requires v9|v9a|v9b; reque
# DO NOT FORGET to also change the @ask-update entry in pkg/PLIST-server
# in case a dump before / restore after pkg_add -u is required!
-VERSION= 9.4.2
+VERSION= 9.4.3
DISTNAME= postgresql-${VERSION}
PKGNAME-main= postgresql-client-${VERSION}
PKGNAME-server= postgresql-server-${VERSION}
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/postgresql/distinfo,v
retrieving revision 1.56
diff -u -p -u -p -r1.56 distinfo
--- distinfo 1 Jun 2015 08:23:47 -0000 1.56
+++ distinfo 4 Jun 2015 14:29:28 -0000
@@ -1,2 +1,2 @@
-SHA256 (postgresql-9.4.2.tar.gz) = vGWzgXXA/jUayomzPWBuouhJNWC1Q9kgqK92n7OTmUs=
-SIZE (postgresql-9.4.2.tar.gz) = 23092865
+SHA256 (postgresql-9.4.3.tar.gz) = tqLiHm4/O2AO0SK93JaRM9sSSk9ZkT6TEhu/LVCfaEg=
+SIZE (postgresql-9.4.3.tar.gz) = 23102540
Index: patches/patch-configure
===================================================================
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- patches/patch-configure 16 Feb 2015 21:40:38 -0000 1.12
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,19 +0,0 @@
-$OpenBSD: patch-configure,v 1.12 2015/02/16 21:40:38 sthen Exp $
-
-Remove configure check, since the pl/python does work if you
-LD_PRELOAD libpthread when starting PostgreSQL.
-
---- configure.orig Mon Feb 2 20:42:55 2015
-+++ configure Mon Feb 16 16:16:37 2015
-@@ -7454,11 +7454,6 @@ pythreads=`${PYTHON} -c "import sys; print(int('thread
- if test "$pythreads" = "1"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- $as_echo "yes" >&6; }
-- case $host_os in
-- openbsd*)
-- as_fn_error $? "threaded Python not supported on this platform" "$LINENO" 5
-- ;;
-- esac
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- $as_echo "no" >&6; }
Index: pkg/PLIST-docs
===================================================================
RCS file: /cvs/ports/databases/postgresql/pkg/PLIST-docs,v
retrieving revision 1.68
diff -u -p -u -p -r1.68 PLIST-docs
--- pkg/PLIST-docs 1 Jun 2015 08:23:47 -0000 1.68
+++ pkg/PLIST-docs 4 Jun 2015 14:29:28 -0000
@@ -824,6 +824,7 @@ share/doc/postgresql/html/release-9-0-18
share/doc/postgresql/html/release-9-0-19.html
share/doc/postgresql/html/release-9-0-2.html
share/doc/postgresql/html/release-9-0-20.html
+share/doc/postgresql/html/release-9-0-21.html
share/doc/postgresql/html/release-9-0-3.html
share/doc/postgresql/html/release-9-0-4.html
share/doc/postgresql/html/release-9-0-5.html
@@ -840,6 +841,7 @@ share/doc/postgresql/html/release-9-1-13
share/doc/postgresql/html/release-9-1-14.html
share/doc/postgresql/html/release-9-1-15.html
share/doc/postgresql/html/release-9-1-16.html
+share/doc/postgresql/html/release-9-1-17.html
share/doc/postgresql/html/release-9-1-2.html
share/doc/postgresql/html/release-9-1-3.html
share/doc/postgresql/html/release-9-1-4.html
@@ -852,6 +854,7 @@ share/doc/postgresql/html/release-9-1.ht
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-11.html
+share/doc/postgresql/html/release-9-2-12.html
share/doc/postgresql/html/release-9-2-2.html
share/doc/postgresql/html/release-9-2-3.html
share/doc/postgresql/html/release-9-2-4.html
@@ -868,9 +871,11 @@ share/doc/postgresql/html/release-9-3-4.
share/doc/postgresql/html/release-9-3-5.html
share/doc/postgresql/html/release-9-3-6.html
share/doc/postgresql/html/release-9-3-7.html
+share/doc/postgresql/html/release-9-3-8.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-2.html
+share/doc/postgresql/html/release-9-4-3.html
share/doc/postgresql/html/release-9-4.html
share/doc/postgresql/html/release.html
share/doc/postgresql/html/resources.html
Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/postgresql/Makefile,v
retrieving revision 1.200.2.1
diff -u -p -u -p -r1.200.2.1 Makefile
--- Makefile 1 Jun 2015 08:25:23 -0000 1.200.2.1
+++ Makefile 4 Jun 2015 14:36:36 -0000
@@ -9,7 +9,7 @@ COMMENT-plpython=Python procedural langu
# DO NOT FORGET to also change the @ask-update entry in pkg/PLIST-server
# in case a dump before / restore after pkg_add -u is required!
-VERSION= 9.4.2
+VERSION= 9.4.3
DISTNAME= postgresql-${VERSION}
PKGNAME-main= postgresql-client-${VERSION}
PKGNAME-server= postgresql-server-${VERSION}
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/postgresql/distinfo,v
retrieving revision 1.55.2.1
diff -u -p -u -p -r1.55.2.1 distinfo
--- distinfo 1 Jun 2015 09:08:18 -0000 1.55.2.1
+++ distinfo 4 Jun 2015 14:36:36 -0000
@@ -1,2 +1,2 @@
-SHA256 (postgresql-9.4.2.tar.gz) = vGWzgXXA/jUayomzPWBuouhJNWC1Q9kgqK92n7OTmUs=
-SIZE (postgresql-9.4.2.tar.gz) = 23092865
+SHA256 (postgresql-9.4.3.tar.gz) = tqLiHm4/O2AO0SK93JaRM9sSSk9ZkT6TEhu/LVCfaEg=
+SIZE (postgresql-9.4.3.tar.gz) = 23102540
Index: patches/patch-configure
===================================================================
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- patches/patch-configure 16 Feb 2015 21:40:38 -0000 1.12
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,19 +0,0 @@
-$OpenBSD: patch-configure,v 1.12 2015/02/16 21:40:38 sthen Exp $
-
-Remove configure check, since the pl/python does work if you
-LD_PRELOAD libpthread when starting PostgreSQL.
-
---- configure.orig Mon Feb 2 20:42:55 2015
-+++ configure Mon Feb 16 16:16:37 2015
-@@ -7454,11 +7454,6 @@ pythreads=`${PYTHON} -c "import sys; print(int('thread
- if test "$pythreads" = "1"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- $as_echo "yes" >&6; }
-- case $host_os in
-- openbsd*)
-- as_fn_error $? "threaded Python not supported on this platform" "$LINENO" 5
-- ;;
-- esac
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- $as_echo "no" >&6; }
Index: pkg/PLIST-docs
===================================================================
RCS file: /cvs/ports/databases/postgresql/pkg/PLIST-docs,v
retrieving revision 1.67.2.1
diff -u -p -u -p -r1.67.2.1 PLIST-docs
--- pkg/PLIST-docs 1 Jun 2015 08:25:24 -0000 1.67.2.1
+++ pkg/PLIST-docs 4 Jun 2015 14:36:36 -0000
@@ -824,6 +824,7 @@ share/doc/postgresql/html/release-9-0-18
share/doc/postgresql/html/release-9-0-19.html
share/doc/postgresql/html/release-9-0-2.html
share/doc/postgresql/html/release-9-0-20.html
+share/doc/postgresql/html/release-9-0-21.html
share/doc/postgresql/html/release-9-0-3.html
share/doc/postgresql/html/release-9-0-4.html
share/doc/postgresql/html/release-9-0-5.html
@@ -840,6 +841,7 @@ share/doc/postgresql/html/release-9-1-13
share/doc/postgresql/html/release-9-1-14.html
share/doc/postgresql/html/release-9-1-15.html
share/doc/postgresql/html/release-9-1-16.html
+share/doc/postgresql/html/release-9-1-17.html
share/doc/postgresql/html/release-9-1-2.html
share/doc/postgresql/html/release-9-1-3.html
share/doc/postgresql/html/release-9-1-4.html
@@ -852,6 +854,7 @@ share/doc/postgresql/html/release-9-1.ht
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-11.html
+share/doc/postgresql/html/release-9-2-12.html
share/doc/postgresql/html/release-9-2-2.html
share/doc/postgresql/html/release-9-2-3.html
share/doc/postgresql/html/release-9-2-4.html
@@ -868,9 +871,11 @@ share/doc/postgresql/html/release-9-3-4.
share/doc/postgresql/html/release-9-3-5.html
share/doc/postgresql/html/release-9-3-6.html
share/doc/postgresql/html/release-9-3-7.html
+share/doc/postgresql/html/release-9-3-8.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-2.html
+share/doc/postgresql/html/release-9-4-3.html
share/doc/postgresql/html/release-9-4.html
share/doc/postgresql/html/release.html
share/doc/postgresql/html/resources.html