Skip to content

Commit

Permalink
Update databases/py-barman to 1.4.1.
Browse files Browse the repository at this point in the history
Version 1.4.1 - 05 May 2015
  * Fix for WAL archival stop working if first backup is EMPTY
    (Closes: #64)
  * Fix exception during error handling in Barman recovery (Closes:
    #65)
  * After a backup, limit cron activity to WAL archiving only
    (Closes: #62)
  * Improved robustness and error reporting of the backup delete
    command (Closes: #63)
  * Fix computation of WAL production ratio as reported in the
    show-backup command
  * Improved management of xlogb file, which is now correctly fsynced
    when updated. Also, the rebuild-xlogdb command now operates on a
    temporary new file, which overwrites the main one when finished.
  * Add unit tests for dateutil module compatibility
  * Modified Barman version following PEP 440 rules and added support
    of tests in Python 3.4
  • Loading branch information
fhajny committed Jun 9, 2015
1 parent bd420f3 commit a22e593
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
4 changes: 2 additions & 2 deletions databases/py-barman/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.4 2015/04/13 23:12:40 rodent Exp $
# $NetBSD: Makefile,v 1.5 2015/06/09 15:06:39 fhajny Exp $

DISTNAME= barman-1.4.0
DISTNAME= barman-1.4.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pgbarman/}
Expand Down
10 changes: 5 additions & 5 deletions databases/py-barman/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.2 2015/04/07 09:42:55 fhajny Exp $
$NetBSD: distinfo,v 1.3 2015/06/09 15:06:39 fhajny Exp $

SHA1 (barman-1.4.0.tar.gz) = bdeab227133bf58005b1b7b3812ffbd52cb3fd18
RMD160 (barman-1.4.0.tar.gz) = 77bcccac32158f7dffd022a99bfce270758e0ae6
Size (barman-1.4.0.tar.gz) = 120590 bytes
SHA1 (patch-barman_backup.py) = 552ce149f700aca35487144d8bc9ba0063bcacf5
SHA1 (barman-1.4.1.tar.gz) = 9f6465271bdac62d1a00c1f9e9da3737da0cd2ee
RMD160 (barman-1.4.1.tar.gz) = 1ef7caae63fd5d7698cf2c9b6671c34044071200
Size (barman-1.4.1.tar.gz) = 122048 bytes
SHA1 (patch-barman_utils.py) = 30723ff650fcbe0c1cf5108424d997bf96898fd4
14 changes: 14 additions & 0 deletions databases/py-barman/patches/patch-barman_utils.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$NetBSD: patch-barman_utils.py,v 1.1 2015/06/09 15:06:39 fhajny Exp $

Make portable for non-glibc platforms too.
--- barman/utils.py.orig 2015-04-17 13:05:38.000000000 +0000
+++ barman/utils.py
@@ -239,7 +239,7 @@ def fsync_dir(dir_path):
:param str dir_path: The directory to sync
:raise OSError: If fail opening the directory
"""
- dir_fd = os.open(dir_path, os.O_DIRECTORY)
+ dir_fd = os.open(dir_path, os.O_RDONLY)
try:
os.fsync(dir_fd)
except OSError, e:

0 comments on commit a22e593

Please sign in to comment.