Compare commits

...

7 Commits
master ... f25

Author SHA1 Message Date
Pavel Raiskup
83fee78184 rebase: security update to 9.5.10
Per release notes:
https://www.postgresql.org/docs/9.5/static/release-9-5-10.html

Version: 9.5.10-1
2017-11-08 08:03:46 +01:00
Pavel Raiskup
ede1855951 postgresql-setup: fix CVE-2017-15097
Fixed by updating the postgresql-setup tarball.

Resolves: CVE-2017-15097
Version: 9.5.9-1
2017-11-08 08:03:39 +01:00
Pavel Raiskup
63fe419fe7 rebase: update to 9.5.9
Per release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5-9.html

Version: 9.5.9-1
2017-09-04 12:17:48 +02:00
Petr Kubat
b358805730 rebase: update to 9.5.8
Per release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5-8.html

Resolves: #1480284
Version: 9.5.8-1
2017-08-11 12:28:01 +02:00
Pavel Raiskup
b7af207178 rebase: update to 9.5.7
Per release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5-7.html

Version: 9.5.7-1
2017-05-11 13:27:21 +02:00
Pavel Raiskup
c5eadfb5d9 rebase: update to 9.5.6
Per release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5-6.html

Version: 9.5.6-1
2017-02-07 12:02:42 +01:00
Pavel Raiskup
b281e87692 rebase: update to 9.5.5
Per release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5-5.html

Version: 9.5.5-1
2016-10-26 09:19:03 +02:00
6 changed files with 71 additions and 20 deletions

17
.gitignore vendored
View File

@ -1,11 +1,6 @@
/postgresql-setup-4.0.tar.gz
/postgresql-9.5.3-US.pdf
/postgresql-9.5.4-US.pdf
/postgresql-9.5.3.tar.bz2
/postgresql-9.5.3.tar.bz2.sha256
/postgresql-9.4.8.tar.bz2
/postgresql-9.4.8.tar.bz2.sha256
/postgresql-9.4.9.tar.bz2
/postgresql-9.4.9.tar.bz2.sha256
/postgresql-9.5.4.tar.bz2
/postgresql-9.5.4.tar.bz2.sha256
/postgresql-9.4.15.tar.bz2
/postgresql-9.4.15.tar.bz2.sha256
/postgresql-9.5.10.tar.bz2
/postgresql-9.5.10.tar.bz2.sha256
/postgresql-setup-6.0.tar.gz
/postgresql-9.5.10-US.pdf

10
gen_sources.sh Executable file
View File

@ -0,0 +1,10 @@
#! /bin/sh -x
set -e
spectool -S *.spec | cut -d' ' -f2 \
| grep -E -e 'postgresql-.*\.tar\.*' -e 'postgresql.*\.pdf' | sort | \
while read line
do
base=`basename "$line"`
md5sum "$base"
done

View File

@ -18,7 +18,10 @@ set -e
# Pass package version (e.g., 9.1.2) as argument
VERSION=$1
test -z "$VERSION" && VERSION=`awk '/^Version:/ { print $2; }' postgresql.spec`
TARGETFILE=postgresql-$VERSION-US.pdf
test -f "$TARGETFILE" && echo "$TARGETFILE exists" && exit 1
echo Building $TARGETFILE ...

View File

@ -0,0 +1,13 @@
#! /bin/sh
rm sources .gitignore
set -e
spectool -S *.spec | cut -d' ' -f2 \
| grep -E -e 'postgresql-.*\.tar\.*' -e 'postgresql.*\.pdf' | sort | \
while read line
do
base=`basename "$line"`
echo " * handling $base"
sha512sum --tag "$base" >> sources
echo "/$base" >> .gitignore
done

View File

