From owner-svn-ports-head@FreeBSD.ORG Tue Dec 2 15:41:16 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0CD02B7; Tue, 2 Dec 2014 15:41:16 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 816059CC; Tue, 2 Dec 2014 15:41:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sB2FfGoj086927; Tue, 2 Dec 2014 15:41:16 GMT (envelope-from matthew@FreeBSD.org) Received: (from matthew@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sB2FfEb0086699; Tue, 2 Dec 2014 15:41:14 GMT (envelope-from matthew@FreeBSD.org) Message-Id: <201412021541.sB2FfEb0086699@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: matthew set sender to matthew@FreeBSD.org using -f From: Matthew Seaman Date: Tue, 2 Dec 2014 15:41:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r373768 - in head/databases: . pgbarman pgbarman/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2014 15:41:16 -0000 Author: matthew Date: Tue Dec 2 15:41:14 2014 New Revision: 373768 URL: https://svnweb.freebsd.org/changeset/ports/373768 QAT: https://qat.redports.org/buildarchive/r373768/ Log: New port: Barman: backup and recovery manager for PostgreSQL. Barman is an open-source administration tool for disaster recovery of PostgreSQL servers written in Python. It allows your organisation to perform remote backups of multiple servers in business critical environments and helps DBAs during the recovery phase. WWW: http://www.pgbarman.org/ Added: head/databases/pgbarman/ head/databases/pgbarman/Makefile (contents, props changed) head/databases/pgbarman/distinfo (contents, props changed) head/databases/pgbarman/files/ head/databases/pgbarman/files/patch-barman_config.py (contents, props changed) head/databases/pgbarman/pkg-descr (contents, props changed) head/databases/pgbarman/pkg-plist (contents, props changed) Modified: head/databases/Makefile Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Tue Dec 2 15:37:29 2014 (r373767) +++ head/databases/Makefile Tue Dec 2 15:41:14 2014 (r373768) @@ -536,6 +536,7 @@ SUBDIR += pgadmin3 SUBDIR += pgagent SUBDIR += pgbadger + SUBDIR += pgbarman SUBDIR += pgbouncer SUBDIR += pgdbf SUBDIR += pgespresso Added: head/databases/pgbarman/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pgbarman/Makefile Tue Dec 2 15:41:14 2014 (r373768) @@ -0,0 +1,43 @@ +# Created by: MAtthew Seaman +# $FreeBSD$ + +PORTNAME= barman +DISTVERSION= 1.3.3 +CATEGORIES= databases +MASTER_SITES= SF/${PKGNAMEPREFIX}${PORTNAME}/${DISTVERSION} +PKGNAMEPREFIX= pg +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} barman-tutorial.en.pdf +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= matthew@FreeBSD.org +COMMENT= Backup and recovery manager for PostgreSQL + +LICENSE= GPLv3 + +RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync \ + ${PYTHON_PKGNAMEPREFIX}psycopg2>0:${PORTSDIR}/databases/py-psycopg2 \ + ${PYTHON_PKGNAMEPREFIX}dateutil>=2.1:${PORTSDIR}/devel/py-dateutil \ + ${PYTHON_PKGNAMEPREFIX}argh>0:${PORTSDIR}/devel/py-argh + +USERS= barman +GROUPS= barman + +USES= python pgsql +WANT_PGSQL= client +USE_PYTHON= autoplist distutils + +PORTDOCS= barman-tutorial.en.pdf + +post-extract: + ${CP} ${DISTDIR}/${PORTDOCS} ${WRKDIR}/ + +post-patch: + ${SED} -i -e "s@%%PREFIX%%@${PREFIX}@" ${WRKSRC}/barman/config.py + +post-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${ETCDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/barman.conf ${STAGEDIR}${ETCDIR}/barman.conf.sample + +.include Added: head/databases/pgbarman/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pgbarman/distinfo Tue Dec 2 15:41:14 2014 (r373768) @@ -0,0 +1,4 @@ +SHA256 (barman-1.3.3.tar.gz) = 3e3af2fec16ac2836965a4c135d9ef4959ed690fb40ef06571d03ff526448468 +SIZE (barman-1.3.3.tar.gz) = 111462 +SHA256 (barman-tutorial.en.pdf) = f05666353ba61d8faeed70fcb32a6bc46fa4450dce6af9df462c2efeffad6734 +SIZE (barman-tutorial.en.pdf) = 276813 Added: head/databases/pgbarman/files/patch-barman_config.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pgbarman/files/patch-barman_config.py Tue Dec 2 15:41:14 2014 (r373768) @@ -0,0 +1,13 @@ +--- barman/config.py.orig 2014-12-02 14:47:11 UTC ++++ barman/config.py +@@ -341,8 +341,8 @@ class Config(object): + """ + CONFIG_FILES = [ + '~/.barman.conf', +- '/etc/barman.conf', +- '/etc/barman/barman.conf', ++ '%%PREFIX%%/etc/barman.conf', ++ '%%PREFIX%%/etc/barman/barman.conf', + ] + + _QUOTE_RE = re.compile(r"""^(["'])(.*)\1$""") Added: head/databases/pgbarman/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pgbarman/pkg-descr Tue Dec 2 15:41:14 2014 (r373768) @@ -0,0 +1,11 @@ + +Barman: backup and recovery manager for PostgreSQL. + +Barman is an open-source administration tool for disaster recovery of +PostgreSQL servers written in Python. + +It allows your organisation to perform remote backups of multiple +servers in business critical environments and helps DBAs during the +recovery phase. + +WWW: http://www.pgbarman.org/ Added: head/databases/pgbarman/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pgbarman/pkg-plist Tue Dec 2 15:41:14 2014 (r373768) @@ -0,0 +1 @@ +@sample %%ETCDIR%%/barman.conf.sample