From 8ff799d060b93c86e4b95a0aa1d4dea588c16f52 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Thu, 29 Sep 2016 17:55:09 +0200 Subject: [PATCH] - up to 9.6.0 --- postgresql-ac_version.patch | 17 ----------------- postgresql-conf.patch | 8 +++++--- postgresql.spec | 11 ++++++----- 3 files changed, 11 insertions(+), 25 deletions(-) delete mode 100644 postgresql-ac_version.patch diff --git a/postgresql-ac_version.patch b/postgresql-ac_version.patch deleted file mode 100644 index 9577c38..0000000 --- a/postgresql-ac_version.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- postgresql-9.5.0/configure.in.orig 2016-01-09 01:04:10.293369968 +0100 -+++ postgresql-9.5.0/configure.in 2016-01-09 01:05:27.766701732 +0100 -@@ -19,10 +19,10 @@ - - AC_INIT([PostgreSQL], [9.5.0], [pgsql-bugs@postgresql.org]) - --m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required. --Untested combinations of 'autoconf' and PostgreSQL versions are not --recommended. You can remove the check from 'configure.in' but it is then --your responsibility whether the result works or not.])]) -+dnl m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required. -+dnl Untested combinations of 'autoconf' and PostgreSQL versions are not -+dnl recommended. You can remove the check from 'configure.in' but it is then -+dnl your responsibility whether the result works or not.])]) - AC_COPYRIGHT([Copyright (c) 1996-2015, PostgreSQL Global Development Group]) - AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) - AC_CONFIG_AUX_DIR(config) diff --git a/postgresql-conf.patch b/postgresql-conf.patch index ae0ac1c..7ff48eb 100644 --- a/postgresql-conf.patch +++ b/postgresql-conf.patch @@ -10,16 +10,18 @@ # depending on platform. csvlog # requires logging_collector to be on. @@ -262,8 +262,8 @@ - # 0 to disable. + # 0 disables. # These are relevant when logging to syslog: -#syslog_facility = 'LOCAL0' -#syslog_ident = 'postgres' +-#syslog_sequence_numbers = on +syslog_facility = 'LOCAL0' +syslog_ident = 'postgres' ++syslog_sequence_numbers = on + #syslog_split_messages = on - - # - When to Log - + # This is only relevant when logging to eventlog (win32): @@ -324,7 +324,7 @@ #debug_print_plan = off #debug_pretty_print = off diff --git a/postgresql.spec b/postgresql.spec index 4f3a6d5..1963fc6 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -19,7 +19,7 @@ # %define beta %{nil} -%define mver 9.5 +%define mver 9.6 Summary: PostgreSQL Data Base Management System Summary(de.UTF-8): PostgreSQL Datenbankverwaltungssystem @@ -32,12 +32,12 @@ Summary(tr.UTF-8): Veri Tabanı Yönetim Sistemi Summary(uk.UTF-8): PostgreSQL - система керування базами даних Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件 Name: postgresql -Version: %{mver}.4 +Version: %{mver}.0 Release: 1 License: BSD Group: Applications/Databases Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2 -# Source0-md5: ad36fcf624748b8ed67783ad04529f43 +# Source0-md5: c5af6ebb790ab877e1d2e56e19cebb29 Source1: %{name}.init Source2: pgsql-Database-HOWTO-html.tar.gz # Source2-md5: 5b656ddf1db41965761f85204a14398e @@ -48,7 +48,7 @@ Source6: %{name}.target Patch0: %{name}-conf.patch Patch1: %{name}-absolute_dbpaths.patch Patch2: %{name}-ecpg-includedir.patch -Patch3: %{name}-ac_version.patch + Patch4: %{name}-disable_horology_test.patch Patch5: %{name}-heimdal.patch Patch6: %{name}-ossp_uuid.patch @@ -768,7 +768,7 @@ Różne moduły dołączone do PostgreSQL-a. %patch0 -p1 %{?with_absolute_dbpaths:%patch1 -p1} %patch2 -p1 -%patch3 -p1 + %patch4 -p1 %patch5 -p1 %patch6 -p1 @@ -1131,6 +1131,7 @@ done %{_libdir}/libecpg_compat.a %{_libdir}/libpq.a %{_libdir}/libpgcommon.a +%{_libdir}/libpgfeutils.a %{_libdir}/libpgtypes.a %{_libdir}/libpgport.a -- 2.44.0