From eb7916e74b9233c1b097ef89398f772e055dd55f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:27:47 +0100 Subject: [PATCH] legacy package [release 15.4-2mamba;Tue Sep 19 2023] --- README.md | 5 + postgresql-13.1-run-socket.patch | 12 + postgresql-14.2-llvm-14.0.3.patch | 154 +++++++ postgresql.tmpfiles | 1 + postgresql15.service | 42 ++ postgresql15.spec | 645 ++++++++++++++++++++++++++++++ 6 files changed, 859 insertions(+) create mode 100644 postgresql-13.1-run-socket.patch create mode 100644 postgresql-14.2-llvm-14.0.3.patch create mode 100644 postgresql.tmpfiles create mode 100644 postgresql15.service create mode 100644 postgresql15.spec diff --git a/README.md b/README.md index 54e55e5..6eaffd6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # postgresql15 +PostgreSQL is an object-relational database management system (ORDBMS) based on POSTGRES, Version 4.2, developed at the University of California at Berkeley Computer Science Department. +The POSTGRES project, led by Professor Michael Stonebraker, was sponsored by the Defense Advanced Research Projects Agency (DARPA), the Army Research Office (ARO), the National Science Foundation (NSF), and ESL, Inc. +PostgreSQL is an open-source descendant of this original Berkeley code. +It provides SQL92/SQL99 language support and other modern features. + diff --git a/postgresql-13.1-run-socket.patch b/postgresql-13.1-run-socket.patch new file mode 100644 index 0000000..be7b467 --- /dev/null +++ b/postgresql-13.1-run-socket.patch @@ -0,0 +1,12 @@ +diff -upr postgresql-13.1.orig/src/include/pg_config_manual.h postgresql-13.1/src/include/pg_config_manual.h +--- postgresql-13.1.orig/src/include/pg_config_manual.h 2020-11-10 00:24:30.000000000 +0200 ++++ postgresql-13.1/src/include/pg_config_manual.h 2020-12-10 01:55:35.999605194 +0200 +@@ -201,7 +201,7 @@ + * support them yet. + */ + #ifndef WIN32 +-#define DEFAULT_PGSOCKET_DIR "/tmp" ++#define DEFAULT_PGSOCKET_DIR "/run/postgresql" + #else + #define DEFAULT_PGSOCKET_DIR "" + #endif diff --git a/postgresql-14.2-llvm-14.0.3.patch b/postgresql-14.2-llvm-14.0.3.patch new file mode 100644 index 0000000..0b6b9f2 --- /dev/null +++ b/postgresql-14.2-llvm-14.0.3.patch @@ -0,0 +1,154 @@ +From 5610411ac7b7d86b781aaaeed7f02b0e1005f8bb Mon Sep 17 00:00:00 2001 +From: Thomas Munro +Date: Wed, 16 Mar 2022 11:35:00 +1300 +Subject: [PATCH] Back-patch LLVM 14 API changes. + +Since LLVM 14 has stopped changing and is about to be released, +back-patch the following changes from the master branch: + + e6a7600202105919bffd62b3dfd941f4a94e082b + 807fee1a39de6bb8184082012e643951abb9ad1d + a56e7b66010f330782243de9e25ac2a6596be0e1 + +Back-patch to 11, where LLVM JIT support came in. +--- + src/backend/jit/llvm/Makefile | 6 +++++ + src/backend/jit/llvm/llvmjit_error.cpp | 35 +++++++++++++++++++++---- + src/backend/jit/llvm/llvmjit_inline.cpp | 12 ++++++++- + 3 files changed, 47 insertions(+), 6 deletions(-) + +diff --git a/src/backend/jit/llvm/Makefile b/src/backend/jit/llvm/Makefile +index 0268bd46d5..2da122a391 100644 +--- a/src/backend/jit/llvm/Makefile ++++ b/src/backend/jit/llvm/Makefile +@@ -22,6 +22,12 @@ endif + PGFILEDESC = "llvmjit - JIT using LLVM" + NAME = llvmjit + ++# LLVM 14 produces deprecation warnings. We'll need to make some changes ++# before the relevant functions are removed, but for now silence the warnings. ++ifeq ($(GCC), yes) ++LLVM_CFLAGS += -Wno-deprecated-declarations ++endif ++ + # All files in this directory use LLVM. + CFLAGS += $(LLVM_CFLAGS) + CXXFLAGS += $(LLVM_CXXFLAGS) +diff --git a/src/backend/jit/llvm/llvmjit_error.cpp b/src/backend/jit/llvm/llvmjit_error.cpp +index 7c8f3252e2..2182a03c91 100644 +--- a/src/backend/jit/llvm/llvmjit_error.cpp ++++ b/src/backend/jit/llvm/llvmjit_error.cpp +@@ -23,15 +23,22 @@ extern "C" + + #include "jit/llvmjit.h" + ++#include + + static int fatal_new_handler_depth = 0; + static std::new_handler old_new_handler = NULL; + + static void fatal_system_new_handler(void); + #if LLVM_VERSION_MAJOR > 4 ++static void fatal_llvm_new_handler(void *user_data, const char *reason, bool gen_crash_diag); ++#if LLVM_VERSION_MAJOR < 14 + static void fatal_llvm_new_handler(void *user_data, const std::string& reason, bool gen_crash_diag); + #endif ++#endif ++static void fatal_llvm_error_handler(void *user_data, const char *reason, bool gen_crash_diag); ++#if LLVM_VERSION_MAJOR < 14 + static void fatal_llvm_error_handler(void *user_data, const std::string& reason, bool gen_crash_diag); ++#endif + + + /* +@@ -129,23 +136,41 @@ fatal_system_new_handler(void) + #if LLVM_VERSION_MAJOR > 4 + static void + fatal_llvm_new_handler(void *user_data, +- const std::string& reason, ++ const char *reason, + bool gen_crash_diag) + { + ereport(FATAL, + (errcode(ERRCODE_OUT_OF_MEMORY), + errmsg("out of memory"), +- errdetail("While in LLVM: %s", reason.c_str()))); ++ errdetail("While in LLVM: %s", reason))); ++} ++#if LLVM_VERSION_MAJOR < 14 ++static void ++fatal_llvm_new_handler(void *user_data, ++ const std::string& reason, ++ bool gen_crash_diag) ++{ ++ fatal_llvm_new_handler(user_data, reason.c_str(), gen_crash_diag); + } + #endif ++#endif + + static void + fatal_llvm_error_handler(void *user_data, +- const std::string& reason, ++ const char *reason, + bool gen_crash_diag) + { + ereport(FATAL, + (errcode(ERRCODE_OUT_OF_MEMORY), +- errmsg("fatal llvm error: %s", +- reason.c_str()))); ++ errmsg("fatal llvm error: %s", reason))); + } ++ ++#if LLVM_VERSION_MAJOR < 14 ++static void ++fatal_llvm_error_handler(void *user_data, ++ const std::string& reason, ++ bool gen_crash_diag) ++{ ++ fatal_llvm_error_handler(user_data, reason.c_str(), gen_crash_diag); ++} ++#endif +diff --git a/src/backend/jit/llvm/llvmjit_inline.cpp b/src/backend/jit/llvm/llvmjit_inline.cpp +index 40b18d9a0e..01168cab41 100644 +--- a/src/backend/jit/llvm/llvmjit_inline.cpp ++++ b/src/backend/jit/llvm/llvmjit_inline.cpp +@@ -594,7 +594,11 @@ function_inlinable(llvm::Function &F, + if (F.materialize()) + elog(FATAL, "failed to materialize metadata"); + +- if (F.getAttributes().hasFnAttribute(llvm::Attribute::NoInline)) ++#if LLVM_VERSION_MAJOR < 14 ++#define hasFnAttr hasFnAttribute ++#endif ++ ++ if (F.getAttributes().hasFnAttr(llvm::Attribute::NoInline)) + { + ilog(DEBUG1, "ineligibile to import %s due to noinline", + F.getName().data()); +@@ -871,7 +875,9 @@ create_redirection_function(std::unique_ptr &importMod, + llvm::Function *AF; + llvm::BasicBlock *BB; + llvm::CallInst *fwdcall; ++#if LLVM_VERSION_MAJOR < 14 + llvm::Attribute inlineAttribute; ++#endif + + AF = llvm::Function::Create(F->getFunctionType(), + LinkageTypes::AvailableExternallyLinkage, +@@ -880,9 +886,13 @@ create_redirection_function(std::unique_ptr &importMod, + + Builder.SetInsertPoint(BB); + fwdcall = Builder.CreateCall(F, &*AF->arg_begin()); ++#if LLVM_VERSION_MAJOR < 14 + inlineAttribute = llvm::Attribute::get(Context, + llvm::Attribute::AlwaysInline); + fwdcall->addAttribute(~0U, inlineAttribute); ++#else ++ fwdcall->addFnAttr(llvm::Attribute::AlwaysInline); ++#endif + Builder.CreateRet(fwdcall); + + return AF; +-- +2.30.2 + diff --git a/postgresql.tmpfiles b/postgresql.tmpfiles new file mode 100644 index 0000000..63144e8 --- /dev/null +++ b/postgresql.tmpfiles @@ -0,0 +1 @@ +d /run/postgresql 700 postgres postgres diff --git a/postgresql15.service b/postgresql15.service new file mode 100644 index 0000000..e05270e --- /dev/null +++ b/postgresql15.service @@ -0,0 +1,42 @@ +[Unit] +Description=PostgreSQL database server +After=network.target + +[Service] +Type=notify +TimeoutSec=120 +User=postgres +Group=postgres + +Environment=PGROOT=/var/lib/pgsql + +SyslogIdentifier=postgres +PIDFile=/var/lib/pgsql/data15/postmaster.pid +RuntimeDirectory=postgresql +RuntimeDirectoryMode=755 + +ExecStart=/opt/postgres15/bin/postgres -D ${PGROOT}/data15 +ExecReload=/bin/kill -HUP ${MAINPID} +KillMode=mixed +KillSignal=SIGINT + +# Due to PostgreSQL's use of shared memory, OOM killer is often overzealous in +# killing Postgres, so adjust it downward +OOMScoreAdjust=-200 + +# Additional security-related features +PrivateTmp=true +ProtectHome=true +ProtectSystem=full +NoNewPrivileges=true +ProtectControlGroups=true +ProtectKernelModules=true +ProtectKernelTunables=true +PrivateDevices=true +RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 +RestrictNamespaces=true +RestrictRealtime=true +SystemCallArchitectures=native + +[Install] +WantedBy=multi-user.target diff --git a/postgresql15.spec b/postgresql15.spec new file mode 100644 index 0000000..501a907 --- /dev/null +++ b/postgresql15.spec @@ -0,0 +1,645 @@ +%define _prefix /opt/%{name} +%define groupid 65009 +%define userid 65009 +%define majver %(echo %version | cut -d. -f 1-2) + +Name: postgresql15 +Version: 15.4 +Release: 2mamba +Summary: An object-relational database management system (ORDBMS) +Group: Applications/Databases +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.postgresql.org +Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2 +Source2: postgresql15.service +Source3: postgresql.tmpfiles +Patch0: postgresql-13.1-run-socket.patch +Patch1: postgresql-14.2-llvm-14.0.3.patch +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libicu-devel +BuildRequires: libkrb5-devel +BuildRequires: libllvm-devel +BuildRequires: libopenldap-devel +BuildRequires: libopenssl-devel +BuildRequires: libpam-devel +BuildRequires: libperl +BuildRequires: libpython3-devel +BuildRequires: libreadline-devel +BuildRequires: libstdc++6-devel +BuildRequires: libsystemd-devel +BuildRequires: libtcl-devel +BuildRequires: libuuid-devel +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: flex +BuildRequires: libllvm-devel >= 14.0.3 +Requires(pre): /usr/sbin/groupadd +Requires(pre): /usr/sbin/useradd +%systemd_requires +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +PostgreSQL is an object-relational database management system (ORDBMS) based on POSTGRES, Version 4.2, developed at the University of California at Berkeley Computer Science Department. +The POSTGRES project, led by Professor Michael Stonebraker, was sponsored by the Defense Advanced Research Projects Agency (DARPA), the Army Research Office (ARO), the National Science Foundation (NSF), and ESL, Inc. +PostgreSQL is an open-source descendant of this original Berkeley code. +It provides SQL92/SQL99 language support and other modern features. + +%package -n lib%{name} +Summary: Devel files for PostgreSQL +Group: System/Libraries + +%description -n lib%{name} +PostgreSQL is an object-relational database management system (ORDBMS) based on POSTGRES, Version 4.2, developed at the University of California at Berkeley Computer Science Department. +The POSTGRES project, led by Professor Michael Stonebraker, was sponsored by the Defense Advanced Research Projects Agency (DARPA), the Army Research Office (ARO), the National Science Foundation (NSF), and ESL, Inc. +This package contains the libraries used by postgresql. + +%package -n lib%{name}-devel +Summary: Devel files for PostgreSQL +Group: Development/Libraries +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +PostgreSQL is an object-relational database management system (ORDBMS) based on POSTGRES, Version 4.2, developed at the University of California at Berkeley Computer Science Department. +The POSTGRES project, led by Professor Michael Stonebraker, was sponsored by the Defense Advanced Research Projects Agency (DARPA), the Army Research Office (ARO), the National Science Foundation (NSF), and ESL, Inc. +This package contains static libraries and header files needed for development. + +%package server +Summary: PostgreSQL DBMS server +Group: System/Database +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: %{name}-contrib = %{?epoch:%epoch:}%{version}-%{release} + +%description server +PostgreSQL is an object-relational database management system (ORDBMS) based on POSTGRES, Version 4.2, developed at the University of California at Berkeley Computer Science Department. +The POSTGRES project, led by Professor Michael Stonebraker, was sponsored by the Defense Advanced Research Projects Agency (DARPA), the Army Research Office (ARO), the National Science Foundation (NSF), and ESL, Inc. +PostgreSQL is an open-source descendant of this original Berkeley code. +It provides SQL92/SQL99 language support and other modern features. +This package provides the DBMS server. + +%package tcltk +Summary: PostgreSQL Tcl/Tk interface +Group: Graphical Desktop/Applications/Databases +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tcltk +PostgreSQL is an object-relational database management system (ORDBMS) based on POSTGRES, Version 4.2, developed at the University of California at Berkeley Computer Science Department. +The POSTGRES project, led by Professor Michael Stonebraker, was sponsored by the Defense Advanced Research Projects Agency (DARPA), the Army Research Office (ARO), the National Science Foundation (NSF), and ESL, Inc. +This package contains the Tcl/Tk interface. + +%package contrib +Summary: Contributed source and binaries distributed with PostgreSQL +Group: Applications/Databases +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description contrib +PostgreSQL is an object-relational database management system (ORDBMS) based on POSTGRES, Version 4.2, developed at the University of California at Berkeley Computer Science Department. +The POSTGRES project, led by Professor Michael Stonebraker, was sponsored by the Defense Advanced Research Projects Agency (DARPA), the Army Research Office (ARO), the National Science Foundation (NSF), and ESL, Inc. +The postgresql-contrib package contains contributed packages that are included in the PostgreSQL distribution. + +%package test +Summary: The test suite distributed with PostgreSQL +Group: Applications/Databases +Requires: %{name}-server = %{?epoch:%epoch:}%{version}-%{release} + +%description test +PostgreSQL is an object-relational database management system (ORDBMS) based on POSTGRES, Version 4.2, developed at the University of California at Berkeley Computer Science Department. +The POSTGRES project, led by Professor Michael Stonebraker, was sponsored by the Defense Advanced Research Projects Agency (DARPA), the Army Research Office (ARO), the National Science Foundation (NSF), and ESL, Inc. +The postgresql-test package includes the sources and pre-built binaries of various tests for the PostgreSQL database management system, including regression tests and benchmarks. + +%package docs +Summary: Extra documentation for PostgreSQL +Group: Documentation +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description docs +PostgreSQL is an object-relational database management system (ORDBMS) based on POSTGRES, Version 4.2, developed at the University of California at Berkeley Computer Science Department. +The POSTGRES project, led by Professor Michael Stonebraker, was sponsored by the Defense Advanced Research Projects Agency (DARPA), the Army Research Office (ARO), the National Science Foundation (NSF), and ESL, Inc. +The postgresql-docs package includes some additional documentation for PostgreSQL. Currently, this includes the main documentation in PDF format, the FAQ, and source files for the PostgreSQL tutorial. + +%debug_package + +# Don't clean build at the end +%global __spec_rmbuild_cmd /bin/true + +%global __provides_exclude ^libecpg.so|^libecpg_compat.so|^libpgtypes.so|^libpq.so|^libpqwalreceiver.so +%global __requires_exclude ^libecpg.so|^libecpg_compat.so|^libpgtypes.so|^libpq.so|^libpqwalreceiver.so + +%prep +%setup -q -n postgresql-%{version} +%patch 0 -p1 +#%patch1 -p1 -b .llvm-14.0.3 + +%build +%configure \ + --prefix=%{_prefix} \ + --mandir=%{_mandir} \ + --with-docdir=%{_datadir}/doc \ + --enable-nls \ + --disable-rpath \ + --with-pam \ + --with-openssl \ + --with-tcl \ + --with-python \ + --with-perl \ + --with-ldap \ + --with-krb5 \ + --with-gssapi \ + --with-libxslt \ + --with-llvm \ + --with-icu \ + --with-uuid=e2fs \ + --with-system-tzdata=/usr/share/zoneinfo \ + --with-libxml \ + --with-systemd \ + PYTHON=%{__python3} + +# --with-bonjour + +%make +make %{?_smp_mflags} -C contrib all + +# put correct path into tutorial scripts +sed "s|C=\`pwd\`;|C=%{_libdir}/postgresql/tutorial;|" < src/tutorial/Makefile > src/tutorial/GNUmakefile +make %{?_smp_mflags} -C src/tutorial NO_PGXS=1 all + +rm -f src/tutorial/GNUmakefile + +(cd src/test/regress +make all +) + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall +make -C contrib DESTDIR=%{buildroot} install + +install -d %{buildroot}/var/lib/pgsql/data15 +install -D -m0755 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service +install -D -m0755 %{SOURCE3} %{buildroot}%{_tmpfilesdir}/%{name}.conf + +%find_lang %{name} --with-qt --with-man --all-name || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%pre server +if [ $1 -eq 1 ]; then + /usr/sbin/groupadd postgres -g %{groupid} 2>/dev/null + /usr/sbin/useradd -u %{userid} -g postgres \ + -d /var/lib/pgsql/data -c 'PostgreSQL Server' \ + -s /bin/false postgres 2>/dev/null +fi +: + +%post server +[ -e /var/lib/pgsql/data/PG_VERSION ] || su -s /bin/sh - postgres -c "%{_bindir}/initdb -D /var/lib/pgsql/data >/dev/null" +%tmpfiles_create named.conf +%systemd_post postgresql +: + +%preun server +%systemd_preun postgresql +: + +%postun server +%systemd_postun_with_restart postgresql +: + +%posttrans +# clean broken old sysv links +find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \; +: + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/clusterdb +%{_bindir}/create* +%{_bindir}/drop* +%{_bindir}/init* +#%{_bindir}/ipcclean +%{_bindir}/pg_* +%{_bindir}/postgres +%{_bindir}/psql +%{_bindir}/reindexdb +%{_bindir}/vacuumdb +#%dir %{_datadir}/doc/postgresql +#%{_datadir}/doc/postgresql/* +#%{_mandir}/man1/* +%doc COPYRIGHT + +%files server +%defattr(-,root,root) +%{_bindir}/postmaster +%{_unitdir}/%{name}.service +%{_tmpfilesdir}/%{name}.conf +%dir %dir %{_localstatedir}/lib/pgsql +%attr(700,postgres,root) %dir %{_localstatedir}/lib/pgsql/data15 + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/lib*.so.* +%{_libdir}/*.so +%exclude %{_libdir}/lib*.so +%{_libdir}/llvmjit_types.bc +%exclude %{_libdir}/_int.so +%exclude %{_libdir}/adminpack.so +%exclude %{_libdir}/autoinc.so +%exclude %{_libdir}/btree_gist.so +%exclude %{_libdir}/cube.so +%exclude %{_libdir}/dblink.so +%exclude %{_libdir}/dict_int.so +%exclude %{_libdir}/dict_xsyn.so +%exclude %{_libdir}/earthdistance.so +%exclude %{_libdir}/fuzzystrmatch.so +%exclude %{_libdir}/hstore.so +%exclude %{_libdir}/insert_username.so +%exclude %{_libdir}/isn.so +%exclude %{_libdir}/lo.so +%exclude %{_libdir}/ltree.so +%exclude %{_libdir}/moddatetime.so +%exclude %{_libdir}/pageinspect.so +%exclude %{_libdir}/pg_buffercache.so +%exclude %{_libdir}/pg_freespacemap.so +%exclude %{_libdir}/pg_trgm.so +%exclude %{_libdir}/pgcrypto.so +%exclude %{_libdir}/pgrowlocks.so +%exclude %{_libdir}/pgstattuple.so +%exclude %{_libdir}/refint.so +%exclude %{_libdir}/seg.so +%exclude %{_libdir}/sslinfo.so +%exclude %{_libdir}/tablefunc.so +%dir %{_libdir}/bitcode +%{_libdir}/bitcode/* +%{_datadir}/* + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_bindir}/ecpg +%dir %{_includedir} +%{_includedir}/* +%{_libdir}/*.a +%{_libdir}/lib*.so +%{_libdir}/pgxs/config/* +%{_libdir}/pgxs/src/* +%{_libdir}/pkgconfig/libecpg.pc +%{_libdir}/pkgconfig/libecpg_compat.pc +%{_libdir}/pkgconfig/libpgtypes.pc +%{_libdir}/pkgconfig/libpq.pc +#%doc HISTORY INSTALL README + +#%files tcltk +#%defattr(-,root,root) +#%{_bindir}/pltcl_* +#%{_bindir}/pgtclsh +#%{_bindir}/pgtksh + +%files contrib +%defattr(-,root,root) +%{_libdir}/_int.so +%{_libdir}/adminpack.so +%{_libdir}/autoinc.so +%{_libdir}/btree_gist.so +%{_libdir}/cube.so +%{_libdir}/dblink.so +%{_libdir}/dict_int.so +%{_libdir}/dict_xsyn.so +%{_libdir}/earthdistance.so +%{_libdir}/fuzzystrmatch.so +%{_libdir}/hstore.so +%{_libdir}/insert_username.so +%{_libdir}/isn.so +%{_libdir}/lo.so +%{_libdir}/ltree.so +%{_libdir}/moddatetime.so +%{_libdir}/pageinspect.so +%{_libdir}/pg_buffercache.so +%{_libdir}/pg_freespacemap.so +%{_libdir}/pg_trgm.so +%{_libdir}/pgcrypto.so +%{_libdir}/pgrowlocks.so +%{_libdir}/pgstattuple.so +%{_libdir}/refint.so +%{_libdir}/seg.so +%{_libdir}/sslinfo.so +%{_libdir}/tablefunc.so +%{_bindir}/oid2name +%{_bindir}/pgbench +%{_bindir}/vacuumlo + +#%files test +#%defattr(-,postgres,postgres) +#%attr(-,postgres,postgres) %{_libdir}/test/* +#%attr(-,postgres,postgres) %dir %{_libdir}/test + +#%files docs +#%defattr(-,root,root) +##%doc doc/src/sgml +##%doc %{name}-%{majver}-US.pdf +#%dir %{_libdir}/postgresql/tutorial +#%{_libdir}/postgresql/tutorial/* + +%changelog +* Tue Sep 19 2023 Silvan Calarco 15.4-2mamba +- legacy package + +* Sat Aug 12 2023 Automatic Build System 15.4-1mamba +- automatic version update by autodist + +* Sat May 13 2023 Automatic Build System 15.3-1mamba +- automatic version update by autodist + +* Fri Feb 10 2023 Automatic Build System 15.2-1mamba +- automatic version update by autodist + +* Thu Jan 26 2023 Silvan Calarco 15.1-2mamba +- move /usr/bin/postgres from server to main package + +* Fri Nov 11 2022 Automatic Build System 15.1-1mamba +- automatic version update by autodist + +* Wed Nov 02 2022 Automatic Build System 15.0-1mamba +- automatic version update by autodist + +* Fri Aug 12 2022 Automatic Build System 14.5-1mamba +- automatic version update by autodist + +* Fri Jun 17 2022 Automatic Build System 14.4-1mamba +- automatic version update by autodist + +* Sat May 14 2022 Automatic Build System 14.3-1mamba +- automatic version update by autodist + +* Sun May 01 2022 Silvan Calarco 14.2-2mamba +- rebuilt with llvm 14.0.3 + +* Fri Feb 11 2022 Automatic Build System 14.2-1mamba +- automatic version update by autodist + +* Thu Nov 11 2021 Automatic Build System 14.1-1mamba +- automatic version update by autodist + +* Fri Oct 01 2021 Automatic Build System 14.0-1mamba +- automatic version update by autodist + +* Thu Aug 12 2021 Automatic Build System 13.4-1mamba +- automatic version update by autodist + +* Fri May 14 2021 Automatic Build System 13.3-1mamba +- automatic version update by autodist + +* Mon Mar 29 2021 Silvan Calarco 13.2-2mamba +- move pg_config from devel to main package +- postgresql-server: require postgresql-contrib + +* Sun Feb 21 2021 Automatic Build System 13.2-1mamba +- automatic version update by autodist + +* Sun Jan 31 2021 Silvan Calarco 13.1-2mamba +- rebuilt with systemd support + +* Fri Nov 13 2020 Automatic Build System 13.1-1mamba +- automatic version update by autodist + +* Thu Sep 24 2020 Automatic Build System 13.0-1mamba +- automatic version update by autodist + +* Thu Aug 13 2020 Automatic Build System 12.4-1mamba +- automatic version update by autodist + +* Thu May 14 2020 Automatic Build System 12.3-1mamba +- automatic version update by autodist + +* Fri Feb 14 2020 Automatic Build System 12.2-1mamba +- automatic version update by autodist + +* Fri Nov 15 2019 Automatic Build System 12.1-1mamba +- automatic version update by autodist + +* Sat Oct 05 2019 Automatic Build System 12.0-1mamba +- automatic version update by autodist + +* Thu Aug 08 2019 Automatic Build System 11.5-1mamba +- automatic version update by autodist + +* Fri Jun 21 2019 Automatic Build System 11.4-1mamba +- automatic version update by autodist + +* Fri May 10 2019 Automatic Build System 11.3-1mamba +- automatic version update by autodist + +* Fri Feb 15 2019 Automatic Build System 11.2-1mamba +- automatic version update by autodist + +* Tue Nov 20 2018 Automatic Build System 11.1-1mamba +- automatic version update by autodist + +* Thu Aug 23 2018 Automatic Build System 10.5-1mamba +- automatic version update by autodist + +* Thu Mar 01 2018 Automatic Build System 10.3-1mamba +- automatic version update by autodist + +* Thu Feb 08 2018 Automatic Build System 10.2-1mamba +- automatic version update by autodist + +* Sat Jan 13 2018 Automatic Build System 10.1-1mamba +- automatic version update by autodist + +* Thu Sep 07 2017 Automatic Build System 9.6.5-1mamba +- automatic version update by autodist + +* Thu Aug 24 2017 Automatic Build System 9.6.4-1mamba +- automatic version update by autodist + +* Tue Aug 08 2017 Automatic Build System 9.6.3-1mamba +- automatic version update by autodist + +* Fri Oct 28 2016 Automatic Build System 9.6.1-1mamba +- automatic version update by autodist + +* Fri Sep 30 2016 Automatic Build System 9.6.0-1mamba +- automatic version update by autodist + +* Fri Aug 12 2016 Automatic Build System 9.5.4-1mamba +- automatic version update by autodist + +* Thu May 12 2016 Automatic Build System 9.5.3-1mamba +- automatic version update by autodist + +* Thu Mar 31 2016 Automatic Build System 9.5.2-1mamba +- automatic version update by autodist + +* Fri Feb 12 2016 Automatic Build System 9.5.1-1mamba +- automatic version update by autodist + +* Sat Jan 16 2016 Automatic Build System 9.5.0-1mamba +- automatic version update by autodist + +* Fri Oct 09 2015 Automatic Build System 9.4.5-1mamba +- automatic version update by autodist + +* Fri Jun 12 2015 Automatic Build System 9.4.4-1mamba +- automatic version update by autodist + +* Fri Jun 05 2015 Automatic Build System 9.4.3-1mamba +- automatic version update by autodist + +* Fri May 22 2015 Automatic Build System 9.4.2-1mamba +- automatic version update by autodist + +* Mon Mar 16 2015 Silvan Calarco 9.4.1-1mamba +- update to 9.4.1 + +* Fri Dec 19 2014 Automatic Build System 9.4.0-1mamba +- automatic version update by autodist + +* Thu Jul 24 2014 Automatic Build System 9.3.5-1mamba +- automatic version update by autodist + +* Thu Mar 20 2014 Automatic Build System 9.3.4-1mamba +- automatic version update by autodist + +* Fri Feb 21 2014 Automatic Build System 9.3.3-1mamba +- automatic version update by autodist + +* Fri Dec 06 2013 Automatic Build System 9.3.2-1mamba +- automatic version update by autodist + +* Sat Oct 12 2013 Automatic Build System 9.3.1-1mamba +- automatic version update by autodist + +* Tue Sep 17 2013 Automatic Build System 9.3.0-1mamba +- automatic version update by autodist + +* Sat Jun 01 2013 Silvan Calarco 9.2.4-2mamba +- python 2.7 mass rebuild + +* Thu Apr 04 2013 Automatic Build System 9.2.4-1mamba +- automatic version update by autodist + +* Thu Feb 07 2013 Automatic Build System 9.2.3-1mamba +- automatic version update by autodist + +* Thu Dec 06 2012 Automatic Build System 9.2.2-1mamba +- automatic version update by autodist + +* Mon Sep 24 2012 Automatic Build System 9.2.1-1mamba +- automatic version update by autodist + +* Mon Sep 10 2012 Automatic Build System 9.2.0-1mamba +- automatic version update by autodist + +* Fri Aug 17 2012 Automatic Build System 9.1.5-1mamba +- automatic version update by autodist + +* Mon Jun 04 2012 Automatic Build System 9.1.4-1mamba +- automatic version update by autodist + +* Sun Apr 15 2012 Automatic Build System 9.1.3-1mamba +- automatic version update by autodist + +* Tue Dec 06 2011 Automatic Build System 9.1.2-1mamba +- automatic version update by autodist + +* Mon Sep 26 2011 Automatic Build System 9.1.1-1mamba +- automatic version update by autodist + +* Sun Sep 11 2011 Automatic Build System 9.1.0-1mamba +- automatic version update by autodist + +* Sun Apr 17 2011 Automatic Build System 9.0.4-1mamba +- automatic update by autodist + +* Mon Jan 31 2011 Automatic Build System 9.0.3-1mamba +- automatic update by autodist + +* Wed Dec 15 2010 Automatic Build System 9.0.2-1mamba +- automatic update to 9.0.2 by autodist + +* Mon Oct 04 2010 Automatic Build System 9.0.1-1mamba +- automatic update to 9.0.1 by autodist + +* Mon Sep 27 2010 Automatic Build System 9.0.0-1mamba +- automatic update by autodist + +* Fri Jul 09 2010 Davide Madrisan 8.4.4-2mamba +- move %{_bindir}/pg_config and %{_bindir}/ecpg to lib%{name}-devel + +* Sun May 16 2010 Automatic Build System 8.4.4-1mamba +- automatic update to 8.4.4 by autodist + +* Mon Mar 15 2010 Automatic Build System 8.4.3-1mamba +- automatic update to 8.4.3 by autodist + +* Tue Feb 02 2010 Automatic Build System 8.4.2-2mamba +- automatic rebuild by autodist + +* Mon Dec 14 2009 Automatic Build System 8.4.2-1mamba +- automatic update to 8.4.2 by autodist + +* Sat Sep 26 2009 Automatic Build System 8.4.1-1mamba +- automatic update to 8.4.1 by autodist + +* Tue Jun 30 2009 Automatic Build System 8.4.0-1mamba +- update to 8.4.0 + +* Tue Mar 17 2009 Silvan Calarco 8.3.7-1mamba +- automatic update to 8.3.7 by autodist + +* Fri Feb 06 2009 Silvan Calarco 8.3.6-1mamba +- automatic update to 8.3.6 by autodist + +* Fri Nov 07 2008 gil 8.3.5-2mamba +- added packages: contrib, test, docs + +* Thu Nov 06 2008 Silvan Calarco 8.3.5-1mamba +- automatic update to 8.3.5 by autodist + +* Tue Oct 28 2008 Silvan Calarco 8.3.4-1mamba +- automatic update to 8.3.4 by autodist + +* Sat Jun 30 2007 Silvan Calarco 7.4.17-1mamba +- update to 7.4.17 +- libpostgresql: remove requirement for postgresql + +* Tue Mar 07 2006 Silvan Calarco 7.4.12-1qilnx +- update to version 7.4.12 by autospec +- fixed rpm group names +- added package libpostgresql + +* Mon Dec 19 2005 Stefano Cotta Ramusino 7.4.10-1qilnx +- update to version 7.4.10 by autospec +- changed license to BSD + +* Fri May 27 2005 Silvan Calarco 7.4.8-1qilnx +- update to version 7.4.8 by autospec +- fixed a database initialization error (permission on /var/pgsql/data) + +* Wed Feb 16 2005 Davide Madrisan 7.4.7-1qilnx +- update to version 7.4.7 (patch release) by autospec +- also fixes several security issues: QSA-2005-017 (CAN-2004-0977, + CAN-2005-024[4,5,6,7]), see HISTORY file +- enabled localization +- added missing buildrequirements +- added copyright file in the documentation +- various specfile updates + +* Fri Nov 21 2003 Silvan Calarco 7.4-2qilnx +- renamed a header file conflicting with libodbc (/usr/include/sqltypes.h) + +* Tue Nov 18 2003 Silvan Calarco 7.4-1qilnx +- new version rebuild +- added QiLinux official userid (>65000) + +* Fri Jul 18 2003 Silvan Calarco 7.3.3-2qilnx +- added make install-all-headers to install server headers + +* Thu Jul 17 2003 Silvan Calarco 7.3.3-1qilnx +- first build for PostgreSQL