Update to PostgreSQL 8.0.3 (includes security and data-loss fixes; see

bz#156727, CAN-2005-1409, CAN-2005-1410).
This commit is contained in:
Tom Lane 2005-05-10 15:34:35 +00:00
parent 391b666054
commit e8f554df7d
3 changed files with 32 additions and 14 deletions

View File

@ -1,8 +1,8 @@
postgresql-8.0.2.tar.bz2 postgresql-8.0.3.tar.bz2
PyGreSQL-3.6.1.tgz PyGreSQL-3.6.1.tgz
pgtcl1.5.2.tar.gz pgtcl1.5.2.tar.gz
pgtcldocs-20041108.zip pgtcldocs-20041108.zip
postgresql-8.0.309.jdbc2.jar postgresql-8.0-311.jdbc2.jar
postgresql-8.0.309.jdbc2ee.jar postgresql-8.0-311.jdbc2ee.jar
postgresql-8.0.309.jdbc3.jar postgresql-8.0-311.jdbc3.jar
postgresql-8.0-US.pdf postgresql-8.0-US.pdf

View File

@ -42,7 +42,7 @@
Summary: PostgreSQL client programs and libraries. Summary: PostgreSQL client programs and libraries.
Name: postgresql Name: postgresql
Version: 8.0.2 Version: 8.0.3
# Conventions for PostgreSQL Global Development Group RPM releases: # Conventions for PostgreSQL Global Development Group RPM releases:
@ -64,16 +64,16 @@ Version: 8.0.2
# Pre-release RPM's should not be put up on the public ftp.postgresql.org server # Pre-release RPM's should not be put up on the public ftp.postgresql.org server
# -- only test releases or full releases should be. # -- only test releases or full releases should be.
Release: 2 Release: 1
License: BSD License: BSD
Group: Applications/Databases Group: Applications/Databases
Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2 Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
Source3: postgresql.init Source3: postgresql.init
Source4: Makefile.regress Source4: Makefile.regress
Source6: README.rpm-dist Source6: README.rpm-dist
Source8: http://jdbc.postgresql.org/download/postgresql-8.0.309.jdbc2.jar Source8: http://jdbc.postgresql.org/download/postgresql-8.0-311.jdbc2.jar
Source9: http://jdbc.postgresql.org/download/postgresql-8.0.309.jdbc2ee.jar Source9: http://jdbc.postgresql.org/download/postgresql-8.0-311.jdbc2ee.jar
Source10: http://jdbc.postgresql.org/download/postgresql-8.0.309.jdbc3.jar Source10: http://jdbc.postgresql.org/download/postgresql-8.0-311.jdbc3.jar
Source15: postgresql-bashprofile Source15: postgresql-bashprofile
Source16: filter-requires-perl-Pg.sh Source16: filter-requires-perl-Pg.sh
Source17: postgresql-8.0-US.pdf Source17: postgresql-8.0-US.pdf
@ -569,6 +569,14 @@ groupadd -g 26 -o -r postgres >/dev/null 2>&1 || :
useradd -M -n -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \ useradd -M -n -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \
-c "PostgreSQL Server" -u 26 postgres >/dev/null 2>&1 || : -c "PostgreSQL Server" -u 26 postgres >/dev/null 2>&1 || :
# If we're upgrading from rh-postgresql, we have to repeat the above actions
# after rh-postgresql-server is uninstalled, because its postun script runs
# after our pre script ...
%triggerpostun -n postgresql-server -- rh-postgresql-server
groupadd -g 26 -o -r postgres >/dev/null 2>&1 || :
useradd -M -n -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \
-c "PostgreSQL Server" -u 26 postgres >/dev/null 2>&1 || :
%post server %post server
chkconfig --add postgresql chkconfig --add postgresql
/sbin/ldconfig /sbin/ldconfig
@ -581,6 +589,9 @@ fi
%postun server %postun server
/sbin/ldconfig /sbin/ldconfig
if [ $1 -ge 1 ] ; then
/sbin/service postgresql condrestart >/dev/null 2>&1 || :
fi
if [ $1 = 0 ] ; then if [ $1 = 0 ] ; then
userdel postgres >/dev/null 2>&1 || : userdel postgres >/dev/null 2>&1 || :
groupdel postgres >/dev/null 2>&1 || : groupdel postgres >/dev/null 2>&1 || :
@ -793,7 +804,14 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif
%changelog %changelog
* Thu Apr 14 2005 Florian La Roche <laroche@redhat.com> * Tue May 10 2005 Tom Lane <tgl@redhat.com> 8.0.3-1
- Update to PostgreSQL 8.0.3 (includes security and data-loss fixes; see
bz#156727, CAN-2005-1409, CAN-2005-1410)
- Update to jdbc driver build 311
- Recreate postgres user after superseding an rh-postgresql install (bug #151911)
- Ensure postgresql server is restarted if running during an upgrade
* Thu Apr 14 2005 Florian La Roche <laroche@redhat.com> 8.0.2-2
- rebuild for postgresql-tcl - rebuild for postgresql-tcl
* Tue Apr 12 2005 Tom Lane <tgl@redhat.com> 8.0.2-1 * Tue Apr 12 2005 Tom Lane <tgl@redhat.com> 8.0.2-1

View File

@ -1,8 +1,8 @@
1d44b9ca9a05a0df6c4bf8ebb7164a06 postgresql-8.0.2.tar.bz2 c0914a133ce6c1e0f1d8b93982d6e881 postgresql-8.0.3.tar.bz2
057c2d93f333ff2ed2177a8b87e19c0c PyGreSQL-3.6.1.tgz 057c2d93f333ff2ed2177a8b87e19c0c PyGreSQL-3.6.1.tgz
d19dfdcb54c334495d32456a043e0232 pgtcl1.5.2.tar.gz d19dfdcb54c334495d32456a043e0232 pgtcl1.5.2.tar.gz
3d504b46231914d61fd49175f67e8715 pgtcldocs-20041108.zip 3d504b46231914d61fd49175f67e8715 pgtcldocs-20041108.zip
35ecfedea6bfb21eca15c85da6f062e9 postgresql-8.0.309.jdbc2.jar 5d5d0d8e97ea3d117380068131b136ac postgresql-8.0-311.jdbc2.jar
0c565f0fce11c55242467aade130f86c postgresql-8.0.309.jdbc2ee.jar c4d7009a4baaf06858a2923066ba2529 postgresql-8.0-311.jdbc2ee.jar
04fb5bd60b3caddbf9322d6a9398f108 postgresql-8.0.309.jdbc3.jar 0ae011c390d94566326c61aad3ad9b6a postgresql-8.0-311.jdbc3.jar
2edd229aa83105175a1212a001dd030a postgresql-8.0-US.pdf 2edd229aa83105175a1212a001dd030a postgresql-8.0-US.pdf