Blame SPECS/postgresql.spec

62d2ae
# This is the PostgreSQL Global Development Group Official RPMset spec file,
62d2ae
# or a derivative thereof.
62d2ae
# Copyright 2003-2009 Lamar Owen <lowen@pari.edu> <lamar.owen@wgcr.org>
62d2ae
# and others listed.                 ** vi: ts=4 sw=4 noexpandtab nosmarttab
62d2ae
62d2ae
# Major Contributors:
62d2ae
# ---------------
62d2ae
# Lamar Owen
62d2ae
# Trond Eivind Glomsrd <teg@redhat.com>
62d2ae
# Thomas Lockhart
62d2ae
# Reinhard Max
62d2ae
# Karl DeBisschop
62d2ae
# Peter Eisentraut
62d2ae
# Joe Conway
62d2ae
# Andrew Overholt
62d2ae
# David Jee
62d2ae
# Kaj J. Niemi
62d2ae
# Sander Steffann
62d2ae
# Tom Lane
62d2ae
# and others in the Changelog....
62d2ae
62d2ae
# This spec file and ancillary files are licensed in accordance with
62d2ae
# The PostgreSQL license.
62d2ae
62d2ae
# In this file you can find the default build package list macros.
62d2ae
# These can be overridden by defining on the rpm command line:
62d2ae
# rpm --define 'packagename 1' .... to force the package to build.
62d2ae
# rpm --define 'packagename 0' .... to force the package NOT to build.
62d2ae
# The base package, the libs package, the devel package, and the server package
62d2ae
# always get built.
62d2ae
%global scl rh-postgresql13
62d2ae
%{?scl:%scl_package postgresql}
62d2ae
62d2ae
%{!?beta:%global beta 0}
62d2ae
62d2ae
%{!?test:%global test 1}
62d2ae
%{!?plpython:%global plpython 1}
62d2ae
%{!?plpython3:%global plpython3 1}
62d2ae
%{!?pltcl:%global pltcl 1}
62d2ae
%{!?plperl:%global plperl 1}
62d2ae
%{!?ssl:%global ssl 1}
62d2ae
%{!?icu:%global icu 1}
62d2ae
%{!?kerberos:%global kerberos 1}
62d2ae
%{!?ldap:%global ldap 1}
62d2ae
%{!?nls:%global nls 1}
62d2ae
%{!?uuid:%global uuid 1}
62d2ae
%{!?xml:%global xml 1}
62d2ae
%{!?pam:%global pam 1}
62d2ae
%{!?sdt:%global sdt 1}
62d2ae
%{!?selinux:%global selinux 1}
62d2ae
%{!?systemd_build:%global systemd_build 1}
62d2ae
%{!?runselftest:%global runselftest 1}
62d2ae
62d2ae
# By default, patch(1) creates backup files when chunks apply with offsets.
62d2ae
# Turn that off to ensure such files don't get included in RPMs.
62d2ae
%global _default_patch_flags --no-backup-if-mismatch
62d2ae
62d2ae
# https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_of_Additional_RPM_Macros
62d2ae
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{!?scl:%_sysconfdir}%{?scl:%_root_sysconfdir}/rpm; echo $d)
62d2ae
62d2ae
Summary: PostgreSQL client programs
62d2ae
Name: %{?scl_prefix}postgresql
62d2ae
%global majorversion 13
aca4f9
Version: %{majorversion}.7
62d2ae
Release: 1%{?dist}
62d2ae
62d2ae
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
62d2ae
# recognizes it as an independent license, so we do as well.
62d2ae
License: PostgreSQL
62d2ae
Group: Applications/Databases
62d2ae
Url: http://www.postgresql.org/
62d2ae
62d2ae
%global setup_version 8.5
62d2ae
62d2ae
%global service_name %{?scl_prefix}postgresql.service
62d2ae
Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
62d2ae
# The PDF file is generated by generate-pdf.sh, which see for comments
62d2ae
Source1: postgresql-%{version}-US.pdf
62d2ae
# generate-pdf.sh is not used during RPM build, but include for documentation
62d2ae
Source2: generate-pdf.sh
62d2ae
Source4: Makefile.regress
62d2ae
Source9: postgresql.tmpfiles.d
62d2ae
Source10: postgresql.pam
62d2ae
Source11: postgresql-bashprofile
62d2ae
62d2ae
62d2ae
# git: https://github.com/devexp-db/postgresql-setup
62d2ae
Source12: https://github.com/devexp-db/postgresql-setup/releases/download/v%{setup_version}/postgresql-setup-%{setup_version}.tar.gz
62d2ae
62d2ae
# Those here are just to enforce packagers check that the tarball was downloaded
62d2ae
# correctly.  Also, this allows us check that packagers-only tarballs do not
62d2ae
# differ with publicly released ones.
62d2ae
Source16: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
62d2ae
62d2ae
# Comments for these patches are in the patch files.
62d2ae
Patch1: rpm-pgsql.patch
62d2ae
Patch2: postgresql-logging.patch
62d2ae
Patch3: postgresql-perl-rpath.patch
62d2ae
Patch5: postgresql-var-run-socket.patch
62d2ae
Patch6: postgresql-man.patch
62d2ae
Patch7: postgresql-socket-dirs-pgupgrade.patch
62d2ae
Patch8: postgresql-libpqwalreceiver-rpath.patch
62d2ae
62d2ae
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
62d2ae
BuildRequires: perl(ExtUtils::Embed), perl-devel
62d2ae
%if 0%{?fedora} || 0%{?rhel} > 7
62d2ae
BuildRequires: perl-generators
62d2ae
%endif
62d2ae
BuildRequires: readline-devel zlib-devel
62d2ae
BuildRequires: systemd-units systemd-devel
62d2ae
BuildRequires: util-linux
62d2ae
# We don't have to take care of multilib in SCL.
62d2ae
BuildRequires: multilib-rpm-config
62d2ae
62d2ae
# postgresql-setup build requires
62d2ae
BuildRequires: m4 elinks docbook-utils help2man
62d2ae
62d2ae
%if %plpython
62d2ae
BuildRequires: python2-devel
62d2ae
%endif
62d2ae
62d2ae
%if %plpython3
62d2ae
BuildRequires: python3-devel
62d2ae
%endif
62d2ae
62d2ae
%if %pltcl
62d2ae
BuildRequires: tcl-devel
62d2ae
%endif
62d2ae
62d2ae
%if %ssl
62d2ae
BuildRequires: openssl-devel
62d2ae
%endif
62d2ae
62d2ae
%if %kerberos
62d2ae
BuildRequires: krb5-devel
62d2ae
%endif
62d2ae
62d2ae
%if %ldap
62d2ae
BuildRequires: openldap-devel
62d2ae
%endif
62d2ae
62d2ae
%if %nls
62d2ae
BuildRequires: gettext >= 0.10.35
62d2ae
%endif
62d2ae
62d2ae
%if %uuid
62d2ae
BuildRequires: uuid-devel
62d2ae
%endif
62d2ae
62d2ae
%if %xml
62d2ae
BuildRequires: libxml2-devel libxslt-devel
62d2ae
%endif
62d2ae
62d2ae
%if %pam
62d2ae
BuildRequires: pam-devel
62d2ae
%endif
62d2ae
62d2ae
%if %sdt
62d2ae
BuildRequires: systemtap-sdt-devel
62d2ae
%endif
62d2ae
62d2ae
%if %selinux
62d2ae
BuildRequires: libselinux-devel
62d2ae
%endif
62d2ae
62d2ae
# main package requires -libs subpackage
62d2ae
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
62d2ae
%{?scl:Requires:%scl_runtime}
62d2ae
62d2ae
%if %icu
62d2ae
BuildRequires: libicu-devel
62d2ae
%endif
62d2ae
62d2ae
# Needed for:
62d2ae
# - RHEL7 lib* plugins
62d2ae
# - https://bugzilla.redhat.com/1464368 elsewhere
62d2ae
# Filtering: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering
62d2ae
%global __provides_exclude_from ^%{_libdir}/(pgsql|pkgconfig)
62d2ae
%global __requires_exclude_from ^%{_libdir}/pkgconfig
62d2ae
62d2ae
62d2ae
%description
62d2ae
PostgreSQL is an advanced Object-Relational database management system (DBMS).
62d2ae
The base postgresql package contains the client programs that you'll need to
62d2ae
access a PostgreSQL DBMS server, as well as HTML documentation for the whole
62d2ae
system.  These client programs can be located on the same machine as the
62d2ae
PostgreSQL server, or on a remote machine that accesses a PostgreSQL server
62d2ae
over a network connection.  The PostgreSQL server can be found in the
62d2ae
postgresql-server sub-package.
62d2ae
62d2ae
62d2ae
%package libs
62d2ae
Summary: The shared libraries required for any PostgreSQL clients
62d2ae
Group: Applications/Databases
62d2ae
%{!?scl:Provides: libpq.so = %{version}-%{release}}
62d2ae
# for /sbin/ldconfig
62d2ae
Requires(post): glibc
62d2ae
Requires(postun): glibc
62d2ae
%{?scl:Requires:%scl_runtime}
62d2ae
%description libs
62d2ae
The postgresql-libs package provides the essential shared libraries for any
62d2ae
PostgreSQL client program or interface. You will need to install this package
62d2ae
to use any other PostgreSQL package or any clients that need to connect to a
62d2ae
PostgreSQL server.
62d2ae
62d2ae
62d2ae
%package server
62d2ae
Summary: The programs needed to create and run a PostgreSQL server
62d2ae
Group: Applications/Databases
62d2ae
Requires: %{name}%{?_isa} = %{version}-%{release}
62d2ae
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
62d2ae
%{?scl:Requires: /usr/bin/scl_source}
62d2ae
Requires(pre): /usr/sbin/useradd
62d2ae
# We require this to be present for %%{_prefix}/lib/tmpfiles.d
62d2ae
Requires: systemd-units
62d2ae
# Make sure it's there when scriptlets run, too
62d2ae
%{?systemd_requires}
62d2ae
62d2ae
# Packages which provide postgresql plugins should build-require
62d2ae
# postgresql-devel and require
62d2ae
# postgresql-server(:MODULE_COMPAT_%%{postgresql_major}).
62d2ae
# This will automatically guard against incompatible server & plugin
62d2ae
# installation (#1008939, #1007840)
62d2ae
Provides: %{name}-server(:MODULE_COMPAT_%{majorversion})
62d2ae
Provides: bundled(postgresql-setup) = %setup_version
62d2ae
%{?scl:Requires:%scl_runtime}
62d2ae
62d2ae
%description server
62d2ae
PostgreSQL is an advanced Object-Relational database management system (DBMS).
62d2ae
The postgresql-server package contains the programs needed to create
62d2ae
and run a PostgreSQL server, which will in turn allow you to create
62d2ae
and maintain PostgreSQL databases.
62d2ae
62d2ae
62d2ae
%package docs
62d2ae
Summary: Extra documentation for PostgreSQL
62d2ae
Group: Applications/Databases
62d2ae
Requires: %{name}%{?_isa} = %{version}-%{release}
62d2ae
# Just for more intuitive documentation installation
62d2ae
Provides: %{name}-doc = %{version}-%{release}
62d2ae
%{?scl:Requires:%scl_runtime}
62d2ae
62d2ae
%description docs
62d2ae
The postgresql-docs package contains some additional documentation for
62d2ae
PostgreSQL.  Currently, this includes the main documentation in PDF format
62d2ae
and source files for the PostgreSQL tutorial.
62d2ae
62d2ae
62d2ae
%package contrib
62d2ae
Summary: Extension modules distributed with PostgreSQL
62d2ae
Group: Applications/Databases
62d2ae
Requires: %{name}%{?_isa} = %{version}-%{release}
62d2ae
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
62d2ae
%{?scl:Requires:%scl_runtime}
62d2ae
62d2ae
%description contrib
62d2ae
The postgresql-contrib package contains various extension modules that are
62d2ae
included in the PostgreSQL distribution.
62d2ae
62d2ae
62d2ae
%package devel
62d2ae
Summary: PostgreSQL development header files and libraries
62d2ae
Group: Development/Libraries
62d2ae
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
62d2ae
%if %icu
62d2ae
Requires:      libicu-devel
62d2ae
%endif
62d2ae
62d2ae
%description devel
62d2ae
The postgresql-devel package contains the header files and libraries
62d2ae
needed to compile C or C++ applications which will directly interact
62d2ae
with a PostgreSQL database management server.  It also contains the ecpg
62d2ae
Embedded C Postgres preprocessor. You need to install this package if you want
62d2ae
to develop applications which will interact with a PostgreSQL server.
62d2ae
62d2ae
62d2ae
%package static
62d2ae
Summary: Statically linked PostgreSQL libraries
62d2ae
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
62d2ae
62d2ae
%description static
62d2ae
Statically linked PostgreSQL libraries that do not have dynamically linked
62d2ae
counterparts.
62d2ae
62d2ae
62d2ae
%if %plperl
62d2ae
%package plperl
62d2ae
Summary: The Perl procedural language for PostgreSQL
62d2ae
Group: Applications/Databases
62d2ae
Requires: %{name}-server%{?_isa} = %{version}-%{release}
62d2ae
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
62d2ae
%if %runselftest
62d2ae
BuildRequires: perl(Data::Dumper)
62d2ae
%endif
62d2ae
%{?scl:Requires:%scl_runtime}
62d2ae
62d2ae
%description plperl
62d2ae
The postgresql-plperl package contains the PL/Perl procedural language,
62d2ae
which is an extension to the PostgreSQL database server.
62d2ae
Install this if you want to write database functions in Perl.
62d2ae
%endif
62d2ae
62d2ae
%if %plpython
62d2ae
%package plpython
62d2ae
Summary: The Python2 procedural language for PostgreSQL
62d2ae
Group: Applications/Databases
62d2ae
Requires: %{name}-server%{?_isa} = %{version}-%{release}
62d2ae
%{?scl:Requires:%scl_runtime}
62d2ae
62d2ae
%description plpython
62d2ae
The postgresql-plpython package contains the PL/Python procedural language,
62d2ae
which is an extension to the PostgreSQL database server.
62d2ae
Install this if you want to write database functions in Python 2.
62d2ae
%endif
62d2ae
62d2ae
%if %plpython3
62d2ae
%package plpython3
62d2ae
Summary: The Python3 procedural language for PostgreSQL
62d2ae
Group: Applications/Databases
62d2ae
Requires: %{name}-server%{?_isa} = %{version}-%{release}
62d2ae
%{?scl:Requires:%scl_runtime}
62d2ae
62d2ae
%description plpython3
62d2ae
The postgresql-plpython3 package contains the PL/Python3 procedural language,
62d2ae
which is an extension to the PostgreSQL database server.
62d2ae
Install this if you want to write database functions in Python 3.
62d2ae
%endif
62d2ae
62d2ae
%if %pltcl
62d2ae
%package pltcl
62d2ae
Summary: The Tcl procedural language for PostgreSQL
62d2ae
Group: Applications/Databases
62d2ae
Requires: %{name}-server%{?_isa} = %{version}-%{release}
62d2ae
Requires: tcl-pgtcl
62d2ae
%{?scl:Requires:%scl_runtime}
62d2ae
62d2ae
%description pltcl
62d2ae
The postgresql-pltcl package contains the PL/Tcl procedural language,
62d2ae
which is an extension to the PostgreSQL database server.
62d2ae
Install this if you want to write database functions in Tcl.
62d2ae
%endif
62d2ae
62d2ae
%if %test
62d2ae
%package test
62d2ae
Summary: The test suite distributed with PostgreSQL
62d2ae
Group: Applications/Databases
62d2ae
Requires: %{name}-server%{?_isa} = %{version}-%{release}
62d2ae
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
62d2ae
%{?scl:Requires:%scl_runtime}
62d2ae
62d2ae
%description test
62d2ae
The postgresql-test package contains files needed for various tests for the
62d2ae
PostgreSQL database management system, including regression tests and
62d2ae
benchmarks.
62d2ae
%endif
62d2ae
62d2ae
%if 0%{?scl:1}
62d2ae
%scl_syspaths_package -d
62d2ae
%scl_syspaths_package contrib -d
62d2ae
%scl_syspaths_package server -d
62d2ae
%endif
62d2ae
62d2ae
62d2ae
%prep
62d2ae
( cd %_sourcedir; sha256sum -c %{SOURCE16} )
62d2ae
%setup -q %{?scl:-n %{pkg_name}-%{version}} -a 12
62d2ae
%patch1 -p1
62d2ae
%patch2 -p1
62d2ae
%if 0%{?rhel:1} && 0%{?rhel} <= 7
62d2ae
%patch3 -p1
62d2ae
%endif
62d2ae
%patch5 -p1
62d2ae
%patch6 -p1
62d2ae
%patch7 -p1
62d2ae
%patch8 -p1
62d2ae
62d2ae
# We used to run autoconf here, but there's no longer any real need to,
62d2ae
# since Postgres ships with a reasonably modern configure script.
62d2ae
62d2ae
cp -p %{SOURCE1} .
62d2ae
62d2ae
# We need to add an extra setting of SCL environment into the service file
62d2ae
# and some checks into scripts that can be possibly run without scl enable,
62d2ae
# but only if we build the package in SCL environment.
62d2ae
%if 0%{?scl:1}
62d2ae
%global scl_sed_patches 1
62d2ae
find . -type f -name Makefile -exec sed -i -e "s/SO_MAJOR_VERSION=\s\?\([0-9]\+\)/SO_MAJOR_VERSION= %{?scl}-\1/" {} \;
62d2ae
%endif
62d2ae
62d2ae
# remove .gitignore files to ensure none get into the RPMs (bug #642210)
62d2ae
find . -type f -name .gitignore | xargs rm
62d2ae
62d2ae
%build
62d2ae
62d2ae
# fail quickly and obviously if user tries to build as root
62d2ae
%if %runselftest
62d2ae
	if [ x"`id -u`" = x0 ]; then
