From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 23 16:20:29 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DA1F16A4CE for ; Wed, 23 Jun 2004 16:20:29 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F2E943D5F for ; Wed, 23 Jun 2004 16:20:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i5NGKGKl061854 for ; Wed, 23 Jun 2004 16:20:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5NGKGtS061853; Wed, 23 Jun 2004 16:20:16 GMT (envelope-from gnats) Resent-Date: Wed, 23 Jun 2004 16:20:16 GMT Resent-Message-Id: <200406231620.i5NGKGtS061853@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Radim Kolar Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DFF516A4CE for ; Wed, 23 Jun 2004 16:18:39 +0000 (GMT) Received: from mail.tiscali.cz (stateless2.tiscali.cz [213.235.135.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id D787943D49 for ; Wed, 23 Jun 2004 16:18:38 +0000 (GMT) (envelope-from hsn@netmag.cz) Received: from sanatana.dharma (212.90.234.215) by mail.tiscali.cz (6.7.021) id 40B1F78600D2DEAA for FreeBSD-gnats-submit@freebsd.org; Wed, 23 Jun 2004 18:18:37 +0200 Received: from hsn@localhost by sanatana.dharma (Exim 4.33_1 FreeBSD) id 1BdALe-000PRT-5y for ; Wed, 23 Jun 2004 18:11:42 +0200 Message-Id: Date: Wed, 23 Jun 2004 18:11:42 +0200 From: Radim Kolar To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/68245: [NEW PORT] databases/slony1: PostgreSQL master to multiple slaves replication system X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2004 16:20:29 -0000 >Number: 68245 >Category: ports >Synopsis: [NEW PORT] databases/slony1: PostgreSQL master to multiple slaves 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: Wed Jun 23 16:20:15 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Radim Kolar >Release: FreeBSD 5.2.1-RELEASE-p6 i386 >Organization: >Environment: System: FreeBSD sanatana.dharma 5.2.1-RELEASE-p6 FreeBSD 5.2.1-RELEASE-p6 #7: Mon May 10 17:15:51 CEST 2004 >Description: Slony-I will be a "master to multiple slaves" replication system with cascading and failover. The big picture for the development of Slony-I is to build a master-slave system that includes all features and capabilities needed to replicate large databases to a reasonably limited number of slave systems. Slony-I is planned as a system for data centers and backup sites, where the normal mode of operation is that all nodes are available. WWW: http://www.slony.org/ Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: There is one thing special in this port. Slony1 needs postgresql source code as its own build dependency. >Fix: --- slony1-1.0.0.b3.shar begins here --- # 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: # # slony1 # slony1/Makefile # slony1/distinfo # slony1/pkg-descr # slony1/files # slony1/files/patch-builddocs # slony1/pkg-message # echo c - slony1 mkdir -p slony1 > /dev/null 2>&1 echo x - slony1/Makefile sed 's/^X//' >slony1/Makefile << 'END-of-slony1/Makefile' X# New ports collection makefile for: slony1 X# Date created: 20 Jun 2004 X# Whom: Radim Kolar X# X# $FreeBSD$ X# X XPORTNAME= slony1 XPORTVERSION= 1.0.0.b3 XCATEGORIES= databases XMASTER_SITES= http://developer.postgresql.org/~wieck/slony1/download/ XDISTNAME= slony1-1.0.0.beta3 X XMAINTAINER= hsn@netmag.cz XCOMMENT= PostgreSQL master to multiple slaves replication system X XBUILD_DEPENDS= ${LOCALBASE}/bin/pnmtops:${PORTSDIR}/graphics/netpbm \ X ${LOCALBASE}/bin/djpeg:${PORTSDIR}/graphics/jpeg \ X ${LOCALBASE}/bin/ps2pdf:${PORTSDIR}/print/ghostscript-gnu \ X ${LOCALBASE}/bin/msgfmt:${PORTSDIR}/devel/gettext XRUN_DEPENDS= ${LOCALBASE}/bin/postmaster:${PORTSDIR}/databases/postgresql7 X XGNU_CONFIGURE= yes XUSE_GMAKE= yes XCONFIGURE_ARGS= --with-pgsourcetree=${PGSQL_SRC} XPGSQL_SRC= `ls -d ${WRKDIR}/pg/postgresql-*` X XPLIST_FILES= bin/slon bin/slonik bin/slony_setup.pl \ X lib/postgresql/slony1_funcs.so lib/postgresql/xxid.so \ X share/postgresql/slony1_base.sql \ X share/postgresql/slony1_funcs.sql \ X share/postgresql/slony1_base.v73.sql \ X share/postgresql/slony1_base.v74.sql \ X share/postgresql/slony1_funcs.v73.sql \ X share/postgresql/slony1_funcs.v74.sql \ X share/postgresql/xxid.v73.sql \ X share/postgresql/xxid.v74.sql XPORTDOCS= *.pdf howto/*.txt COPYRIGHT README X Xpost-extract: X.ifdef(MAINTAINER_MODE) X cd ~/hacked/postgresql7 && ${MAKE} configure WRKDIR=${WRKDIR}/pg X.else X cd ${PORTSDIR}/databases/postgresql7 && ${MAKE} configure WRKDIR=${WRKDIR}/pg X.endif X Xpre-configure: X cd ${PGSQL_SRC}/src/interfaces/libpq && ${GMAKE} all X cd ${PGSQL_SRC}/src/port && ${GMAKE} all X Xdo-install: X cd ${WRKSRC} && ${GMAKE} install X ${INSTALL_SCRIPT} ${WRKSRC}/tools/slony_setup.pl ${PREFIX}/bin X.if ! defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${WRKSRC}/README ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/doc/concept/Slony-I-concept.pdf ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/doc/implementation/Slony-I-implementation.pdf ${DOCSDIR} X ${MKDIR} ${DOCSDIR}/howto X ${INSTALL_DATA} ${WRKSRC}/doc/howto/*.txt ${DOCSDIR}/howto X.endif X ${CAT} ${PKGMESSAGE} X X.include END-of-slony1/Makefile echo x - slony1/distinfo sed 's/^X//' >slony1/distinfo << 'END-of-slony1/distinfo' XMD5 (slony1-1.0.0.beta3.tar.gz) = ec82bf0a0374a232f87ff71ddfc7be7c XSIZE (slony1-1.0.0.beta3.tar.gz) = 317494 END-of-slony1/distinfo echo x - slony1/pkg-descr sed 's/^X//' >slony1/pkg-descr << 'END-of-slony1/pkg-descr' XSlony-I will be a "master to multiple slaves" replication Xsystem with cascading and failover. X XThe big picture for the development of Slony-I is to build Xa master-slave system that includes all features and Xcapabilities needed to replicate large databases to a Xreasonably limited number of slave systems. X XSlony-I is planned as a system for data centers and backup Xsites, where the normal mode of operation is that all nodes Xare available. X XWWW: http://www.slony.org/ END-of-slony1/pkg-descr echo c - slony1/files mkdir -p slony1/files > /dev/null 2>&1 echo x - slony1/files/patch-builddocs sed 's/^X//' >slony1/files/patch-builddocs << 'END-of-slony1/files/patch-builddocs' X--- doc/Makefile.orig Thu Mar 18 20:32:21 2004 X+++ doc/Makefile Wed Jun 23 17:30:53 2004 X@@ -15,9 +15,9 @@ X X DISTFILES = Makefile X X-all install installdirs: X+install installdirs: X X-clean distclean maintainer-clean: X+all clean distclean maintainer-clean: X for subdir in $(SUBDIRS) ; do \ X $(MAKE) -C $$subdir $@ ; \ X done END-of-slony1/files/patch-builddocs echo x - slony1/pkg-message sed 's/^X//' >slony1/pkg-message << 'END-of-slony1/pkg-message' XFor running slony you need: X slony system user X slony postgresql superuser X postgresql with TCP/IP communication enabled X XThere is a perl script slony_setup.pl which helps you to create initial Xconfiguration. Installing this package do not makes any needed system Xchanges. END-of-slony1/pkg-message exit --- slony1-1.0.0.b3.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: