From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-db/slony1: slony1-2.2.2.ebuild ChangeLog |
Date: | Tue, 06 May 2014 09:28:21 |
Message-Id: | 20140506092817.473852004C@flycatcher.gentoo.org |
1 | patrick 14/05/06 09:28:17 |
2 | |
3 | Modified: ChangeLog |
4 | Added: slony1-2.2.2.ebuild |
5 | Log: |
6 | Bump |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit) |
9 | |
10 | Revision Changes Path |
11 | 1.48 dev-db/slony1/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/ChangeLog?rev=1.48&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/ChangeLog?rev=1.48&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/ChangeLog?r1=1.47&r2=1.48 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-db/slony1/ChangeLog,v |
20 | retrieving revision 1.47 |
21 | retrieving revision 1.48 |
22 | diff -u -r1.47 -r1.48 |
23 | --- ChangeLog 27 Nov 2013 04:17:32 -0000 1.47 |
24 | +++ ChangeLog 6 May 2014 09:28:17 -0000 1.48 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-db/slony1 |
27 | -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/ChangeLog,v 1.47 2013/11/27 04:17:32 patrick Exp $ |
29 | +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/ChangeLog,v 1.48 2014/05/06 09:28:17 patrick Exp $ |
31 | + |
32 | +*slony1-2.2.2 (06 May 2014) |
33 | + |
34 | + 06 May 2014; Patrick Lauer <patrick@g.o> +slony1-2.2.2.ebuild: |
35 | + Bump |
36 | |
37 | *slony1-2.2.1 (27 Nov 2013) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 dev-db/slony1/slony1-2.2.2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/slony1-2.2.2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/slony1-2.2.2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: slony1-2.2.2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2014 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/slony1-2.2.2.ebuild,v 1.1 2014/05/06 09:28:17 patrick Exp $ |
52 | |
53 | EAPI="4" |
54 | |
55 | inherit eutils versionator |
56 | |
57 | IUSE="doc perl" |
58 | |
59 | DESCRIPTION="A replication system for the PostgreSQL Database Management System" |
60 | HOMEPAGE="http://slony.info/" |
61 | |
62 | # ${P}-docs.tar.bz2 contains man pages as well as additional documentation |
63 | MAJ_PV=$(get_version_component_range 1-2) |
64 | SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2 |
65 | http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2" |
66 | |
67 | LICENSE="BSD GPL-2" |
68 | SLOT="0" |
69 | KEYWORDS="~amd64 ~ppc ~x86" |
70 | |
71 | DEPEND="|| ( |
72 | dev-db/postgresql-server:9.3 |
73 | dev-db/postgresql-server:9.2 |
74 | dev-db/postgresql-server:9.1 |
75 | dev-db/postgresql-server:9.0 |
76 | dev-db/postgresql-server:8.4 |
77 | dev-db/postgresql-server:8.3 |
78 | ) |
79 | dev-db/postgresql-base[threads] |
80 | perl? ( dev-perl/DBD-Pg ) |
81 | " |
82 | |
83 | pkg_setup() { |
84 | local PGSLOT="$(postgresql-config show)" |
85 | if [[ ${PGSLOT//.} < 83 ]] ; then |
86 | eerror "You must build ${CATEGORY}/${PN} against PostgreSQL 8.3 or higher." |
87 | eerror "Set an appropriate slot with postgresql-config." |
88 | die "postgresql-config not set to 8.3 or higher." |
89 | fi |
90 | |
91 | # if [[ ${PGSLOT//.} > 90 ]] ; then |
92 | # ewarn "You are building ${CATEGORY}/${PN} against a version of PostgreSQL greater than 9.0." |
93 | # ewarn "This is neither supported here nor upstream." |
94 | # ewarn "Any bugs you encounter should be reported upstream." |
95 | # fi |
96 | } |
97 | |
98 | src_configure() { |
99 | local myconf |
100 | use perl && myconf='--with-perltools' |
101 | econf ${myconf} |
102 | } |
103 | |
104 | src_install() { |
105 | emake DESTDIR="${D}" install |
106 | |
107 | dodoc INSTALL README SAMPLE TODO UPGRADING share/slon.conf-sample |
108 | |
109 | if use doc ; then |
110 | cd "${S}"/doc |
111 | dohtml -r * |
112 | fi |
113 | |
114 | newinitd "${FILESDIR}"/slony1.init slony1 |
115 | newconfd "${FILESDIR}"/slony1.conf slony1 |
116 | } |