From 2e73ff757cfdd20a708fc783e09ff23f3d8644e0 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 27 Feb 2012 11:05:52 -0500 Subject: [PATCH] Update to PostgreSQL 9.1.3 --- .gitignore | 6 +++--- postgresql.service | 16 ++++++++++++++++ postgresql.spec | 12 +++++++++--- sources | 6 +++--- 4 files changed, 31 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 295e700..bda415a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -/postgresql-9.1.2.tar.bz2 -/postgresql-9.1.2-US.pdf -/postgresql-9.0.4.tar.bz2 +/postgresql-9.1.3.tar.bz2 +/postgresql-9.1.3-US.pdf +/postgresql-9.0.7.tar.bz2 diff --git a/postgresql.service b/postgresql.service index e59ce5c..4414d11 100644 --- a/postgresql.service +++ b/postgresql.service @@ -1,3 +1,19 @@ +# It's not recommended to modify this file in-place, because it will be +# overwritten during package upgrades. If you want to customize, the +# best way is to create a file "/etc/systemd/system/postgresql.service", +# containing +# .include /lib/systemd/system/postgresql.service +# ...make your changes here... +# For more info about custom unit files, see +# http://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F + +# For example, if you want to change the server's port number to 5433, +# create a file named "/etc/systemd/system/postgresql.service" containing: +# .include /lib/systemd/system/postgresql.service +# [Service] +# Environment=PGPORT=5433 +# This will override the setting appearing below. + [Unit] Description=PostgreSQL database server After=syslog.target diff --git a/postgresql.spec b/postgresql.spec index 606a0d1..3fd9bea 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -52,8 +52,8 @@ Summary: PostgreSQL client programs Name: postgresql %global majorversion 9.1 -Version: 9.1.2 -Release: 2%{?dist} +Version: 9.1.3 +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. @@ -67,7 +67,7 @@ Url: http://www.postgresql.org/ # This SRPM includes a copy of the previous major release, which is needed for # 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. -%global prevversion 9.0.4 +%global prevversion 9.0.7 %global prevmajorversion 9.0 Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2 @@ -927,6 +927,12 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Mon Feb 27 2012 Tom Lane 9.1.3-1 +- Update to PostgreSQL 9.1.3, for various fixes described at + http://www.postgresql.org/docs/9.1/static/release-9-1-3.html + including the fixes for CVE-2012-0866, CVE-2012-0867, CVE-2012-0868 +Resolves: #797918 + * Mon Jan 9 2012 Tom Lane 9.1.2-2 - Make systemd unit file more user-friendly by resurrecting the old init script's checks for data directory presence and version match diff --git a/sources b/sources index a853c4c..a20d219 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -7dbff52221954c46595313eb7f92c3e0 postgresql-9.1.2.tar.bz2 -41e90d2e3b1ba88801fed96d553d9417 postgresql-9.1.2-US.pdf -80390514d568a7af5ab61db1cda27e29 postgresql-9.0.4.tar.bz2 +641e1915f7ebfdc9f138e4c55b6aec0e postgresql-9.1.3.tar.bz2 +2deab3e198568853354f328852547d5a postgresql-9.1.3-US.pdf +27e67f48607c29df8ca6aab2a6fdf0b8 postgresql-9.0.7.tar.bz2