Gentoo Archives: gentoo-commits

From: "Aaron Swenson (titanofold)" <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/slony1: ChangeLog slony1-2.1.0.ebuild
Date: Mon, 30 Jan 2012 11:45:17
Message-Id: 20120130114507.59FA72004B@flycatcher.gentoo.org
1 titanofold 12/01/30 11:45:07
2
3 Modified: ChangeLog
4 Added: slony1-2.1.0.ebuild
5 Log:
6 Version bump. Fixes bug 395689.
7
8 (Portage version: 2.1.10.41/cvs/Linux i686)
9
10 Revision Changes Path
11 1.26 dev-db/slony1/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/ChangeLog?rev=1.26&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/ChangeLog?rev=1.26&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/ChangeLog?r1=1.25&r2=1.26
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/slony1/ChangeLog,v
20 retrieving revision 1.25
21 retrieving revision 1.26
22 diff -u -r1.25 -r1.26
23 --- ChangeLog 10 Aug 2011 22:47:31 -0000 1.25
24 +++ ChangeLog 30 Jan 2012 11:45:07 -0000 1.26
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-db/slony1
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/ChangeLog,v 1.25 2011/08/10 22:47:31 titanofold Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/ChangeLog,v 1.26 2012/01/30 11:45:07 titanofold Exp $
31 +
32 +*slony1-2.1.0 (30 Jan 2012)
33 +
34 + 30 Jan 2012; Aaron W. Swenson <titanofold@g.o> +slony1-2.1.0.ebuild:
35 + Version bump. Fixes bug 395689.
36
37 *slony1-2.0.7-r1 (10 Aug 2011)
38
39
40
41
42 1.1 dev-db/slony1/slony1-2.1.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/slony1-2.1.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/slony1-2.1.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: slony1-2.1.0.ebuild
48 ===================================================================
49 # Copyright 1999-2012 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.1.0.ebuild,v 1.1 2012/01/30 11:45:07 titanofold 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"
68 SLOT="0"
69 KEYWORDS="~amd64 ~ppc ~x86"
70
71 DEPEND="|| (
72 dev-db/postgresql-server:9.1
73 dev-db/postgresql-server:9.0
74 dev-db/postgresql-server:8.4
75 dev-db/postgresql-server:8.3
76 )
77 dev-db/postgresql-base[threads]
78 perl? ( dev-perl/DBD-Pg )
79 "
80
81 pkg_setup() {
82 local PGSLOT="$(postgresql-config show)"
83 if [[ ${PGSLOT//.} < 83 ]] ; then
84 eerror "You must build ${CATEGORY}/${PN} against PostgreSQL 8.3 or higher."
85 eerror "Set an appropriate slot with postgresql-config."
86 die "postgresql-config not set to 8.3 or higher."
87 fi
88
89 # if [[ ${PGSLOT//.} > 90 ]] ; then
90 # ewarn "You are building ${CATEGORY}/${PN} against a version of PostgreSQL greater than 9.0."
91 # ewarn "This is neither supported here nor upstream."
92 # ewarn "Any bugs you encounter should be reported upstream."
93 # fi
94 }
95
96 src_prepare() {
97 epatch "${FILESDIR}/ldflags.patch"
98 }
99
100 src_configure() {
101 local myconf
102 use perl && myconf='--with-perltools'
103 econf ${myconf}
104 }
105
106 src_install() {
107 emake DESTDIR="${D}" install
108
109 dodoc HISTORY-1.1 INSTALL README SAMPLE TODO UPGRADING doc/howto/*.txt
110
111 doman "${S}"/doc/adminguide/man{1,7}/*
112
113 if use doc ; then
114 cd "${S}"/doc
115 dohtml -r *
116 fi
117
118 newinitd "${FILESDIR}"/slony1.init slony1
119 newconfd "${FILESDIR}"/slony1.conf slony1
120 }