auto-import postgresql-7.2.3-5.80 from postgresql-7.2.3-5.80.src.rpm
This commit is contained in:
parent
6b72880c1f
commit
5a04de7396
@ -1,3 +1,3 @@
|
|||||||
file-lists.tar.gz
|
|
||||||
migration-scripts.tar.gz
|
migration-scripts.tar.gz
|
||||||
postgresql-7.2.2.tar.gz
|
postgresql-7.2.3.tar.gz
|
||||||
|
postgresql-dump.1.gz
|
||||||
|
116
README.rpm-dist
116
README.rpm-dist
@ -1,14 +1,18 @@
|
|||||||
README.rpm-dist
|
README.rpm-dist
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
Version 4.0, for the PostgreSQL 7.2-1PGDG RPMset.
|
Version 4.1, for the PostgreSQL 7.2.1-2PGDG RPMset.
|
||||||
Lamar Owen <lamar.owen@wgcr.org>
|
Lamar Owen <lamar.owen@wgcr.org>
|
||||||
----------------------------------------------------------------------------
|
|
||||||
|
DISCLAIMER: the following information is provided in the hope that it helps
|
||||||
|
people install and use PostgreSQL. It is being provided without warranty of
|
||||||
|
any kind, so, use at your own risk.
|
||||||
|
-----------------------------------------------------------------------------
|
||||||
|
|
||||||
Contents:
|
Contents:
|
||||||
0.) Quick -i note.
|
0.) Quick -i note.
|
||||||
1.) Introduction, QuickStart, and credits
|
1.) Introduction, QuickStart, and credits
|
||||||
2.) PostgreSQL RPM packages and rationale
|
2.) PostgreSQL RPM packages and rationale
|
||||||
3.) Upgrading from an older version of PostgreSQL without losing data.
|
3.) Upgrading. (Deprecated. Will be removed in a future README)
|
||||||
4.) Regression Testing
|
4.) Regression Testing
|
||||||
5.) Starting postmaster automatically on startup
|
5.) Starting postmaster automatically on startup
|
||||||
6.) Grand Unified Configuration(GUC) File.
|
6.) Grand Unified Configuration(GUC) File.
|
||||||
@ -31,18 +35,21 @@ This document exists to explain the layout of the RPM's for PostgreSQL, to
|
|||||||
explain how to migrate from an older version, and to explain WHY it can be
|
explain how to migrate from an older version, and to explain WHY it can be
|
||||||
so difficult to upgrade PostgreSQL.
|
so difficult to upgrade PostgreSQL.
|
||||||
|
|
||||||
This document is written to be applicable to version 7.2 of PostgreSQL,
|
This document is written to be applicable to version 7.2.1 of PostgreSQL,
|
||||||
which is the current version of the RPM's as of this writing.
|
which is the current version of the RPM's as of this writing.
|
||||||
|
|
||||||
Official PostgreSQL Global Development Group RPM's will from version 7.1.2
|
Official PostgreSQL Global Development Group RPM's carry a 'PGDG' after the
|
||||||
on carry a 'PGDG' after the release number. Other RPMset's as distributed
|
release number. Other RPMset's as distributed with Linux distributions may
|
||||||
with Linux distributions may have a different release number and initials.
|
have a different release number and initials.
|
||||||
|
|
||||||
It is preferable for the distribution-specific set to be the one used, as
|
It is preferable for the distribution-specific set to be the one used, as
|
||||||
the PGDG set is intentionally generic. So, if your distro has a set of RPMs,
|
the PGDG set is intentionally generic. So, if your distro has a set of RPMs,
|
||||||
use them in preference. If you want to stay up-to-date on the PostgreSQL
|
use them in preference. If you want to stay up-to-date on the PostgreSQL
|
||||||
core itself, use the PGDG generic set -- but understand that it is a
|
core itself, use the PGDG generic set -- but understand that it is a
|
||||||
GENERIC set.
|
GENERIC set. In particular, SuSE and RedHat users that use late-model
|
||||||
|
distributions should definitely use their RPMs. Trond and Reinhard do a
|
||||||
|
good job keeping them up to date. The Polish(ed) Linux Distribution also
|
||||||
|
does an excellent job with the PLD RPM version.
|
||||||
|
|
||||||
These RPMs are designed to be LSB-compliant -- if you find this not to be the
|
These RPMs are designed to be LSB-compliant -- if you find this not to be the
|
||||||
case, please let me know by way of the pgsql-ports@postgresql.org mailing
|
case, please let me know by way of the pgsql-ports@postgresql.org mailing
|
||||||
@ -80,69 +87,41 @@ Jeff Johnson
|
|||||||
Reinhard Max
|
Reinhard Max
|
||||||
Peter Eisentraut
|
Peter Eisentraut
|
||||||
|
|
||||||
|
A big THANK YOU to Trond, particularly. He has poured an amazing amount of
|
||||||
|
work into this package, particularly in cleaning up my errors, as well as
|
||||||
|
getting the contrib package to actually be useful.
|
||||||
|
|
||||||
POSTGRESQL RPM PACKAGES AND RATIONALE.
|
POSTGRESQL RPM PACKAGES AND RATIONALE.
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
On RedHat Linux, prior to version 6.5, PostgreSQL was packaged in RPM form in
|
[This section has been edited. See prior versions for older history]
|
||||||
three (or four) packages:
|
|
||||||
|
|
||||||
postgresql: The server and documentation
|
PostgreSQL is a large, multifaceted program, with many clients and options
|
||||||
postgresql-clients: The client libraries, the cli, and the tcl interface
|
that all users will not need. So, several subpackages are built. Here is
|
||||||
postgresql-devel: Development libraries (for the client-side)
|
the list of the current (7.2.1) packages:
|
||||||
postgresql-data: A sample database -- not shipped with the 6.4 RPMS.
|
|
||||||
|
|
||||||
However, it was decided that a different split would be more appropriate for
|
|
||||||
users. The 7.0 splitup allows more flexibility in installation, as well as
|
|
||||||
making the new clients into their own packages. The new packages are:
|
|
||||||
|
|
||||||
postgresql: Some clients and libraries, and documentation
|
postgresql: Some clients and libraries, and documentation
|
||||||
postgresql-server: Server executables and data files
|
postgresql-server: Server executables and data files
|
||||||
postgresql-devel: Client-side development libraries
|
postgresql-devel: Client-side development libraries
|
||||||
postgresql-tcl: TCL/TK client libraries and the pgaccess client
|
|
||||||
postgresql-perl: PERL client module
|
postgresql-perl: PERL client module
|
||||||
postgresql-python: The PygreSQL client library
|
postgresql-python: The PygreSQL client library
|
||||||
postgresql-odbc: Linux ODBC client (not required to use ODBC from Win95)
|
postgresql-odbc: Linux ODBC client (not required to use ODBC from Win95)
|
||||||
postgresql-jdbc: JAR of the JDBC client
|
postgresql-jdbc: JAR of the JDBC client
|
||||||
postgresql-test: The regression tests and associated files.
|
postgresql-test: The regression tests and associated files.
|
||||||
|
|
||||||
For version 7.0.x, another package is being shipped, and one package has been
|
|
||||||
trimmed:
|
|
||||||
postgresql-tk: Tk client and pgaccess.
|
postgresql-tk: Tk client and pgaccess.
|
||||||
postgresql-tcl: Tcl client and PL ONLY.
|
postgresql-tcl: Tcl client and PL ONLY.
|
||||||
|
|
||||||
For version 7.1, more packages are being shipped:
|
|
||||||
postgresql-libs: client shared libraries.
|
postgresql-libs: client shared libraries.
|
||||||
postgresql-docs: extra documentation,such as the SGML doc sources.
|
postgresql-docs: extra documentation,such as the SGML doc sources.
|
||||||
postgresql-contrib: The contrib source tree, as well as selected binaries.
|
postgresql-contrib: The contrib source tree, as well as selected binaries.
|
||||||
|
|
||||||
For SuSE Linux <= 7.0, the packages are named differently, but with the same
|
The postgresql-libs package is required for all installations. Otherwise, a
|
||||||
functionality. Here is a mapping:
|
mix and match installation may be made. The devel package is required to
|
||||||
SuSE: RedHat:
|
do any compilation of a program that uses either the client libs or the
|
||||||
----- -----------------
|
server (SPI) interface.
|
||||||
postgres postgresql
|
|
||||||
pg_serv postgresql-server
|
|
||||||
pg_devel postgresql-devel
|
|
||||||
pg_tcl postgresql-tcl
|
|
||||||
pg_perl postgresql-perl
|
|
||||||
pg_pyth postgresql-python
|
|
||||||
pg_odbc postgresql-odbc
|
|
||||||
pg_jdbc postgresql-jdbc
|
|
||||||
pg_test postgresql-test
|
|
||||||
|
|
||||||
There are other changes to the SuSE packages to make them conform to the
|
|
||||||
SuSE packaging standards. SuSE Linux has been shipping their own packages.
|
|
||||||
|
|
||||||
While the repackaging will initially cause some confusion, it makes it
|
|
||||||
possible to set up a RedHat linux machine to be only a client -- the server
|
|
||||||
is no longer required. The clients were split out -- after all, a person who
|
|
||||||
needs the perl client may very well not need the tcl client, etc. And, the
|
|
||||||
regression tests were added to give some confidence of the suitability of
|
|
||||||
PostgreSQL, as well as the stability of the server machine. Additionally,
|
|
||||||
the regression tests can be used to help find hardware errors.
|
|
||||||
|
|
||||||
RPM FILE LOCATIONS.
|
RPM FILE LOCATIONS.
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
In compliance with the Linux FHS, the PostgreSQL RPM's install files in a manner
|
In compliance with the LSB, the PostgreSQL RPM's install files in a manner
|
||||||
not consistent with most of the PostgreSQL documentation. According to the
|
not consistent with much of the PostgreSQL documentation. According to the
|
||||||
standard PostgreSQL documentation, PostgreSQL is installed under the directory
|
standard PostgreSQL documentation, PostgreSQL is installed under the directory
|
||||||
/usr/local/pgsql, with executables, source, and data existing in various
|
/usr/local/pgsql, with executables, source, and data existing in various
|
||||||
subdirectories.
|
subdirectories.
|
||||||
@ -184,6 +163,17 @@ cause thembe be non-compliant, please let me know.
|
|||||||
|
|
||||||
UPGRADING.
|
UPGRADING.
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
|
WARNING: This information is deprecated. Make sure to fully back up
|
||||||
|
your database files BEFORE upgrading the RPM. Unfortunately, even then
|
||||||
|
you may have problems -- so be ready to hand-edit dump files.
|
||||||
|
|
||||||
|
A pg_upgrade utility is found in the contrib tree -- but it is not really
|
||||||
|
production quality code. If this lack of easy upgrades bothers you, please
|
||||||
|
let the developer list (pgsql-hackers@postgresql.org) know about it -- maybe
|
||||||
|
seamless upgrades can be made a higher prioriy if enough users complain.
|
||||||
|
|
||||||
|
Use the following information at your own risk.
|
||||||
|
|
||||||
CAUTION: While a semi-automatic upgrade process has been implemented, it is
|
CAUTION: While a semi-automatic upgrade process has been implemented, it is
|
||||||
STRONGLY recommended that a full dump of your database (using pg_dumpall) is
|
STRONGLY recommended that a full dump of your database (using pg_dumpall) is
|
||||||
performed BEFORE upgrading the RPMs! If you have already done the upgrade
|
performed BEFORE upgrading the RPMs! If you have already done the upgrade
|
||||||
@ -195,11 +185,8 @@ I cannot overemphasize this precaution.
|
|||||||
NOTE: moving your existing data from /var/lib/pgsql to /var/lib/pgsql/data is
|
NOTE: moving your existing data from /var/lib/pgsql to /var/lib/pgsql/data is
|
||||||
not currently automatic -- you will need to do this yourself at this release!
|
not currently automatic -- you will need to do this yourself at this release!
|
||||||
This change occurred between 6.5.3 and 7.0, so upgrading from prior to 7.0 to
|
This change occurred between 6.5.3 and 7.0, so upgrading from prior to 7.0 to
|
||||||
7.0 or later might be difficult.
|
7.0 or later might be difficult. The rh-dump script is provided to ease this,
|
||||||
|
see below.
|
||||||
NOTE: This program is not included in the packages distributed with
|
|
||||||
Red Hat Linux. The releasenotes specifies a dump before a system
|
|
||||||
upgrade.
|
|
||||||
|
|
||||||
The single biggest problem with upgrading PostgreSQL RPM's has been the lack
|
The single biggest problem with upgrading PostgreSQL RPM's has been the lack
|
||||||
of a reasonably automated upgrade process. PostgreSQL has the property of
|
of a reasonably automated upgrade process. PostgreSQL has the property of
|
||||||
@ -245,6 +232,14 @@ The basic sequence is:
|
|||||||
postgresql-dump -t /var/lib/pgsql/backup/db.bak -p /var/lib/pgsql/backup/old -d
|
postgresql-dump -t /var/lib/pgsql/backup/db.bak -p /var/lib/pgsql/backup/old -d
|
||||||
(you can abort the ASCII dump with 'Q', as it uses more) Then, (as user root):
|
(you can abort the ASCII dump with 'Q', as it uses more) Then, (as user root):
|
||||||
|
|
||||||
|
***** NOTE ***** ***** NOTE *****
|
||||||
|
|
||||||
|
The above script is broken. Use "rh-pgdump.sh targetfile" instead, remove the
|
||||||
|
old databases (/var/lib/pgsql/base) (or safer - move them somewhere else first),
|
||||||
|
start the database and follow the insert procedure described below.
|
||||||
|
|
||||||
|
***** NOTE ***** ***** NOTE *****
|
||||||
|
|
||||||
service postgresql start
|
service postgresql start
|
||||||
|
|
||||||
(which will automatically create a new database structure) And finally,
|
(which will automatically create a new database structure) And finally,
|
||||||
@ -279,6 +274,11 @@ in the template1 database. Please look at www.postgresql.org for information
|
|||||||
on upgrading the template1 database. This is a known bug in the PostgreSQL
|
on upgrading the template1 database. This is a known bug in the PostgreSQL
|
||||||
pg_dump and pg_dumpall utilities.
|
pg_dump and pg_dumpall utilities.
|
||||||
|
|
||||||
|
The above information is considered deprecated. The utilities it mentions
|
||||||
|
are also considered deprecated and will be removed from a future release of
|
||||||
|
the RPMset due to the difficulty involved with a dump-restore upgrade and the
|
||||||
|
hand-editing of dumpfiles that are sometimes necessary.
|
||||||
|
|
||||||
REGRESSION TESTING
|
REGRESSION TESTING
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
One of the features of the newer RPM sets is the capability to perform the
|
One of the features of the newer RPM sets is the capability to perform the
|
||||||
@ -366,6 +366,10 @@ environment to rebuild the full RPM set.
|
|||||||
This release of the RPMset includes the ability to conditionally build
|
This release of the RPMset includes the ability to conditionally build
|
||||||
sets of packages. The parameters, their defaults, and the meanings are:
|
sets of packages. The parameters, their defaults, and the meanings are:
|
||||||
|
|
||||||
|
build6x undef #build for RHL 6.x. Define to 1 to build for 6.x,
|
||||||
|
# undefined otherwise.
|
||||||
|
#currently, this disables the kerberos, nls, and ssl
|
||||||
|
# builds, as well as correcting dependencies for 6.x
|
||||||
beta 0 #build with cassert and do not strip the binaries
|
beta 0 #build with cassert and do not strip the binaries
|
||||||
perl 1 #build the postgresql-perl package.
|
perl 1 #build the postgresql-perl package.
|
||||||
tcl 1 #build the postgresql-tcl package.
|
tcl 1 #build the postgresql-tcl package.
|
||||||
@ -383,6 +387,7 @@ nls 1 #build with national language support.
|
|||||||
enable_mb 1 #enable multibyte encodings.
|
enable_mb 1 #enable multibyte encodings.
|
||||||
pgaccess 1 #build the pgaccess client, part of postgresql-tk.
|
pgaccess 1 #build the pgaccess client, part of postgresql-tk.
|
||||||
newintarray 0 #substitute a newer intarray contrib.
|
newintarray 0 #substitute a newer intarray contrib.
|
||||||
|
pam 1 #build --with-pam
|
||||||
|
|
||||||
To use these defines, invoke a rebuild like this:
|
To use these defines, invoke a rebuild like this:
|
||||||
rpm --rebuild --define 'perl 0' --define 'tcl 0' --define 'tkpkg 0'\
|
rpm --rebuild --define 'perl 0' --define 'tcl 0' --define 'tkpkg 0'\
|
||||||
@ -393,7 +398,6 @@ newer intarray code, and disable kerberos support.
|
|||||||
|
|
||||||
More of these conditionals will be added in the future.
|
More of these conditionals will be added in the future.
|
||||||
|
|
||||||
|
|
||||||
CONTRIB FILES
|
CONTRIB FILES
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
The contents of the contrib tree are packaged into the -contrib subpackage
|
The contents of the contrib tree are packaged into the -contrib subpackage
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
# Tested the $? return for the stop script -- it does in fact propagate.
|
# Tested the $? return for the stop script -- it does in fact propagate.
|
||||||
# TODO: multiple postmasters.
|
# TODO: multiple postmasters.
|
||||||
|
|
||||||
# PGVERSION is:
|
# PGVERSION is: (note that PGVERSION is the major: 7.2.1 -> PGVERSION 7.2)
|
||||||
PGVERSION=7.2
|
PGVERSION=7.2
|
||||||
|
|
||||||
# Source function library.
|
# Source function library.
|
||||||
@ -104,7 +104,7 @@ start(){
|
|||||||
SYSDOCDIR=/usr/share/doc/packages
|
SYSDOCDIR=/usr/share/doc/packages
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
echo -e $"An old version of the database format was found.\nYou need to upgrade the data format before using PostgreSQL.\nSee $SYSDOCDIR/postgresql-$PGVERSION/README.rpm-dist for more information."
|
echo $"An old version of the database format was found.\nYou need to upgrade the data format before using PostgreSQL.\nSee $SYSDOCDIR/postgresql-$PGVERSION/README.rpm-dist for more information."
|
||||||
exit 1
|
exit 1
|
||||||
# This doesn't seem to do anything useful...
|
# This doesn't seem to do anything useful...
|
||||||
# else
|
# else
|
||||||
@ -153,12 +153,13 @@ start(){
|
|||||||
pid=`pidof -s postmaster`
|
pid=`pidof -s postmaster`
|
||||||
if [ $pid ]
|
if [ $pid ]
|
||||||
then
|
then
|
||||||
success "$PSQL_START"
|
success "$PSQL_START"
|
||||||
touch /var/lock/subsys/postgresql
|
touch /var/lock/subsys/postgresql
|
||||||
echo $pid > /var/run/postmaster.pid
|
echo $pid > /var/run/postmaster.pid
|
||||||
echo
|
echo
|
||||||
else
|
else
|
||||||
failure "$PSQL_START"
|
failure "$PSQL_START"
|
||||||
|
echo
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
525
postgresql.spec
525
postgresql.spec
@ -1,13 +1,20 @@
|
|||||||
# [for (x)emacs] -*- coding: utf-8 -*-
|
# build6x usage: define to 1 to build for RHL6.x. Don't define at all for others.
|
||||||
|
%{?build6x:%define kerberos 0}
|
||||||
|
%{?build6x:%define nls 0}
|
||||||
|
%{?build6x:%define ssl 0}
|
||||||
|
#work around the undefined or defined to 1 build 6x interaction with the pam stuff
|
||||||
|
%{!?build6x:%define non6xpamdeps 1}
|
||||||
|
%{?build6x:%define non6xpamdeps 0}
|
||||||
|
|
||||||
%define beta 0
|
%define beta 0
|
||||||
|
|
||||||
%{?beta:%define __os_install_post /usr/lib/rpm/brp-compress}
|
%{?beta:%define __os_install_post /usr/lib/rpm/brp-compress}
|
||||||
%{!?perl:%define perl 1}
|
%{!?perl:%define perl 1}
|
||||||
%{!?tcl:%define tcl 1}
|
%{!?tcl:%define tcl 1}
|
||||||
%{!?tkpkg:%define tkpkg 0}
|
%{!?tkpkg:%define tkpkg 1}
|
||||||
%{!?odbc:%define odbc 1}
|
%{!?odbc:%define odbc 1}
|
||||||
%{!?jdbc:%define jdbc 1}
|
%{!?jdbc:%define jdbc 1}
|
||||||
%{!?test:%define test 0}
|
%{!?test:%define test 1}
|
||||||
%{!?python:%define python 1}
|
%{!?python:%define python 1}
|
||||||
%{!?pltcl:%define pltcl 1}
|
%{!?pltcl:%define pltcl 1}
|
||||||
%{?forceplperl:%define plperl %{expand:forceplperl}}
|
%{?forceplperl:%define plperl %{expand:forceplperl}}
|
||||||
@ -17,20 +24,19 @@
|
|||||||
%{!?kerberos:%define kerberos 1}
|
%{!?kerberos:%define kerberos 1}
|
||||||
%{!?nls:%define nls 1}
|
%{!?nls:%define nls 1}
|
||||||
%{!?pam:%define pam 1}
|
%{!?pam:%define pam 1}
|
||||||
%{!?sgmldocs:%define sgmldocs 0}
|
|
||||||
|
|
||||||
|
|
||||||
# Utility feature defines.
|
# Utility feature defines.
|
||||||
%{!?enable_mb:%define enable_mb 1}
|
%{!?enable_mb:%define enable_mb 1}
|
||||||
%{!?pgaccess:%define pgaccess 0}
|
%{!?pgaccess:%define pgaccess 1}
|
||||||
|
|
||||||
# Python major version.
|
# Python major version.
|
||||||
%{expand: %%define pyver %(python -c 'import sys;print(sys.version[0:3])')%{nil}}
|
%{expand: %%define pyver %(python -c 'import sys;print(sys.version[0:3])')}
|
||||||
%{expand: %%define pynextver %(python -c 'import sys;print(float(sys.version[0:3])+0.1)')%{nil}}
|
%{expand: %%define pynextver %(python -c 'import sys;print(float(sys.version[0:3])+0.1)')}
|
||||||
|
|
||||||
|
|
||||||
Summary: PostgreSQL client programs and libraries.
|
Summary: PostgreSQL client programs and libraries.
|
||||||
Name: postgresql
|
Name: postgresql
|
||||||
Version: 7.2.2
|
Version: 7.2.3
|
||||||
|
|
||||||
# Conventions for PostgreSQL Global Development Group RPM releases:
|
# Conventions for PostgreSQL Global Development Group RPM releases:
|
||||||
|
|
||||||
@ -52,31 +58,42 @@ Version: 7.2.2
|
|||||||
# Pre-release RPM's should not be put up on the public ftp.postgresql.org server
|
# Pre-release RPM's should not be put up on the public ftp.postgresql.org server
|
||||||
# -- only test releases or full releases should be.
|
# -- only test releases or full releases should be.
|
||||||
|
|
||||||
Release: 1
|
Release: 5.80
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.gz
|
Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.gz
|
||||||
|
Source2: redhat-style-files.lst
|
||||||
Source3: postgresql.init
|
Source3: postgresql.init
|
||||||
Source4: file-lists.tar.gz
|
Source4: suse-style-files.lst
|
||||||
|
Source5: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.gz.md5
|
||||||
Source6: README.rpm-dist
|
Source6: README.rpm-dist
|
||||||
Source7: migration-scripts.tar.gz
|
Source7: migration-scripts.tar.gz
|
||||||
Source8: http://jdbc.postgresql.org/download/devpgjdbc1.jar
|
Source8: http://jdbc.postgresql.org/download/jdbc7.2dev-1.1.jar
|
||||||
Source9: http://jdbc.postgresql.org/download/devpgjdbc2.jar
|
Source9: http://jdbc.postgresql.org/download/jdbc7.2dev-1.2.jar
|
||||||
Source10: http://jdbc.postgresql.org/download/pgjdbc1.jar
|
Source10: http://jdbc.postgresql.org/download/jdbc7.1-1.1.jar
|
||||||
Source11: http://jdbc.postgresql.org/download/pgjdbc2.jar
|
Source11: http://jdbc.postgresql.org/download/jdbc7.1-1.2.jar
|
||||||
|
Source12: postgresql-dump.1.gz
|
||||||
|
Source14: rh-pgdump.sh
|
||||||
Source15: postgresql-bashprofile
|
Source15: postgresql-bashprofile
|
||||||
Patch1: rpm-pgsql-7.2.patch
|
Patch1: rpm-pgsql-%{version}.patch
|
||||||
Patch3: postgresql-7.2rc2-betterquote.patch
|
Patch2: postgresql-%{version}-geo_ops.patch
|
||||||
Patch4: postgresql-7.2-tighten.patch
|
Patch3: postgresql-%{version}-tighten.patch
|
||||||
Patch5: postgresql-7.2.1-mktime.patch
|
Buildrequires: perl glibc-devel
|
||||||
Buildrequires: perl glibc-devel bison flex
|
|
||||||
Prereq: /sbin/ldconfig initscripts
|
Prereq: /sbin/ldconfig initscripts
|
||||||
|
%if %python
|
||||||
|
BuildPrereq: python-devel
|
||||||
|
%endif
|
||||||
|
%if %perl
|
||||||
BuildPrereq: perl
|
BuildPrereq: perl
|
||||||
BuildPrereq: readline-devel >= 4.0
|
%endif
|
||||||
|
%if %tcl
|
||||||
|
BuildPrereq: tcl
|
||||||
|
%endif
|
||||||
|
%if %tkpkg
|
||||||
|
BuildPrereq: tk
|
||||||
|
%endif
|
||||||
|
BuildPrereq: readline-devel
|
||||||
BuildPrereq: zlib-devel >= 1.0.4
|
BuildPrereq: zlib-devel >= 1.0.4
|
||||||
BuildPrereq: patch >= 2.5.4
|
|
||||||
Url: http://www.postgresql.org/
|
|
||||||
Requires: postgresql-libs = %{version}
|
|
||||||
%if %ssl
|
%if %ssl
|
||||||
BuildPrereq: openssl-devel
|
BuildPrereq: openssl-devel
|
||||||
%endif
|
%endif
|
||||||
@ -84,17 +101,22 @@ BuildPrereq: openssl-devel
|
|||||||
BuildPrereq: krb5-devel
|
BuildPrereq: krb5-devel
|
||||||
%endif
|
%endif
|
||||||
%if %nls
|
%if %nls
|
||||||
BuildPrereq: gettext >= 0.10.36
|
BuildPrereq: gettext >= 0.10.35
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %pam
|
||||||
|
%if %non6xpamdeps
|
||||||
|
BuildPrereq: pam-devel
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Url: http://www.postgresql.org/
|
||||||
Obsoletes: postgresql-clients
|
Obsoletes: postgresql-clients
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
||||||
# Obsolete the packages we are not building...
|
# Obsolete the packages we are not building...
|
||||||
%if ! %{plperl}
|
%if ! %{plperl}
|
||||||
Obsoletes: postgresql-plperl
|
Obsoletes: postgresql-plperl
|
||||||
%endif
|
%endif
|
||||||
%if %{tcl}
|
|
||||||
Buildrequires: tcl
|
|
||||||
%endif
|
|
||||||
%if ! %{tcl}
|
%if ! %{tcl}
|
||||||
Obsoletes: postgresql-tcl
|
Obsoletes: postgresql-tcl
|
||||||
%endif
|
%endif
|
||||||
@ -107,9 +129,6 @@ Obsoletes: postgresql-odbc
|
|||||||
%if ! %{perl}
|
%if ! %{perl}
|
||||||
Obsoletes: postgresql-perl
|
Obsoletes: postgresql-perl
|
||||||
%endif
|
%endif
|
||||||
%if %{python}
|
|
||||||
BuildRequires: python-devel
|
|
||||||
%endif
|
|
||||||
%if ! %{python}
|
%if ! %{python}
|
||||||
Obsoletes: postgresql-python
|
Obsoletes: postgresql-python
|
||||||
%endif
|
%endif
|
||||||
@ -119,12 +138,6 @@ Obsoletes: postgresql-jdbc
|
|||||||
%if ! %{test}
|
%if ! %{test}
|
||||||
Obsoletes: postgresql-test
|
Obsoletes: postgresql-test
|
||||||
%endif
|
%endif
|
||||||
%if ! %{sgmldocs}
|
|
||||||
Obsoletes: postgresql-docs
|
|
||||||
%endif
|
|
||||||
%if %{pam}
|
|
||||||
BuildRequires: pam-devel
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -136,7 +149,7 @@ BuildRequires: pam-devel
|
|||||||
# Major Contributors:
|
# Major Contributors:
|
||||||
# ---------------
|
# ---------------
|
||||||
# Lamar Owen
|
# Lamar Owen
|
||||||
# Trond Eivind Glomsrød <teg@redhat.com>
|
# Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
# Thomas Lockhart
|
# Thomas Lockhart
|
||||||
# Reinhard Max
|
# Reinhard Max
|
||||||
# Karl DeBisschop
|
# Karl DeBisschop
|
||||||
@ -187,28 +200,7 @@ Summary: The programs needed to create and run a PostgreSQL server.
|
|||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Prereq: /usr/sbin/useradd /sbin/chkconfig
|
Prereq: /usr/sbin/useradd /sbin/chkconfig
|
||||||
Requires: postgresql = %{version} libpq.so
|
Requires: postgresql = %{version} libpq.so
|
||||||
Requires: postgresql-libs = %{version}
|
Conflicts: postgresql-server <= 7.1.3
|
||||||
|
|
||||||
#------------
|
|
||||||
%if %sgmldocs
|
|
||||||
%package docs
|
|
||||||
Summary: Extra documentation for PostgreSQL
|
|
||||||
Group: Applications/Databases
|
|
||||||
%description docs
|
|
||||||
The postgresql-docs package includes the SGML source for the documentation
|
|
||||||
as well as the documentation in other formats, and some extra documentation.
|
|
||||||
Install this package if you want to help with the PostgreSQL documentation
|
|
||||||
project, or if you want to generate printed documentation.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%package contrib
|
|
||||||
Summary: Contributed source and binaries distributed with PostgreSQL
|
|
||||||
Group: Applications/Databases
|
|
||||||
Requires: libpq.so postgresql = %{version}
|
|
||||||
%description contrib
|
|
||||||
The postgresql-contrib package includes the contrib tree distributed with
|
|
||||||
the PostgreSQL tarball. Selected contrib modules are prebuilt.
|
|
||||||
|
|
||||||
%description server
|
%description server
|
||||||
The postgresql-server package includes the programs needed to create
|
The postgresql-server package includes the programs needed to create
|
||||||
@ -221,6 +213,25 @@ postgresql-server if you want to create and maintain your own
|
|||||||
PostgreSQL databases and/or your own PostgreSQL server. You also need
|
PostgreSQL databases and/or your own PostgreSQL server. You also need
|
||||||
to install the postgresql package.
|
to install the postgresql package.
|
||||||
|
|
||||||
|
|
||||||
|
%package docs
|
||||||
|
Summary: Extra documentation for PostgreSQL
|
||||||
|
Group: Applications/Databases
|
||||||
|
%description docs
|
||||||
|
The postgresql-docs package includes the SGML source for the documentation
|
||||||
|
as well as the documentation in other formats, and some extra documentation.
|
||||||
|
Install this package if you want to help with the PostgreSQL documentation
|
||||||
|
project, or if you want to generate printed documentation.
|
||||||
|
|
||||||
|
%package contrib
|
||||||
|
Summary: Contributed source and binaries distributed with PostgreSQL
|
||||||
|
Group: Applications/Databases
|
||||||
|
Requires: postgresql = %{version} postgresql-perl postgresql-tcl tk
|
||||||
|
%description contrib
|
||||||
|
The postgresql-contrib package contains contributed packages that are
|
||||||
|
included in the PostgreSQL distribution.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: PostgreSQL development header files and libraries.
|
Summary: PostgreSQL development header files and libraries.
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -347,25 +358,16 @@ system, including regression tests and benchmarks.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
#patch2 -p1
|
%patch2 -p1
|
||||||
#patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
|
||||||
%patch5 -p1
|
|
||||||
|
|
||||||
#binary
|
|
||||||
rm contrib/spi/preprocessor/step1.e
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
# Get file lists....
|
# Get file lists....
|
||||||
tar xzf %{SOURCE4}
|
#tar xzf %{SOURCE4}
|
||||||
|
# Moved out of tarball.
|
||||||
#Commented out for testing on other platforms for now.
|
cp %{SOURCE2} %{SOURCE4} .
|
||||||
# If libtool installed, copy some files....
|
|
||||||
#if [ -d /usr/share/libtool ]
|
|
||||||
#then
|
|
||||||
# cp /usr/share/libtool/config.* .
|
|
||||||
#fi
|
|
||||||
|
|
||||||
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS
|
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS
|
||||||
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS
|
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS
|
||||||
@ -415,11 +417,10 @@ CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
|
|||||||
--mandir=%{_mandir} \
|
--mandir=%{_mandir} \
|
||||||
--docdir=%{_docdir} \
|
--docdir=%{_docdir} \
|
||||||
--includedir=%{_includedir} \
|
--includedir=%{_includedir} \
|
||||||
--datadir=/usr/share/pgsql
|
--datadir=/usr/share/pgsql
|
||||||
|
|
||||||
|
|
||||||
make all
|
make all
|
||||||
|
make -C contrib all
|
||||||
|
|
||||||
%if %test
|
%if %test
|
||||||
pushd src/test
|
pushd src/test
|
||||||
@ -431,6 +432,7 @@ make all
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
make -C contrib DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
%if %perl
|
%if %perl
|
||||||
make DESTDIR=$RPM_BUILD_ROOT -C src/interfaces/perl5 -f Makefile install
|
make DESTDIR=$RPM_BUILD_ROOT -C src/interfaces/perl5 -f Makefile install
|
||||||
@ -463,6 +465,16 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
# man pages....
|
||||||
|
# the postgresql-dump manpage.....
|
||||||
|
pushd $RPM_BUILD_ROOT%{_mandir}
|
||||||
|
cp %{SOURCE12} man1
|
||||||
|
popd
|
||||||
|
|
||||||
|
# install the dump script
|
||||||
|
|
||||||
|
install -m755 %SOURCE14 $RPM_BUILD_ROOT/usr/bin/
|
||||||
|
|
||||||
# install dev headers.
|
# install dev headers.
|
||||||
|
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install-all-headers
|
make DESTDIR=$RPM_BUILD_ROOT install-all-headers
|
||||||
@ -550,158 +562,12 @@ popd
|
|||||||
cp %{SOURCE6} README.rpm-dist
|
cp %{SOURCE6} README.rpm-dist
|
||||||
mv $RPM_BUILD_ROOT%{_docdir}/postgresql/html doc
|
mv $RPM_BUILD_ROOT%{_docdir}/postgresql/html doc
|
||||||
|
|
||||||
# Build contrib stuff....
|
|
||||||
pushd contrib
|
|
||||||
make clean
|
|
||||||
make all
|
|
||||||
popd
|
|
||||||
# move the contrib tree to the right place after building....
|
|
||||||
cp -r contrib $RPM_BUILD_ROOT/usr/lib/pgsql
|
|
||||||
# We'll do more prep work in a later release.....
|
|
||||||
|
|
||||||
#more massaging
|
|
||||||
|
|
||||||
pushd $RPM_BUILD_ROOT/usr/lib/pgsql/contrib
|
|
||||||
|
|
||||||
# Get rid of useless makefiles
|
|
||||||
rm -f Makefile */Makefile
|
|
||||||
|
|
||||||
# array
|
|
||||||
pushd array
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/array|" *
|
|
||||||
popd
|
|
||||||
|
|
||||||
# btree_gist
|
|
||||||
pushd btree_gist
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/btree_gist|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# chkpass
|
|
||||||
pushd chkpass
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/chkpass|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# cube
|
|
||||||
pushd cube
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/cube|" cube.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# dblink
|
|
||||||
pushd dblink
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/dblink|" dblink.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# earthdistance
|
|
||||||
pushd earthdistance
|
|
||||||
perl -pi -e "s|/usr/share/pgsql/contrib|/usr/lib/pgsql/contrib/earthdistance|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# fulltext
|
|
||||||
pushd fulltextindex
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/fulltextindex|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# fuzzystrmatch
|
|
||||||
pushd fuzzystrmatch
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/fuzzystrmatch|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# intarray
|
|
||||||
pushd intarray
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/intarray|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# isbn_issn
|
|
||||||
pushd isbn_issn
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/isbn_issn|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# lo
|
|
||||||
pushd lo
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/lo|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# miscutil
|
|
||||||
pushd miscutil
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/miscutil|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# noupdate
|
|
||||||
pushd noupdate
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/noupdate|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# pgcrypto
|
|
||||||
pushd pgcrypto
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/pgcrypto|" *.sql
|
|
||||||
perl -pi -e "s|/usr/lib/pgsql/contrib/pgcrypto/pgcrypto|/usr/lib/pgsql/contrib/pgcrypto/libpgcrypto|" *.sql
|
|
||||||
rm -f *.in *.o
|
|
||||||
popd
|
|
||||||
|
|
||||||
# pgstattuple
|
|
||||||
pushd pgstattuple
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/pgstattuple|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# rserv
|
|
||||||
pushd rserv
|
|
||||||
perl -pi -e "s|/usr/share/|/usr/lib/|" *
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib|" *
|
|
||||||
perl -pi -e "s|/usr/bin|/usr/lib/pgsql/contrib/rserv|" *
|
|
||||||
popd
|
|
||||||
|
|
||||||
# rtree_gist
|
|
||||||
pushd pgstattuple
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# seg
|
|
||||||
pushd seg
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# spi
|
|
||||||
pushd spi
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/spi|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# Don"t need these
|
|
||||||
rm -fr startscripts
|
|
||||||
|
|
||||||
# string
|
|
||||||
pushd string
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/string|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# tsearch
|
|
||||||
pushd tsearch
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/tsearch|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
# userlock
|
|
||||||
pushd userlock
|
|
||||||
perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/userlock|" *.sql
|
|
||||||
popd
|
|
||||||
|
|
||||||
popd
|
|
||||||
|
|
||||||
#more broken symlinks
|
|
||||||
rm -f $RPM_BUILD_ROOT/usr/lib/pgsql/contrib/pg_resetxlog/pg_crc.c $RPM_BUILD_ROOT/usr/lib/pgsql/contrib/pg_controldata/pg_crc.c
|
|
||||||
cp src/backend/utils/hash/pg_crc.c $RPM_BUILD_ROOT/usr/lib/pgsql/contrib/pg_resetxlog/pg_crc.c
|
|
||||||
ln $RPM_BUILD_ROOT/usr/lib/pgsql/contrib/pg_resetxlog/pg_crc.c $RPM_BUILD_ROOT/usr/lib/pgsql/contrib/pg_controldata/pg_crc.c
|
|
||||||
|
|
||||||
# Symlink libpq.so.2.0 to libpq.so.2 for backwards compatibility, until
|
# Symlink libpq.so.2.0 to libpq.so.2 for backwards compatibility, until
|
||||||
# -soname patches are the norm.
|
# -soname patches are the norm.
|
||||||
pushd $RPM_BUILD_ROOT/usr/lib
|
pushd $RPM_BUILD_ROOT/usr/lib
|
||||||
ln -s libpq.so.2 libpq.so.2.0
|
ln -s libpq.so.2 libpq.so.2.0
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# arch backups should go in /usr/lib, not /usr/share
|
|
||||||
pushd $RPM_BUILD_ROOT
|
|
||||||
mkdir -p usr/lib/pgsql/backup
|
|
||||||
mv usr/share/pgsql/backup/pg_dumpall_new usr/lib/pgsql/backup/pg_dumpall_new
|
|
||||||
popd
|
|
||||||
|
|
||||||
|
|
||||||
%find_lang libpq
|
%find_lang libpq
|
||||||
%find_lang pg_dump
|
%find_lang pg_dump
|
||||||
@ -720,10 +586,10 @@ if [ $1 -gt 1 ]
|
|||||||
then
|
then
|
||||||
mkdir -p /usr/lib/pgsql/backup > /dev/null
|
mkdir -p /usr/lib/pgsql/backup > /dev/null
|
||||||
pushd /usr/bin > /dev/null
|
pushd /usr/bin > /dev/null
|
||||||
cp -fp postmaster postgres pg_dump pg_dumpall psql /usr/lib/pgsql/backup > /dev/null 2>&1 || :
|
cp -fp postmaster postgres pg_dump pg_dumpall psql /usr/share/pgsql/backup > /dev/null 2>&1 || :
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
pushd /usr/lib > /dev/null
|
pushd /usr/lib > /dev/null
|
||||||
cp -fp libpq.* /usr/lib/pgsql/backup > /dev/null 2>&1 || :
|
cp -fp libpq.* /usr/share/pgsql/backup > /dev/null 2>&1 || :
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -817,19 +683,63 @@ rm -f perlfiles.list
|
|||||||
%{_mandir}/man1/pg_dumpall.1*
|
%{_mandir}/man1/pg_dumpall.1*
|
||||||
%{_mandir}/man1/psql.1*
|
%{_mandir}/man1/psql.1*
|
||||||
%{_mandir}/man1/vacuumdb.1*
|
%{_mandir}/man1/vacuumdb.1*
|
||||||
%{_mandir}/man1/pg_restore.1*
|
|
||||||
%{_mandir}/man7/*
|
%{_mandir}/man7/*
|
||||||
|
|
||||||
%if %sgmldocs
|
|
||||||
%files docs
|
%files docs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc doc/src/*
|
%doc doc/src/*
|
||||||
%endif
|
|
||||||
|
|
||||||
%files contrib
|
%files contrib
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir /usr/lib/pgsql/contrib/
|
/usr/lib/pgsql/_int.so
|
||||||
/usr/lib/pgsql/contrib/*
|
/usr/lib/pgsql/array_iterator.so
|
||||||
|
/usr/lib/pgsql/autoinc.so
|
||||||
|
/usr/lib/pgsql/btree_gist.so
|
||||||
|
/usr/lib/pgsql/chkpass.so
|
||||||
|
/usr/lib/pgsql/cube.so
|
||||||
|
/usr/lib/pgsql/dblink.so
|
||||||
|
/usr/lib/pgsql/earthdistance.so
|
||||||
|
/usr/lib/pgsql/fti.so
|
||||||
|
/usr/lib/pgsql/fuzzystrmatch.so
|
||||||
|
/usr/lib/pgsql/insert_username.so
|
||||||
|
/usr/lib/pgsql/isbn_issn.so
|
||||||
|
/usr/lib/pgsql/lo.so
|
||||||
|
/usr/lib/pgsql/misc_utils.so
|
||||||
|
/usr/lib/pgsql/moddatetime.so
|
||||||
|
/usr/lib/pgsql/noup.so
|
||||||
|
/usr/lib/pgsql/pgcrypto.so
|
||||||
|
/usr/lib/pgsql/refint.so
|
||||||
|
/usr/lib/pgsql/rserv.so
|
||||||
|
/usr/lib/pgsql/rtree_gist.so
|
||||||
|
/usr/lib/pgsql/seg.so
|
||||||
|
/usr/lib/pgsql/string_io.so
|
||||||
|
/usr/lib/pgsql/timetravel.so
|
||||||
|
/usr/lib/pgsql/user_locks.so
|
||||||
|
/usr/share/pgsql/contrib/
|
||||||
|
/usr/bin/dbf2pg
|
||||||
|
/usr/bin/findoidjoins
|
||||||
|
/usr/bin/make_oidjoins_check
|
||||||
|
/usr/bin/fti.pl
|
||||||
|
/usr/bin/oid2name
|
||||||
|
/usr/bin/pg_controldata
|
||||||
|
/usr/bin/pg_dumplo
|
||||||
|
/usr/bin/pg_logger
|
||||||
|
/usr/bin/pg_resetxlog
|
||||||
|
/usr/bin/pgbench
|
||||||
|
/usr/bin/RservTest
|
||||||
|
/usr/bin/MasterInit
|
||||||
|
/usr/bin/MasterAddTable
|
||||||
|
/usr/bin/Replicate
|
||||||
|
/usr/bin/MasterSync
|
||||||
|
/usr/bin/CleanLog
|
||||||
|
/usr/bin/SlaveInit
|
||||||
|
/usr/bin/SlaveAddTable
|
||||||
|
/usr/bin/GetSyncID
|
||||||
|
/usr/bin/PrepareSnapshot
|
||||||
|
/usr/bin/ApplySnapshot
|
||||||
|
/usr/bin/InitRservTest
|
||||||
|
/usr/bin/vacuumlo
|
||||||
|
%doc contrib/*/README.* contrib/spi/*.example
|
||||||
|
|
||||||
%files libs -f libpq.lang
|
%files libs -f libpq.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -846,7 +756,9 @@ rm -f perlfiles.list
|
|||||||
/usr/bin/pg_ctl
|
/usr/bin/pg_ctl
|
||||||
/usr/bin/pg_passwd
|
/usr/bin/pg_passwd
|
||||||
/usr/bin/postgres
|
/usr/bin/postgres
|
||||||
|
/usr/bin/postgresql-dump
|
||||||
/usr/bin/postmaster
|
/usr/bin/postmaster
|
||||||
|
/usr/bin/rh-pgdump.sh
|
||||||
%{_mandir}/man1/initdb.1*
|
%{_mandir}/man1/initdb.1*
|
||||||
%{_mandir}/man1/initlocation.1*
|
%{_mandir}/man1/initlocation.1*
|
||||||
%{_mandir}/man1/ipcclean.1*
|
%{_mandir}/man1/ipcclean.1*
|
||||||
@ -854,14 +766,15 @@ rm -f perlfiles.list
|
|||||||
%{_mandir}/man1/pg_passwd.1*
|
%{_mandir}/man1/pg_passwd.1*
|
||||||
%{_mandir}/man1/postgres.1*
|
%{_mandir}/man1/postgres.1*
|
||||||
%{_mandir}/man1/postmaster.1*
|
%{_mandir}/man1/postmaster.1*
|
||||||
|
%{_mandir}/man1/postgresql-dump.1*
|
||||||
/usr/share/pgsql/postgres.bki
|
/usr/share/pgsql/postgres.bki
|
||||||
/usr/share/pgsql/postgres.description
|
/usr/share/pgsql/postgres.description
|
||||||
/usr/share/pgsql/*.sample
|
/usr/share/pgsql/*.sample
|
||||||
/usr/lib/pgsql/plpgsql.so
|
/usr/lib/pgsql/plpgsql.so
|
||||||
%dir /usr/lib/pgsql
|
%dir /usr/lib/pgsql
|
||||||
%dir /usr/share/pgsql
|
%dir /usr/share/pgsql
|
||||||
%attr(700,postgres,postgres) %dir /usr/lib/pgsql/backup
|
%attr(700,postgres,postgres) %dir /usr/share/pgsql/backup
|
||||||
/usr/lib/pgsql/backup/pg_dumpall_new
|
/usr/share/pgsql/backup/pg_dumpall_new
|
||||||
%attr(700,postgres,postgres) %dir /var/lib/pgsql
|
%attr(700,postgres,postgres) %dir /var/lib/pgsql
|
||||||
%attr(700,postgres,postgres) %dir /var/lib/pgsql/data
|
%attr(700,postgres,postgres) %dir /var/lib/pgsql/data
|
||||||
%attr(700,postgres,postgres) %dir /var/lib/pgsql/backups
|
%attr(700,postgres,postgres) %dir /var/lib/pgsql/backups
|
||||||
@ -890,14 +803,11 @@ rm -f perlfiles.list
|
|||||||
%files tcl
|
%files tcl
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%attr(755,root,root) /usr/lib/libpgtcl.so.*
|
%attr(755,root,root) /usr/lib/libpgtcl.so.*
|
||||||
|
# libpgtcl.so is not in devel because Tcl scripts may load it by that name.
|
||||||
/usr/lib/libpgtcl.so
|
/usr/lib/libpgtcl.so
|
||||||
/usr/bin/pgtclsh
|
/usr/bin/pgtclsh
|
||||||
/usr/bin/pltcl_delmod
|
|
||||||
/usr/bin/pltcl_listmod
|
|
||||||
/usr/bin/pltcl_loadmod
|
|
||||||
%{_mandir}/man1/pgtclsh.1*
|
%{_mandir}/man1/pgtclsh.1*
|
||||||
/usr/lib/pgsql/pltcl.so
|
/usr/lib/pgsql/pltcl.so
|
||||||
/usr/share/pgsql/unknown.pltcl
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %tkpkg
|
%if %tkpkg
|
||||||
@ -927,7 +837,6 @@ rm -f perlfiles.list
|
|||||||
%dir /usr/lib/perl5/site_perl/%{_arch}-linux/auto
|
%dir /usr/lib/perl5/site_perl/%{_arch}-linux/auto
|
||||||
/usr/share/pgsql/perl5
|
/usr/share/pgsql/perl5
|
||||||
%{_mandir}/man3/Pg.*
|
%{_mandir}/man3/Pg.*
|
||||||
/usr/lib/pgsql/plperl.so
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %plperl
|
%if %plperl
|
||||||
@ -942,13 +851,15 @@ rm -f perlfiles.list
|
|||||||
%doc src/interfaces/python/README src/interfaces/python/tutorial
|
%doc src/interfaces/python/README src/interfaces/python/tutorial
|
||||||
/usr/lib/python%{pyver}/site-packages/_pgmodule.so
|
/usr/lib/python%{pyver}/site-packages/_pgmodule.so
|
||||||
/usr/lib/python%{pyver}/site-packages/*.py
|
/usr/lib/python%{pyver}/site-packages/*.py
|
||||||
/usr/lib/pgsql/plpython.so
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %jdbc
|
%if %jdbc
|
||||||
%files jdbc
|
%files jdbc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/share/pgsql/*jar
|
/usr/share/pgsql/jdbc7.1-1.1.jar
|
||||||
|
/usr/share/pgsql/jdbc7.1-1.2.jar
|
||||||
|
/usr/share/pgsql/jdbc7.2dev-1.1.jar
|
||||||
|
/usr/share/pgsql/jdbc7.2dev-1.2.jar
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %test
|
%if %test
|
||||||
@ -959,96 +870,57 @@ rm -f perlfiles.list
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Sep 4 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2.2-1
|
* Wed Dec 20 2002 Andrew Overholt <overholt@redhat.com>
|
||||||
- 7.2.2 - security update
|
- 7.2.3-4.(73,80) - add buffer overrun patch for geo_ops
|
||||||
|
- 7.2.3-5.(73,80) - add pg_hba.conf tightening patch
|
||||||
|
|
||||||
* Wed Aug 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2.1-17
|
* Thu Dec 19 2002 Andrew Overholt <overholt@redhat.com>
|
||||||
- Add bison and flex to buildprereq (#71590)
|
- 7.2.3-3.(73,80) - correct init script success/failure messages.
|
||||||
|
|
||||||
* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com>
|
* Tue Dec 17 2002 Andrew Overholt <overholt@redhat.com>
|
||||||
- rebuilt with gcc-3.2 (we hope)
|
- 7.2.3-1 - initial Red Hat build.
|
||||||
|
- 7.2.3-2.(73,80) - distribution-specific release tags to avoid upgrading
|
||||||
|
issues.
|
||||||
|
|
||||||
* Fri Aug 9 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2.1-15
|
* Wed Oct 02 2002 Lamar Owen <lamar.owen@ramifordistat.net>
|
||||||
- Minor initscript tweak ( #71027)
|
- 7.2.3-1PGDG
|
||||||
|
|
||||||
* Tue Jul 23 2002 Tim Powers <timp@redhat.com> 7.2.1-14
|
* Mon Aug 26 2002 Lamar Owen <lamar.owen@ramifordistat.net>
|
||||||
- build using gcc-3.2-0.1
|
- 7.2.2-1PGDG
|
||||||
|
- Applied PeterE's contrib patch -- contrib is now completely restructured.
|
||||||
|
- server conflicts with less than 7.2, as a warning to the upcoming
|
||||||
|
-- yank of the broken partial upgrade.
|
||||||
|
|
||||||
* Thu Jul 11 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2.1-13
|
* Thu Aug 22 2002 Lamar Owen <lamar.owen@ramifordistat.net>
|
||||||
- Rebuild with new readline
|
- 7.2.2 security fix.
|
||||||
|
- deprecate postgresql-dump system.
|
||||||
|
- 7.2.2-0.1PGDG PRERELEASE!
|
||||||
|
|
||||||
* Mon Jul 8 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2.1-12
|
* Fri Apr 12 2002 Lamar Owen <lamar.owen@ramifordistat.net>
|
||||||
- Update the jarfiles from jdbc.postgresql.org
|
- Correct tcl conditionals -- especially for the devel package.
|
||||||
|
- Corrected BuildPrereq conditionals.
|
||||||
|
- Added a build6x conditional -- define it to build for RHL 6.x
|
||||||
|
- Integrate a few of Trond's fixes from RawHide.
|
||||||
|
- Pulled file-lists out of tarball for better maintainability.
|
||||||
|
- Updated README.rpm-dist.
|
||||||
|
- 6.x build can't buildprereq pam-devel, as 6.x has no pam-devel.
|
||||||
|
|
||||||
* Wed Jul 3 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2.1-11
|
* Tue Apr 09 2002 Lamar Owen <lamar.owen@ramifordistat.net>
|
||||||
- Make postgresql-docs conditional
|
- Integrate DP's patch and stuff.
|
||||||
- don't ship it - it's just sgml sources for docs in the main package
|
|
||||||
(#67818)
|
|
||||||
|
|
||||||
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
* Fri Apr 05 2002 David B. Peterson <dave@toppledwagon.com>
|
||||||
- automated rebuild
|
- hacked for 7.2.1 (made rpm-pgsql-7.2.1.patch from rpm-pgsql-7.2.patch)
|
||||||
|
- changed gettext version to 0.10.35 (from 0.10.36, for RH62)
|
||||||
|
- added BuildPrereq for tk
|
||||||
|
|
||||||
* Tue Jun 18 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2.1-10
|
* Wed Apr 3 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2.1-3
|
||||||
- step1.e was distributed as a binary... make sure it's rebuilt (#66870)
|
|
||||||
|
|
||||||
* Wed Jun 12 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2.1-9
|
|
||||||
- Make the perl parts build with new perl
|
|
||||||
- Fix mktime() usage - don't use it before the epoch
|
|
||||||
- Disable tk/pgaccess
|
|
||||||
|
|
||||||
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
||||||
- automated rebuild
|
|
||||||
|
|
||||||
* Tue May 7 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2.1-7
|
|
||||||
- Rebuild
|
|
||||||
|
|
||||||
* Mon Apr 22 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2.1-6
|
|
||||||
- Add a missing percent in a conditional (tcl, devel package)
|
|
||||||
|
|
||||||
* Fri Apr 12 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2.1-5
|
|
||||||
- Fix conditional build dependencies... it required tcl
|
|
||||||
and python-devel only when you didn't build the modules,
|
|
||||||
not if you needed them
|
|
||||||
|
|
||||||
* Wed Apr 10 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2.1-4
|
|
||||||
- Fix pgcrypto (#63073)
|
|
||||||
- Remove postgresql-dump. Dump before upgrade, as we've documented many times
|
|
||||||
|
|
||||||
* Wed Apr 3 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2.1-3
|
|
||||||
- make postgresql-server and postgresql depend on postgresql-libs
|
- make postgresql-server and postgresql depend on postgresql-libs
|
||||||
- store backups of old binaries in /usr/lib/pgsql/backup instead of /usr/share
|
- store backups of old binaries in /usr/lib/pgsql/backup instead of /usr/share
|
||||||
|
|
||||||
* Wed Apr 3 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2.1-2
|
* Thu Mar 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2-6
|
||||||
- 7.2.1 again, but this time based on the newest 7.2 specfile
|
- Move the libpgtcl.so symlink into the tcl subpackage from -devel
|
||||||
and not an older one. oops.
|
- Enable pam support
|
||||||
|
- Include the odbc plugin, not just the symlink to it
|
||||||
* Thu Mar 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2-6
|
|
||||||
- Move the libpgtcl.so symlink into the tcl subpackage from -devel (#61042)
|
|
||||||
- Enable pam support (#59617)
|
|
||||||
- Include the odbc plugin, not just the symlink to it (#61522)
|
|
||||||
|
|
||||||
* Thu Feb 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2-5
|
|
||||||
- Disable python quote patch... it broke kerberos
|
|
||||||
|
|
||||||
* Thu Feb 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2-4
|
|
||||||
- Rebuild
|
|
||||||
|
|
||||||
* Mon Feb 18 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2-3
|
|
||||||
- Don't require tcl-devel, it's just tcl
|
|
||||||
- Fix contrib. A lot. Again (last time in 7.1)
|
|
||||||
- Add buildprereq of recent patch (#59910)
|
|
||||||
- make the initscript 0755
|
|
||||||
|
|
||||||
* Fri Feb 8 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2-2
|
|
||||||
- Sync
|
|
||||||
- Fix output of backslash-ns from upgrade detection
|
|
||||||
- Make the default config use socket credentials, not trust
|
|
||||||
- Add patches for tsearch/gist from Oleg Bartunov <oleg@sai.msu.su>
|
|
||||||
- Deprecate rh-pgdump script. Dump before upgrading, restore afterwards.
|
|
||||||
And ask the developers to fix it.
|
|
||||||
- Dependency and file inclusion enhancements for conditionals
|
|
||||||
- escape previous changelog entry which didn't escape a macro
|
|
||||||
- python quote enhancement patch added
|
|
||||||
|
|
||||||
* Tue Feb 04 2002 Lamar Owen <lamar.owen@wgcr.org>
|
* Tue Feb 04 2002 Lamar Owen <lamar.owen@wgcr.org>
|
||||||
- 7.2 final.
|
- 7.2 final.
|
||||||
@ -1057,7 +929,7 @@ rm -f perlfiles.list
|
|||||||
- Clean up a few things; undef beta for final build.
|
- Clean up a few things; undef beta for final build.
|
||||||
- Newer JDBC -- point to correct website and 7.2 dev.
|
- Newer JDBC -- point to correct website and 7.2 dev.
|
||||||
- postgresql.init changes.
|
- postgresql.init changes.
|
||||||
- NLS build does funky %%defattr things; redhat-style-files.lst changed
|
- NLS build does funky %defattr things; redhat-style-files.lst changed
|
||||||
-- for execute permission on /etc/rc.d/init.d/postgresql
|
-- for execute permission on /etc/rc.d/init.d/postgresql
|
||||||
|
|
||||||
* Sun Jan 27 2002 Lamar Owen <lamar.owen@wgcr.org>
|
* Sun Jan 27 2002 Lamar Owen <lamar.owen@wgcr.org>
|
||||||
@ -1067,7 +939,7 @@ rm -f perlfiles.list
|
|||||||
- 7.2b3-0.3PGDG
|
- 7.2b3-0.3PGDG
|
||||||
- beta conditionals for debugging, assertion checking, and no strip.
|
- beta conditionals for debugging, assertion checking, and no strip.
|
||||||
|
|
||||||
* Tue Nov 27 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
* Tue Nov 27 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
- Improve python version handling
|
- Improve python version handling
|
||||||
|
|
||||||
* Fri Nov 23 2001 Lamar Owen <lamar.owen@wgcr.org>
|
* Fri Nov 23 2001 Lamar Owen <lamar.owen@wgcr.org>
|
||||||
@ -1092,3 +964,18 @@ rm -f perlfiles.list
|
|||||||
- Merged some changes from Peter Eisentraut for7.2.
|
- Merged some changes from Peter Eisentraut for7.2.
|
||||||
- Cleaned up some legacy junk.
|
- Cleaned up some legacy junk.
|
||||||
- Prepare for 7.2 beta cycle.
|
- Prepare for 7.2 beta cycle.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
4
sources
4
sources
@ -1,3 +1,3 @@
|
|||||||
75a05a4d34bceeb83d51f4cbde4d9952 file-lists.tar.gz
|
|
||||||
5e9beca9c039be1ded2e51a0edcd9fba migration-scripts.tar.gz
|
5e9beca9c039be1ded2e51a0edcd9fba migration-scripts.tar.gz
|
||||||
853bf330837b50a6c6e3edf540ad1792 postgresql-7.2.2.tar.gz
|
cf665c93a08a60e4a99db3a6dfe7ba10 postgresql-7.2.3.tar.gz
|
||||||
|
3d2e8223f6bb715659cbecedeae81ccc postgresql-dump.1.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user