import postgresql-13.18-1.module+el8.10.0+22549+cf2ec3d9

c8-stream-13 imports/c8-stream-13/postgresql-13.18-1.module+el8.10.0+22549+cf2ec3d9
MSVSphere Packaging Team 3 weeks ago
parent 1299b0295a
commit 2f36b9adac
Signed by: sys_gitsync
GPG Key ID: B2B0B9F29E528FE8

6
.gitignore vendored

@ -1,4 +1,4 @@
SOURCES/postgresql-12.20.tar.bz2
SOURCES/postgresql-13.16-US.pdf
SOURCES/postgresql-13.16.tar.bz2
SOURCES/postgresql-12.22.tar.bz2
SOURCES/postgresql-13.18-US.pdf
SOURCES/postgresql-13.18.tar.bz2
SOURCES/postgresql-setup-8.7.tar.gz

@ -1,4 +1,4 @@
53f918639e4f0ee456c09586c5528d31a84e3934 SOURCES/postgresql-12.20.tar.bz2
3498b713d2c4ec17809174228a89a89fc63b16c8 SOURCES/postgresql-13.16-US.pdf
a2465d5086abb2b2ff9115541cae404f869dfa0f SOURCES/postgresql-13.16.tar.bz2
4f0a2bfcdaa6b370029353d7a01451d7a8282750 SOURCES/postgresql-12.22.tar.bz2
955d79c1020409995834540260981b95e269b980 SOURCES/postgresql-13.18-US.pdf
e314353cf318ce5e33dfb73a91cd2ac9553c9885 SOURCES/postgresql-13.18.tar.bz2
fb97095dc9648f9c31d58fcb406831da5e419ddf SOURCES/postgresql-setup-8.7.tar.gz

@ -1,58 +0,0 @@
#! /bin/sh
# This script builds the PDF version of the PostgreSQL documentation.
#
# In principle we could do this as part of the RPM build, but there are
# good reasons not to:
# 1. The build would take longer and have a larger BuildRequires footprint.
# 2. The generated PDF has timestamps in it, which would inevitably result
# in multilib conflicts due to slightly different timestamps.
# So instead, we run this manually when rebasing to a new upstream release,
# and treat the resulting PDF as a separate Source file.
#
# You will need to have the docbook packages installed to run this.
# Expect it to take about 20 minutes and use about 160MB of disk.
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 ...
# Unpack postgresql
rm -rf postgresql-$VERSION
tar xfj postgresql-$VERSION.tar.bz2
cd postgresql-$VERSION
# Apply any patches that affect the PDF documentation
# patch -p1 < ../xxx.patch
# Configure ...
./configure >/dev/null
# Build the PDF docs
cd doc/src/sgml
make postgres-US.pdf >make.log
mv -f postgres-US.pdf ../../../../$TARGETFILE
# Clean up
cd ../../../..
rm -rf postgresql-$VERSION
exit 0

@ -1 +0,0 @@
2d543af3009fec7fd5af35f7a70c95085d3eef6b508e517aa9493e99b15e9ea9 postgresql-12.20.tar.bz2

@ -0,0 +1 @@
8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b postgresql-12.22.tar.bz2

@ -1 +0,0 @@
c9cbbb6129f02328204828066bb3785c00a85c8ca8fd329c2a8a53c1f5cd8865 postgresql-13.16.tar.bz2

@ -0,0 +1 @@
ceea92abee2a8c19408d278b68de6a78b6bd3dbb4fa2d653fa7ca745d666aab1 postgresql-13.18.tar.bz2

@ -59,7 +59,7 @@
Summary: PostgreSQL client programs
Name: postgresql
%global majorversion 13
Version: %{majorversion}.16
Version: %{majorversion}.18
Release: 1%{?dist}
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
@ -72,7 +72,7 @@ Url: http://www.postgresql.org/
# 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 prevmajorversion 12
%global prevversion %{prevmajorversion}.20
%global prevversion %{prevmajorversion}.22
%global prev_prefix %{_libdir}/pgsql/postgresql-%{prevmajorversion}
%global precise_version %{?epoch:%epoch:}%version-%release
@ -81,10 +81,9 @@ Url: http://www.postgresql.org/
%global service_name postgresql.service
Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
# The PDF file is generated by generate-pdf.sh, which see for comments
# PDF can be downloaded from the upstream
# Don't forget to rename the PDF file with the full version prefix (e.g. postgresql-13.18-US.pdf)
Source1: postgresql-%{version}-US.pdf
# generate-pdf.sh is not used during RPM build, but include for documentation
Source2: generate-pdf.sh
Source3: https://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{prevversion}.tar.bz2
Source4: Makefile.regress
Source9: postgresql.tmpfiles.d
@ -1225,6 +1224,10 @@ make -C postgresql-setup-%{setup_version} check
%changelog
* Thu Nov 21 2024 Lukas Javorsky <ljavorsk@redhat.com> - 13.18-1
- Update to 13.18
- Fixes: CVE-2024-10976 CVE-2024-10978 CVE-2024-10979
* Mon Aug 12 2024 Ales Nezbeda <anezbeda@redhat.com> - 13.16-1
- Update to 13.16
- Fix CVE-2024-7348

Loading…
Cancel
Save