[postgresql/f18] Update to PostgreSQL 9.2.4

Tom Lane tgl at fedoraproject.org
Thu Apr 4 13:50:27 UTC 2013


commit b12e02c3db059440ffaa9d958d7932d8b7219ea7
Author: Tom Lane <tgl at redhat.com>
Date:   Thu Apr 4 09:50:18 2013 -0400

    Update to PostgreSQL 9.2.4

 .gitignore      |    6 +++---
 postgresql.spec |   22 +++++++++++++++++-----
 sources         |    6 +++---
 3 files changed, 23 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index bc23b93..46823fd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
-/postgresql-9.2.3.tar.bz2
-/postgresql-9.2.3-US.pdf
-/postgresql-9.1.8.tar.bz2
+/postgresql-9.2.4.tar.bz2
+/postgresql-9.2.4-US.pdf
+/postgresql-9.1.9.tar.bz2
diff --git a/postgresql.spec b/postgresql.spec
index 1ce6bac..0e3889d 100644
--- a/postgresql.spec
+++ b/postgresql.spec
@@ -57,8 +57,8 @@
 Summary: PostgreSQL client programs
 Name: postgresql
 %global majorversion 9.2
-Version: 9.2.3
-Release: 2%{?dist}
+Version: 9.2.4
+Release: 1%{?dist}
 
 # The PostgreSQL license is very similar to other MIT licenses, but the OSI
 # recognizes it as an independent license, so we do as well.
@@ -73,7 +73,7 @@ Url: http://www.postgresql.org/
 # in-place upgrade of an old database.  In most cases it will not be critical
 # that this be kept up with the latest minor release of the previous series;
 # but update when bugs affecting pg_dump output are fixed.
-%global prevversion 9.1.8
+%global prevversion 9.1.9
 %global prevmajorversion 9.1
 
 Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
@@ -333,14 +333,19 @@ benchmarks.
 # We used to run autoconf here, but there's no longer any real need to,
 # since Postgres ships with a reasonably modern configure script.
 
-# add ppc64p7 optimized arch support
+# add ppc64p7 support (https://fedoraproject.org/wiki/Features/Power7Subarch)
+# hopefully need for this will go away next time upstream updates config.sub
 sed -i -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" config/config.sub
 
 cp -p %{SOURCE1} .
 
 %if %upgrade
 tar xfj %{SOURCE3}
-sed -i -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" postgresql-%{prevversion}/config/config.sub
+# make sure older version is up-to-date on config.guess/config.sub;
+# not always necessary, but PG 9.2 knows about aarch64 while 9.1 doesn't
+# (and also see the ppc64p7 hack above)
+cp -p config/config.guess postgresql-%{prevversion}/config/config.guess
+cp -p config/config.sub postgresql-%{prevversion}/config/config.sub
 %endif
 
 # remove .gitignore files to ensure none get into the RPMs (bug #642210)
@@ -1092,6 +1097,13 @@ fi
 %endif
 
 %changelog
+* Thu Apr  4 2013 Tom Lane <tgl at redhat.com> 9.2.4-1
+- Update to PostgreSQL 9.2.4, for various fixes described at
+  http://www.postgresql.org/docs/9.2/static/release-9-2-4.html
+  including the fixes for CVE-2013-1899, CVE-2013-1900, CVE-2013-1901
+Resolves: #929223, #929255, #929328
+- fix build for aarch64
+
 * Tue Mar 19 2013 Karsten Hopp <karsten at redhat.com> 9.2.3-2
 - add ppc64p7 optimized arch support
 
diff --git a/sources b/sources
index 5efea97..4657dc6 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-59f42a93695b0186ed5eb03c2653a7d4  postgresql-9.2.3.tar.bz2
-33c8cd75dc2e0a5531a665a27b698718  postgresql-9.2.3-US.pdf
-54783b516880a586dcd7c07992d8c0b3  postgresql-9.1.8.tar.bz2
+6ee5bb53b97da7c6ad9cb0825d3300dd  postgresql-9.2.4.tar.bz2
+64f70057a3a153e8e237d0c79ccc63e9  postgresql-9.2.4-US.pdf
+6b5ea53dde48fcd79acfc8c196b83535  postgresql-9.1.9.tar.bz2


More information about the scm-commits mailing list