Compare commits
18 Commits
Author | SHA1 | Date |
---|---|---|
|
7347ef7236 | |
|
df9afe2460 | |
|
844bc3732a | |
|
9f5cabe90a | |
|
9e2dc02b5e | |
|
8f11782e8d | |
|
78ec08d1d7 | |
|
45b078a9b6 | |
|
4ddf12894f | |
|
10a80637a9 | |
|
3d219860ec | |
|
69b48eab92 | |
|
61ac07a3c9 | |
|
0af3abaff4 | |
|
7d81dca0ea | |
|
15eca5b3ef | |
|
f0c73b0e13 | |
|
521b77b679 |
|
@ -1 +1,2 @@
|
||||||
/postgresql-*.tar.bz2*
|
/postgresql-*.tar.bz2*
|
||||||
|
/rpms
|
||||||
|
|
|
@ -7,11 +7,11 @@ directory whose path happens to include "postgres" or "pgsql" already.
|
||||||
However, datadir and sysconfdir are already set up in the specfile's
|
However, datadir and sysconfdir are already set up in the specfile's
|
||||||
configure call, so we do not have to append anything to them.
|
configure call, so we do not have to append anything to them.
|
||||||
|
|
||||||
|
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
|
||||||
diff -Naur postgresql-9.0.1.orig/src/Makefile.global.in postgresql-9.0.1/src/Makefile.global.in
|
index 9a6265b3a0..c9371a07c4 100644
|
||||||
--- postgresql-9.0.1.orig/src/Makefile.global.in 2010-10-01 10:25:44.000000000 -0400
|
--- a/src/Makefile.global.in
|
||||||
+++ postgresql-9.0.1/src/Makefile.global.in 2010-10-11 11:52:05.224975308 -0400
|
+++ b/src/Makefile.global.in
|
||||||
@@ -55,8 +55,7 @@
|
@@ -82,8 +82,7 @@ vpathsearch = `for f in $(addsuffix /$(1),$(subst :, ,. $(VPATH))); do test -r $
|
||||||
# Installation directories
|
# Installation directories
|
||||||
#
|
#
|
||||||
# These are set by the equivalent --xxxdir configure options. We
|
# These are set by the equivalent --xxxdir configure options. We
|
||||||
|
@ -21,7 +21,7 @@ diff -Naur postgresql-9.0.1.orig/src/Makefile.global.in postgresql-9.0.1/src/Mak
|
||||||
#
|
#
|
||||||
# In a PGXS build, we cannot use the values inserted into Makefile.global
|
# In a PGXS build, we cannot use the values inserted into Makefile.global
|
||||||
# by configure, since the installation tree may have been relocated.
|
# by configure, since the installation tree may have been relocated.
|
||||||
@@ -74,45 +73,23 @@
|
@@ -101,45 +100,23 @@ datarootdir := @datarootdir@
|
||||||
bindir := @bindir@
|
bindir := @bindir@
|
||||||
|
|
||||||
datadir := @datadir@
|
datadir := @datadir@
|
||||||
|
|
|
@ -13,10 +13,10 @@ to be updated. (Of course, a user who dislikes this behavior can still
|
||||||
override it via postgresql.conf.)
|
override it via postgresql.conf.)
|
||||||
|
|
||||||
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
|
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
|
||||||
index 9481f2d..75532c7 100644
|
index 4dde819652..8c2f601333 100644
|
||||||
--- a/src/backend/utils/misc/guc.c
|
--- a/src/backend/utils/misc/guc.c
|
||||||
+++ b/src/backend/utils/misc/guc.c
|
+++ b/src/backend/utils/misc/guc.c
|
||||||
@@ -3196,7 +3196,7 @@ static struct config_string ConfigureNamesString[] =
|
@@ -4159,7 +4159,7 @@ static struct config_string ConfigureNamesString[] =
|
||||||
},
|
},
|
||||||
&Unix_socket_directories,
|
&Unix_socket_directories,
|
||||||
#ifdef HAVE_UNIX_SOCKETS
|
#ifdef HAVE_UNIX_SOCKETS
|
||||||
|
@ -26,10 +26,10 @@ index 9481f2d..75532c7 100644
|
||||||
"",
|
"",
|
||||||
#endif
|
#endif
|
||||||
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
|
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
|
||||||
index feeff9e..3e3d784 100644
|
index 4ff0c6c700..6ccd96b1f2 100644
|
||||||
--- a/src/bin/initdb/initdb.c
|
--- a/src/bin/initdb/initdb.c
|
||||||
+++ b/src/bin/initdb/initdb.c
|
+++ b/src/bin/initdb/initdb.c
|
||||||
@@ -1234,7 +1234,7 @@ setup_config(void)
|
@@ -1091,7 +1091,7 @@ setup_config(void)
|
||||||
|
|
||||||
#ifdef HAVE_UNIX_SOCKETS
|
#ifdef HAVE_UNIX_SOCKETS
|
||||||
snprintf(repltok, sizeof(repltok), "#unix_socket_directories = '%s'",
|
snprintf(repltok, sizeof(repltok), "#unix_socket_directories = '%s'",
|
||||||
|
@ -39,15 +39,15 @@ index feeff9e..3e3d784 100644
|
||||||
snprintf(repltok, sizeof(repltok), "#unix_socket_directories = ''");
|
snprintf(repltok, sizeof(repltok), "#unix_socket_directories = ''");
|
||||||
#endif
|
#endif
|
||||||
diff --git a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
|
diff --git a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
|
||||||
index e278fa0..9ee15d4 100644
|
index 8f3ec6bde1..066daf3f08 100644
|
||||||
--- a/src/include/pg_config_manual.h
|
--- a/src/include/pg_config_manual.h
|
||||||
+++ b/src/include/pg_config_manual.h
|
+++ b/src/include/pg_config_manual.h
|
||||||
@@ -169,7 +169,7 @@
|
@@ -201,7 +201,7 @@
|
||||||
* here's where to twiddle it. You can also override this at runtime
|
* support them yet.
|
||||||
* with the postmaster's -k switch.
|
|
||||||
*/
|
*/
|
||||||
|
#ifndef WIN32
|
||||||
-#define DEFAULT_PGSOCKET_DIR "/tmp"
|
-#define DEFAULT_PGSOCKET_DIR "/tmp"
|
||||||
+#define DEFAULT_PGSOCKET_DIR "/var/run/postgresql"
|
+#define DEFAULT_PGSOCKET_DIR "/var/run/postgresql"
|
||||||
|
#else
|
||||||
/*
|
#define DEFAULT_PGSOCKET_DIR ""
|
||||||
* This is the default event source for Windows event log.
|
#endif
|
||||||
|
|
|
@ -1,5 +1,13 @@
|
||||||
|
commit 75040c3388d9a7dd5ad2bee53cbcc8bf3d35cd17
|
||||||
|
Author: Honza Horak <hhorak@redhat.com>
|
||||||
|
Date: Fri Oct 30 20:16:50 2020 +0100
|
||||||
|
|
||||||
|
The libpq package is supposed to be used for all the PostgreSQL modules
|
||||||
|
available in RHEL 8, and ABI versioning will guarantee us that modular RPMs will
|
||||||
|
depend on appropriate libpq ABI version (picked at build-time).
|
||||||
|
|
||||||
diff --git a/config/Makefile b/config/Makefile
|
diff --git a/config/Makefile b/config/Makefile
|
||||||
index 67e7998f55..86612a42c3 100644
|
index 67e7998..86612a4 100644
|
||||||
--- a/config/Makefile
|
--- a/config/Makefile
|
||||||
+++ b/config/Makefile
|
+++ b/config/Makefile
|
||||||
@@ -8,6 +8,7 @@ include $(top_builddir)/src/Makefile.global
|
@@ -8,6 +8,7 @@ include $(top_builddir)/src/Makefile.global
|
||||||
|
@ -7,7 +15,7 @@ index 67e7998f55..86612a42c3 100644
|
||||||
$(INSTALL_SCRIPT) $(srcdir)/install-sh '$(DESTDIR)$(pgxsdir)/config/install-sh'
|
$(INSTALL_SCRIPT) $(srcdir)/install-sh '$(DESTDIR)$(pgxsdir)/config/install-sh'
|
||||||
$(INSTALL_SCRIPT) $(srcdir)/missing '$(DESTDIR)$(pgxsdir)/config/missing'
|
$(INSTALL_SCRIPT) $(srcdir)/missing '$(DESTDIR)$(pgxsdir)/config/missing'
|
||||||
+ $(INSTALL_SCRIPT) $(srcdir)/build-exports-gnu-ld '$(DESTDIR)$(pgxsdir)/config/build-exports-gnu-ld'
|
+ $(INSTALL_SCRIPT) $(srcdir)/build-exports-gnu-ld '$(DESTDIR)$(pgxsdir)/config/build-exports-gnu-ld'
|
||||||
|
|
||||||
installdirs:
|
installdirs:
|
||||||
$(MKDIR_P) '$(DESTDIR)$(pgxsdir)/config'
|
$(MKDIR_P) '$(DESTDIR)$(pgxsdir)/config'
|
||||||
diff --git a/config/build-exports-gnu-ld b/config/build-exports-gnu-ld
|
diff --git a/config/build-exports-gnu-ld b/config/build-exports-gnu-ld
|
||||||
|
@ -70,16 +78,26 @@ index 373d73caef..d5bd5468cd 100644
|
||||||
exports_file = $(SHLIB_EXPORTS:%.txt=%.list)
|
exports_file = $(SHLIB_EXPORTS:%.txt=%.list)
|
||||||
ifneq (,$(exports_file))
|
ifneq (,$(exports_file))
|
||||||
LINK.shared += -Wl,--version-script=$(exports_file)
|
LINK.shared += -Wl,--version-script=$(exports_file)
|
||||||
diff --git a/src/interfaces/libpq/exports.txt b/src/interfaces/libpq/exports.txt
|
diff -ur postgresql-14.1/src/interfaces/libpq/exports.txt patched/src/interfaces/libpq/exports.txt
|
||||||
index 7c808e5215..3631340b23 100644
|
--- postgresql-14.1/src/interfaces/libpq/exports.txt 2021-11-08 22:58:24.000000000 +0100
|
||||||
--- a/src/interfaces/libpq/exports.txt
|
+++ patched/src/interfaces/libpq/exports.txt 2022-01-12 12:00:28.000000000 +0100
|
||||||
+++ b/src/interfaces/libpq/exports.txt
|
@@ -171,15 +171,15 @@
|
||||||
@@ -171,7 +171,7 @@ PQsslAttributeNames 168
|
|
||||||
PQsslAttribute 169
|
PQsslAttribute 169
|
||||||
PQsetErrorContextVisibility 170
|
PQsetErrorContextVisibility 170
|
||||||
PQresultVerboseErrorMessage 171
|
PQresultVerboseErrorMessage 171
|
||||||
-PQencryptPasswordConn 172
|
-PQencryptPasswordConn 172
|
||||||
|
-PQresultMemorySize 173
|
||||||
+PQencryptPasswordConn 172 10
|
+PQencryptPasswordConn 172 10
|
||||||
PQresultMemorySize 173
|
+PQresultMemorySize 173 12
|
||||||
PQhostaddr 174
|
PQhostaddr 174
|
||||||
PQgssEncInUse 175
|
PQgssEncInUse 175
|
||||||
|
PQgetgssctx 176
|
||||||
|
-PQsetSSLKeyPassHook_OpenSSL 177
|
||||||
|
+PQsetSSLKeyPassHook_OpenSSL 177 13
|
||||||
|
PQgetSSLKeyPassHook_OpenSSL 178
|
||||||
|
PQdefaultSSLKeyPassHook_OpenSSL 179
|
||||||
|
-PQenterPipelineMode 180
|
||||||
|
+PQenterPipelineMode 180 14
|
||||||
|
PQexitPipelineMode 181
|
||||||
|
PQpipelineSync 182
|
||||||
|
PQpipelineStatus 183
|
||||||
|
|
53
libpq.spec
53
libpq.spec
|
@ -1,10 +1,10 @@
|
||||||
%global majorversion 12
|
%global majorversion 14
|
||||||
%global obsoletes_version %( echo $(( %majorversion + 1 )) )
|
%global obsoletes_version %( echo $(( %majorversion + 1 )) )
|
||||||
|
|
||||||
Summary: PostgreSQL client library
|
Summary: PostgreSQL client library
|
||||||
Name: libpq
|
Name: libpq
|
||||||
Version: %{majorversion}.2
|
Version: %{majorversion}.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
License: PostgreSQL
|
License: PostgreSQL
|
||||||
Url: http://www.postgresql.org/
|
Url: http://www.postgresql.org/
|
||||||
|
@ -26,6 +26,7 @@ BuildRequires: krb5-devel
|
||||||
BuildRequires: openldap-devel
|
BuildRequires: openldap-devel
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: multilib-rpm-config
|
BuildRequires: multilib-rpm-config
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
Obsoletes: postgresql-libs < %obsoletes_version
|
Obsoletes: postgresql-libs < %obsoletes_version
|
||||||
Provides: postgresql-libs = %version-%release
|
Provides: postgresql-libs = %version-%release
|
||||||
|
@ -130,6 +131,52 @@ find_lang_bins %name-devel.lst pg_config
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 03 2022 Filip Januš <fjanus@rredhat.com> - 14.1-1
|
||||||
|
- Update to v14
|
||||||
|
- Resolves: https://fedoraproject.org/wiki/Changes/PostgreSQL_14
|
||||||
|
|
||||||
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 13.4-2
|
||||||
|
- Rebuilt with OpenSSL 3.0.0
|
||||||
|
|
||||||
|
* Thu Aug 12 2021 Filip Januš <fjanus@rehdat.com> - 13.4-1
|
||||||
|
- Update to 13.4
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 13.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon May 17 2021 Filip Januš <fjanus@redhat.com> - 13.3-1
|
||||||
|
- Update to 13.3
|
||||||
|
|
||||||
|
* Tue Feb 16 2021 Honza Horak <hhorak@redhat.com> - 13.2-1
|
||||||
|
- Update to 13.2
|
||||||
|
|
||||||
|
* Mon Feb 08 2021 Patrik Novotný <panovotn@redhat.com> - 13.1-3
|
||||||
|
- Fix symbol versioning
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 13.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Nov 16 2020 Patrik Novotný <panovotn@redhat.com> - 13.1-1
|
||||||
|
- Rebase to upstream release 13.1
|
||||||
|
|
||||||
|
* Mon Nov 02 2020 Patrik Novotný <panovotn@redhat.com> - 13.0-2
|
||||||
|
- Rebuild for symbol versioning fix
|
||||||
|
|
||||||
|
* Wed Oct 14 2020 Patrik Novotný <panovotn@redhat.com> - 13.0-1
|
||||||
|
- Rebase to upstream release 13.0
|
||||||
|
|
||||||
|
* Tue Aug 18 2020 Patrik Novotný <panovotn@redhat.com> - 12.4-1
|
||||||
|
- Rebase to upstream release 12.4
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 12.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon May 18 2020 Patrik Novotný <panovotn@redhat.com> - 12.3-1
|
||||||
|
- Rebase to upstream release 12.3
|
||||||
|
|
||||||
* Mon Feb 17 2020 Patrik Novotný <panovotn@redhat.com> - 12.2-1
|
* Mon Feb 17 2020 Patrik Novotný <panovotn@redhat.com> - 12.2-1
|
||||||
- Rebase to upstream release 12.2
|
- Rebase to upstream release 12.2
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA512 (postgresql-12.2.tar.bz2) = 0e0ce8e21856e8f43e58b840c10c4e3ffae6d5207e0d778e9176e36f8e20e34633cbb06f0030a7c963c3491bb7e941456d91b55444c561cfc6f283fba76f33ee
|
SHA512 (postgresql-14.1.tar.bz2) = 4a0bec157d5464bb9e5f5c0eb0efdede55526e03f6f4d660b87d161a47705eb152fa0878960b1581bce42a5ed28a1f457825ea54e8d22e34b5b8eb36473ceefd
|
||||||
SHA512 (postgresql-12.2.tar.bz2.sha256) = 8f94163228bb7d854d6fe4924a8a2ded00f90af662dd4a7c39b415be0826d9395e55f9b8e3b472baf7c19550e7c35198a650604a28756ad85d096bcfbaa5d1fd
|
SHA512 (postgresql-14.1.tar.bz2.sha256) = 99edebb68b62a11d4698423deae2a9349b98128909221d7ca9aff347061d56dcd11bd8a6e445dcde27b6556598a73d7beea01ea08dccca7ed517d28377145a5d
|
||||||
|
|
Loading…
Reference in New Issue