patrick     14/07/24 06:29:27

  Modified:             ChangeLog
  Added:                slony1-2.2.3.ebuild
  Log:
  Bump
  
  (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.49                 dev-db/slony1/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/ChangeLog?rev=1.49&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/ChangeLog?rev=1.49&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/ChangeLog?r1=1.48&r2=1.49

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-db/slony1/ChangeLog,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- ChangeLog   6 May 2014 09:28:17 -0000       1.48
+++ ChangeLog   24 Jul 2014 06:29:27 -0000      1.49
@@ -1,6 +1,11 @@
 # ChangeLog for dev-db/slony1
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/ChangeLog,v 1.48 2014/05/06 
09:28:17 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/ChangeLog,v 1.49 2014/07/24 
06:29:27 patrick Exp $
+
+*slony1-2.2.3 (24 Jul 2014)
+
+  24 Jul 2014; Patrick Lauer <patr...@gentoo.org> +slony1-2.2.3.ebuild:
+  Bump
 
 *slony1-2.2.2 (06 May 2014)
 



1.1                  dev-db/slony1/slony1-2.2.3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/slony1-2.2.3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/slony1-2.2.3.ebuild?rev=1.1&content-type=text/plain

Index: slony1-2.2.3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/slony1-2.2.3.ebuild,v 1.1 
2014/07/24 06:29:27 patrick Exp $

EAPI="4"

inherit eutils versionator

IUSE="doc perl"

DESCRIPTION="A replication system for the PostgreSQL Database Management System"
HOMEPAGE="http://slony.info/";

# ${P}-docs.tar.bz2 contains man pages as well as additional documentation
MAJ_PV=$(get_version_component_range 1-2)
SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
                 
http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2";

LICENSE="BSD GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

DEPEND="|| (
                        dev-db/postgresql-server:9.3
                        dev-db/postgresql-server:9.2
                        dev-db/postgresql-server:9.1
                        dev-db/postgresql-server:9.0
                        dev-db/postgresql-server:8.4
                        dev-db/postgresql-server:8.3
                )
                dev-db/postgresql-base[threads]
                perl? ( dev-perl/DBD-Pg )
"

pkg_setup() {
        local PGSLOT="$(postgresql-config show)"
        if [[ ${PGSLOT//.} < 83 ]] ; then
                eerror "You must build ${CATEGORY}/${PN} against PostgreSQL 8.3 
or higher."
                eerror "Set an appropriate slot with postgresql-config."
                die "postgresql-config not set to 8.3 or higher."
        fi

#       if [[ ${PGSLOT//.} > 90 ]] ; then
#               ewarn "You are building ${CATEGORY}/${PN} against a version of 
PostgreSQL greater than 9.0."
#               ewarn "This is neither supported here nor upstream."
#               ewarn "Any bugs you encounter should be reported upstream."
#       fi
}

src_configure() {
        local myconf
        use perl && myconf='--with-perltools'
        econf ${myconf}
}

src_install() {
        emake DESTDIR="${D}" install

        dodoc INSTALL README SAMPLE TODO UPGRADING share/slon.conf-sample

        if use doc ; then
                cd "${S}"/doc
                dohtml -r *
        fi

        newinitd "${FILESDIR}"/slony1.init slony1
        newconfd "${FILESDIR}"/slony1.conf slony1
}




Reply via email to