diff options
author | fhajny <fhajny> | 2015-06-09 15:06:39 +0000 |
---|---|---|
committer | fhajny <fhajny> | 2015-06-09 15:06:39 +0000 |
commit | be65fe91a7a3399486501502d4e1faf6b1c3c72d (patch) | |
tree | c7c422836d2cad7b33c3afa0ad9472c4cbf6d7d6 /databases/py-barman/patches | |
parent | 8289a80978a6c40a4634afe7c59b69233b99656c (diff) | |
download | pkgsrc-be65fe91a7a3399486501502d4e1faf6b1c3c72d.tar.gz |
Update databases/py-barman to 1.4.1.
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
Diffstat (limited to 'databases/py-barman/patches')
-rw-r--r-- | databases/py-barman/patches/patch-barman_utils.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/py-barman/patches/patch-barman_utils.py b/databases/py-barman/patches/patch-barman_utils.py new file mode 100644 index 00000000000..5af25ff4e6e --- /dev/null +++ b/databases/py-barman/patches/patch-barman_utils.py @@ -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: |