From ba009ba195217c12805583278ab928cafbbe7d09 Mon Sep 17 00:00:00 2001 From: randomdan Date: Tue, 28 Dec 2010 03:33:50 +0000 Subject: Slony upgrade --- dev-db/slony1/Manifest | 2 ++ dev-db/slony1/slony1-2.0.6.ebuild | 46 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 dev-db/slony1/slony1-2.0.6.ebuild (limited to 'dev-db/slony1') diff --git a/dev-db/slony1/Manifest b/dev-db/slony1/Manifest index 0ca6024..6a2373c 100644 --- a/dev-db/slony1/Manifest +++ b/dev-db/slony1/Manifest @@ -2,6 +2,8 @@ AUX slony1.conf 311 RMD160 73c129473392ab5e0daaae0d80475b6dcd4e3727 SHA1 75d5a97 AUX slony1.init 727 RMD160 bb42edd46c021da2c06ab87e956dd7fd45b074d7 SHA1 b7d34bae0094d72861b6bf2dfdb3e610476acf07 SHA256 54e8c7dcc75beac01791c45f480452a3b3abebc20f50849b82a4714bffa310f5 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 EBUILD slony1-2.0.5-r1.ebuild 1336 RMD160 fce4f9760edf29d4f492005d516bbaf084334deb SHA1 3da045eb172fdcc9202d371bff5f901c1fcca77d SHA256 6985f9088f95b7369c47c3dfef306416096bbb3c3ef21e0ed9cf96fb527db959 +EBUILD slony1-2.0.6.ebuild 1336 RMD160 fce4f9760edf29d4f492005d516bbaf084334deb SHA1 3da045eb172fdcc9202d371bff5f901c1fcca77d SHA256 6985f9088f95b7369c47c3dfef306416096bbb3c3ef21e0ed9cf96fb527db959 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.0.6.ebuild b/dev-db/slony1/slony1-2.0.6.ebuild new file mode 100644 index 0000000..13da46f --- /dev/null +++ b/dev-db/slony1/slony1-2.0.6.ebuild @@ -0,0 +1,46 @@ +# 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!" + insinto /etc/logrotate.d/ + newins "${FILESDIR}"/slony1.logrotate slony1 || die "logrotate failed!" +} -- cgit v1.2.3