Browse Source

upgrading package: pgbackrest 2.07 -> 2.13

master
parent
commit
9ac2543648
  1. 76
      pgbackrest/pgbackrest.patch
  2. 4
      pgbackrest/pgbackrest.spec

76
pgbackrest/pgbackrest.patch

@ -1,12 +1,64 @@
Index: build/lib/pgBackRestBuild/Config/Data.pm
--- build/lib/pgBackRestBuild/Config/Data.pm.orig 2018-03-20 02:49:41.000000000 +0100
+++ build/lib/pgBackRestBuild/Config/Data.pm 2018-04-19 19:03:38.242673000 +0200
@@ -1182,7 +1182,7 @@
{
&CFGDEF_SECTION => CFGDEF_SECTION_GLOBAL,
&CFGDEF_TYPE => CFGDEF_TYPE_STRING,
- &CFGDEF_DEFAULT => '/var/log/' . BACKREST_EXE,
+ &CFGDEF_DEFAULT => '/var/log/pgbackrest',
&CFGDEF_COMMAND =>
{
&CFGCMD_ARCHIVE_GET => {},
Index: src/Makefile
--- src/Makefile.orig 2019-04-19 03:26:02.000000000 +0200
+++ src/Makefile 2019-04-20 09:21:58.297386000 +0200
@@ -47,7 +47,7 @@
LDEXTRA =
# Concatenate options for easy usage
-LDFLAGS = -lcrypto -lssl -lxml2 -lz $(LDPERL) $(LDEXTRA)
+LDFLAGS = -lssl -lcrypto -lxml2 -liconv -lz $(LDPERL) $(LDEXTRA)
####################################################################################################################################
# Install options
Index: src/common/io/tls/client.c
--- src/common/io/tls/client.c.orig 2019-04-19 03:26:02.000000000 +0200
+++ src/common/io/tls/client.c 2019-04-20 09:17:10.443337000 +0200
@@ -2,6 +2,7 @@
TLS Client
***********************************************************************************************************************************/
#include <arpa/inet.h>
+#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>
#include <string.h>
Index: src/common/lock.c
--- src/common/lock.c.orig 2019-04-19 03:26:02.000000000 +0200
+++ src/common/lock.c 2019-04-20 09:19:27.199486000 +0200
@@ -1,10 +1,13 @@
/***********************************************************************************************************************************
Lock Handler
***********************************************************************************************************************************/
+#undef _POSIX_C_SOURCE
+#include <sys/types.h>
+#include <sys/file.h>
+#include <netinet/in.h>
#include <errno.h>
#include <fcntl.h>
#include <string.h>
-#include <sys/file.h>
#include <unistd.h>
#include "common/debug.h"
Index: src/common/time.c
--- src/common/time.c.orig 2019-04-19 03:26:02.000000000 +0200
+++ src/common/time.c 2019-04-20 09:20:33.174548000 +0200
@@ -2,6 +2,7 @@
Time Management
***********************************************************************************************************************************/
#include <stdio.h>
+#define __XSI_VISIBLE 1
#include <sys/time.h>
#include "common/debug.h"
Index: src/perl/exec.c
--- src/perl/exec.c.orig 2019-04-19 03:26:02.000000000 +0200
+++ src/perl/exec.c 2019-04-20 09:21:08.812044000 +0200
@@ -1,6 +1,8 @@
/***********************************************************************************************************************************
Execute Perl for Legacy Functionality
***********************************************************************************************************************************/
+#undef _POSIX_C_SOURCE
+#include <sys/types.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>

4
pgbackrest/pgbackrest.spec

@ -31,8 +31,8 @@ Distribution: OpenPKG Community
Class: EVAL
Group: RDBMS
License: GPL
Version: 2.07
Release: 20181117
Version: 2.13
Release: 20190420
# list of sources
Source0: https://github.com/pgbackrest/pgbackrest/archive/release/%{version}.tar.gz

Loading…
Cancel
Save