Compare commits
36 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9440861ccb | ||
|
|
e0ed6a0c41 | ||
|
|
c9ff9fe252 | ||
|
|
2f6e14c44c | ||
|
|
e60685a0df | ||
|
|
f2d6216975 | ||
|
|
65adc8c6d7 | ||
|
|
2d0e515141 | ||
|
|
4b1075ab35 | ||
|
|
ce6d1f768e | ||
|
|
1328413b81 | ||
|
|
4e48d1dafd | ||
|
|
6c4b5dac4f | ||
|
|
d8d5b37b1e | ||
|
|
fb0ee4da57 | ||
|
|
7727291730 | ||
|
|
24c79b0e41 | ||
|
|
d292a61671 | ||
|
|
bc73b29bfb | ||
|
|
0acdf142d1 | ||
|
|
9ca5d6fc26 | ||
|
|
5b845be81f | ||
|
|
bdc4249e7a | ||
|
|
2fbd21fcc9 | ||
|
|
6aa957dd62 | ||
|
|
75bd7c6928 | ||
|
|
c84948958d | ||
|
|
61fbc83045 | ||
|
|
5195bc2175 | ||
|
|
3966fbb930 | ||
|
|
43ed21f637 | ||
|
|
1bf1e3f057 | ||
|
|
7a1425fcd3 | ||
|
|
335cf19e4b | ||
|
|
3163978fb8 | ||
|
|
5bfadce51b |
8 changed files with 116 additions and 56 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
1
|
||||||
8
ci.fmf
Normal file
8
ci.fmf
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
summary: Tier tests
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
repository: https://src.fedoraproject.org/tests/postgresql.git
|
||||||
|
ref: main
|
||||||
|
filter: 'tag:libecpg'
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
|
@ -1,11 +1,10 @@
|
||||||
Nothing ever depended on libecpg_compat.so.3 in Fedora, so don't build
|
Nothing ever depended on libecpg_compat.so.3 in Fedora, so don't build
|
||||||
it now, at least till somebody explicitly requests that.
|
it now, at least till somebody explicitly requests that.
|
||||||
|
|
||||||
diff --git a/src/interfaces/ecpg/Makefile b/src/interfaces/ecpg/Makefile
|
diff -ur postgresql-14.2_original/src/interfaces/ecpg/Makefile postgresql-14.2/src/interfaces/ecpg/Makefile
|
||||||
index 41460a1..cc3dd37 100644
|
--- postgresql-14.2_original/src/interfaces/ecpg/Makefile 2022-02-23 09:31:24.000000000 +0100
|
||||||
--- a/src/interfaces/ecpg/Makefile
|
+++ postgresql-14.2/src/interfaces/ecpg/Makefile 2022-02-23 10:30:19.000000000 +0100
|
||||||
+++ b/src/interfaces/ecpg/Makefile
|
@@ -2,7 +2,7 @@
|
||||||
@@ -2,7 +2,7 @@ subdir = src/interfaces/ecpg
|
|
||||||
top_builddir = ../../..
|
top_builddir = ../../..
|
||||||
include $(top_builddir)/src/Makefile.global
|
include $(top_builddir)/src/Makefile.global
|
||||||
|
|
||||||
|
|
@ -13,4 +12,4 @@ index 41460a1..cc3dd37 100644
|
||||||
+SUBDIRS = include pgtypeslib ecpglib preproc
|
+SUBDIRS = include pgtypeslib ecpglib preproc
|
||||||
|
|
||||||
# Suppress parallel build of subdirectories to avoid a bug in GNU make 3.82, cf
|
# Suppress parallel build of subdirectories to avoid a bug in GNU make 3.82, cf
|
||||||
# http://savannah.gnu.org/bugs/?30653
|
# https://savannah.gnu.org/bugs/?30653
|
||||||
|
|
|
||||||
|
|
@ -12,42 +12,15 @@ server package update, without requiring any existing postgresql.conf
|
||||||
to be updated. (Of course, a user who dislikes this behavior can still
|
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 -up postgresql-13.0/src/include/pg_config_manual.h.patch1 postgresql-13.0/src/include/pg_config_manual.h
|
||||||
index 9481f2d..75532c7 100644
|
--- postgresql-13.0/src/include/pg_config_manual.h.patch1 2020-10-23 10:18:12.204959024 +0200
|
||||||
--- a/src/backend/utils/misc/guc.c
|
+++ postgresql-13.0/src/include/pg_config_manual.h 2020-10-23 10:18:39.391208931 +0200
|
||||||
+++ b/src/backend/utils/misc/guc.c
|
@@ -201,7 +201,7 @@
|
||||||
@@ -3196,7 +3196,7 @@ static struct config_string ConfigureNamesString[] =
|
* support them yet.
|
||||||
},
|
|
||||||
&Unix_socket_directories,
|
|
||||||
#ifdef HAVE_UNIX_SOCKETS
|
|
||||||
- DEFAULT_PGSOCKET_DIR,
|
|
||||||
+ DEFAULT_PGSOCKET_DIR ", /tmp",
|
|
||||||
#else
|
|
||||||
"",
|
|
||||||
#endif
|
|
||||||
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
|
|
||||||
index feeff9e..3e3d784 100644
|
|
||||||
--- a/src/bin/initdb/initdb.c
|
|
||||||
+++ b/src/bin/initdb/initdb.c
|
|
||||||
@@ -1234,7 +1234,7 @@ setup_config(void)
|
|
||||||
|
|
||||||
#ifdef HAVE_UNIX_SOCKETS
|
|
||||||
snprintf(repltok, sizeof(repltok), "#unix_socket_directories = '%s'",
|
|
||||||
- DEFAULT_PGSOCKET_DIR);
|
|
||||||
+ DEFAULT_PGSOCKET_DIR ", /tmp");
|
|
||||||
#else
|
|
||||||
snprintf(repltok, sizeof(repltok), "#unix_socket_directories = ''");
|
|
||||||
#endif
|
|
||||||
diff --git a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
|
|
||||||
index e278fa0..9ee15d4 100644
|
|
||||||
--- a/src/include/pg_config_manual.h
|
|
||||||
+++ b/src/include/pg_config_manual.h
|
|
||||||
@@ -169,7 +169,7 @@
|
|
||||||
* here's where to twiddle it. You can also override this at runtime
|
|
||||||
* 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,12 +1,11 @@
|
||||||
diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile
|
diff -ur postgresql-14.4_original/src/interfaces/libpq/Makefile postgresql-14.4/src/interfaces/libpq/Makefile
|
||||||
index 32a9fdfb7b..899de131da 100644
|
--- postgresql-14.4_original/src/interfaces/libpq/Makefile 2022-06-22 12:24:56.506658251 +0200
|
||||||
--- a/src/interfaces/libpq/Makefile
|
+++ postgresql-14.4/src/interfaces/libpq/Makefile 2022-06-22 12:25:46.222779323 +0200
|
||||||
+++ b/src/interfaces/libpq/Makefile
|
@@ -98,8 +98,6 @@
|
||||||
@@ -76,8 +76,6 @@ SHLIB_PREREQS = submake-libpgport
|
PKG_CONFIG_REQUIRES_PRIVATE = libssl, libcrypto
|
||||||
|
endif
|
||||||
|
|
||||||
SHLIB_EXPORTS = exports.txt
|
-all: all-lib libpq-refs-stamp
|
||||||
|
|
||||||
-all: all-lib
|
|
||||||
-
|
-
|
||||||
# Shared library stuff
|
# Shared library stuff
|
||||||
include $(top_srcdir)/src/Makefile.shlib
|
include $(top_srcdir)/src/Makefile.shlib
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ diff -ur postgresql-12.2/src/Makefile.global.in postgresql-12.2_patch/src/Makefi
|
||||||
+libpq = -lpq
|
+libpq = -lpq
|
||||||
|
|
||||||
# libpq_pgport is for use by client executables (not libraries) that use libpq.
|
# libpq_pgport is for use by client executables (not libraries) that use libpq.
|
||||||
# We force clients to pull symbols from the non-shared libraries libpgport
|
# We want clients to pull symbols from the non-shared libraries libpgport
|
||||||
@@ -580,7 +580,6 @@
|
@@ -580,7 +580,6 @@
|
||||||
# Commonly used submake targets
|
# Commonly used submake targets
|
||||||
|
|
||||||
|
|
|
||||||
86
libecpg.spec
86
libecpg.spec
|
|
@ -1,9 +1,9 @@
|
||||||
%global majorversion 12
|
%global majorversion 16
|
||||||
|
|
||||||
Summary: ECPG - Embedded SQL in C
|
Summary: ECPG - Embedded SQL in C
|
||||||
Name: libecpg
|
Name: libecpg
|
||||||
Version: %majorversion.4
|
Version: %majorversion.4
|
||||||
Release: 1%{?dist}
|
Release: 3%{?dist}
|
||||||
|
|
||||||
License: PostgreSQL
|
License: PostgreSQL
|
||||||
Url: http://www.postgresql.org/
|
Url: http://www.postgresql.org/
|
||||||
|
|
@ -28,6 +28,10 @@ BuildRequires: openldap-devel
|
||||||
BuildRequires: libpq-devel
|
BuildRequires: libpq-devel
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: multilib-rpm-config
|
BuildRequires: multilib-rpm-config
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: libicu-devel
|
||||||
|
|
||||||
|
Requires: libpgtypes = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
An embedded SQL program consists of code written in an ordinary programming
|
An embedded SQL program consists of code written in an ordinary programming
|
||||||
|
|
@ -50,6 +54,7 @@ package or any clients that use the ECPG to connect to a PostgreSQL server.
|
||||||
%package -n libpgtypes
|
%package -n libpgtypes
|
||||||
Summary: Map PostgreSQL database types to C equivalents
|
Summary: Map PostgreSQL database types to C equivalents
|
||||||
|
|
||||||
|
|
||||||
%description -n libpgtypes
|
%description -n libpgtypes
|
||||||
The pgtypes library maps PostgreSQL database types to C equivalents that can be
|
The pgtypes library maps PostgreSQL database types to C equivalents that can be
|
||||||
used in C programs. It also offers functions to do basic calculations with those
|
used in C programs. It also offers functions to do basic calculations with those
|
||||||
|
|
@ -65,6 +70,7 @@ find . -type f -name .gitignore | xargs rm
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export CFLAGS="$CFLAGS -std=c17"
|
||||||
# We don't build server nor client (e.g. /bin/psql) binaries in this package, so
|
# We don't build server nor client (e.g. /bin/psql) binaries in this package, so
|
||||||
# we can disable some configure options.
|
# we can disable some configure options.
|
||||||
%configure \
|
%configure \
|
||||||
|
|
@ -76,7 +82,7 @@ find . -type f -name .gitignore | xargs rm
|
||||||
--without-readline \
|
--without-readline \
|
||||||
--datadir=%_datadir/pgsql
|
--datadir=%_datadir/pgsql
|
||||||
|
|
||||||
%make_build -C "src/interfaces/ecpg"
|
%make_build -C "src/interfaces/ecpg" -j1
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
@ -127,6 +133,80 @@ find_lang_bins %name-devel.lst ecpg
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 16.4-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 16.4-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 29 2024 Ales Nezbeda <anezbeda@redhat.com> - 16.4-1
|
||||||
|
- Update to 16.4
|
||||||
|
- Fix compilation sometimes failing due to race condition in makefile
|
||||||
|
- Resolves: BZ:2290330
|
||||||
|
|
||||||
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 16.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon May 27 2024 Ales Nezbeda <anezbeda@redhat.com> - 16.3-1
|
||||||
|
- Update to 16.3
|
||||||
|
|
||||||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 16.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 16.1-1
|
||||||
|
- Update to 16.1
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 15.4-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Aug 22 2023 Ondrej Sloup <osloup@redhat.com> - 15.4-1
|
||||||
|
- Rebase to the latest upstream version
|
||||||
|
- Update dependency patch file to match the rebase
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 14.4-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 14.4-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Sep 1 2022 Ondřej Sloup <osloup@redhat.com> - 14.4-3
|
||||||
|
- Raise the release number as dependencies change enabled a new build
|
||||||
|
|
||||||
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.4-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 22 2022 Ondřej Sloup <osloup@redhat.com> - 14.4-1
|
||||||
|
- Update to 14.4
|
||||||
|
- Update libecpg-12.2-dependency-build.patch file
|
||||||
|
|
||||||
|
* Tue Feb 22 2022 Filip Januš <fjanus@redhat.com> - 14.2-1
|
||||||
|
- Update to 14.2
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 13.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 27 2021 Filip Januš <fjanus@redhat.com> - 13.3-1
|
||||||
|
- Update to 13.3
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 13.1-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Feb 08 2021 Pavel Raiskup <praiskup@redhat.com> - 13.1-5
|
||||||
|
- rebuild for libpq ABI fix rhbz#1908268
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 13.1-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Dec 03 2020 Honza Horak <hhorak@redhat.com> - 13.1-3
|
||||||
|
- Add Requires: libpgtypes to avoid the need to test interoperability
|
||||||
|
between the various combinations of old and new subpackages
|
||||||
|
|
||||||
|
* Wed Nov 18 2020 Honza Horak <hhorak@redhat.com> - 13.1-1
|
||||||
|
- Rebase to upstream release 13.0
|
||||||
|
|
||||||
|
* Fri Oct 23 2020 Honza Horak <hhorak@redhat.com> - 13.0-1
|
||||||
|
- Rebase to upstream release 13.0
|
||||||
|
|
||||||
* Tue Aug 25 2020 Patrik Novotný <panovotn@redhat.com> - 12.4-1
|
* Tue Aug 25 2020 Patrik Novotný <panovotn@redhat.com> - 12.4-1
|
||||||
- Rebase to upstream release 12.4
|
- Rebase to upstream release 12.4
|
||||||
|
|
||||||
|
|
|
||||||
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
||||||
SHA512 (postgresql-12.4.tar.bz2) = 36daf10878ca153370829178786dd6ee366ab4d4d6dc9c527536740fdb14b688ae4c33f850eb4243a7667d23f87e4bfd1ddee0755447ad4f3996e423e391c2f3
|
SHA512 (postgresql-16.4.tar.bz2) = f2070299f0857a270317ac984f8393374cf00d4f32a082fe3c5481e36c560595ea711fed95e40d1bc90c5089edf8f165649d443d8b9c68614e1c83fc91268e96
|
||||||
SHA512 (postgresql-12.4.tar.bz2.sha256) = d5c6d9c6cf189f0ef9c4ebac18782f25c0ff8420d0b063217f4ac250cca4706ec782e983326ffcb23258bcd5bf17b481e53d84aeb85b5744bfd90ea1bd33431a
|
SHA512 (postgresql-16.4.tar.bz2.sha256) = f5a33591b4a0810e2f90d21df471ba086acbd1f97099e38aed46e4d3b45ee72037ef5958c7f155dd9fb7969152599fb6946b792a12d92575bfbc595049b74674
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue