Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Dec 2011 17:02:43 GMT
From:      Mykhaylo Yehorov <yehorov@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163022: New port: databases/p5-bucardo Asynchronous PostgreSQL replication system
Message-ID:  <201112021702.pB2H2huv004724@red.freebsd.org>
Resent-Message-ID: <201112021710.pB2HA8gQ010795@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163022
>Category:       ports
>Synopsis:       New port: databases/p5-bucardo Asynchronous PostgreSQL replication system
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 02 17:10:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Mykhaylo Yehorov
>Release:        FreeBSD 8.2-STABLE
>Organization:
>Environment:
>Description:
Bucardo is an asynchronous PostgreSQL replication system,
allowing for both multi-master and multi-slave operations.
It was developed at Backcountry.com by Jon Jensen and Greg Sabino Mullane
of End Point Corporation, and is now in use at many other organizations.
Bucardo is free and open source software released under the BSD license.

WWW: http://bucardo.org/wiki/Bucardo

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-bucardo
#	p5-bucardo/pkg-descr
#	p5-bucardo/files
#	p5-bucardo/files/patch-bucardo_ctl-version
#	p5-bucardo/distinfo
#	p5-bucardo/Makefile
#	p5-bucardo/pkg-install
#	p5-bucardo/pkg-plist
#
echo c - p5-bucardo
mkdir -p p5-bucardo > /dev/null 2>&1
echo x - p5-bucardo/pkg-descr
sed 's/^X//' >p5-bucardo/pkg-descr << '02cabe2bdc5e2a3eb59e5d7b14b7e66f'
XBucardo is an asynchronous PostgreSQL replication system,
Xallowing for both multi-master and multi-slave operations.
XIt was developed at Backcountry.com by Jon Jensen and Greg Sabino Mullane
Xof End Point Corporation, and is now in use at many other organizations.
XBucardo is free and open source software released under the BSD license.
X
XWWW: http://bucardo.org/wiki/Bucardo
02cabe2bdc5e2a3eb59e5d7b14b7e66f
echo c - p5-bucardo/files
mkdir -p p5-bucardo/files > /dev/null 2>&1
echo x - p5-bucardo/files/patch-bucardo_ctl-version
sed 's/^X//' >p5-bucardo/files/patch-bucardo_ctl-version << 'ba889f077d3b3b93344243758b167804'
X--- orig/bucardo_ctl	2011-07-10 19:03:34.000000000 +0300
X+++ bucardo_ctl	2011-12-01 12:07:26.361003820 +0200
X@@ -22,7 +22,7 @@
X 
X return 1 if $ENV{BUCARDO_CTL_TEST};
X 
X-our $VERSION = '4.4.6';
X+our $VERSION = '4.4.7';
X 
X *STDOUT->autoflush(1);
X *STDERR->autoflush(1);
X@@ -5587,7 +5587,7 @@
X 
X =head1 VERSION
X 
X-This document describes version 4.4.6 of bucardo_ctl
X+This document describes version 4.4.7 of bucardo_ctl
X 
X =head1 SYNOPSIS
X 
ba889f077d3b3b93344243758b167804
echo x - p5-bucardo/distinfo
sed 's/^X//' >p5-bucardo/distinfo << '677a276800aeb39fdc033bf4ff314448'
XSHA256 (Bucardo-4.4.7.tar.gz) = 85da4d989dffe3f73152106831a339ad46b1dc1e7f449900328671d75b798413
XSIZE (Bucardo-4.4.7.tar.gz) = 191720
677a276800aeb39fdc033bf4ff314448
echo x - p5-bucardo/Makefile
sed 's/^X//' >p5-bucardo/Makefile << '07aec001a6f362b260f88e4b55813414'
X# New ports collection makefile for:	databases/p5-bucardo
X# Date created:				2 December 2011
X# Whom:					Mykhaylo Yehorov <yehorov@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	bucardo
XPORTVERSION=	4.4.7
XCATEGORIES=	databases net
XMASTER_SITES=	http://bucardo.org/downloads/
XDISTNAME=	Bucardo-${PORTVERSION}
X
XMAINTAINER=	yehorov@gmail.com
XCOMMENT=	Asynchronous PostgreSQL replication system
X
XRUN_DEPENDS=	postgresql-plperl>=8.1.0:${PORTSDIR}/databases/p5-postgresql-plperl \
X		p5-Sys-Syslog>=0.13:${PORTSDIR}/sysutils/p5-Sys-Syslog \
X		p5-DBIx-Safe>=1.2.4:${PORTSDIR}/databases/p5-DBIx-Safe
XBUILD_DEPENDS=	${RUN_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN1=		bucardo_ctl.1pm
X
Xpost-install:
X	@${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/scripts/bucardo_ctl.rc ${PREFIX}/etc/rc.d/bucardo_ctl
X	@${MKDIR} /var/run/bucardo
X
X.include <bsd.port.mk>
07aec001a6f362b260f88e4b55813414
echo x - p5-bucardo/pkg-install
sed 's/^X//' >p5-bucardo/pkg-install << 'ae3f269894b52fad7176156c22f63d70'
X#!/bin/sh
X
Xif [ "$2" = "POST-INSTALL" ] ; then
X	mkdir -p /var/run/bucardo 2>/dev/null
Xfi
X
Xexit 0
ae3f269894b52fad7176156c22f63d70
echo x - p5-bucardo/pkg-plist
sed 's/^X//' >p5-bucardo/pkg-plist << '3f96839caf8d135e6819b41a488b9317'
X%%SITE_PERL%%/Bucardo.pm
Xbin/bucardo_ctl
Xshare/bucardo/bucardo.schema
Xetc/rc.d/bucardo_ctl
3f96839caf8d135e6819b41a488b9317
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112021702.pB2H2huv004724>