From ea749cd50246c2f1f30d6de10195f943f7d6886e Mon Sep 17 00:00:00 2001 From: randomdan Date: Wed, 16 Sep 2009 17:25:28 +0000 Subject: New postgresl and slony --- dev-db/slony1/Manifest | 2 + dev-db/slony1/slony1-2.0.2.ebuild | 43 ++++++++++++++++++++++ virtual/miller-postgresql/Manifest | 1 + .../miller-postgresql/miller-postgresql-3.ebuild | 12 ++++++ 4 files changed, 58 insertions(+) create mode 100644 dev-db/slony1/slony1-2.0.2.ebuild create mode 100644 virtual/miller-postgresql/miller-postgresql-3.ebuild diff --git a/dev-db/slony1/Manifest b/dev-db/slony1/Manifest index 84d8044..f477e30 100644 --- a/dev-db/slony1/Manifest +++ b/dev-db/slony1/Manifest @@ -1,4 +1,6 @@ AUX slony1.conf 356 RMD160 698e0a48d8c3b5a4ee3f03e78cceb16e44a36756 SHA1 9592d7b6778d270a9d82458bb09e1becc624830c SHA256 f5d4ed7dc04b93492d5b008622a0984c073f03a759189675ecae3d419bc601a8 AUX slony1.init 721 RMD160 adc753b27b1669ad2125dc4f11cc43f3e08c00c5 SHA1 8961074c46c8f518e54988b2d7c6221723cc2fd6 SHA256 f2adccbcda30def2e848ab8a47d75ee2b79cf9f694ad9105a9220b804274a1a9 DIST slony1-1.2.15.tar.bz2 871479 RMD160 c99a862bda6aca8adf7f838a872fc66eac556732 SHA1 cc0f5e5d904070a2496a66fe9482c2fdbdda372c SHA256 a8330b409d834309ee9a3dbde85563f6ce4800941443b7490a34a459cbc1aca8 +DIST slony1-2.0.2.tar.bz2 933793 RMD160 a757aa8bb1fe6fdacd592ff5778858fba64b03e2 SHA1 7c23b02389be7b3236fa092114196a3cd69ad38a SHA256 937ff0aad51cb4c7ef57d92431654c2d35ab22e0ff0f038f0a38e9c8af3b723f EBUILD slony1-1.2.15.ebuild 1237 RMD160 5c4f4f8bd281a3a542e42ea214d4a4e013815646 SHA1 a19b4a4e4081bf3287e42e875a04d918c27f3a77 SHA256 88c429ab0cceff381f5062773d4b10c6c9bdd9a7d471c6582612e6743ea67997 +EBUILD slony1-2.0.2.ebuild 1205 RMD160 f3c6c0c9d3448b8277d7bff5c291a90c4b2361d1 SHA1 d5bc2d42189e86abb026893c67ce4406de35cc55 SHA256 6b5afcd25b807703a6fab090074de360c7e85630cbeccbee8260a6c88a98d048 diff --git a/dev-db/slony1/slony1-2.0.2.ebuild b/dev-db/slony1/slony1-2.0.2.ebuild new file mode 100644 index 0000000..e8721fb --- /dev/null +++ b/dev-db/slony1/slony1-2.0.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvs/lportage/dev-db/slony1/slony1-2.0.2.ebuild,v 1.1 2009-09-16 17:24:50 randomdan 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="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!" +} diff --git a/virtual/miller-postgresql/Manifest b/virtual/miller-postgresql/Manifest index f2afb8f..84a1b15 100644 --- a/virtual/miller-postgresql/Manifest +++ b/virtual/miller-postgresql/Manifest @@ -5,3 +5,4 @@ EBUILD miller-postgresql-2-r1.ebuild 250 RMD160 90a5911aa23ca888e8827c9bf821f33c EBUILD miller-postgresql-2-r2.ebuild 257 RMD160 5540454fec3e19f639a4b7c63baa666c66999a32 SHA1 48c825e88e1d63bda10163ec5bc3e7a78466bc15 SHA256 56841c56da07e9892b5eae7e06b73b73f0a080571d70363f0d2f32eb583e1e28 EBUILD miller-postgresql-2-r3.ebuild 252 RMD160 027561cc474980af92bec35a5fe6d9b4c49c99e0 SHA1 525357fd94bc2a7c94d447493aae8cda8e484710 SHA256 fec341c23fea6ae20c81258fac93e8feff441953de57d494577c5ec0afbbf8e9 EBUILD miller-postgresql-2.ebuild 229 RMD160 a11ef6249064597f2e8470c44c33c8605a74fc9b SHA1 55a41039ed8e195fbf7b0684ab7104ed21adb078 SHA256 253e9fce3a255482cc4d53440592b908249fecfdf03e03cce1923d3401f605cc +EBUILD miller-postgresql-3.ebuild 253 RMD160 62a14c405b40d392a677db1ddacf87012544f9e8 SHA1 3b2d73b16f322e483148e80afc8ac12ce196c076 SHA256 12046c92386be76d220d8f85a58c50e1adc2097173b319babd1dba50ecd9e078 diff --git a/virtual/miller-postgresql/miller-postgresql-3.ebuild b/virtual/miller-postgresql/miller-postgresql-3.ebuild new file mode 100644 index 0000000..66cadee --- /dev/null +++ b/virtual/miller-postgresql/miller-postgresql-3.ebuild @@ -0,0 +1,12 @@ +DESCRIPTION="Virtual for Miller PostgreSQL servers" + +SLOT="0" +KEYWORDS="alpha amd64 arm ia64 mips ppc ppc-macos sparc sparc-fbsd x86 x86-fbsd" +IUSE="" + +DEPEND=" +virtual/miller-base +>=dev-db/apgdiff-1.2 +>=dev-db/postgresql-server-8.3 +>=dev-db/slony1-2" + -- cgit v1.2.3