summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-db/slony1/Manifest2
-rw-r--r--dev-db/slony1/slony1-2.1.0_beta1.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-db/slony1/Manifest b/dev-db/slony1/Manifest
index 799b88b..ec39167 100644
--- a/dev-db/slony1/Manifest
+++ b/dev-db/slony1/Manifest
@@ -3,7 +3,9 @@ AUX slony1.init 727 RMD160 bb42edd46c021da2c06ab87e956dd7fd45b074d7 SHA1 b7d34ba
AUX slony1.logrotate 143 RMD160 69be266c37aee891112dfe0cc7d7231f0db41101 SHA1 d231d63b69319269a3b5cc9839e741bffb5d89d6 SHA256 05d08a06816c65d300ddfdd461052e106aa8a37a14f32fb89a2b8a53ca5878c1
DIST slony1-2.0.5.tar.bz2 965640 RMD160 7235658277ab8a7ed0ee722d52f33e766534f18b SHA1 cc285c8d5659d2389caef281829f6110fe74a392 SHA256 4f382447a399966caf0dec94da208d6435fdc4d6341784f0e32468efa5f4a369
DIST slony1-2.0.6.tar.bz2 979208 RMD160 39ceec9fc823903e6e2c6080558ab5e00a476697 SHA1 6e3c8d9bb8ae138c089782836f9b303cadc82b97 SHA256 7630ce45c3ff64d032de0a519a0992fadee8887ce0a728c13a2fbe23371f324f
+DIST slony1-2.1.0.b1.tar.bz2 1006042 RMD160 c492e7a04cc34cdf93e4c44db147c12e86ac577e SHA1 1b9b05035f3396d3d1e7140de0d58e798038b1fd SHA256 304ab3322353ef7ddfe73ec10e28aa60f9d86ac815b0b50fedd4c26c44cdca4e
EBUILD slony1-2.0.5-r1.ebuild 1336 RMD160 fce4f9760edf29d4f492005d516bbaf084334deb SHA1 3da045eb172fdcc9202d371bff5f901c1fcca77d SHA256 6985f9088f95b7369c47c3dfef306416096bbb3c3ef21e0ed9cf96fb527db959
EBUILD slony1-2.0.6.ebuild 1320 RMD160 9d8bb9115a5a0f2ebd788d4d276808a68d17e634 SHA1 fc095d184cc7e9d56a6aaf2b0edeb98584f56266 SHA256 9fff18bc3a988dcf0a4d0d0c87ecfd40f1f50665a52980e0346b8f6b1a4cbd85
+EBUILD slony1-2.1.0_beta1.ebuild 1383 RMD160 16800fe2b2534b4a98a3707de4f55e9327f503a1 SHA1 89020ebb6f0ee2afa29285f1a6f9e38f39b8c698 SHA256 d347a1909b7fb9eb4531f696a73c4f6e3b482253743b0838e0fa9c453eeb82e5
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/slony1-2.1.0_beta1.ebuild b/dev-db/slony1/slony1-2.1.0_beta1.ebuild
new file mode 100644
index 0000000..ed13e1f
--- /dev/null
+++ b/dev-db/slony1/slony1-2.1.0_beta1.ebuild
@@ -0,0 +1,47 @@
+# 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.1/source/slony1-2.1.0.b1.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="dev-db/postgresql-server
+ perl? ( dev-perl/DBD-Pg )"
+S="${WORKDIR}/slony1-2.1.0.b1"
+
+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 || die
+ 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!"
+ insinto /etc/logrotate.d/
+ newins "${FILESDIR}"/slony1.logrotate slony1 || die "logrotate failed!"
+}