Hi, Little diff to update PostgreSQL to it's latest version. It's a security fix: CVE-2015-5289 and CVE-2015-5288 Changelog here: http://www.postgresql.org/about/news/1615/
Tested on @amd64. I will send a diff for 5.8 and 5.7 too. Regards,
Index: Makefile =================================================================== RCS file: /cvs/ports/databases/postgresql/Makefile,v retrieving revision 1.207 diff -u -p -u -p -r1.207 Makefile --- Makefile 3 Aug 2015 07:42:30 -0000 1.207 +++ Makefile 8 Oct 2015 15:35:47 -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.4 +VERSION= 9.4.5 DISTNAME= postgresql-${VERSION} PKGNAME-main= postgresql-client-${VERSION} PKGNAME-server= postgresql-server-${VERSION} @@ -19,8 +19,6 @@ PKGNAME-docs= postgresql-docs-${VERSION} PKGNAME-contrib=postgresql-contrib-${VERSION} PKGNAME-plpython=postgresql-plpython-${VERSION} -REVISION-server= 1 -REVISION-plpython= 0 CATEGORIES= databases SHARED_LIBS= ecpg 7.6 \ Index: distinfo =================================================================== RCS file: /cvs/ports/databases/postgresql/distinfo,v retrieving revision 1.57 diff -u -p -u -p -r1.57 distinfo --- distinfo 22 Jun 2015 07:29:42 -0000 1.57 +++ distinfo 8 Oct 2015 15:35:47 -0000 @@ -1,2 +1,2 @@ -SHA256 (postgresql-9.4.4.tar.gz) = mm885nfV8UmQH8dsEZgokahGvLkogGnZGBHatqGBF2Y= -SIZE (postgresql-9.4.4.tar.gz) = 23113477 +SHA256 (postgresql-9.4.5.tar.gz) = qh15GK54Kg/F4Yhv1GP8iQPl/8PrbTtRUABlrsmIohA= +SIZE (postgresql-9.4.5.tar.gz) = 23211720 Index: patches/patch-src_include_storage_barrier_h =================================================================== RCS file: patches/patch-src_include_storage_barrier_h diff -N patches/patch-src_include_storage_barrier_h --- patches/patch-src_include_storage_barrier_h 16 Jan 2015 23:24:15 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,15 +0,0 @@ -$OpenBSD: patch-src_include_storage_barrier_h,v 1.1 2015/01/16 23:24:15 landry Exp $ - -fix build on alpha - ---- src/include/storage/barrier.h.orig Fri Jan 16 13:08:20 2015 -+++ src/include/storage/barrier.h Fri Jan 16 13:24:05 2015 -@@ -117,7 +117,7 @@ extern slock_t dummy_spinlock; - * read barrier to cover that case. We might need to add that later. - */ - #define pg_memory_barrier() __asm__ __volatile__ ("mb" : : : "memory") --#define pg_read_barrier() __asm__ __volatile__ ("rmb" : : : "memory") -+#define pg_read_barrier() __asm__ __volatile__ ("mb" : : : "memory") - #define pg_write_barrier() __asm__ __volatile__ ("wmb" : : : "memory") - #elif defined(__hppa) || defined(__hppa__) /* HP PA-RISC */ - Index: pkg/PLIST-docs =================================================================== RCS file: /cvs/ports/databases/postgresql/pkg/PLIST-docs,v retrieving revision 1.69 diff -u -p -u -p -r1.69 PLIST-docs --- pkg/PLIST-docs 22 Jun 2015 07:29:42 -0000 1.69 +++ pkg/PLIST-docs 8 Oct 2015 15:35:47 -0000 @@ -485,6 +485,7 @@ share/doc/postgresql/html/monitoring-ps. share/doc/postgresql/html/monitoring-stats.html share/doc/postgresql/html/monitoring.html share/doc/postgresql/html/multibyte.html +share/doc/postgresql/html/mvcc-caveats.html share/doc/postgresql/html/mvcc-intro.html share/doc/postgresql/html/mvcc.html share/doc/postgresql/html/nls-programmer.html @@ -826,6 +827,7 @@ share/doc/postgresql/html/release-9-0-2. 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-22.html +share/doc/postgresql/html/release-9-0-23.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 @@ -844,6 +846,7 @@ share/doc/postgresql/html/release-9-1-15 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-18.html +share/doc/postgresql/html/release-9-1-19.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 @@ -858,6 +861,7 @@ share/doc/postgresql/html/release-9-2-10 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 +share/doc/postgresql/html/release-9-2-14.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,6 +872,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-2.html share/doc/postgresql/html/release-9-3-3.html share/doc/postgresql/html/release-9-3-4.html @@ -881,6 +886,7 @@ share/doc/postgresql/html/release-9-4-1. 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 +share/doc/postgresql/html/release-9-4-5.html share/doc/postgresql/html/release-9-4.html share/doc/postgresql/html/release.html share/doc/postgresql/html/resources.html