Update databases/py-barman to 1.5.0. - Add support for the get-wal command which allows users to fetch any WAL file from the archive of a specific server - Add support for retry hook scripts, a special kind of hook scripts that Barman tries to run until they succeed - Add active configuration option for a server to temporarily disable the server by setting it to False - Add barman_lock_directory global option to change the location of lock files (by default: 'barman_home') - Execute the full suite of checks before starting a backup, and skip it in case one or more checks fail - Forbid to delete a running backup - Analyse include directives of a PostgreSQL server during backup and recover operations - Add check for conflicting paths in the configuration of Barman, both intra (by temporarily disabling a server) and inter-server (by refusing any command, to any server). - Add check for wal_level - Add barman-wal-restore script to be used as restore_command on a standby server, in conjunction with barman get-wal - Implement a standard and consistent policy for error management - Improved cache management of backups - Improved management of configuration in unit tests - Tutorial and man page sources have been converted to Markdown format - Add code documentation through Sphinx - Complete refactor of the code responsible for managing the backup and the recover commands - Changed internal directory structure of a backup - Introduce copy_method option (currently fixed to rsync) - Bug fixes: - Manage options without '=' in PostgreSQL configuration files - Preserve Timeline history files (Fixes: #70) - Workaround for rsync on SUSE Linux (Closes: #13 and #26) - Disables dangerous settings in postgresql.auto.conf (Closes: #68) - Fixed error in WAL rate calculationdiff -r1.5 -r1.6 pkgsrc/databases/py-barman/Makefile
(fhajny)
@@ -1,58 +1,58 @@ | @@ -1,58 +1,58 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2015/06/09 15:06:39 fhajny Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2015/10/20 08:42:43 fhajny Exp $ | |
2 | 2 | |||
3 | DISTNAME= barman-1.4.1 | 3 | DISTNAME= barman-1.5.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= databases python | 5 | CATEGORIES= databases python | |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pgbarman/} | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pgbarman/} | |
7 | 7 | |||
8 | MAINTAINER= filip@joyent.com | 8 | MAINTAINER= filip@joyent.com | |
9 | HOMEPAGE= http://www.pgbarman.org/ | 9 | HOMEPAGE= http://www.pgbarman.org/ | |
10 | COMMENT= Backup and Recovery Manager for PostgreSQL | 10 | COMMENT= Backup and Recovery Manager for PostgreSQL | |
11 | LICENSE= gnu-gpl-v3 | 11 | LICENSE= gnu-gpl-v3 | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-argcomplete-[0-9]*:../../devel/py-argcomplete | 13 | DEPENDS+= ${PYPKGPREFIX}-argcomplete-[0-9]*:../../devel/py-argcomplete | |
14 | DEPENDS+= ${PYPKGPREFIX}-argh>=0.21.2:../../devel/py-argh | 14 | DEPENDS+= ${PYPKGPREFIX}-argh>=0.21.2:../../devel/py-argh | |
15 | DEPENDS+= ${PYPKGPREFIX}-psycopg2-[0-9]*:../../databases/py-psycopg2 | 15 | DEPENDS+= ${PYPKGPREFIX}-psycopg2-[0-9]*:../../databases/py-psycopg2 | |
16 | DEPENDS+= rsync-[0-9]*:../../net/rsync | 16 | DEPENDS+= rsync-[0-9]*:../../net/rsync | |
17 | 17 | |||
18 | PYTHON_VERSIONED_DEPENDENCIES= dateutil | 18 | PYTHON_VERSIONED_DEPENDENCIES= dateutil | |
19 | 19 | |||
20 | USE_LANGUAGES= # none | 20 | USE_LANGUAGES= # none | |
21 | 21 | |||
22 | CONF_FILES+= share/examples/barman/barman.conf \ | 22 | CONF_FILES+= share/examples/barman/barman.conf \ | |
23 | ${PKG_SYSCONFDIR}/barman.conf | 23 | ${PKG_SYSCONFDIR}/barman.conf | |
24 | INSTALLATION_DIRS+= share/examples/barman | 24 | INSTALLATION_DIRS+= share/examples/barman | |
25 | 25 | |||
26 | .include "../../mk/bsd.prefs.mk" | 26 | .include "../../mk/bsd.prefs.mk" | |
27 | 27 | |||
28 | BUILD_DEFS+= VARBASE | 28 | BUILD_DEFS+= VARBASE | |
29 | 29 | |||
30 | BARMAN_DIR?= ${VARBASE}/lib/barman | 30 | BARMAN_DIR?= ${VARBASE}/lib/barman | |
31 | BARMAN_LOG_DIR?= ${VARBASE}/log/barman | 31 | BARMAN_LOG_DIR?= ${VARBASE}/log/barman | |
32 | BARMAN_USER= barman | 32 | BARMAN_USER= barman | |
33 | BARMAN_GROUP= ${BARMAN_USER} | 33 | BARMAN_GROUP= ${BARMAN_USER} | |
34 | 34 | |||
35 | PKG_GROUPS+= ${BARMAN_GROUP} | 35 | PKG_GROUPS+= ${BARMAN_GROUP} | |
36 | PKG_USERS+= ${BARMAN_USER}:${BARMAN_GROUP} | 36 | PKG_USERS+= ${BARMAN_USER}:${BARMAN_GROUP} | |
37 | PKG_GECOS.barman= PG Barman user | 37 | PKG_GECOS.barman= PG Barman user | |
38 | PKG_HOME.barman= ${BARMAN_DIR} | 38 | PKG_HOME.barman= ${BARMAN_DIR} | |
39 | 39 | |||
40 | OWN_DIRS_PERMS+= ${BARMAN_DIR} ${BARMAN_USER} ${BARMAN_GROUP} 0700 | 40 | OWN_DIRS_PERMS+= ${BARMAN_DIR} ${BARMAN_USER} ${BARMAN_GROUP} 0700 | |
41 | OWN_DIRS_PERMS+= ${BARMAN_LOG_DIR} ${BARMAN_USER} ${BARMAN_GROUP} 0755 | 41 | OWN_DIRS_PERMS+= ${BARMAN_LOG_DIR} ${BARMAN_USER} ${BARMAN_GROUP} 0755 | |
42 | 42 | |||
43 | SUBST_CLASSES+= path | 43 | SUBST_CLASSES+= path | |
44 | SUBST_STAGE.path= pre-configure | 44 | SUBST_STAGE.path= pre-configure | |
45 | SUBST_FILES.path= barman/config.py doc/barman.conf setup.py | 45 | SUBST_FILES.path= barman/config.py doc/barman.conf setup.py | |
46 | SUBST_MESSAGE.path= Fixing paths | 46 | SUBST_MESSAGE.path= Fixing paths | |
47 | SUBST_SED.path= -e 's,/etc/,${PKG_SYSCONFDIR}/,g' | 47 | SUBST_SED.path= -e 's,/etc/,${PKG_SYSCONFDIR}/,g' | |
48 | SUBST_SED.path+= -e 's,/var/lib/barman,${BARMAN_DIR},g' | 48 | SUBST_SED.path+= -e 's,/var/lib/barman,${BARMAN_DIR},g' | |
49 | SUBST_SED.path+= -e 's,/var/log/barman,${BARMAN_LOG_DIR},g' | 49 | SUBST_SED.path+= -e 's,/var/log/barman,${BARMAN_LOG_DIR},g' | |
50 | SUBST_SED.path+= -e 's,share/man,${PKGMANDIR},g' | 50 | SUBST_SED.path+= -e 's,share/man,${PKGMANDIR},g' | |
51 | 51 | |||
52 | post-install: | 52 | post-install: | |
53 | ${INSTALL_DATA} ${WRKSRC}/doc/barman.conf \ | 53 | ${INSTALL_DATA} ${WRKSRC}/doc/barman.conf \ | |
54 | ${DESTDIR}${PREFIX}/share/examples/barman/barman.conf | 54 | ${DESTDIR}${PREFIX}/share/examples/barman/barman.conf | |
55 | 55 | |||
56 | .include "../../lang/python/egg.mk" | 56 | .include "../../lang/python/egg.mk" | |
57 | .include "../../lang/python/versioned_dependencies.mk" | 57 | .include "../../lang/python/versioned_dependencies.mk" | |
58 | .include "../../mk/bsd.pkg.mk" | 58 | .include "../../mk/bsd.pkg.mk" |
@@ -1,64 +1,67 @@ | @@ -1,64 +1,67 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2014/11/04 12:56:14 fhajny Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2015/10/20 08:42:43 fhajny Exp $ | |
2 | bin/barman | 2 | bin/barman | |
3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
6 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 6 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 7 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
8 | ${PYSITELIB}/barman/__init__.py | 8 | ${PYSITELIB}/barman/__init__.py | |
9 | ${PYSITELIB}/barman/__init__.pyc | 9 | ${PYSITELIB}/barman/__init__.pyc | |
10 | ${PYSITELIB}/barman/__init__.pyo | 10 | ${PYSITELIB}/barman/__init__.pyo | |
11 | ${PYSITELIB}/barman/backup.py | 11 | ${PYSITELIB}/barman/backup.py | |
12 | ${PYSITELIB}/barman/backup.pyc | 12 | ${PYSITELIB}/barman/backup.pyc | |
13 | ${PYSITELIB}/barman/backup.pyo | 13 | ${PYSITELIB}/barman/backup.pyo | |
14 | ${PYSITELIB}/barman/backup_executor.py | |||
15 | ${PYSITELIB}/barman/backup_executor.pyc | |||
16 | ${PYSITELIB}/barman/backup_executor.pyo | |||
14 | ${PYSITELIB}/barman/cli.py | 17 | ${PYSITELIB}/barman/cli.py | |
15 | ${PYSITELIB}/barman/cli.pyc | 18 | ${PYSITELIB}/barman/cli.pyc | |
16 | ${PYSITELIB}/barman/cli.pyo | 19 | ${PYSITELIB}/barman/cli.pyo | |
17 | ${PYSITELIB}/barman/command_wrappers.py | 20 | ${PYSITELIB}/barman/command_wrappers.py | |
18 | ${PYSITELIB}/barman/command_wrappers.pyc | 21 | ${PYSITELIB}/barman/command_wrappers.pyc | |
19 | ${PYSITELIB}/barman/command_wrappers.pyo | 22 | ${PYSITELIB}/barman/command_wrappers.pyo | |
20 | ${PYSITELIB}/barman/compression.py | 23 | ${PYSITELIB}/barman/compression.py | |
21 | ${PYSITELIB}/barman/compression.pyc | 24 | ${PYSITELIB}/barman/compression.pyc | |
22 | ${PYSITELIB}/barman/compression.pyo | 25 | ${PYSITELIB}/barman/compression.pyo | |
23 | ${PYSITELIB}/barman/config.py | 26 | ${PYSITELIB}/barman/config.py | |
24 | ${PYSITELIB}/barman/config.pyc | 27 | ${PYSITELIB}/barman/config.pyc | |
25 | ${PYSITELIB}/barman/config.pyo | 28 | ${PYSITELIB}/barman/config.pyo | |
26 | ${PYSITELIB}/barman/diagnose.py | 29 | ${PYSITELIB}/barman/diagnose.py | |
27 | ${PYSITELIB}/barman/diagnose.pyc | 30 | ${PYSITELIB}/barman/diagnose.pyc | |
28 | ${PYSITELIB}/barman/diagnose.pyo | 31 | ${PYSITELIB}/barman/diagnose.pyo | |
29 | ${PYSITELIB}/barman/fs.py | 32 | ${PYSITELIB}/barman/fs.py | |
30 | ${PYSITELIB}/barman/fs.pyc | 33 | ${PYSITELIB}/barman/fs.pyc | |
31 | ${PYSITELIB}/barman/fs.pyo | 34 | ${PYSITELIB}/barman/fs.pyo | |
32 | ${PYSITELIB}/barman/hooks.py | 35 | ${PYSITELIB}/barman/hooks.py | |
33 | ${PYSITELIB}/barman/hooks.pyc | 36 | ${PYSITELIB}/barman/hooks.pyc | |
34 | ${PYSITELIB}/barman/hooks.pyo | 37 | ${PYSITELIB}/barman/hooks.pyo | |
35 | ${PYSITELIB}/barman/infofile.py | 38 | ${PYSITELIB}/barman/infofile.py | |
36 | ${PYSITELIB}/barman/infofile.pyc | 39 | ${PYSITELIB}/barman/infofile.pyc | |
37 | ${PYSITELIB}/barman/infofile.pyo | 40 | ${PYSITELIB}/barman/infofile.pyo | |
38 | ${PYSITELIB}/barman/lockfile.py | 41 | ${PYSITELIB}/barman/lockfile.py | |
39 | ${PYSITELIB}/barman/lockfile.pyc | 42 | ${PYSITELIB}/barman/lockfile.pyc | |
40 | ${PYSITELIB}/barman/lockfile.pyo | 43 | ${PYSITELIB}/barman/lockfile.pyo | |
41 | ${PYSITELIB}/barman/output.py | 44 | ${PYSITELIB}/barman/output.py | |
42 | ${PYSITELIB}/barman/output.pyc | 45 | ${PYSITELIB}/barman/output.pyc | |
43 | ${PYSITELIB}/barman/output.pyo | 46 | ${PYSITELIB}/barman/output.pyo | |
47 | ${PYSITELIB}/barman/recovery_executor.py | |||
48 | ${PYSITELIB}/barman/recovery_executor.pyc | |||
49 | ${PYSITELIB}/barman/recovery_executor.pyo | |||
44 | ${PYSITELIB}/barman/retention_policies.py | 50 | ${PYSITELIB}/barman/retention_policies.py | |
45 | ${PYSITELIB}/barman/retention_policies.pyc | 51 | ${PYSITELIB}/barman/retention_policies.pyc | |
46 | ${PYSITELIB}/barman/retention_policies.pyo | 52 | ${PYSITELIB}/barman/retention_policies.pyo | |
47 | ${PYSITELIB}/barman/server.py | 53 | ${PYSITELIB}/barman/server.py | |
48 | ${PYSITELIB}/barman/server.pyc | 54 | ${PYSITELIB}/barman/server.pyc | |
49 | ${PYSITELIB}/barman/server.pyo | 55 | ${PYSITELIB}/barman/server.pyo | |
50 | ${PYSITELIB}/barman/testing_helpers.py | |||
51 | ${PYSITELIB}/barman/testing_helpers.pyc | |||
52 | ${PYSITELIB}/barman/testing_helpers.pyo | |||
53 | ${PYSITELIB}/barman/utils.py | 56 | ${PYSITELIB}/barman/utils.py | |
54 | ${PYSITELIB}/barman/utils.pyc | 57 | ${PYSITELIB}/barman/utils.pyc | |
55 | ${PYSITELIB}/barman/utils.pyo | 58 | ${PYSITELIB}/barman/utils.pyo | |
56 | ${PYSITELIB}/barman/version.py | 59 | ${PYSITELIB}/barman/version.py | |
57 | ${PYSITELIB}/barman/version.pyc | 60 | ${PYSITELIB}/barman/version.pyc | |
58 | ${PYSITELIB}/barman/version.pyo | 61 | ${PYSITELIB}/barman/version.pyo | |
59 | ${PYSITELIB}/barman/xlog.py | 62 | ${PYSITELIB}/barman/xlog.py | |
60 | ${PYSITELIB}/barman/xlog.pyc | 63 | ${PYSITELIB}/barman/xlog.pyc | |
61 | ${PYSITELIB}/barman/xlog.pyo | 64 | ${PYSITELIB}/barman/xlog.pyo | |
62 | man/man1/barman.1 | 65 | man/man1/barman.1 | |
63 | man/man5/barman.5 | 66 | man/man5/barman.5 | |
64 | share/examples/barman/barman.conf | 67 | share/examples/barman/barman.conf |
@@ -1,6 +1,7 @@ | @@ -1,6 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.3 2015/06/09 15:06:39 fhajny Exp $ | 1 | $NetBSD: distinfo,v 1.4 2015/10/20 08:42:43 fhajny Exp $ | |
2 | 2 | |||
3 | SHA1 (barman-1.4.1.tar.gz) = 9f6465271bdac62d1a00c1f9e9da3737da0cd2ee | 3 | SHA1 (barman-1.5.0.tar.gz) = 9833e9023b011fbd87d3c68ad867683c8acbc356 | |
4 | RMD160 (barman-1.4.1.tar.gz) = 1ef7caae63fd5d7698cf2c9b6671c34044071200 | 4 | RMD160 (barman-1.5.0.tar.gz) = d2e81a588f2135efe7785b910e91d77cade49106 | |
5 | Size (barman-1.4.1.tar.gz) = 122048 bytes | 5 | SHA512 (barman-1.5.0.tar.gz) = 7b9501277868b141f3813a545fe5463a1f7cddb0d4aaeb6c13a21aa969ced4a0a53a38ecb6e091b84c0174dae0593235cb8b586bdd244b30776273030cdfc1e8 | |
6 | Size (barman-1.5.0.tar.gz) = 128132 bytes | |||
6 | SHA1 (patch-barman_utils.py) = 30723ff650fcbe0c1cf5108424d997bf96898fd4 | 7 | SHA1 (patch-barman_utils.py) = 30723ff650fcbe0c1cf5108424d997bf96898fd4 |