@ -66,7 +66,7 @@
Summary: PostgreSQL client programs
Name: postgresql
%global majorversion 9.5
Version: 9.5.4
Version: 9.5.10
Release: 1%{?dist}
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
@ -82,10 +82,10 @@ 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.4.9
%global prevversion 9.4.15
%global prevmajorversion 9.4
%global setup_version 4.0
%global setup_version 6.0
Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
# The PDF file is generated by generate-pdf.sh, which see for comments
@ -1122,6 +1122,7 @@ fi
%{_datadir}/pgsql/tsearch_data/
%dir %{_datadir}/postgresql-setup
%{_datadir}/postgresql-setup/library.sh
%{_datadir}/postgresql-setup/postgresql_pkg_tests.sh
%{_libdir}/pgsql/*_and_*.so
%{_libdir}/pgsql/dict_snowball.so
%{_libdir}/pgsql/euc2004_sjis2004.so
@ -1143,8 +1144,10 @@ fi
%{_mandir}/man1/pg_resetxlog.*
%{_mandir}/man1/pg_rewind.*
%{_mandir}/man1/postgres.*
%{_mandir}/man1/postgresql-new-systemd-unit.*
%{_mandir}/man1/postgresql-setup.*
%{_mandir}/man1/postmaster.*
%{_sbindir}/postgresql-new-systemd-unit
%{_tmpfilesdir}/postgresql.conf
%{_unitdir}/postgresql.service
%{_unitdir}/postgresql@.service
@ -1216,6 +1219,33 @@ fi
%endif
%changelog
* Wed Nov 08 2017 Pavel Raiskup <praiskup@redhat.com> - 9.5.10-1
- update to 9.5.10 per release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5-10.html
* Wed Nov 08 2017 Pavel Raiskup <praiskup@redhat.com> - 9.5.9-1
- rebase to new postgresql-setup 6.0 version, to fix CVE-2017-15097
* Mon Sep 04 2017 Pavel Raiskup <praiskup@redhat.com> - 9.5.9-1
- update to 9.5.9 per release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5-9.html
* Tue Aug 08 2017 Petr Kubat <pkubat@redhat.com> - 9.5.8-1
- update to 9.5.8 per release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5-8.html
* Thu May 11 2017 Pavel Raiskup <praiskup@redhat.com> - 9.5.7-1
- update to 9.5.7 per release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5-7.html
* Tue Feb 07 2017 Pavel Raiskup <praiskup@redhat.com> - 9.5.6-1
- update to 9.5.6 per release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5-6.html
* Wed Oct 26 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.5-1
- update to 9.5.5 per release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5-5.html
* Fri Aug 12 2016 Petr Kubat <pkubat@redhat.com> - 9.5.4-1
- update to 9.5.4 per release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5-4.html

12
sources
View File

@ -1,6 +1,6 @@
3cd80dbdb03dba0131d7b6a11ae1a24c postgresql-setup-4.0.tar.gz
ad36fcf624748b8ed67783ad04529f43 postgresql-9.5.4.tar.bz2
cb2960fb4022d57f9d7cf421a592a7c0 postgresql-9.4.9.tar.bz2
c0cc4410822bf69f6939361fc33cfb15 postgresql-9.4.9.tar.bz2.sha256
791291e31348bf4619048a8b06e2231d postgresql-9.5.4.tar.bz2.sha256
6bf9dc43855903b6bef6c515643b5c8b postgresql-9.5.4-US.pdf
SHA512 (postgresql-9.4.15.tar.bz2) = be69f184cf18fb4c611d31a128f3593dc537551606f1db84a3ce9899b72f546876f05b29792435c3780c6c2b571759f4db2c172d62b2c012bd58574df80b4eb1
SHA512 (postgresql-9.4.15.tar.bz2.sha256) = 149e031ef68fe825de8309109c78537ec8e922b3ac39d0721a9364310cab9ad7d02ddb89bc67069cf90181ec9087c6b203533fc2efb33dea3da3c5846a904ef6
SHA512 (postgresql-9.5.10.tar.bz2) = 24e31adabb0b88be882ab0440c560f0e4d5d69203be0581ca0ce22316555d92219ea0a2fd5254f12b2508bd3e58bbe0f1a7c8837228c96d9d5f00caac45af95a
SHA512 (postgresql-9.5.10.tar.bz2.sha256) = 3ba06fbb65e1ee560ed279cdb5eb04d4e2e02ee2ee2a2d407a129035706afb32332098c2b3c79c451aa3c98190ac44d5422ed619464e014bd12a571d9b15a08b
SHA512 (postgresql-setup-6.0.tar.gz) = 4fa02b35d3b2d1d79193fd3a6af02532b5a6736dbae23cad485492acd4eb0c5f25159f36eb445a63eac0097ec4c52f57c58b0960fa012577c24daac5a032b243
SHA512 (postgresql-9.5.10-US.pdf) = 1f853fa24fe70295180ea1eaff4edd4c27b2acd60c28890122e335a013ab0b58fb94fe598d986abf77b47b84b41040d44fde9a0ef6874b03b0ecd0704a0cae4d