[postgresql] Update to PostgreSQL 8.4.5

Tom Lane tgl at fedoraproject.org
Tue Oct 5 19:20:46 UTC 2010


commit 24943ae8ab1702d35e43a8191e3ef42d5e12a1d6
Author: Tom Lane <tgl at sss.pgh.pa.us>
Date:   Tue Oct 5 15:19:41 2010 -0400

    Update to PostgreSQL 8.4.5

 .gitignore                  |    4 ++--
 postgresql-ac-version.patch |    8 ++++----
 postgresql.init             |    2 +-
 postgresql.spec             |   12 ++++++++++--
 sources                     |    4 ++--
 5 files changed, 19 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2846e3a..948254d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
-postgresql-8.4.4.tar.bz2
-postgresql-8.4.4-US.pdf
+/postgresql-8.4.5.tar.bz2
+/postgresql-8.4.5-US.pdf
diff --git a/postgresql-ac-version.patch b/postgresql-ac-version.patch
index e04d852..53c774a 100644
--- a/postgresql-ac-version.patch
+++ b/postgresql-ac-version.patch
@@ -4,12 +4,12 @@ for PostgreSQL, but it's not very tenable in the Fedora/RHEL world.
 Dike out the check.
 
 
-diff -Naur postgresql-8.4.4.orig/configure.in postgresql-8.4.4/configure.in
---- postgresql-8.4.4.orig/configure.in	2009-09-03 20:36:50.000000000 -0400
-+++ postgresql-8.4.4/configure.in	2009-09-04 13:03:07.000000000 -0400
+diff -Naur postgresql-8.4.5.orig/configure.in postgresql-8.4.5/configure.in
+--- postgresql-8.4.5.orig/configure.in	2009-09-03 20:36:50.000000000 -0400
++++ postgresql-8.4.5/configure.in	2009-09-04 13:03:07.000000000 -0400
 @@ -19,10 +19,6 @@
  
- AC_INIT([PostgreSQL], [8.4.4], [pgsql-bugs at postgresql.org])
+ AC_INIT([PostgreSQL], [8.4.5], [pgsql-bugs at postgresql.org])
  
 -m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.61], [], [m4_fatal([Autoconf version 2.61 is required.
 -Untested combinations of 'autoconf' and PostgreSQL versions are not
diff --git a/postgresql.init b/postgresql.init
index ad2e470..44d032c 100644
--- a/postgresql.init
+++ b/postgresql.init
@@ -218,7 +218,7 @@ case "$1" in
 	stop
 	;;
   status)
-	status postmaster
+	status -p "$pidfile" postmaster
 	script_result=$?
 	;;
   restart)
diff --git a/postgresql.spec b/postgresql.spec
index f80e42f..cc232db 100755
--- a/postgresql.spec
+++ b/postgresql.spec
@@ -52,8 +52,8 @@
 Summary: PostgreSQL client programs
 Name: postgresql
 %global majorversion 8.4
-Version: 8.4.4
-Release: 3%{?dist}
+Version: 8.4.5
+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.
 License: PostgreSQL
@@ -714,6 +714,14 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Tue Oct  5 2010 Tom Lane <tgl at redhat.com> 8.4.5-1
+- Update to PostgreSQL 8.4.5, for various fixes described at
+  http://www.postgresql.org/docs/8.4/static/release-8-4-5.html
+  including the fix for CVE-2010-3433
+Related: #639371
+- Add -p "$pidfile" to initscript's status call to improve corner cases.
+Related: #561010
+
 * Sat Jul 31 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 8.4.4-3
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 - Duplicate COPYRIGHT in -libs subpackage, per revised packaging guidelines
diff --git a/sources b/sources
index f169b55..5f91317 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-4bf2448ad965bca3940df648c02194df  postgresql-8.4.4.tar.bz2
-1d67db52cd8493c2b76dd827e8d46d25  postgresql-8.4.4-US.pdf
+391a3f2eddd6fa78bb6ceba9955ffa5f  postgresql-8.4.5.tar.bz2
+b1eb40dd133acb73671c8862a45ed9c9  postgresql-8.4.5-US.pdf


More information about the scm-commits mailing list