62d2ae
		echo "postgresql's regression tests fail if run as root."
62d2ae
		echo "If you really need to build the RPM as root, use"
62d2ae
		echo "--define='runselftest 0' to skip the regression tests."
62d2ae
		exit 1
62d2ae
	fi
62d2ae
%endif
62d2ae
62d2ae
# Building postgresql-setup
62d2ae
62d2ae
%{?scl:scl enable %{scl} - << "EOFSCL"}
62d2ae
set -ex
62d2ae
cd postgresql-setup-%{setup_version}
62d2ae
62d2ae
%configure \
62d2ae
    pgdocdir=%{_pkgdocdir} \
62d2ae
    PGVERSION=%{version} \
62d2ae
    PGMAJORVERSION=%{majorversion} \
62d2ae
    %{?scl:--with-scl} \
62d2ae
    NAME_DEFAULT_PREV_SERVICE=postgresql
62d2ae
62d2ae
make %{?_smp_mflags}
62d2ae
cd ..
62d2ae
62d2ae
# Fiddling with CFLAGS.
62d2ae
62d2ae
CFLAGS="${CFLAGS:-%optflags}"
62d2ae
%ifarch %{power64}
62d2ae
# See the bug #1051075, ppc64 should benefit from -O3
62d2ae
CFLAGS=`echo $CFLAGS | xargs -n 1 | sed 's|-O2|-O3|g' | xargs -n 100`
62d2ae
%endif
62d2ae
# Strip out -ffast-math from CFLAGS....
62d2ae
CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
62d2ae
export CFLAGS
62d2ae
62d2ae
# plpython requires separate configure/build runs to build against python 2
62d2ae
# versus python 3.  Our strategy is to do the python 3 run first, then make
62d2ae
# distclean and do it again for the "normal" build.  Note that the installed
62d2ae
# Makefile.global will reflect the python 2 build, which seems appropriate
62d2ae
# since that's still considered the default plpython version.
62d2ae
common_configure_options='
62d2ae
	--disable-rpath
62d2ae
%if %beta
62d2ae
	--enable-debug
62d2ae
	--enable-cassert
62d2ae
%endif
62d2ae
%if %plperl
62d2ae
	--with-perl
62d2ae
%endif
62d2ae
%if %pltcl
62d2ae
	--with-tcl
62d2ae
	--with-tclconfig=%{?scl:%_root_libdir}%{!?scl:%_libdir} \
62d2ae
%endif
62d2ae
%if %ldap
62d2ae
	--with-ldap
62d2ae
%endif
62d2ae
%if %ssl
62d2ae
	--with-openssl
62d2ae
%endif
62d2ae
%if %pam
62d2ae
	--with-pam
62d2ae
%endif
62d2ae
%if %kerberos
62d2ae
	--with-gssapi
62d2ae
%endif
62d2ae
%if %uuid
62d2ae
	--with-ossp-uuid
62d2ae
%endif
62d2ae
%if %xml
62d2ae
	--with-libxml
62d2ae
	--with-libxslt
62d2ae
%endif
62d2ae
%if %nls
62d2ae
	--enable-nls
62d2ae
%endif
62d2ae
%if %sdt
62d2ae
	--enable-dtrace
62d2ae
%endif
62d2ae
%if %selinux
62d2ae
	--with-selinux
62d2ae
%endif
62d2ae
	--with-system-tzdata=%{?scl:%_root_datadir}%{!?scl:%_datadir}/zoneinfo \
62d2ae
	--datadir=%_datadir/pgsql
62d2ae
	--with-systemd
62d2ae
%if %icu
62d2ae
       --with-icu
62d2ae
%endif
62d2ae
'
62d2ae
62d2ae
%if %plpython3
62d2ae
62d2ae
export PYTHON=/usr/bin/python3
62d2ae
62d2ae
# These configure options must match main build
62d2ae
%configure $common_configure_options \
62d2ae
	--with-python
62d2ae
62d2ae
# Fortunately we don't need to build much except plpython itself.
62d2ae
%global python_subdirs       \\\
62d2ae
	src/pl/plpython          \\\
62d2ae
	contrib/hstore_plpython  \\\
62d2ae
	contrib/jsonb_plpython   \\\
62d2ae
	contrib/ltree_plpython
62d2ae
62d2ae
for dir in %python_subdirs; do
62d2ae
	%make_build -C "$dir" all
62d2ae
done
62d2ae
62d2ae
# save built form in a directory that "make distclean" won't touch
62d2ae
for dir in %python_subdirs; do
62d2ae
	rm -rf "${dir}3" # shouldn't exist, unless --short-circuit
62d2ae
	cp -a "$dir" "${dir}3"
62d2ae
done
62d2ae
62d2ae
# must also save this version of Makefile.global for later
62d2ae
cp src/Makefile.global src/Makefile.global.python3
62d2ae
62d2ae
make distclean
62d2ae
62d2ae
%endif # %%plpython3
62d2ae
62d2ae
unset PYTHON
62d2ae
62d2ae
# Normal (python2) build begins here
62d2ae
%configure $common_configure_options \
62d2ae
%if %plpython
62d2ae
	--with-python
