summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/py-barman/Makefile4
-rw-r--r--databases/py-barman/distinfo10
-rw-r--r--databases/py-barman/patches/patch-barman_utils.py14
3 files changed, 21 insertions, 7 deletions
diff --git a/databases/py-barman/Makefile b/databases/py-barman/Makefile
index 0120b66d38e..5abd86bf2b9 100644
--- a/databases/py-barman/Makefile
+++ b/databases/py-barman/Makefile
@@ -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/}
diff --git a/databases/py-barman/distinfo b/databases/py-barman/distinfo
index 13d1a2726b2..bbc626cbdcc 100644
--- a/databases/py-barman/distinfo
+++ b/databases/py-barman/distinfo
@@ -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
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: