diff options
author | randomdan <randomdan@localhost> | 2010-10-12 15:52:49 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-10-12 15:52:49 +0000 |
commit | 0212f54445c92a4247efb7c3bc84a1fa8e5ad16e (patch) | |
tree | ae956e3315b94fa25766b675529328fc7ecef389 /dev-db | |
parent | Allow playing with FF4 (diff) | |
download | portage-0212f54445c92a4247efb7c3bc84a1fa8e5ad16e.tar.bz2 portage-0212f54445c92a4247efb7c3bc84a1fa8e5ad16e.tar.xz portage-0212f54445c92a4247efb7c3bc84a1fa8e5ad16e.zip |
A v2 build of slony1
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/slony1/ChangeLog | 106 | ||||
-rw-r--r-- | dev-db/slony1/Manifest | 7 | ||||
-rw-r--r-- | dev-db/slony1/files/slony1.conf | 12 | ||||
-rwxr-xr-x | dev-db/slony1/files/slony1.init | 37 | ||||
-rw-r--r-- | dev-db/slony1/files/slony1_remove_jave.patch | 50 | ||||
-rw-r--r-- | dev-db/slony1/metadata.xml | 5 | ||||
-rw-r--r-- | dev-db/slony1/slony1-2.0.4.ebuild | 44 |
7 files changed, 261 insertions, 0 deletions
diff --git a/dev-db/slony1/ChangeLog b/dev-db/slony1/ChangeLog new file mode 100644 index 0000000..2fe64cd --- /dev/null +++ b/dev-db/slony1/ChangeLog @@ -0,0 +1,106 @@ +# ChangeLog for dev-db/slony1 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/ChangeLog,v 1.22 2010/06/17 19:15:30 patrick Exp $ + + 17 Jun 2010; Patrick Lauer <patrick@gentoo.org> slony1-1.1.5.ebuild, + slony1-1.2.10.ebuild, slony1-1.2.12.ebuild, slony1-1.2.17.ebuild: + Migrating away from deprecated postgres virtuals + +*slony1-1.2.17 (22 Oct 2009) + + 22 Oct 2009; Patrick Lauer <patrick@gentoo.org> +slony1-1.2.17.ebuild: + Bump + + 21 May 2008; Tiziano Müller <dev-zero@gentoo.org> slony1-1.1.5.ebuild, + slony1-1.2.10.ebuild, slony1-1.2.12.ebuild: + Changed dependency for postgresql from dev-db/postgresql to + virtual/postgresql-server + + 14 Mar 2008; Christian Heim <phreak@gentoo.org> slony1-1.1.5.ebuild, + slony1-1.2.10.ebuild, slony1-1.2.12.ebuild: + Fixing minor syntax errors. + + 14 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml: + Removing Masatomo Nakano (nakano, #200340) from metadata.xml. + +*slony1-1.2.12 (23 Dec 2007) + + 23 Dec 2007; masatomo <masatomo@gentoo.org> -slony1-1.2.9.ebuild, + +slony1-1.2.12.ebuild: + Version bump. + + 15 Aug 2007; Markus Ullmann <jokey@gentoo.org> slony1-1.2.10.ebuild: + Stable on x86 wrt bug #143600 + + 11 Aug 2007; Steve Dibb <beandog@gentoo.org> slony1-1.2.10.ebuild: + amd64 stable, bug 143600 + + 04 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org> + slony1-1.2.10.ebuild: + ppc stable, bug #143600 + +*slony1-1.2.10 (08 Jul 2007) + + 08 Jul 2007; masatomo <masatomo@gentoo.org> -slony1-1.1.0-r1.ebuild, + -slony1-1.1.1.ebuild, -slony1-1.2.6.ebuild, -slony1-1.2.8.ebuild, + +slony1-1.2.10.ebuild: + version bump. + +*slony1-1.2.9 (13 Apr 2007) + + 13 Apr 2007; Masatomo Nakano <nakano@gentoo.org> +slony1-1.2.9.ebuild: + Version bump. + +*slony1-1.2.8 (17 Mar 2007) + + 17 Mar 2007; Masatomo Nakano <nakano@gentoo.org> +slony1-1.2.8.ebuild: + Version bump. + +*slony1-1.2.6 (07 Mar 2007) + + 07 Mar 2007; Masatomo Nakano <nakano@gentoo.org> +slony1-1.2.6.ebuild: + Version bump. + + 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: + Transition to Manifest2. + +*slony1-1.1.5 (09 Feb 2006) + + 09 Feb 2006; Masatomo Nakano <nakano@gentoo.org> +slony1-1.1.5.ebuild: + Version bump. + +*slony1-1.1.1 (01 Oct 2005) + + 01 Oct 2005; Masatomo Nakano <nakano@gentoo.org> +slony1-1.1.1.ebuild: + Version bump. + +*slony1-1.1.0-r1 (13 Jul 2005) + + 13 Jul 2005; MATSUU Takuto <matsuu@gentoo.org> +slony1-1.1.0-r1.ebuild: + Added perl USE flag for --with-perltools. Bug 98200. + + 29 Jun 2005; Masatomo Nakano <nakano@gentoo.org> slony1-1.1.0_rc1.ebuild, + slony1-1.1.0.ebuild: + Fixed license. (#97348) + +*slony1-1.1.0 (27 Jun 2005) + + 27 Jun 2005; Masatomo Nakano <nakano@gentoo.org> + -slony1-1.1.0_beta4.ebuild, +slony1-1.1.0.ebuild: + Version bump. + + 16 Jun 2005; David Holm <dholm@gentoo.org> slony1-1.1.0_rc1.ebuild: + Added to ~ppc. + +*slony1-1.1.0_rc1 (15 Jun 2005) + + 15 Jun 2005; MATSUU Takuto <matsuu@gentoo.org> +slony1-1.1.0_rc1.ebuild: + Version bumped. Added ~amd64. + +*slony1-1.1.0_beta4 (11 May 2005) + + 11 May 2005; Masatomo Nakano <nakano@gentoo.org> + +files/slony1_remove_jave.patch, +files/slony1.conf, +files/slony1.init, + +metadata.xml, +slony1-1.1.0_beta4.ebuild: + Initial import. + diff --git a/dev-db/slony1/Manifest b/dev-db/slony1/Manifest new file mode 100644 index 0000000..6376d37 --- /dev/null +++ b/dev-db/slony1/Manifest @@ -0,0 +1,7 @@ +AUX slony1.conf 355 RMD160 179bcde2acbe09e96118058444087f8fc1dad0dd SHA1 9490aabdc897568e5898a6fd0dffaa602a4a38ac SHA256 f722568539e1dbb3a86aa65a2c44582780841823dbc6957ff9861a48ec38a0e3 +AUX slony1.init 720 RMD160 c906625e844bafe8e5bdd87d7348f56cdb03181d SHA1 0eb3b399da339b6cb2301f6de7db956c310aa15d SHA256 e25c1e302d6e578c56ae88a7c24cdb1042f7dc986f00565b5e7d933d8224e08a +AUX slony1_remove_jave.patch 1431 RMD160 8533996992fe6ab806b5f06dce013362187eafd0 SHA1 e1d2e5a21352f83397fc9563f83ffef11d2c42a5 SHA256 11db488c15e155893c784520f2ec0bf23c56d2af84b230848d6890b951d15976 +DIST slony1-2.0.4.tar.bz2 1012853 RMD160 5c630957a0fd9093cf18d74b52b39e37ebe36eed SHA1 878f104b9d7af70fdba180cc05337d73976fa7a1 SHA256 588e8e848cc5f34dc29cb54674cb0980fe3c15686275dc47c3ba87632d5ecc3b +EBUILD slony1-2.0.4.ebuild 1236 RMD160 9eef0b1863b2a86ff9c66ad6b5c8ca7111f48590 SHA1 692ddd43572923d3e120c7e726a436e344dc4fad SHA256 3bb97184ddc64ce19b2393206c825dd08e6c145cd78e125f82b11c1fa6344a8a +MISC ChangeLog 3229 RMD160 d8e9fb27fa544f23f6ca63dccf7cbf761a0e285e SHA1 d70f1d5d013bb75671ade34ae2ed8b37c63d22ea SHA256 a6e91a7f952e8b85c80dfebe8fc11bc6b1d5f900ea8322e0ab1859b4a822e18e +MISC metadata.xml 164 RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc SHA1 f67b7ac1c5e6e65ef5a19a589d4759c84918f86c SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b diff --git a/dev-db/slony1/files/slony1.conf b/dev-db/slony1/files/slony1.conf new file mode 100644 index 0000000..0782232 --- /dev/null +++ b/dev-db/slony1/files/slony1.conf @@ -0,0 +1,12 @@ +# /etc/conf.d/slony1: +# $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/files/slony1.conf,v 1.2 2007/03/07 23:18:21 nakano Exp $ + +# Configuration file for /etc/init.d/slony1 + +USER=postgres +CLUSTER=your_cluster_name +DBUSER=postgres +DBNAME=your_database_name +DBHOST=localhost +LOGFILE=/var/lib/postgresql/data/slony1.log +LOGLEVEL=1 # 1(minimum)..4(maximum) diff --git a/dev-db/slony1/files/slony1.init b/dev-db/slony1/files/slony1.init new file mode 100755 index 0000000..4f1469d --- /dev/null +++ b/dev-db/slony1/files/slony1.init @@ -0,0 +1,37 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/files/slony1.init,v 1.2 2007/03/07 23:18:21 nakano Exp $ + +depend() { + need postgresql +} + +start() { + ebegin "Starting slony1" + /usr/bin/slon -p /var/run/slony1.pid -d $LOGLEVEL $CLUSTER "dbname=$DBNAME user=$DBUSER host=$DBHOST" >> $LOGFILE 2>&1 & + + while : + do + cnt=$(($cnt + 1)) + if [ -f "/var/run/slony1.pid" ]; then + ret=0 + break + fi + + if [ $cnt -eq 30 ]; then + eerror "Please see log file: $LOGFILE" + ret=1 + break + fi + sleep 1 + done + eend $ret +} + +stop() { + ebegin "Stopping slony1" + kill `cat /var/run/slony1.pid` + eend $? +} + diff --git a/dev-db/slony1/files/slony1_remove_jave.patch b/dev-db/slony1/files/slony1_remove_jave.patch new file mode 100644 index 0000000..a335682 --- /dev/null +++ b/dev-db/slony1/files/slony1_remove_jave.patch @@ -0,0 +1,50 @@ +diff -Naru slony1-1.1.0.beta4.org/configure slony1-1.1.0.beta4/configure +--- slony1-1.1.0.beta4.org/configure 2005-04-06 20:00:54.000000000 +0100 ++++ slony1-1.1.0.beta4/configure 2005-05-11 20:44:49.000000000 +0100 +@@ -9563,46 +9563,6 @@ + test -n "$NSGMLS" && break + done + +-for ac_prog in openjade jade +-do +- # Extract the first word of "$ac_prog", so it can be a program name with args. +-set dummy $ac_prog; ac_word=$2 +-echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +-if test "${ac_cv_prog_JADE+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test -n "$JADE"; then +- ac_cv_prog_JADE="$JADE" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_prog_JADE="$ac_prog" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done +- +-fi +-fi +-JADE=$ac_cv_prog_JADE +-if test -n "$JADE"; then +- echo "$as_me:$LINENO: result: $JADE" >&5 +-echo "${ECHO_T}$JADE" >&6 +-else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi +- +- test -n "$JADE" && break +-done +- + + echo "$as_me:$LINENO: checking for DocBook V4.2" >&5 + echo $ECHO_N "checking for DocBook V4.2... $ECHO_C" >&6 diff --git a/dev-db/slony1/metadata.xml b/dev-db/slony1/metadata.xml new file mode 100644 index 0000000..d06e452 --- /dev/null +++ b/dev-db/slony1/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>postgresql</herd> +</pkgmetadata> diff --git a/dev-db/slony1/slony1-2.0.4.ebuild b/dev-db/slony1/slony1-2.0.4.ebuild new file mode 100644 index 0000000..6a78656 --- /dev/null +++ b/dev-db/slony1/slony1-2.0.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/slony1-1.2.17.ebuild,v 1.2 2010/06/17 19:15:30 patrick Exp $ + +inherit eutils + +IUSE="perl" + +DESCRIPTION="A replication system for the PostgreSQL Database Management System" +HOMEPAGE="http://slony.info/" +SRC_URI="http://main.slony.info/downloads/2.0/source/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND="dev-db/postgresql-server + perl? ( dev-perl/DBD-Pg )" + +src_compile() { + local myconf="" + + myconf="${myconf} --with-pgincludedir=/usr/include/postgresql/pgsql" + myconf="${myconf} --with-pgincludeserverdir=/usr/include/postgresql/server" + myconf="${myconf} $(use_with perl perltools)" + + econf ${myconf} || die "econf failed!" + emake || die "emake failed!" + + if use perl ; then + cd "${S}"/tools + emake || die "emake tools failed!" + fi +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed!" + + dodoc HISTORY-1.1 INSTALL README SAMPLE TODO UPGRADING doc/howto/*.txt + dohtml doc/howto/*.html + + newinitd "${FILESDIR}"/slony1.init slony1 || die "newinitd failed!" + newconfd "${FILESDIR}"/slony1.conf slony1 || die "newconfd failed!" +} |