62d2ae
%endif
62d2ae
62d2ae
make %{?_smp_mflags} world
62d2ae
62d2ae
# Have to hack makefile to put correct path into tutorial scripts
62d2ae
sed "s|C=\`pwd\`;|C=%{_libdir}/pgsql/tutorial;|" < src/tutorial/Makefile > src/tutorial/GNUmakefile
62d2ae
make %{?_smp_mflags} -C src/tutorial NO_PGXS=1 all
62d2ae
rm -f src/tutorial/GNUmakefile
62d2ae
62d2ae
# The object files shouldn't be copied to rpm bz#1187514
62d2ae
rm -f src/tutorial/*.o
62d2ae
62d2ae
# run_testsuite WHERE
62d2ae
# -------------------
62d2ae
# Run 'make check' in WHERE path.  When that command fails, return the logs
62d2ae
# given by PostgreSQL build system and set 'test_failure=1'.  This function
62d2ae
# never exits directly nor stops rpmbuild where `set -e` is enabled.
62d2ae
run_testsuite()
62d2ae
{
62d2ae
	make -k -C "$1" MAX_CONNECTIONS=5 check && return 0 || test_failure=1
62d2ae
	(
62d2ae
		set +x
62d2ae
		echo "=== trying to find all regression.diffs files in build directory ==="
62d2ae
		find "$1" -name 'regression.diffs' | \
62d2ae
		while read line; do
62d2ae
			echo "=== make failure: $line ==="
62d2ae
			cat "$line"
62d2ae
		done
62d2ae
	)
62d2ae
}
62d2ae
62d2ae
test_failure=0
62d2ae
62d2ae
%if %runselftest
62d2ae
	run_testsuite "src/test/regress"
62d2ae
	make clean -C "src/test/regress"
62d2ae
	run_testsuite "src/pl"
62d2ae
%if %plpython3
62d2ae
	# must install Makefile.global that selects python3
62d2ae
	mv src/Makefile.global src/Makefile.global.save
62d2ae
	cp src/Makefile.global.python3 src/Makefile.global
62d2ae
	touch -r src/Makefile.global.save src/Makefile.global
62d2ae
62d2ae
	for dir in %python_subdirs; do
62d2ae
		# because "make check" does "make install" on the whole tree,
62d2ae
		# we must temporarily install *plpython3 dir as *plpython,
62d2ae
		# since that is the subdirectory src/pl/Makefile knows about
62d2ae
		mv "$dir" "${dir}2"
62d2ae
		mv "${dir}3" "$dir"
62d2ae
	done
62d2ae
62d2ae
	for dir in %python_subdirs; do
62d2ae
		run_testsuite "$dir"
62d2ae
	done
62d2ae
62d2ae
	for dir in %python_subdirs; do
62d2ae
		# and clean up our mess
62d2ae
		mv "$dir" "${dir}3"
62d2ae
		mv "${dir}2" "${dir}"
62d2ae
	done
62d2ae
62d2ae
	mv -f src/Makefile.global.save src/Makefile.global
62d2ae
%endif
62d2ae
	run_testsuite "contrib"
62d2ae
%endif
62d2ae
62d2ae
# "assert(ALL_TESTS_OK)"
62d2ae
test "$test_failure" -eq 0
62d2ae
62d2ae
%if %test
62d2ae
	# undo the "make clean" above
62d2ae
	make all -C src/test/regress
62d2ae
%endif
62d2ae
62d2ae
%{?scl:EOFSCL}
62d2ae
62d2ae
%install
62d2ae
%{?scl:scl enable %{scl} - << "EOFSCL"}
62d2ae
set -ex
62d2ae
cd postgresql-setup-%{setup_version}
62d2ae
make install DESTDIR=$RPM_BUILD_ROOT
62d2ae
cd ..
62d2ae
62d2ae
# For some reason, having '%%doc %%{_pkgdocdir}/README.rpm-dist' in %%files
62d2ae
# causes FTBFS (at least on RHEL6), see rhbz#1250006.
62d2ae
mv $RPM_BUILD_ROOT/%{_pkgdocdir}/README.rpm-dist ./
62d2ae
62d2ae
case "%{?rhel}" in
62d2ae
7) sys_pg_version=9.2 upgrade_hacks='redhat_sockets_hack yes' ;;
62d2ae
esac
62d2ae
62d2ae
cat > $RPM_BUILD_ROOT%{_sysconfdir}/postgresql-setup/upgrade/postgresql.conf <
62d2ae
id              postgresql
62d2ae
major           $sys_pg_version
62d2ae
data_default    /var/lib/pgsql/data
62d2ae
engine          /usr/bin
62d2ae
description     "Upgrade data from system PostgreSQL version (PostgreSQL $sys_pg_version)"
62d2ae
$upgrade_hacks
62d2ae
EOF
62d2ae
62d2ae
# gen_scl_upgrade_config VERSION PREFIXES
62d2ae
# ---------------------------------------
62d2ae
gen_scl_upgrade_config ()
62d2ae
{
62d2ae
	pver=$1
62d2ae
	for pfx in $2; do
62d2ae
		name=${pfx}postgresql${pver//./}
62d2ae
cat > $RPM_BUILD_ROOT%{_sysconfdir}/postgresql-setup/upgrade/$name.conf <
62d2ae
id              $name-postgresql
62d2ae
major           $pver
62d2ae
data_default    /var/opt/rh/$name/lib/pgsql/data
62d2ae
engine          /opt/rh/$name/root/usr/bin
62d2ae
description     "Upgrade data from RHSCL PostgreSQL version (PostgreSQL $pver)"
62d2ae
scls            "$name"
62d2ae
EOF
62d2ae
	done
62d2ae
}
62d2ae
62d2ae
cat > $RPM_BUILD_ROOT%{_sysconfdir}/postgresql-setup/upgrade/postgresql92.conf <
62d2ae
id              postgresql92-postgresql
62d2ae
major           9.2
62d2ae
data_default    /opt/rh/postgresql92/root/var/lib/pgsql/data
62d2ae
engine          /opt/rh/postgresql92/root/usr/bin
62d2ae
description     "Upgrade data from RHSCL PostgreSQL version (PostgreSQL 9.2)"
62d2ae
scls            "postgresql92"
62d2ae
redhat_sockets_hack yes
62d2ae
EOF
62d2ae
62d2ae
for version in 9.4 9.5 9.6 10 12; do
62d2ae
	gen_scl_upgrade_config "$version" "rh- sclo-"
62d2ae
done
62d2ae
62d2ae
make DESTDIR=$RPM_BUILD_ROOT install-world
62d2ae
62d2ae
%if %plpython3
62d2ae
	mv src/Makefile.global src/Makefile.global.save
62d2ae
	cp src/Makefile.global.python3 src/Makefile.global
62d2ae
	touch -r src/Makefile.global.save src/Makefile.global
62d2ae
	for dir in %python_subdirs; do
62d2ae
		%make_install -C "${dir}3"
62d2ae
	done
62d2ae
	mv -f src/Makefile.global.save src/Makefile.global
62d2ae
%endif
62d2ae
62d2ae
# make sure these directories exist even if we suppressed all contrib modules
62d2ae
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pgsql/contrib
62d2ae
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pgsql/extension
62d2ae
62d2ae
# multilib header hack; some headers are installed in two places!
62d2ae
for header in \
62d2ae
	%{_includedir}/pg_config.h \
62d2ae
	%{_includedir}/pg_config_ext.h \
62d2ae
	%{_includedir}/ecpg_config.h \
62d2ae
	%{_includedir}/pgsql/server/pg_config.h \
62d2ae
	%{_includedir}/pgsql/server/pg_config_ext.h
62d2ae
do
62d2ae
%multilib_fix_c_header --file "$header"
62d2ae
done
62d2ae
62d2ae
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
62d2ae
cp -p src/tutorial/* $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
62d2ae
62d2ae
%if %pam
62d2ae
install -d $RPM_BUILD_ROOT/etc/pam.d
62d2ae
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/%{?scl_prefix}postgresql
62d2ae
%endif
62d2ae
62d2ae
# Create the directory for sockets.
62d2ae
install -d -m 755 $RPM_BUILD_ROOT%{?!scl:%_localstatedir}%{?scl:%_root_localstatedir}/run/postgresql
62d2ae
62d2ae
# ... and make a tmpfiles script to recreate it at reboot.
62d2ae
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
62d2ae
install -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_tmpfilesdir}/%{?scl_prefix}postgresql.conf
62d2ae
62d2ae
# PGDATA needs removal of group and world permissions due to pg_pwd hole.
62d2ae
install -d -m 700 $RPM_BUILD_ROOT%{?_localstatedir}/lib/pgsql/data
62d2ae
62d2ae
%if 0%{?scl:1}
62d2ae
# make sure /var/lib/pgsql also exists, see bz#1023113
62d2ae
mkdir -p -m 700 $RPM_BUILD_ROOT%{?_root_localstatedir}/lib/pgsql
62d2ae
%endif
62d2ae
62d2ae
# backups of data go here...
62d2ae
install -d -m 700 $RPM_BUILD_ROOT%{?_localstatedir}/lib/pgsql/backups
62d2ae
62d2ae
%if 0%{!?scl:1}
62d2ae
# postgres' .bash_profile
62d2ae
install -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{?_localstatedir}/lib/pgsql/.bash_profile
62d2ae
%endif
62d2ae
62d2ae
62d2ae
%if %test
62d2ae
	# tests. There are many files included here that are unnecessary,
62d2ae
	# but include them anyway for completeness.  We replace the original
62d2ae
	# Makefiles, however.
62d2ae
	mkdir -p $RPM_BUILD_ROOT%{_libdir}/pgsql/test
62d2ae
	cp -a src/test/regress $RPM_BUILD_ROOT%{_libdir}/pgsql/test
62d2ae
	# pg_regress binary should be only in one subpackage,
62d2ae
	# there will be a symlink from -test to -devel
62d2ae
	rm -f $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/pg_regress
62d2ae
	ln -sf ../../pgxs/src/test/regress/pg_regress $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/pg_regress
62d2ae
	pushd  $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress
62d2ae
	rm -f GNUmakefile Makefile *.o
62d2ae
	chmod 0755 pg_regress regress.so
62d2ae
	popd
62d2ae
	sed 's|@bindir@|%{_bindir}|g' \
62d2ae
		< %{SOURCE4} \
62d2ae
		> $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/Makefile
62d2ae
	chmod 0644 $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/Makefile
62d2ae
%endif
62d2ae
62d2ae
rm -rf doc/html # HACK! allow 'rpmbuild -bi --short-circuit'
62d2ae
mv $RPM_BUILD_ROOT%{_docdir}/pgsql/html doc
62d2ae
rm -rf $RPM_BUILD_ROOT%{_docdir}/pgsql
62d2ae
62d2ae
# remove files not to be packaged
62d2ae
rm $RPM_BUILD_ROOT%{_libdir}/lib{ecpg,pq,ecpg_compat,pgfeutils,pgtypes}.a
62d2ae
62d2ae
%if !%plperl
62d2ae
rm -f $RPM_BUILD_ROOT%{_libdir}/pgsql/hstore_plperl.so
62d2ae
%endif
62d2ae
62d2ae
%if !%plpython
62d2ae
rm -f $RPM_BUILD_ROOT%{_datadir}/pgsql/extension/*_plpythonu*
62d2ae
rm -f $RPM_BUILD_ROOT%{_datadir}/pgsql/extension/*_plpython2u*
62d2ae
rm -f $RPM_BUILD_ROOT%{_libdir}/pgsql/hstore_plpython2.so
62d2ae
%endif
62d2ae
62d2ae
%if !%plpython3
62d2ae
rm -f $RPM_BUILD_ROOT%{_libdir}/pgsql/hstore_plpython3.so
62d2ae
rm -f $RPM_BUILD_ROOT%{_datadir}/pgsql/extension/jsonb_plpython3*
62d2ae
%endif
62d2ae
62d2ae
# initialize file lists
62d2ae
cp /dev/null main.lst
62d2ae
cp /dev/null libs.lst
62d2ae
cp /dev/null server.lst
62d2ae
cp /dev/null contrib.lst
62d2ae
cp /dev/null devel.lst
62d2ae
cp /dev/null plperl.lst
62d2ae
cp /dev/null pltcl.lst
62d2ae
cp /dev/null plpython.lst
62d2ae
cp /dev/null plpython3.lst
62d2ae
62d2ae
%if %nls
62d2ae
find_lang_bins ()
62d2ae
{
62d2ae
	lstfile=$1 ; shift
62d2ae
	for binary; do
62d2ae
		%find_lang "$binary"-%{majorversion}
62d2ae
		cat "$binary"-%{majorversion}.lang >>$lstfile
62d2ae
	done
62d2ae
}
62d2ae
find_lang_bins devel.lst ecpg
62d2ae
find_lang_bins libs.lst ecpglib%{?scl_prefix}6 libpq%{?scl_prefix}5
62d2ae
find_lang_bins server.lst \
62d2ae
	initdb pg_basebackup pg_controldata pg_ctl pg_resetwal pg_rewind plpgsql \
62d2ae
    postgres pg_checksums pg_verifybackup
62d2ae
find_lang_bins contrib.lst \
62d2ae
	pg_archivecleanup pg_test_fsync pg_test_timing pg_waldump
62d2ae
find_lang_bins  main.lst \
62d2ae
	pg_config pg_dump pg_upgrade pgscripts psql
62d2ae
%if %plperl
62d2ae
find_lang_bins plperl.lst plperl
62d2ae
%endif
62d2ae
%if %plpython
62d2ae
find_lang_bins plpython.lst plpython
62d2ae
%endif
62d2ae
%if %plpython3
62d2ae
# plpython3 shares message files with plpython
62d2ae
find_lang_bins plpython3.lst plpython
62d2ae
%endif
62d2ae
%if %pltcl
62d2ae
find_lang_bins pltcl.lst pltcl
62d2ae
%endif
62d2ae
%endif
62d2ae
62d2ae
%if 0%{?scl:1}
62d2ae
server_binaries='initdb pg_basebackup pg_controldata pg_ctl pg_receivewal
62d2ae
pg_recvlogical pg_resetwal pg_rewind postgres postgresql-setup postmaster
62d2ae
pg_checksums
62d2ae
'
62d2ae
62d2ae
contrib_binaries='
62d2ae
oid2name pg_archivecleanup pgbench pg_standby pg_test_fsync pg_test_timing
62d2ae
pg_waldump vacuumlo
62d2ae
'
62d2ae
62d2ae
binaries='clusterdb createdb createuser dropdb dropuser
62d2ae
pg_dump pg_dumpall pg_isready pg_restore pg_upgrade psql reindexdb vacuumdb
62d2ae
'
62d2ae
62d2ae
for pkg in '' contrib server; do
62d2ae
	mans= sep= pkg_name=postgresql${pkg:+-$pkg}
62d2ae
	eval "list=\$${pkg:+${pkg}_}binaries"
62d2ae
	for bin in $list; do mans+="${sep}man1/$bin.1.gz" ; sep=' '; done
62d2ae
	%scl_syspaths_install_wrappers -n $pkg_name -m script -p bin $list
62d2ae
	%scl_syspaths_install_wrappers -n $pkg_name -m link -p man $mans
62d2ae
done
62d2ae
62d2ae
for service in postgresql postgresql@; do
62d2ae
	%scl_syspaths_install_wrapper -n postgresql-server -m link \
62d2ae
		%{_unitdir}/%{scl_prefix}$service.service \
62d2ae
		%{_unitdir}/$service.service
62d2ae
done
62d2ae
%scl_syspaths_install_wrapper -n postgresql-server -m link \
62d2ae
		%_root_libexecdir/initscripts/legacy-actions/%{scl_prefix}postgresql \
62d2ae
		%_root_libexecdir/initscripts/legacy-actions/postgresql
62d2ae
%endif # %{?scl:1}
62d2ae
62d2ae
%{?scl:EOFSCL}
62d2ae
62d2ae
%post libs -p /sbin/ldconfig
62d2ae
%postun libs -p /sbin/ldconfig
62d2ae
62d2ae
%pre server
62d2ae
/usr/sbin/groupadd -g 26 -o -r postgres >/dev/null 2>&1 || :
62d2ae
/usr/sbin/useradd -M -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \
62d2ae
-N -c "PostgreSQL Server" -u 26 postgres >/dev/null 2>&1 || :
62d2ae
62d2ae
%post server
62d2ae
%systemd_post %service_name
62d2ae
62d2ae
%if 0%{?scl:1}
62d2ae
semanage fcontext -a -e "%{_unitdir}/postgresql.service" "%{_unitdir}/%{scl_prefix}postgresql.service" >/dev/null 2>&1 || :
62d2ae
# Per hhorak's report:	It seems that we can't simply use
62d2ae
# semanage fcontext -a -e %%{_root_bindir}/pg_ctl %%{_root_libexecdir}/postgresql-ctl
62d2ae
# because the equivalence (-e, --equal) rules are not transitive thus the
62d2ae
# %%{_libexec}/postgresql-ctl would get wrong context.
62d2ae
semanage fcontext -a -t postgresql_exec_t %{_root_libexecdir}/postgresql-ctl || :
62d2ae
selinuxenabled && load_policy || :
62d2ae
restorecon -R "%{?_scl_root}/" >/dev/null 2>&1 || :
62d2ae
restorecon -R "%{_sysconfdir}" >/dev/null 2>&1 || :
62d2ae
restorecon -R "%{_localstatedir}" >/dev/null 2>&1 || :
62d2ae
restorecon -R "%{_unitdir}/%{scl_prefix}postgresql.service" >/dev/null 2>&1 || :
62d2ae
%endif
62d2ae
62d2ae
62d2ae
%preun server
62d2ae
%systemd_preun %service_name
62d2ae
62d2ae
%postun server
62d2ae
%systemd_postun_with_restart %service_name
62d2ae
62d2ae
62d2ae
%check
62d2ae
%if %runselftest
62d2ae
make -C postgresql-setup-%{setup_version} check
62d2ae
%endif
62d2ae
62d2ae
62d2ae
# FILES section.
62d2ae
%files -f main.lst
62d2ae
%doc doc/KNOWN_BUGS doc/MISSING_FEATURES doc/TODO
62d2ae
%doc COPYRIGHT README HISTORY
62d2ae
%doc README.rpm-dist
62d2ae
%{_bindir}/clusterdb
62d2ae
%{_bindir}/createdb
62d2ae
%{_bindir}/createuser
62d2ae
%{_bindir}/dropdb
62d2ae
%{_bindir}/dropuser
62d2ae
%{_bindir}/pg_dump
62d2ae
%{_bindir}/pg_dumpall
62d2ae
%{_bindir}/pg_isready
62d2ae
%{_bindir}/pg_restore
62d2ae
%{_bindir}/pg_upgrade
62d2ae
%{_bindir}/psql
62d2ae
%{_bindir}/reindexdb
62d2ae
%{_bindir}/vacuumdb
62d2ae
%{_mandir}/man1/clusterdb.*
62d2ae
%{_mandir}/man1/createdb.*
62d2ae
%{_mandir}/man1/createuser.*
62d2ae
%{_mandir}/man1/dropdb.*
62d2ae
%{_mandir}/man1/dropuser.*
62d2ae
%{_mandir}/man1/pg_dump.*
62d2ae
%{_mandir}/man1/pg_dumpall.*
62d2ae
%{_mandir}/man1/pg_isready.*
62d2ae
%{_mandir}/man1/pg_restore.*
62d2ae
%{_mandir}/man1/pg_upgrade.*
62d2ae
%{_mandir}/man1/psql.*
62d2ae
%{_mandir}/man1/reindexdb.*
62d2ae
%{_mandir}/man1/vacuumdb.*
62d2ae
%{_mandir}/man7/*
62d2ae
62d2ae
62d2ae
%if 0%{?scl:1}
62d2ae
%scl_syspaths_files
62d2ae
%scl_syspaths_files contrib
62d2ae
%scl_syspaths_files server
62d2ae
%endif
62d2ae
62d2ae
62d2ae
%files docs
62d2ae
%doc *-US.pdf
62d2ae
%doc doc/html
62d2ae
%{_libdir}/pgsql/tutorial/
62d2ae
62d2ae
%files contrib -f contrib.lst
62d2ae
%doc contrib/spi/*.example
62d2ae
%{_bindir}/oid2name
62d2ae
%{_bindir}/pg_archivecleanup
62d2ae
%{_bindir}/pg_standby
62d2ae
%{_bindir}/pg_test_fsync
62d2ae
%{_bindir}/pg_test_timing
62d2ae
%{_bindir}/pg_waldump
62d2ae
%{_bindir}/pgbench
62d2ae
%{_bindir}/vacuumlo
62d2ae
%dir %{_datadir}/pgsql/contrib
62d2ae
%dir %{_datadir}/pgsql/extension
62d2ae
%{_datadir}/pgsql/extension/adminpack*
62d2ae
%{_datadir}/pgsql/extension/amcheck*
62d2ae
%{_datadir}/pgsql/extension/autoinc*
62d2ae
%{_datadir}/pgsql/extension/bloom*
62d2ae
%{_datadir}/pgsql/extension/btree_gin*
62d2ae
%{_datadir}/pgsql/extension/btree_gist*
62d2ae
%{_datadir}/pgsql/extension/citext*
62d2ae
%{_datadir}/pgsql/extension/cube*
62d2ae
%{_datadir}/pgsql/extension/dblink*
62d2ae
%{_datadir}/pgsql/extension/dict_int*
62d2ae
%{_datadir}/pgsql/extension/dict_xsyn*
62d2ae
%{_datadir}/pgsql/extension/earthdistance*
62d2ae
%{_datadir}/pgsql/extension/file_fdw*
62d2ae
%{_datadir}/pgsql/extension/fuzzystrmatch*
62d2ae
%{_datadir}/pgsql/extension/hstore*
62d2ae
%{_datadir}/pgsql/extension/insert_username*
62d2ae
%{_datadir}/pgsql/extension/intagg*
62d2ae
%{_datadir}/pgsql/extension/intarray*
62d2ae
%{_datadir}/pgsql/extension/isn*
62d2ae
%if %{plperl}
62d2ae
%{_datadir}/pgsql/extension/jsonb_plperl*
62d2ae
%endif
62d2ae
%if %{plpython}
62d2ae
%{_datadir}/pgsql/extension/jsonb_plpythonu*
62d2ae
%{_datadir}/pgsql/extension/jsonb_plpython2u*
62d2ae
%endif
62d2ae
%if %{plpython3}
62d2ae
%{_datadir}/pgsql/extension/jsonb_plpython3u*
62d2ae
%endif
62d2ae
%{_datadir}/pgsql/extension/lo*
62d2ae
%{_datadir}/pgsql/extension/ltree*
62d2ae
%{_datadir}/pgsql/extension/moddatetime*
62d2ae
%{_datadir}/pgsql/extension/pageinspect*
62d2ae
%{_datadir}/pgsql/extension/pg_buffercache*
62d2ae
%{_datadir}/pgsql/extension/pg_freespacemap*
62d2ae
%{_datadir}/pgsql/extension/pg_prewarm*
62d2ae
%{_datadir}/pgsql/extension/pg_stat_statements*
62d2ae
%{_datadir}/pgsql/extension/pg_trgm*
62d2ae
%{_datadir}/pgsql/extension/pg_visibility*
62d2ae
%{_datadir}/pgsql/extension/pgcrypto*
62d2ae
%{_datadir}/pgsql/extension/pgrowlocks*
62d2ae
%{_datadir}/pgsql/extension/pgstattuple*
62d2ae
%{_datadir}/pgsql/extension/postgres_fdw*
62d2ae
%{_datadir}/pgsql/extension/refint*
62d2ae
%{_datadir}/pgsql/extension/seg*
62d2ae
%{_datadir}/pgsql/extension/tablefunc*
62d2ae
%{_datadir}/pgsql/extension/tcn*
62d2ae
%{_datadir}/pgsql/extension/tsm_system_rows*
62d2ae
%{_datadir}/pgsql/extension/tsm_system_time*
62d2ae
%{_datadir}/pgsql/extension/unaccent*
62d2ae
%{_libdir}/pgsql/_int.so
62d2ae
%{_libdir}/pgsql/adminpack.so
62d2ae
%{_libdir}/pgsql/amcheck.so
62d2ae
%{_libdir}/pgsql/auth_delay.so
62d2ae
%{_libdir}/pgsql/auto_explain.so
62d2ae
%{_libdir}/pgsql/autoinc.so
62d2ae
%{_libdir}/pgsql/bloom.so
62d2ae
%{_libdir}/pgsql/btree_gin.so
62d2ae
%{_libdir}/pgsql/btree_gist.so
62d2ae
%{_libdir}/pgsql/citext.so
62d2ae
%{_libdir}/pgsql/cube.so
62d2ae
%{_libdir}/pgsql/dblink.so
62d2ae
%{_libdir}/pgsql/dict_int.so
62d2ae
%{_libdir}/pgsql/dict_xsyn.so
62d2ae
%{_libdir}/pgsql/earthdistance.so
62d2ae
%{_libdir}/pgsql/file_fdw.so
62d2ae
%{_libdir}/pgsql/fuzzystrmatch.so
62d2ae
%{_libdir}/pgsql/hstore.so
62d2ae
%if %plperl
62d2ae
%{_libdir}/pgsql/hstore_plperl.so
62d2ae
%endif
62d2ae
%if %plpython
62d2ae
%{_libdir}/pgsql/hstore_plpython2.so
62d2ae
%endif
62d2ae
%if %plpython3
62d2ae
%{_libdir}/pgsql/hstore_plpython3.so
62d2ae
%endif
62d2ae
%{_libdir}/pgsql/insert_username.so
62d2ae
%{_libdir}/pgsql/isn.so
62d2ae
%if %plperl
62d2ae
%{_libdir}/pgsql/jsonb_plperl.so
62d2ae
%endif
62d2ae
%if %plpython
62d2ae
%{_libdir}/pgsql/jsonb_plpython2.so
62d2ae
%endif
62d2ae
%if %plpython3
62d2ae
%{_libdir}/pgsql/jsonb_plpython3.so
62d2ae
%endif
62d2ae
%{_libdir}/pgsql/lo.so
62d2ae
%{_libdir}/pgsql/ltree.so
62d2ae
%if %plpython
62d2ae
%{_libdir}/pgsql/ltree_plpython2.so
62d2ae
%endif
62d2ae
%if %plpython3
62d2ae
%{_libdir}/pgsql/ltree_plpython3.so
62d2ae
%endif
62d2ae
%{_libdir}/pgsql/moddatetime.so
62d2ae
%{_libdir}/pgsql/pageinspect.so
62d2ae
%{_libdir}/pgsql/passwordcheck.so
62d2ae
%{_libdir}/pgsql/pg_buffercache.so
62d2ae
%{_libdir}/pgsql/pg_freespacemap.so
62d2ae
%{_libdir}/pgsql/pg_stat_statements.so
62d2ae
%{_libdir}/pgsql/pg_trgm.so
62d2ae
%{_libdir}/pgsql/pg_visibility.so
62d2ae
%{_libdir}/pgsql/pgcrypto.so
62d2ae
%{_libdir}/pgsql/pgrowlocks.so
62d2ae
%{_libdir}/pgsql/pgstattuple.so
62d2ae
%{_libdir}/pgsql/postgres_fdw.so
62d2ae
%{_libdir}/pgsql/refint.so
62d2ae
%{_libdir}/pgsql/seg.so
62d2ae
%{_libdir}/pgsql/tablefunc.so
62d2ae
%{_libdir}/pgsql/tcn.so
62d2ae
%{_libdir}/pgsql/test_decoding.so
62d2ae
%{_libdir}/pgsql/tsm_system_rows.so
62d2ae
%{_libdir}/pgsql/tsm_system_time.so
62d2ae
%{_libdir}/pgsql/unaccent.so
62d2ae
%{_mandir}/man1/oid2name.*
62d2ae
%{_mandir}/man1/pg_archivecleanup.*
62d2ae
%{_mandir}/man1/pg_recvlogical.*
62d2ae
%{_mandir}/man1/pg_standby.*
62d2ae
%{_mandir}/man1/pg_test_fsync.*
62d2ae
%{_mandir}/man1/pg_test_timing.*
62d2ae
%{_mandir}/man1/pg_waldump.*
62d2ae
%{_mandir}/man1/pgbench.*
62d2ae
%{_mandir}/man1/vacuumlo.*
62d2ae
%{_mandir}/man3/dblink*
62d2ae
%if %selinux
62d2ae
%{_datadir}/pgsql/contrib/sepgsql.sql
62d2ae
%{_libdir}/pgsql/sepgsql.so
62d2ae
%endif
62d2ae
%if %ssl
62d2ae
%{_datadir}/pgsql/extension/sslinfo*
62d2ae
%{_libdir}/pgsql/sslinfo.so
62d2ae
%endif
62d2ae
%if %uuid
62d2ae
%{_datadir}/pgsql/extension/uuid-ossp*
62d2ae
%{_libdir}/pgsql/uuid-ossp.so
62d2ae
%endif
62d2ae
%if %xml
62d2ae
%{_datadir}/pgsql/extension/xml2*
62d2ae
%{_libdir}/pgsql/pgxml.so
62d2ae
%endif
62d2ae
62d2ae
%files libs -f libs.lst
62d2ae
%doc COPYRIGHT
62d2ae
%dir %{_libdir}/pgsql
62d2ae
%{_libdir}/libecpg.so.*
62d2ae
%{_libdir}/libecpg_compat.so.*
62d2ae
%{_libdir}/libpgtypes.so.*
62d2ae
%{_libdir}/libpq.so.*
62d2ae
62d2ae
%files server -f server.lst
62d2ae
%{_bindir}/initdb
62d2ae
%{_bindir}/pg_basebackup
62d2ae
%{_bindir}/pg_controldata
62d2ae
%{_bindir}/pg_ctl
62d2ae
%{_bindir}/pg_receivewal
62d2ae
%{_bindir}/pg_recvlogical
62d2ae
%{_bindir}/pg_resetwal
62d2ae
%{_bindir}/pg_rewind
62d2ae
%{_bindir}/pg_checksums
62d2ae
%{_bindir}/pg_verifybackup
62d2ae
%{_bindir}/postgres
62d2ae
%{_bindir}/postgresql-setup
62d2ae
%{_bindir}/postgresql-upgrade
62d2ae
%{_bindir}/postmaster
62d2ae
%dir %{_datadir}/pgsql
62d2ae
%{_datadir}/pgsql/*.sample
62d2ae
%dir %{_datadir}/pgsql/contrib
62d2ae
%dir %{_datadir}/pgsql/extension
62d2ae
%{_datadir}/pgsql/extension/plpgsql*
62d2ae
%{_datadir}/pgsql/information_schema.sql
62d2ae
%{_datadir}/pgsql/postgres.bki
62d2ae
%{_datadir}/pgsql/snowball_create.sql
62d2ae
%{_datadir}/pgsql/sql_features.txt
62d2ae
%{_datadir}/pgsql/system_views.sql
62d2ae
%{_datadir}/pgsql/timezonesets/
62d2ae
%{_datadir}/pgsql/tsearch_data/
62d2ae
%dir %{_datadir}/postgresql-setup
62d2ae
%{_datadir}/postgresql-setup/library.sh
62d2ae
%{_datadir}/postgresql-setup/postgresql_pkg_tests.sh
62d2ae
%{macrosdir}/macros.%name-test
62d2ae
%dir %{_libdir}/pgsql
62d2ae
%{_libdir}/pgsql/*_and_*.so
62d2ae
%{_libdir}/pgsql/dict_snowball.so
62d2ae
%{_libdir}/pgsql/euc2004_sjis2004.so
62d2ae
%{_libdir}/pgsql/libpqwalreceiver.so
62d2ae
%{_libdir}/pgsql/pg_prewarm.so
62d2ae
%{_libdir}/pgsql/pgoutput.so
62d2ae
%{_libdir}/pgsql/plpgsql.so
62d2ae
%dir %{?scl:%_root_libexecdir}%{!?scl:%_libexecdir}/initscripts/legacy-actions/%{?scl_prefix}postgresql
62d2ae
%{?scl:%_root_libexecdir}%{!?scl:%_libexecdir}/initscripts/legacy-actions/%{?scl_prefix}postgresql/*
62d2ae
%{_libexecdir}/postgresql-check-db-dir
62d2ae
%dir %{_sysconfdir}/postgresql-setup
62d2ae
%dir %{_sysconfdir}/postgresql-setup/upgrade
62d2ae
%config %{_sysconfdir}/postgresql-setup/upgrade/*.conf
62d2ae
%{_mandir}/man1/initdb.*
62d2ae
%{_mandir}/man1/pg_basebackup.*
62d2ae
%{_mandir}/man1/pg_controldata.*
62d2ae
%{_mandir}/man1/pg_ctl.*
62d2ae
%{_mandir}/man1/pg_receivewal.*
62d2ae
%{_mandir}/man1/pg_resetwal.*
62d2ae
%{_mandir}/man1/pg_rewind.*
62d2ae
%{_mandir}/man1/pg_checksums.*
62d2ae
%{_mandir}/man1/pg_verifybackup.*
62d2ae
%{_mandir}/man1/postgres.*
62d2ae
%{_mandir}/man1/postgresql-new-systemd-unit.*
62d2ae
%{_mandir}/man1/postgresql-setup.*
62d2ae
%{_mandir}/man1/postgresql-upgrade.*
62d2ae
%{_mandir}/man1/postmaster.*
62d2ae
%{_sbindir}/postgresql-new-systemd-unit
62d2ae
%{_tmpfilesdir}/%{?scl_prefix}postgresql.conf
62d2ae
%{_unitdir}/*%{?scl_prefix}postgresql*.service
62d2ae
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql
62d2ae
%{!?scl:%attr(644,postgres,postgres) %config(noreplace) %{?_localstatedir}/lib/pgsql/.bash_profile}
62d2ae
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/backups
62d2ae
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/data
62d2ae
%attr(755,postgres,postgres) %dir %{?!scl:%_localstatedir}%{?scl:%_root_localstatedir}/run/postgresql
62d2ae
%if %pam
62d2ae
%config(noreplace) /etc/pam.d/%{?scl_prefix}postgresql
62d2ae
%endif
62d2ae
62d2ae
%if 0%{?scl:1}
62d2ae
# Still needed because /var/lib/pgsql is postgres's $HOMEDIR
62d2ae
%attr(700,postgres,postgres) %dir %{?_root_localstatedir}/lib/pgsql
62d2ae
%endif
62d2ae
62d2ae
%files devel -f devel.lst
62d2ae
%{_bindir}/ecpg
62d2ae
%{_bindir}/pg_config
62d2ae
%dir %{_datadir}/pgsql
62d2ae
%{_datadir}/pgsql/errcodes.txt
62d2ae
%{_includedir}/*
62d2ae
%{_libdir}/libecpg.so
62d2ae
%{_libdir}/libecpg_compat.so
62d2ae
%{_libdir}/libpgtypes.so
62d2ae
%{_libdir}/libpq.so
62d2ae
%{_libdir}/pgsql/pgxs/
62d2ae
%if 0%{?scl:1}
62d2ae
# https://bugzilla.redhat.com/show_bug.cgi?id=1431962
62d2ae
%dir %{_libdir}/pkgconfig
62d2ae
%endif
62d2ae
%{_libdir}/pkgconfig/*.pc
62d2ae
%{_mandir}/man1/ecpg.*
62d2ae
%{_mandir}/man1/pg_config.*
62d2ae
%{_mandir}/man3/SPI_*
62d2ae
%{macrosdir}/macros.%name
62d2ae
62d2ae
%files static
62d2ae
%{_libdir}/libpgcommon.a
62d2ae
%{_libdir}/libpgport.a
62d2ae
%{_libdir}/libpgcommon_shlib.a
62d2ae
%{_libdir}/libpgport_shlib.a
62d2ae
62d2ae
%if %plperl
62d2ae
%files plperl -f plperl.lst
62d2ae
%{_datadir}/pgsql/extension/bool_plperl*
62d2ae
%{_datadir}/pgsql/extension/plperl*
62d2ae
%{_libdir}/pgsql/bool_plperl.so
62d2ae
%{_libdir}/pgsql/plperl.so
62d2ae
%endif
62d2ae
62d2ae
%if %pltcl
62d2ae
%files pltcl -f pltcl.lst
62d2ae
%{_datadir}/pgsql/extension/pltcl*
62d2ae
%{_libdir}/pgsql/pltcl.so
62d2ae
%endif
62d2ae
62d2ae
%if %plpython
62d2ae
%files plpython -f plpython.lst
62d2ae
%{_datadir}/pgsql/extension/plpython2*
62d2ae
%{_datadir}/pgsql/extension/plpythonu*
62d2ae
%{_libdir}/pgsql/plpython2.so
62d2ae
%endif
62d2ae
62d2ae
%if %plpython3
62d2ae
%files plpython3 -f plpython3.lst
62d2ae
%{_datadir}/pgsql/extension/plpython3*
62d2ae
%{_libdir}/pgsql/plpython3.so
62d2ae
%endif
62d2ae
62d2ae
%if %test
62d2ae
%files test
62d2ae
%attr(-,postgres,postgres) %{_libdir}/pgsql/test
62d2ae
%endif
62d2ae
62d2ae
%changelog
aca4f9
* Mon May 23 2022 Filip Januš <fjanus@redhat.com> - 13.7-1
aca4f9
- Update to 13.7
aca4f9
- Resolves: CVE-2022-1552
aca4f9
02c956
* Mon Nov 29 2021 Filip Januš <fjanus@redhat.com> - 13.5-1
02c956
- Update to 13.5
02c956
- Resolves: CVE-2021-23214
02c956
- Also fixes: CVE-2021-3677
02c956
d4ad62
* Tue Jun 01 2021 Honza Horak <hhorak@redhat.com> - 13.3-1
d4ad62
- Update to 13.3
d4ad62
  Resolves: CVE-2021-32027
d4ad62
  Also fixes: CVE-2021-32028 CVE-2021-32029
d4ad62
62d2ae
* Thu Feb 18 2021 Honza Horak <hhorak@redhat.com> - 13.2-1
62d2ae
- Update to 13.2
62d2ae
- Build also plpython3
62d2ae
62d2ae
* Wed Dec 9 2020 Honza Horak <hhorak@redhat.com> - 13.1-1
62d2ae
- Rebase to upstream release 13.1
62d2ae
62d2ae
* Wed Nov 18 2020 Patrik Novotný <panovotn@redhat.com> - 12.5-1
62d2ae
- Rebase to upstream release 12.5
62d2ae
  Resolves: CVE-2020-25695
62d2ae
  Resolves: CVE-2020-25694
62d2ae
  Resolves: CVE-2020-25696
62d2ae
62d2ae
* Tue Sep 08 2020 Patrik Novotný <panovotn@redhat.com> - 12.4-1
62d2ae
- Rebase to upstream release 12.4
62d2ae
  https://www.postgresql.org/docs/12/release-12-4.html
62d2ae
 
62d2ae
* Thu Nov 14 2019 Patrik Novotný <panovotn@redhat.com> - 12.1-2
62d2ae
- Fix requires exclude
62d2ae
62d2ae
* Tue Nov 12 2019 Patrik Novotný <panovotn@redhat.com> - 12.1-1
62d2ae
- Rebase to upstream release 12.1
62d2ae
62d2ae
* Fri Oct 25 2019 Patrik Novotný <panovotn@redhat.com> - 12.0-2
62d2ae
- Fixed package files and requires listing
62d2ae
62d2ae
* Wed Oct 02 2019 Patrik Novotný <panovotn@redhat.com> - 12.0-1
62d2ae
- Rebase to upstream release 12.0
62d2ae
62d2ae
* Wed Sep 04 2019 Patrik Novotný <panovotn@redhat.com> - 12.0.beta2.3
62d2ae
- Fix source URLs for beta release
62d2ae
62d2ae
* Thu Aug 29 2019 Patrik Novotný <panovotn@redhat.com> - 12.0.beta2.2
62d2ae
- Exclude pkgconfig provides
62d2ae
62d2ae
* Fri Jul 26 2019 Honza Horak <hhorak@redhat.com> - 12-0.beta2.1
62d2ae
- Rebase to upstream beta release 12beta2
62d2ae
62d2ae
* Thu Nov 15 2018 Pavel Raiskup <praiskup@redhat.com> - 10.6-1
62d2ae
- update to 10.6 per release notes:
62d2ae
  https://www.postgresql.org/docs/10/release-10-6.html
62d2ae
62d2ae
* Thu Aug 09 2018 Pavel Raiskup <praiskup@redhat.com> - 10.5-1
62d2ae
- update to 10.5 per release notes:
62d2ae
  https://www.postgresql.org/docs/10/static/release-10-4.html
62d2ae
  https://www.postgresql.org/docs/10/static/release-10-5.html
62d2ae
62d2ae
* Tue Mar 06 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-2
62d2ae
- work-around linking issue with libpqwalreceiver.so (rhbz#1550567)
62d2ae
62d2ae
* Thu Mar 01 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-1
62d2ae
- update to 10.3 per release notes:
62d2ae
  https://www.postgresql.org/docs/10/static/release-10-3.html
62d2ae
62d2ae
* Fri Dec 22 2017 Pavel Raiskup <praiskup@redhat.com> - 10.1-2
62d2ae
- dangling symlink fix
62d2ae
62d2ae
* Thu Dec 21 2017 Pavel Raiskup <praiskup@redhat.com> - 10.1-1
62d2ae
- sync with Fedora Rawhide (and github.com/sclorg/postgresql)
62d2ae
62d2ae
* Mon Nov 06 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.5-2
62d2ae
- fix CVE-2017-15097 by rebasing postgresql-setup to the latest version
62d2ae
62d2ae
* Fri Sep 22 2017 Petr Kubat <pkubat@redhat.com> - 9.6.5-1
62d2ae
- the latest upstream minor release, per release notes:
62d2ae
  https://www.postgresql.org/docs/9.6/static/release-9-6-5.html
62d2ae
62d2ae
* Tue Sep 05 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.4-2
62d2ae
- move %%_libdir/pgsql into *-libs subpackage
62d2ae
62d2ae
* Wed Aug 09 2017 Petr Kubat <pkubat@redhat.com> - 9.6.4-1
62d2ae
- the latest upstream minor release, per release notes:
62d2ae
  https://www.postgresql.org/docs/9.6/static/release-9-6-4.html
62d2ae
62d2ae
* Fri Jul 28 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-9
62d2ae
- disable rpath in plperl/plpython (rhbz#1469431)
62d2ae
- own pkgconfig dir in scls
62d2ae
62d2ae
* Mon Jun 26 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-8
62d2ae
- don't include syspaths' wrappers into server subpackage
62d2ae
62d2ae
* Mon Jun 26 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-7
62d2ae
- initscript must be executable script
62d2ae
62d2ae
* Mon Jun 26 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-6
62d2ae
- remove leftover symlink for initscript
62d2ae
62d2ae
* Mon Jun 26 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-5
62d2ae
- fix 'service initdb postgresql' on RHEL6 for syspaths
62d2ae
- fix provides filtering
62d2ae
62d2ae
* Fri Jun 23 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-4
62d2ae
- provide symlinks to initscripts and unit files
62d2ae
62d2ae
* Fri Jun 23 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-3
62d2ae
- fix provides to not include plugins as sonames
62d2ae
- fix syspaths wrappers installation (spotted by Marek Skalický)
62d2ae
- add *contrib-syspaths wrappers
62d2ae
62d2ae
* Wed Jun 21 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-2
62d2ae
- drop scl-utils-build-helpers BR, resolved by *-build metapackage
62d2ae
62d2ae
* Wed Jun 21 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-1
62d2ae
- first build against rh-postgresql96 metapackage
62d2ae
62d2ae
* Wed Jun 21 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-1
62d2ae
- fix *-syspaths PoC
62d2ae
62d2ae
* Fri Jun 16 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-0.1
62d2ae
- initial *-syspaths PoC
62d2ae
62d2ae
* Mon Jun 12 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-0.0
62d2ae
- the latest upstream minor release, per release notes:
62d2ae
  https://www.postgresql.org/docs/9.6/static/release-9-6-3.html
62d2ae
62d2ae
* Mon Jun 12 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.2-0.3
62d2ae
- drop -DLINUX_OOM_SCORE_ADJ=0 define from CFLAGS (rhbz#1110969, rhbz#1436554)
62d2ae
62d2ae
* Mon Apr 10 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.2-0.2
62d2ae
- initial packaging for {sclo,rh}-postgresql96
62d2ae
- synced spec file with latest Fedora package
62d2ae
- properly generate man page for postgresql-setup
62d2ae
62d2ae
* Mon Sep 26 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.4-2
62d2ae
- fix upgrade from postgresql92-postgresql (rhbz#1378787)
62d2ae
62d2ae
* Thu Aug 18 2016 Petr Kubat <pkubat@redhat.com> - 9.5.4-1
62d2ae
- Rebase to 9.5.4 per release notes
62d2ae
  http://www.postgresql.org/docs/9.5/static/release-9-5-4.html
62d2ae
  http://www.postgresql.org/docs/9.5/static/release-9-5-3.html
62d2ae
62d2ae
* Wed Jul 27 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.2-3
62d2ae
- rebuild for s390x
62d2ae
62d2ae
* Mon May 09 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.2-2
62d2ae
- fix upgrade path from rh-postgresql94 (rhbz#1334351)
62d2ae
- fix path to binary directory in Makefile.regress (rhbz#1334706)
62d2ae
62d2ae
* Mon Apr 4 2016 Pavel Kajaba <pkajaba@redhat.com> - 9.5.2-1
62d2ae
- Rebase to 9.5.2 (CVE-2016-3065) per release notes
62d2ae
  http://www.postgresql.org/docs/9.5/static/release-9-5-2.html
62d2ae
62d2ae
* Tue Mar 29 2016 Pavel Kajaba <pkajaba@redhat.com> - 9.5.1-4
62d2ae
- Inlude missing files into files section (rhbz#1321915)
62d2ae
62d2ae
* Thu Mar 10 2016 Pavel Kajaba <pkajaba@redhat.com> - 9.5.1-3
62d2ae
- package static libraries without dynamic counterparts (rhbz#1314796)
62d2ae
62d2ae
* Wed Feb 17 2016 Pavel Kajaba <pkajaba@redhat.com> - 9.5.1-2
62d2ae
- Removed upgrade package because it was empty.
62d2ae
62d2ae
* Tue Feb 16 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.1-1
62d2ae
- Rebase to 9.5.1 (CVE-2016-0773) per release notes
62d2ae
  http://www.postgresql.org/docs/9.5/static/release-9-5-1.html
62d2ae
62d2ae
* Fri Feb 12 2016 Honza Horak <hhorak@redhat.com> - 9.5.0-5
62d2ae
- Rebuild with newer scl-utils
62d2ae
62d2ae
* Thu Feb 11 2016 Honza Horak <hhorak@redhat.com> - 9.5.0-4
62d2ae
- Rebuild with newer scl-utils in buildroot
62d2ae
62d2ae
* Tue Feb 09 2016 Honza Horak <hhorak@redhat.com> - 9.5.0-3
62d2ae
- Bump spec cause we have release 2 in centos already
62d2ae
62d2ae
* Wed Nov 18 2015 Pavel Kajaba <pkajaba@redhat.com> - 9.5-1
62d2ae
- Rebase to 9.5.0 per release notes
62d2ae
  http://www.postgresql.org/docs/9.5/static/release-9-5.html
62d2ae
62d2ae
* Wed Oct 21 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.5-1
62d2ae
- update to 9.4.5 per release notes
62d2ae
  http://www.postgresql.org/docs/9.4/static/release-9-4-5.html
62d2ae
62d2ae
* Mon Jun 15 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.4-1
62d2ae
- rebase to 9.4.4 due to security issues
62d2ae
  CVE-2015-3165 CVE-2015-3167 CVE-2015-3166
62d2ae
  Resolves: #1225798
62d2ae
62d2ae
* Sun Mar 22 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-8
62d2ae
- postgresql-setup 3.3 - per several initscript start() issues
62d2ae
62d2ae
* Fri Mar 20 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-7
62d2ae
- set the postgresql-ctl context in main package
62d2ae
- rebase the postgresql-setup to v3.2 to fix --initdb for multiple
62d2ae
  postmasters scenario
62d2ae
62d2ae
* Thu Mar 19 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.1-6
62d2ae
- postgreql-setup was updated to 3.1
62d2ae
62d2ae
* Thu Mar 19 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.1-5
62d2ae
- adding tcl-pgtcl to requires of -tcl subpackage
62d2ae
  Resolves: #1199466
62d2ae
62d2ae
* Mon Mar 02 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-4
62d2ae
- use postgresql-setup.tar.gz
62d2ae
62d2ae
* Tue Feb 24 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-3
62d2ae
- allow pg_upgrade from postgresql92-postgresql (#1196030)
62d2ae
62d2ae
* Wed Feb 18 2015 Honza Horak <hhorak@redhat.com> - 9.4.1-2
62d2ae
- Remove NFS register feature for questionable usage for DBs
62d2ae
62d2ae
* Wed Feb 18 2015 Honza Horak <hhorak@redhat.com> - 9.4.1-1
62d2ae
- Update to 9.4.1
62d2ae
  This also fixes CVE-2015-0244 CVE-2014-8161 CVE-2015-0241 CVE-2015-0243
62d2ae
  Resolves: #1192910
62d2ae
62d2ae
* Thu Jan 29 2015 Jozef Mlich <jmlich@redhat.com> 9.4.0-1
62d2ae
- update to 9.4.0
62d2ae
62d2ae
* Fri Oct  3 2014 Marcela Mašláňová <mmaslano@redhat.com> 9.2.8-2.1
62d2ae
- global must be used in systemd_post, otherwise scriptlets fail
62d2ae
  Resolves: #1149257
62d2ae
62d2ae
* Mon Apr 07 2014 Jozef Mlich <jmlich@redhat.com> 9.2.8-2
62d2ae
- added two dashes into scl-legacy.patch
62d2ae
  Resolves: #1060767
62d2ae
62d2ae
* Wed Mar 26 2014 Jozef Mlich <jmlich@redhat.com> 9.2.8-1
62d2ae
- update to 9.2.8 minor version per release notes:
62d2ae
  http://www.postgresql.org/docs/9.2/static/release-9-2-8.html
62d2ae
  Resolves: #1079994
62d2ae
62d2ae
* Thu Feb 20 2014 Jozef Mlich <jmlich@redhat.com> 9.2.7-2
62d2ae
- update to 9.2.7 minor version per release notes:
62d2ae
  http://www.postgresql.org/docs/9.2/static/release-9-2-7.html
62d2ae
  Resolves: #1065861
62d2ae
  including fixes for CVE-2014-0066 CVE-2014-0064 CVE-2014-0065
62d2ae
  CVE-2014-0062 CVE-2014-0063 CVE-2014-0060 CVE-2014-0061
62d2ae
62d2ae
* Mon Feb 17 2014 Jozef Mlich <jmlich@redhat.com> 9.2.6-8
62d2ae
- Legacy scripts are using scl enable
62d2ae
  Resolves: #1060767
62d2ae
- Release bump to -8 in order to get builds from brew
62d2ae
62d2ae
* Thu Feb 13 2014 Jozef Mlich <jmlich@redhat.com> 9.2.6-4
62d2ae
- Require /usr/bin/scl_source that is not in every scl-utils
62d2ae
  Resolves: #1054261
62d2ae
62d2ae
* Wed Dec 18 2013 Jozef Mlich <jmlich@redhat.com> 9.2.6-3
62d2ae
- release bump to avoid name colision with rhel7 when using
62d2ae
  rhpkg build 
62d2ae
62d2ae
* Wed Dec 18 2013 Jozef Mlich <jmlich@redhat.com> 9.2.6-1
62d2ae
- rebase to 9.2.6
62d2ae
  http://www.postgresql.org/docs/9.2/static/release-9-2-6.html
62d2ae
  Resolves: #1038693
62d2ae
- More details about replication issues are at
62d2ae
  https://wiki.postgresql.org/wiki/Nov2013ReplicationIssue
62d2ae
62d2ae
* Wed Nov 27 2013 Honza Horak <hhorak@redhat.com> 9.2.5-9
62d2ae
- Rebuild for openssl dependency issues
62d2ae
62d2ae
* Wed Nov 27 2013 Honza Horak <hhorak@redhat.com> 9.2.5-8
62d2ae
- Use --no-backup-if-mismatch to avoid inclusion patch left-overs
62d2ae
62d2ae
* Mon Nov 25 2013 Honza Horak <hhorak@redhat.com> 9.2.5-7
62d2ae
- Fix wrongly patched postgresql-setup
62d2ae
62d2ae
* Fri Nov 22 2013 Honza Horak <hhorak@redhat.com> 9.2.5-6
62d2ae
- Restore SCL environment after runuser
62d2ae
62d2ae
* Tue Nov 19 2013 Honza Horak <hhorak@redhat.com> 9.2.5-5
62d2ae
- Port to RHEL-7
62d2ae
62d2ae
* Tue Nov 19 2013 Honza Horak <hhorak@redhat.com> 9.2.5-4
62d2ae
- Remove rpath usage and proper enable SCL environment after su instead
62d2ae
62d2ae
* Mon Nov 18 2013 Jozef Mlich <jmlich@redhat.com> 9.2.5-1
62d2ae
- rebase to 9.2.5
62d2ae
  http://www.postgresql.org/docs/9.2/static/release-9-2-5.html
62d2ae
- modified useradd command
62d2ae
  Resolves #1023113
62d2ae
- modified bash-profile
62d2ae
  Resolves #1009365
62d2ae
62d2ae
* Wed Oct  9 2013 Jozef Mlich <jmlich@redhat.com> 9.2.4-8
62d2ae
- release bump to scl 1.1
62d2ae
62d2ae
* Wed May 15 2013 Honza Horak <hhorak@redhat.com> 9.2.4-7
62d2ae
- Run restorecon to init script as well
62d2ae
  Resolves: #962391
62d2ae
62d2ae
* Tue May 14 2013 Honza Horak <hhorak@redhat.com> 9.2.4-6
62d2ae
- Move lock file under collection root
62d2ae
  Resolves: #962872
62d2ae
62d2ae
* Mon May 13 2013 Honza Horak <hhorak@redhat.com> 9.2.4-5
62d2ae
- Run restorecon in %%post section of -server
62d2ae
  Resolves: #962391
62d2ae
62d2ae
* Thu May  2 2013 Honza Horak <hhorak@redhat.com> 9.2.4-4
62d2ae
- Do not include daemon of the previous version and support upgrade from
62d2ae
  the core system version 8.4
62d2ae
- Pidfile used by init script should be in /opt
62d2ae
- Fix advice in the init script to use proper service name
62d2ae
- Include -devel sub-package for developing server-sice extensions
62d2ae
- Prefix major soname version of all libraries with collection name
62d2ae
62d2ae
* Thu Apr 25 2013 Honza Horak <hhorak@redhat.com> 9.2.4-3
62d2ae
- All sub-packages require SCL runtime
62d2ae
- Use only one Unix socket in /tmp
62d2ae
- Use rpath since we call some commands by runuser in init script,
62d2ae
  so LD_LIBRARY_PATH doesn't work here
62d2ae
62d2ae
* Thu Apr 18 2013 Honza Horak <hhorak@redhat.com> 9.2.4-2
62d2ae
- Remove RHEL-7 stuff
62d2ae
62d2ae
* Thu Apr  4 2013 Tom Lane <tgl@redhat.com> 9.2.4-1
62d2ae
- Update to PostgreSQL 9.2.4, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/9.2/static/release-9-2-4.html
62d2ae
  including the fixes for CVE-2013-1899, CVE-2013-1900, CVE-2013-1901
62d2ae
Resolves: #929223, #929255, #929328
62d2ae
- fix build for aarch64 and ppc64p7
62d2ae
62d2ae
* Wed Feb 13 2013 Honza Horak <hhorak@redhat.com> 9.2.3-1
62d2ae
- Update to PostgreSQL 9.2.3, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/9.2/static/release-9-2-3.html
62d2ae
  including the fix for CVE-2013-0255
62d2ae
Resolves: #908722
62d2ae
- Make the package build with selinux option disabled
62d2ae
Resolves: #894367
62d2ae
- Include old version of pg_controldata in postgresql-upgrade subpackage
62d2ae
Related: #896161
62d2ae
62d2ae
* Fri Jan  4 2013 Honza Horak <hhorak@redhat.com> 9.2.2-1
62d2ae
- Update to PostgreSQL 9.2.2, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/9.2/static/release-9-2-2.html
62d2ae
- Prevent creation of TCP socket during pg_upgrade regression test, so that
62d2ae
  concurrent RPM builds on the same machine won't fail
62d2ae
Resolves: #891531
62d2ae
- Make sure $PGDATA/pg_log/ gets the right SELinux label in postgresql-setup
62d2ae
Resolves: #891547
62d2ae
62d2ae
* Mon Nov 12 2012 Honza Horak <hhorak@redhat.com> 9.2.1-4
62d2ae
- Rebuild for ppc64
62d2ae
62d2ae
* Thu Oct 25 2012 Honza Horak <hhorak@redhat.com> 9.2.1-3
62d2ae
- Run self tests during build
62d2ae
- Use a config file for specifying SCLS enabled when starting service
62d2ae
- Use sclname as a prefix of major number of libpq soname
62d2ae
- Edit spec file for RHEL-5
62d2ae
- Changed way how patch files are enhanced with scl macros values
62d2ae
- Disable uuid module, since e2fsprogs is not compatible
62d2ae
- Basic scripts fail if not run in scl environment
62d2ae
- Use scl-service wrapper to fix systemd start issues
62d2ae
- Fix paths in systemd service file
62d2ae
- Remove quotes from the service file, otherwise arguments are passed
62d2ae
  wrongly to scl-service
62d2ae
62d2ae
* Thu Oct 18 2012 Honza Horak <hhorak@redhat.com> 9.2.1-2
62d2ae
- Initial import into postgresql92 scl branch
62d2ae
62d2ae
* Mon Sep 24 2012 Tom Lane <tgl@redhat.com> 9.2.1-1
62d2ae
- Update to PostgreSQL 9.2.1, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/9.2/static/release-9-2-1.html
62d2ae
  including a nasty data-loss bug
62d2ae
- Adopt new systemd macros for server package install/uninstall triggers
62d2ae
Resolves: #850277
62d2ae
62d2ae
* Mon Sep 10 2012 Tom Lane <tgl@redhat.com> 9.2.0-1
62d2ae
- Update to PostgreSQL 9.2.0 (major version bump);
62d2ae
  in-place upgrade support now works from 9.1.x as the previous version
62d2ae
- Add postgresql-plpython3 subpackage with PL/Python built against Python 3
62d2ae
62d2ae
* Tue Aug 28 2012 Tom Lane <tgl@redhat.com> 9.1.5-2
62d2ae
- Remove unnecessary ldconfig calls in pre/post triggers
62d2ae
Resolves: #849344
62d2ae
62d2ae
* Fri Aug 17 2012 Tom Lane <tgl@redhat.com> 9.1.5-1
62d2ae
- Update to PostgreSQL 9.1.5, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/9.1/static/release-9-1-5.html
62d2ae
  including the fixes for CVE-2012-3488, CVE-2012-3489
62d2ae
62d2ae
* Mon Aug 13 2012 Tom Lane <tgl@redhat.com> 9.1.4-5
62d2ae
- Back-port upstream support for postmaster listening on multiple Unix sockets
62d2ae
- Configure postmaster to create sockets in both /var/run/postgresql and /tmp;
62d2ae
  the former is now the default place for libpq to contact the postmaster.
62d2ae
Resolves: #825448
62d2ae
- Annotate postgresql.conf about not setting port number there
62d2ae
- Minor specfile cleanup per suggestions from Tom Callaway
62d2ae
Related: #845110
62d2ae
62d2ae
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.1.4-4
62d2ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
62d2ae
62d2ae
* Sat Jul 14 2012 Tom Lane <tgl@redhat.com> 9.1.4-3
62d2ae
- Update code to use oom_score_adj not oom_adj, thereby suppressing
62d2ae
  whining in the kernel log
62d2ae
- Add "legacy action" scripts to support "service postgresql initdb" and
62d2ae
  "service postgresql upgrade" in a now-approved fashion (requires a
62d2ae
  recent version of initscripts to work)
62d2ae
Resolves: #800416
62d2ae
62d2ae
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 9.1.4-2
62d2ae
- Perl 5.16 rebuild
62d2ae
62d2ae
* Mon Jun  4 2012 Tom Lane <tgl@redhat.com> 9.1.4-1
62d2ae
- Update to PostgreSQL 9.1.4, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/9.1/static/release-9-1-4.html
62d2ae
  including the fixes for CVE-2012-2143, CVE-2012-2655
62d2ae
Resolves: #826606
62d2ae
- Update previous version (embedded in postgresql-upgrade) to 9.0.8
62d2ae
  because fix in whole-row variable dumping could be needed for upgrades
62d2ae
- Revert fix for bug #800416, per fedora-packaging discussion at
62d2ae
  http://lists.fedoraproject.org/pipermail/packaging/2012-April/008314.html
62d2ae
  "service postgresql initdb" is dead and will stay that way
62d2ae
62d2ae
* Sat Mar 17 2012 Tom Lane <tgl@redhat.com> 9.1.3-3
62d2ae
- Fix postgresql-setup to rely on systemd to parse the unit file, instead
62d2ae
  of using ad-hoc code
62d2ae
Resolves: #804290
62d2ae
62d2ae
* Tue Mar 13 2012 Tom Lane <tgl@redhat.com> 9.1.3-2
62d2ae
- Fix postgresql-setup to look for unit file in /usr/lib and to ignore
62d2ae
  comments therein
62d2ae
Resolves: #802835
62d2ae
- Resurrect a now-mostly-dummy postgresql init script, so that people can
62d2ae
  keep on using "service postgresql initdb" if they wish
62d2ae
Resolves: #800416
62d2ae
62d2ae
* Mon Feb 27 2012 Tom Lane <tgl@redhat.com> 9.1.3-1
62d2ae
- Update to PostgreSQL 9.1.3, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/9.1/static/release-9-1-3.html
62d2ae
  including the fixes for CVE-2012-0866, CVE-2012-0867, CVE-2012-0868
62d2ae
Resolves: #797918
62d2ae
62d2ae
* Mon Jan  9 2012 Tom Lane <tgl@redhat.com> 9.1.2-2
62d2ae
- Make systemd unit file more user-friendly by resurrecting the old init
62d2ae
  script's checks for data directory presence and version match
62d2ae
Resolves: #771496
62d2ae
62d2ae
* Mon Dec  5 2011 Tom Lane <tgl@redhat.com> 9.1.2-1
62d2ae
- Update to PostgreSQL 9.1.2, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/9.1/static/release-9-1-2.html
62d2ae
62d2ae
* Wed Nov 02 2011 Honza Horak <hhorak@redhat.com> 9.1.1-2
62d2ae
- Create a symlink of pg_regress instead of full copy;
62d2ae
  Don't strip symbols from regress libs
62d2ae
Related: #729012
62d2ae
62d2ae
* Mon Sep 26 2011 Tom Lane <tgl@redhat.com> 9.1.1-1
62d2ae
- Update to PostgreSQL 9.1.1, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/9.1/static/release-9-1-1.html
62d2ae
- Enable build (but not test) of contrib/sepgsql
62d2ae
- Clean up specfile build options so that turning options off works again
62d2ae
62d2ae
* Mon Sep 12 2011 Tom Lane <tgl@redhat.com> 9.1.0-1
62d2ae
- Update to PostgreSQL 9.1.0 (major version bump);
62d2ae
  in-place upgrade support now works from 9.0.x as the previous version
62d2ae
62d2ae
* Wed Jul 27 2011 Tom Lane <tgl@redhat.com> 9.0.4-8
62d2ae
- Convert to systemd startup support
62d2ae
Resolves: #696427
62d2ae
62d2ae
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 9.0.4-7
62d2ae
- Perl mass rebuild
62d2ae
62d2ae
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 9.0.4-6
62d2ae
- Perl mass rebuild
62d2ae
62d2ae
* Wed Jul  6 2011 Tom Lane <tgl@redhat.com> 9.0.4-5
62d2ae
- Remove erroneously-included Default-Start line from LSB init block
62d2ae
Related: #717024
62d2ae
62d2ae
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> 9.0.4-4
62d2ae
- Perl mass rebuild
62d2ae
- incorporate upstream patch to make it build with Perl 5.14
62d2ae
62d2ae
* Fri Jun 10 2011 Tom Lane <tgl@redhat.com> 9.0.4-3
62d2ae
- Work around gcc 4.6.0 bug (temporary backport from next upstream release)
62d2ae
62d2ae
* Tue May 10 2011 Tom Lane <tgl@redhat.com> 9.0.4-2
62d2ae
- Add LSB init block to initscript, to ensure sane ordering at system boot
62d2ae
Resolves: #703215
62d2ae
62d2ae
* Mon Apr 18 2011 Tom Lane <tgl@redhat.com> 9.0.4-1
62d2ae
- Update to PostgreSQL 9.0.4, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/9.0/static/release-9-0-4.html
62d2ae
- Add %%{?_isa} to cross-subpackage Requires, per latest packaging guidelines
62d2ae
62d2ae
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0.3-3
62d2ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
62d2ae
62d2ae
* Thu Feb  3 2011 Tom Lane <tgl@redhat.com> 9.0.3-2
62d2ae
- Remove filter-requires-perl-Pg.sh, which doesn't seem to be needed now that
62d2ae
  PyGreSQL has been split out; and our use of it isn't compatible with rpm 4.9
62d2ae
  anyway
62d2ae
62d2ae
* Tue Feb  1 2011 Tom Lane <tgl@redhat.com> 9.0.3-1
62d2ae
- Update to PostgreSQL 9.0.3, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/9.0/static/release-9-0-3.html
62d2ae
  including the fix for CVE-2010-4015
62d2ae
Resolves: #674296
62d2ae
62d2ae
* Tue Dec 28 2010 Tom Lane <tgl@redhat.com> 9.0.2-1
62d2ae
- Update to PostgreSQL 9.0.2 (major version bump)
62d2ae
- Create infrastructure for in-place database upgrade using pg_upgrade
62d2ae
Resolves: #398221
62d2ae
62d2ae
* Thu Dec 16 2010 Tom Lane <tgl@redhat.com> 8.4.6-1
62d2ae
- Update to PostgreSQL 8.4.6, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/8.4/static/release-8-4-6.html
62d2ae
- Ensure we don't package any .gitignore files from the source tarball
62d2ae
Related: #642210
62d2ae
62d2ae
* Tue Oct  5 2010 Tom Lane <tgl@redhat.com> 8.4.5-1
62d2ae
- Update to PostgreSQL 8.4.5, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/8.4/static/release-8-4-5.html
62d2ae
  including the fix for CVE-2010-3433
62d2ae
Related: #639371
62d2ae
- Add -p "$pidfile" to initscript's status call to improve corner cases.
62d2ae
Related: #561010
62d2ae
62d2ae
* Sat Jul 31 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 8.4.4-3
62d2ae
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
62d2ae
- Duplicate COPYRIGHT in -libs subpackage, per revised packaging guidelines
62d2ae
62d2ae
* Wed Jun 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 8.4.4-2
62d2ae
- Mass rebuild with perl-5.12.0
62d2ae
62d2ae
* Mon May 17 2010 Tom Lane <tgl@redhat.com> 8.4.4-1
62d2ae
- Update to PostgreSQL 8.4.4, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/8.4/static/release-8-4-4.html
62d2ae
  including fixes for CVE-2010-1169 and CVE-2010-1170
62d2ae
Resolves: #593032
62d2ae
62d2ae
* Sun Mar 14 2010 Tom Lane <tgl@redhat.com> 8.4.3-1
62d2ae
- Update to PostgreSQL 8.4.3, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/8.4/static/release-8-4-3.html
62d2ae
62d2ae
* Mon Feb 22 2010 Tom Lane <tgl@redhat.com> 8.4.2-8
62d2ae
- Bring init script into some modicum of compliance with Fedora/LSB standards
62d2ae
Resolves: #201043
62d2ae
62d2ae
* Thu Feb 18 2010 Tom "spot" Callaway <tcallawa@redhat.com> 8.4.2-7
62d2ae
- adjust license tag to reflect OSI decision
62d2ae
62d2ae
* Tue Jan 26 2010 Tom Lane <tgl@redhat.com> 8.4.2-6
62d2ae
- Emit explicit error message if user tries to build RPM as root
62d2ae
Related: #558921
62d2ae
62d2ae
* Wed Jan 20 2010 Tom Lane <tgl@redhat.com> 8.4.2-5
62d2ae
- Latest version of systemtap needs the probes.o file to be built again
62d2ae
Resolves: #557266
62d2ae
- Provide script and instructions for building the documentation PDF
62d2ae
62d2ae
* Mon Jan 11 2010 Tom Lane <tgl@redhat.com> 8.4.2-4
62d2ae
- Arrange for the postmaster, but not any of its child processes, to be run
62d2ae
  with oom_adj -17.  This compensates for the OOM killer not being smart about
62d2ae
  accounting for shared memory usage.
62d2ae
62d2ae
* Sat Jan  9 2010 Tom Lane <tgl@redhat.com> 8.4.2-3
62d2ae
- Remove the postgresql-python and postgresql-tcl subpackages.  These files
62d2ae
  are now broken out as their own packages (PyGreSQL and tcl-pgtcl,
62d2ae
  respectively), to reflect the now longstanding split of upstream projects.
62d2ae
Related: #452306, #452321
62d2ae
62d2ae
* Tue Jan  5 2010 Tom Lane <tgl@redhat.com> 8.4.2-2
62d2ae
- Remove static libraries (.a files) from package, per packaging guidelines
62d2ae
- Change %%define to %%global, per packaging guidelines
62d2ae
62d2ae
* Wed Dec 16 2009 Tom Lane <tgl@redhat.com> 8.4.2-1
62d2ae
- Update to PostgreSQL 8.4.2, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/8.4/static/release-8-4-2.html
62d2ae
  including two security issues
62d2ae
Related: #546321
62d2ae
Related: #547662
62d2ae
- Use -N not the obsolete -n in useradd call
62d2ae
Resolves: #495727
62d2ae
- Clean up specfile to eliminate rpmlint gripes, mainly by removing
62d2ae
  no-longer-needed provisions for superseding rh-postgresql
62d2ae
62d2ae
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 8.4.1-5
62d2ae
- rebuild against perl 5.10.1
62d2ae
62d2ae
* Thu Oct 15 2009 Tom Lane <tgl@redhat.com> 8.4.1-4
62d2ae
- add sparc/sparc64 to multilib header support
62d2ae
62d2ae
* Mon Sep 21 2009 Tom Lane <tgl@redhat.com> 8.4.1-3
62d2ae
- Ensure pgstartup.log gets the right ownership/permissions during initdb
62d2ae
Resolves: #498959
62d2ae
62d2ae
* Wed Sep 16 2009 Tomas Mraz <tmraz@redhat.com> - 8.4.1-2
62d2ae
- Use password-auth common PAM configuration instead of system-auth
62d2ae
62d2ae
* Wed Sep  9 2009 Tom Lane <tgl@redhat.com> 8.4.1-1
62d2ae
- Update to PostgreSQL 8.4.1, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/8.4/static/release-8-4-1.html
62d2ae
  including two security issues
62d2ae
Related: #522085
62d2ae
Related: #522092
62d2ae
62d2ae
* Tue Sep 01 2009 Karsten Hopp <karsten@redhat.com> 8.4.0-3.2
62d2ae
- bump release and build again with the correct libssl
62d2ae
62d2ae
* Tue Sep 01 2009 Karsten Hopp <karsten@redhat.com> 8.4.0-3.1
62d2ae
- disable dtrace on s390x as a workaround until #520469 has been fixed
62d2ae
62d2ae
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 8.4.0-3
62d2ae
- rebuilt with new openssl
62d2ae
62d2ae
* Thu Aug 20 2009 Tom "spot" Callaway <tcallawa@redhat.com> 8.4.0-2
62d2ae
- update License tag to MIT (PostgreSQL calls it "BSD", but it is MIT)
62d2ae
- Note: This changes nothing from a license compatibility perspective.
62d2ae
62d2ae
* Mon Aug 17 2009 Tom Lane <tgl@redhat.com> 8.4.0-1
62d2ae
- Update to PostgreSQL 8.4.0.  See release notes at
62d2ae
  http://www.postgresql.org/docs/8.4/static/release-8-4.html
62d2ae
62d2ae
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3.7-2
62d2ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
62d2ae
62d2ae
* Sat Mar 21 2009 Tom Lane <tgl@redhat.com> 8.3.7-1
62d2ae
- Update to PostgreSQL 8.3.7, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/8.3/static/release-8-3-7.html
62d2ae
  notably the fix for CVE-2009-0922
62d2ae
62d2ae
* Tue Mar 10 2009 Tom Lane <tgl@redhat.com> 8.3.6-4
62d2ae
- Prevent dependent packages from needing to include sys/sdt.h
62d2ae
  (unintended side effect of previous patch)
62d2ae
- Use -O1 on alpha, per report from Oliver Falk; -O2 tickles gcc bugs
62d2ae
62d2ae
* Sun Mar  8 2009 Tom Lane <tgl@redhat.com> 8.3.6-3
62d2ae
- Enable tracing via systemtap
62d2ae
Resolves: #488941
62d2ae
62d2ae
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3.6-2
62d2ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
62d2ae
62d2ae
* Sat Feb  7 2009 Tom Lane <tgl@redhat.com> 8.3.6-1
62d2ae
- Update to PostgreSQL 8.3.6, for various fixes described at
62d2ae
  http://www.postgresql.org/docs/8.3/static/release-8-3-6.html
62d2ae
62d2ae
* Wed Jan 21 2009 Dennis Gilmore <dennis@ausil.us> 8.3.5-4
62d2ae
- use -O1 on sparc64
62d2ae
62d2ae
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 8.3.5-3
62d2ae
- rebuild with new openssl
62d2ae
62d2ae
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 8.3.5-2
62d2ae
- Rebuild for Python 2.6
62d2ae
62d2ae
* Sun Nov  2 2008 Tom Lane <tgl@redhat.com> 8.3.5-1
62d2ae
- Update to PostgreSQL 8.3.5.
62d2ae
- Improve display from init script's initdb action, per Michael Schwendt
62d2ae
62d2ae
* Thu Sep 25 2008 Tom Lane <tgl@redhat.com> 8.3.4-1
62d2ae
- Update to PostgreSQL 8.3.4.
62d2ae
62d2ae
* Mon Jul 28 2008 Tom Lane <tgl@redhat.com> 8.3.3-3
62d2ae
- Fix build failure caused by new default patch fuzz = 0 policy in rawhide.
62d2ae
62d2ae
* Fri Jun 20 2008 Tom Lane <tgl@redhat.com> 8.3.3-2
62d2ae
- Install Pgtcl in /usr/lib/tcl$TCL_VERSION, not directly in /usr/lib.
62d2ae
  Needed because tcl 8.5 no longer puts /usr/lib into its package search path.
62d2ae
  NOTE: do not back-port this change into branches using pre-8.5 tcl, because
62d2ae
  /usr/lib/tcl8.4 had been a symlink to /usr/share/tcl8.4, and /usr/share
62d2ae
  is exactly where we must not put Pgtcl.
62d2ae
Resolves: #228263
62d2ae
62d2ae
* Wed Jun 11 2008 Tom Lane <tgl@redhat.com> 8.3.3-1
62d2ae
- Update to PostgreSQL 8.3.3.
62d2ae
- Remove postgresql-prefer-ncurses.patch, no longer needed in recent
62d2ae
  Fedora releases because libtermcap is gone.
62d2ae
62d2ae
* Sat May 17 2008 Tom Lane <tgl@redhat.com> 8.3.1-5
62d2ae
- rebuild because of buildsystem hiccup
62d2ae
62d2ae
* Sat May 17 2008 Tom Lane <tgl@redhat.com> 8.3.1-4
62d2ae
- Enable LDAP support
62d2ae
Resolves: #445315
62d2ae
- Use -Wl,--as-needed to suppress bogus dependencies for libraries that
62d2ae
  are really only needed by some of the subpackages
62d2ae
62d2ae
* Mon Apr 28 2008 Tom Lane <tgl@redhat.com> 8.3.1-3
62d2ae
- Fix build breakage on PPC due to incorrect configure test
62d2ae
Related: #444317
62d2ae
62d2ae
* Sat Apr 26 2008 Tom Lane <tgl@redhat.com> 8.3.1-2
62d2ae
- Clean up cross-subpackage Requires: to ensure that updating any one
62d2ae
  subpackage brings in the matching versions of others.
62d2ae
Resolves: #444271
62d2ae
62d2ae
* Tue Mar 25 2008 Tom Lane <tgl@redhat.com> 8.3.1-1
62d2ae
- Update to PostgreSQL 8.3.1.
62d2ae
62d2ae
* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> 8.3.0-3
62d2ae
- add Requires for versioned perl (libperl.so)
62d2ae
62d2ae
* Wed Feb  6 2008 Tom Lane <tgl@redhat.com> 8.3.0-2
62d2ae
- Enable the new GSSAPI support in 8.3.0.
62d2ae
62d2ae
* Mon Feb  4 2008 Tom Lane <tgl@redhat.com> 8.3.0-1
62d2ae
- Update to PostgreSQL 8.3.0.
62d2ae
62d2ae
* Fri Jan 18 2008 Tom Lane <tgl@redhat.com> 8.3RC2-1
62d2ae
- Update to PostgreSQL 8.3RC2 (not waiting for 8.3.0 because Fedora 9 alpha
62d2ae
  should be 8.3-based not 8.2-based).
62d2ae
- Update to pgtcl 1.6.2
62d2ae
62d2ae
* Mon Jan  7 2008 Tom Lane <tgl@redhat.com> 8.2.6-1
62d2ae
- Update to PostgreSQL 8.2.6 to fix CVE-2007-4769, CVE-2007-4772,
62d2ae
  CVE-2007-6067, CVE-2007-6600, CVE-2007-6601
62d2ae
- Make initscript and pam config files be installed unconditionally;
62d2ae
  seems new buildroots don't necessarily have those directories in place
62d2ae
62d2ae
* Wed Dec  5 2007 Tom Lane <tgl@redhat.com> 8.2.5-2
62d2ae
- Rebuild for new openssl
62d2ae
62d2ae
* Thu Sep 20 2007 Tom Lane <tgl@redhat.com> 8.2.5-1
62d2ae
- Update to PostgreSQL 8.2.5 and pgtcl 1.6.0
62d2ae
62d2ae
* Tue Sep  4 2007 Tom Lane <tgl@redhat.com> 8.2.4-6
62d2ae
- Fix multilib problem for /usr/include/ecpg_config.h (which is new in 8.2.x)
62d2ae
62d2ae
* Sat Aug 25 2007 Tom Lane <tgl@redhat.com> 8.2.4-5
62d2ae
- Use nicer solution for tzdata file substitution: upstream discussion
62d2ae
  concluded that hardwiring the path was better than a symlink after all.
62d2ae
62d2ae
* Wed Aug 22 2007 Tom Lane <tgl@redhat.com> 8.2.4-4
62d2ae
- Use tzdata package's data files instead of private copy, so that
62d2ae
  postgresql-server need not be turned for routine timezone updates
62d2ae
- Don't remove postgres user/group during RPM uninstall, per Fedora
62d2ae
  packaging guidelines
62d2ae
- Seems we need an explicit BuildRequires on gawk now
62d2ae
- Rebuild to fix Fedora toolchain issues
62d2ae
62d2ae
* Sun Aug 12 2007 Tom Lane <tgl@redhat.com> 8.2.4-3
62d2ae
- Recent perl changes in rawhide mean we need a more specific BuildRequires
62d2ae
62d2ae
* Wed Jun 20 2007 Tom Lane <tgl@redhat.com> 8.2.4-2
62d2ae
- Fix oversight in postgresql-test makefile: pg_regress isn't a shell script
62d2ae
  anymore.  Per upstream bug 3398.
62d2ae
62d2ae
* Tue Apr 24 2007 Tom Lane <tgl@redhat.com> 8.2.4-1
62d2ae
- Update to PostgreSQL 8.2.4 for CVE-2007-2138, data loss bugs
62d2ae
Resolves: #237682
62d2ae
62d2ae
* Wed Feb 14 2007 Karsten Hopp <karsten@redhat.com> 8.2.3-2
62d2ae
- rebuild with tcl-8.4
62d2ae
62d2ae
* Wed Feb  7 2007 Tom Lane <tgl@redhat.com> 8.2.3-1
62d2ae
- Update to PostgreSQL 8.2.3 due to regression induced by security fix
62d2ae
Resolves: #227522
62d2ae
62d2ae
* Sun Feb  4 2007 Tom Lane <tgl@redhat.com> 8.2.2-1
62d2ae
- Update to PostgreSQL 8.2.2 to fix CVE-2007-0555, CVE-2007-0556
62d2ae
Related: #225496
62d2ae
62d2ae
* Fri Jan 12 2007 Tom Lane <tgl@redhat.com> 8.2.1-2
62d2ae
- Split -pl subpackage into three new packages to reduce dependencies
62d2ae
  and track upstream project's packaging.
62d2ae
62d2ae
* Wed Jan 10 2007 Tom Lane <tgl@redhat.com> 8.2.1-1
62d2ae
- Update to PostgreSQL 8.2.1
62d2ae
- Update to pgtcl 1.5.3
62d2ae
- Be sure we link to libncurses, not libtermcap which is disappearing in Fedora
62d2ae
62d2ae
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 8.2.0-2
62d2ae
- rebuild for python 2.5
62d2ae
62d2ae
* Mon Dec  4 2006 Tom Lane <tgl@redhat.com> 8.2.0-1
62d2ae
- Update to PostgreSQL 8.2.0
62d2ae
- Update to PyGreSQL 3.8.1
62d2ae
- Fix chcon arguments in test/regress/Makefile
62d2ae
Related: #201035
62d2ae
- Adjust init script to not fool /etc/rc.d/rc
62d2ae
Resolves: #161470
62d2ae
- Change init script to not do initdb automatically, but require
62d2ae
  manual "service postgresql initdb" for safety.  Per upstream discussions.
62d2ae
62d2ae
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 8.1.4-1.1
62d2ae
- rebuild
62d2ae
62d2ae
* Mon May 22 2006 Tom Lane <tgl@redhat.com> 8.1.4-1
62d2ae
- Update to PostgreSQL 8.1.4 (includes fixes for CVE-2006-2313, CVE-2006-2314;
62d2ae
  see bug #192173)
62d2ae
- Update to PyGreSQL 3.8
62d2ae
- Suppress noise from chcon, per bug #187744
62d2ae
62d2ae
* Mon Mar 27 2006 Tom Lane <tgl@redhat.com> 8.1.3-2
62d2ae
- Remove JDBC from this build; we will package it as separate SRPM
62d2ae
62d2ae
* Mon Feb 13 2006 Jesse Keating <jkeating@redhat.com> - 8.1.3-1.1
62d2ae
- rebump for build order issues during double-long bump
62d2ae
62d2ae
* Mon Feb 13 2006 Tom Lane <tgl@redhat.com> 8.1.3-1
62d2ae
- Update to PostgreSQL 8.1.3 (fixes bug #180617, CVE-2006-0553)
62d2ae
- Update to jdbc driver build 405
62d2ae
- Modify multilib header hack to not break non-RH arches, per bug #177564
62d2ae
62d2ae
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 8.1.2-1.1
62d2ae
- rebuilt for new gcc4.1 snapshot and glibc changes
62d2ae
62d2ae
* Mon Jan  9 2006 Tom Lane <tgl@redhat.com> 8.1.2-1
62d2ae
- Update to PostgreSQL 8.1.2
62d2ae
- Repair extraneous quote in pgtcl configure script ... odd that bash
62d2ae
  didn't use to spit up on this.
62d2ae
62d2ae
* Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 8.1.1-3
62d2ae
- fix pg_config.h for 64-bit and ppc platforms
62d2ae
- update Makefile.regress (needs to --load-language=plpgsql)
62d2ae
62d2ae
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 8.1.1-2
62d2ae
- oops, looks like we want uname -i not uname -m
62d2ae
62d2ae
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 8.1.1-1
62d2ae
- Update to PostgreSQL 8.1.1
62d2ae
- Make pg_config.h architecture-independent for multilib installs;
62d2ae
  put the original pg_config.h into pg_config_$ARCH.h
62d2ae
62d2ae
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
62d2ae
- rebuilt
62d2ae
62d2ae
* Sat Nov 12 2005 Tom Lane <tgl@redhat.com> 8.1.0-4
62d2ae
- Update included PDF-format manual to 8.1.
62d2ae
62d2ae
* Wed Nov  9 2005 Tom Lane <tgl@redhat.com> 8.1.0-3
62d2ae
- Rebuild due to openssl library update.
62d2ae
62d2ae
* Wed Nov  9 2005 Tom Lane <tgl@redhat.com> 8.1.0-2
62d2ae
- Rebuild due to openssl library update.
62d2ae
62d2ae
* Mon Nov  7 2005 Tom Lane <tgl@redhat.com> 8.1.0-1
62d2ae
- Update to PostgreSQL 8.1.0, PyGreSQL 3.7, and jdbc driver build 404
62d2ae
- Fix PAM config file (must have account not only auth) (bug #167040)
62d2ae
- Add BuildPrereq: libxslt-devel (bug #170141)
62d2ae
- Sync with PGDG SRPM as much as feasible
62d2ae
62d2ae
* Fri Oct 14 2005 Tomas Mraz <tmraz@redhat.com>
62d2ae
- use include instead of pam_stack in pam config
62d2ae
62d2ae
* Tue Oct  4 2005 Tom Lane <tgl@redhat.com> 8.0.4-2
62d2ae
- Add rpath to plperl.so (bug #162198)
62d2ae
62d2ae
* Tue Oct  4 2005 Tom Lane <tgl@redhat.com> 8.0.4-1
62d2ae
- Update to PostgreSQL 8.0.4, PyGreSQL 3.6.2, and jdbc driver build 312
62d2ae
- Adjust pgtcl link command to ensure it binds to correct libpq (bug #166665)
62d2ae
- Remove obsolete Conflicts: against other python versions (bug #166754)
62d2ae
- Add /etc/pam.d/postgresql (bug #167040)
62d2ae
- Include contrib/xml2 in build (bug #167492)
62d2ae
62d2ae
* Tue May 10 2005 Tom Lane <tgl@redhat.com> 8.0.3-1
62d2ae
- Update to PostgreSQL 8.0.3 (includes security and data-loss fixes; see
62d2ae
  bz#156727, CAN-2005-1409, CAN-2005-1410)
62d2ae
- Update to jdbc driver build 311
62d2ae
- Recreate postgres user after superseding an rh-postgresql install (bug #151911)
62d2ae
- Ensure postgresql server is restarted if running during an upgrade
62d2ae
62d2ae
* Thu Apr 14 2005 Florian La Roche <laroche@redhat.com> 8.0.2-2
62d2ae
- rebuild for postgresql-tcl
62d2ae
62d2ae
* Tue Apr 12 2005 Tom Lane <tgl@redhat.com> 8.0.2-1
62d2ae
- Update to PostgreSQL 8.0.2.
62d2ae
62d2ae
* Fri Mar 11 2005 Tom Lane <tgl@redhat.com> 8.0.1-5
62d2ae
- Remove unwanted rpath specification from pgtcl (bz#150649)
62d2ae
62d2ae
* Wed Mar  2 2005 Tom Lane <tgl@redhat.com> 8.0.1-4
62d2ae
- Attach Obsoletes: declarations for rh-postgresql to subpackages (bz#144435)
62d2ae
- Make Requires: and Prereq: package linkages specify release not only
62d2ae
  version, as per recent mailing list discussion.
62d2ae
62d2ae
* Tue Mar  1 2005 Tomas Mraz <tmraz@redhat.com> 8.0.1-3
62d2ae
- rebuild with openssl-0.9.7e
62d2ae
62d2ae
* Mon Feb 21 2005 Tom Lane <tgl@redhat.com> 8.0.1-2
62d2ae
- Repair improper error message in init script when PGVERSION doesn't match.
62d2ae
- Arrange for auto update of version embedded in init script.
62d2ae
62d2ae
* Sun Jan 30 2005 Tom Lane <tgl@redhat.com> 8.0.1-1
62d2ae
- Update to PostgreSQL 8.0.1.
62d2ae
- Add versionless symlinks to jar files (bz#145744)
62d2ae
62d2ae
* Wed Jan 19 2005 Tom Lane <tgl@redhat.com> 8.0.0-1
62d2ae
- Update to PostgreSQL 8.0.0, PyGreSQL 3.6.1, pgtcl 1.5.2,
62d2ae
  and jdbc driver build 309.
62d2ae
- Extensive cleanout of obsolete cruft in patch set.
62d2ae
- Regression tests are run during RPM build (NOTE: cannot build as root when
62d2ae
  this is enabled).
62d2ae
- Postmaster stderr goes someplace useful, not /dev/null (bz#76503, #103767)
62d2ae
- Make init script return a useful exit status (bz#80782)
62d2ae
- Move docs' tutorial directory to %%{_libdir}/pgsql/tutorial, since it
62d2ae
  includes .so files that surely do not belong under /usr/share.
62d2ae
- Remove useless .sgml files from docs RPM (bz#134450)
62d2ae
- Put regression tests under /usr/lib64 on 64-bit archs, since .so files
62d2ae
  are not architecture-independent.
62d2ae
62d2ae
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 7.4.6-5
62d2ae
- Rebuilt for new readline.
62d2ae
62d2ae
* Tue Jan 11 2005 Dan Walsh <dwalsh@redhat.com> 7.4.6-4
62d2ae
- Add restorecon to postgresql.init in order to restore database to correct
62d2ae
- SELinux context.
62d2ae
62d2ae
* Thu Dec 16 2004 Tom Lane <tgl@redhat.com> 7.4.6-3
62d2ae
- Update to PyGreSQL 3.6 (to fix bug #142711)
62d2ae
- Adjust a few file permissions (bug #142431)
62d2ae
- Assign %%{_libdir}/pgsql to base package instead of -server (bug #74003)
62d2ae
62d2ae
* Mon Nov 15 2004 Tom Lane <tgl@redhat.com> 7.4.6-2
62d2ae
- Rebuild so python components play with python 2.4 (bug 139160)
62d2ae
62d2ae
* Sat Oct 23 2004 Tom Lane <tgl@redhat.com> 7.4.6-1
62d2ae
- Update to PostgreSQL 7.4.6 (bugs 136947, 136949)
62d2ae
- Make init script more paranoid about mkdir step of initializing a new
62d2ae
  database (bugs 136947, 136949)
62d2ae
62d2ae
* Wed Oct 20 2004 Tom Lane <tgl@redhat.com> 7.4.5-4
62d2ae
- Remove contrib/oidjoins stuff from installed fileset; it's of no use
62d2ae
  to ordinary users and has a security issue (bugs 136300, 136301)
62d2ae
- adjust chkconfig priority (bug 128852)
62d2ae
62d2ae
* Tue Oct 05 2004 Tom Lane <tgl@redhat.com> 7.4.5-3
62d2ae
- Solve the stale lockfile problem (bugs 71295, 96981, 134090)
62d2ae
- Use runuser instead of su for SELinux (bug 134588)
62d2ae
62d2ae
* Mon Aug 30 2004 Tom Lane <tgl@redhat.com> 7.4.5-2
62d2ae
- Update to PyGreSQL 3.5.
62d2ae
62d2ae
* Tue Aug 24 2004 Tom Lane <tgl@redhat.com> 7.4.5-1
62d2ae
- Update to PostgreSQL 7.4.5.
62d2ae
- Update JDBC jars to driver build 215.
62d2ae
- Add Obsoletes: entries for rh-postgresql packages, per bug 129278.
62d2ae
62d2ae
* Sat Jul 10 2004 Tom Lane <tgl@redhat.com> 7.4.3-3
62d2ae
- Undo ill-considered chkconfig change that causes server to start
62d2ae
  immediately upon install.  Mea culpa (bug 127552).
62d2ae
62d2ae
* Sat Jul 03 2004 Tom Lane <tgl@redhat.com> 7.4.3-2
62d2ae
- Update JDBC jars to driver build 214.
62d2ae
62d2ae
* Wed Jun 23 2004 Tom Lane <tgl@redhat.com> 7.4.3-1
62d2ae
- Update to PostgreSQL 7.4.3.
62d2ae
- Uninstalling server RPM stops postmaster first, per bug 114846.
62d2ae
- Fix su commands to not assume PG user's shell is sh-like, per bug 124024.
62d2ae
- Fix permissions on postgresql-python doc files, per bug 124822.
62d2ae
- Minor postgresql.init improvements.
62d2ae
62d2ae
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
62d2ae
- rebuilt
62d2ae
62d2ae
* Wed Mar 10 2004 Tom Lane <tgl@redhat.com> 7.4.2-1
62d2ae
- Update to PostgreSQL 7.4.2; sync with community SRPM as much as possible.
62d2ae
- Support PGOPTS from /etc/sysconfig/pgsql, per bug 111504.
62d2ae
- Fix permissions on /etc/sysconfig/pgsql, per bug 115278.
62d2ae
- SELinux patch in init file: always su 
62d2ae
- Rebuilt
62d2ae
62d2ae
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
62d2ae
- rebuilt
62d2ae
62d2ae
* Wed Feb 25 2004 Tom Lane <tgl@redhat.com>
62d2ae
- Update to PostgreSQL 7.4.1.
62d2ae
- Rebuilt
62d2ae
62d2ae
* Tue Feb 24 2004 Tom Lane <tgl@redhat.com>
62d2ae
- Fix chown syntax in postgresql.init also.
62d2ae
- Rebuilt
62d2ae
62d2ae
* Mon Feb 23 2004 Tim Waugh <twaugh@redhat.com>
62d2ae
- Use ':' instead of '.' as separator for chown.
62d2ae
62d2ae
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
62d2ae
- rebuilt
62d2ae
62d2ae
* Fri Jan 9 2004 Lamar Owen <lowen@pari.edu>
62d2ae
- 7.4.1-1PGDG
62d2ae
- Merge Sander Steffann's changes up to 7.4-0.5PGDG
62d2ae
- Proper 7.4.1 JDBC jars this time.
62d2ae
- Patch for no pl/python from Alvaro
62d2ae
62d2ae
* Fri Dec 05 2003 David Jee <djee@redhat.com> 7.4-5
62d2ae
- Rebuild for Perl 5.8.2.
62d2ae
62d2ae
* Mon Dec 01 2003 David Jee <djee@redhat.com> 7.4-4
62d2ae
- Add PyGreSQL patch for deprecated column pg_type.typprtlen [Bug #111263]
62d2ae
- Add headers patch which moves ecpg headers to /usr/include/ecpg
62d2ae
  [Bug #111195]
62d2ae
62d2ae
* Fri Nov 28 2003 David Jee <djee@redhat.com> 7.4-3
62d2ae
- uncomment buildrequires tcl-devel
62d2ae
62d2ae
* Fri Nov 28 2003 David Jee <djee@redhat.com> 7.4-2
62d2ae
- rebuild
62d2ae
62d2ae
* Mon Nov 24 2003 David Jee <djee@redhat.com> 7.4-1
62d2ae
- initial Red Hat build
62d2ae
- move jars to /usr/share/java
62d2ae
- fix rpm-multilib patch to use sysconfig
62d2ae
62d2ae
* Fri Nov 21 2003 Lamar Owen <lowen@pari.edu> <lamar.owen@wgcr.org>
62d2ae
- 7.4-0.1PGDG
62d2ae
- Development JDBC jars in addition to the 7.3 jars; will replace the
62d2ae
- 7.3 jars once 7.4 official jars are released.
62d2ae
- Changed to use the bzip2 source to save a little size.
62d2ae
- Removed some commented out portions of the specfile.
62d2ae
- Removed the 7.3.4 PDF docs.  Will replace with 7.4 PDF's once they
62d2ae
- are ready.
62d2ae
62d2ae
* Tue Nov 18 2003 Kaj J. Niemi <kajtzu@fi.basen.net> 7.4-0.1
62d2ae
- 7.4
62d2ae
- Fixed Patch #1 (now rpm-pgsql-7.4.patch)
62d2ae
- Fixed Patch #2 (now rpm-multilib-7.4.patch):
62d2ae
- Patch #4 is unnecessary (upstream)
62d2ae
- Fixed Patch #6 (now postgresql-7.4-src-tutorial.patch)
62d2ae
- Added Patch #8 (postgresql-7.4-com_err.patch) as com_err()
62d2ae
  is provided by e2fsprogs and CPPFLAGS gets lost somewhere
62d2ae
  inside configure (bad macro?)
62d2ae
- No 7.4 PDF docs available yet (Source #17)
62d2ae
- PyGreSQL is separated from the upstream distribution but
62d2ae
  we include it as usual (Source #18)
62d2ae
- Default to compiling libpq and ECPG as fully thread-safe
62d2ae
62d2ae
- 7.4 Origin.  See previous spec files for previous history. Adapted
62d2ae
- from Red Hat and PGDG's 7.3.4 RPM, directly descended from 
62d2ae
- postgresql-7.3.4-2 as shipped in Fedora Core 1.