From: | "Robin H. Johnson (robbat2)" <robbat2@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-db/repmgr: metadata.xml repmgr-3.0.1.ebuild ChangeLog |
Date: | Sun, 02 Aug 2015 16:11:57 |
Message-Id: | 20150802161145.F3407115@oystercatcher.gentoo.org |
1 | robbat2 15/08/02 16:11:45 |
2 | |
3 | Added: metadata.xml repmgr-3.0.1.ebuild ChangeLog |
4 | Log: |
5 | Initial commit, based on ebuild from https://github.com/uu/ubuilds/blob/master/dev-db/repmgr/repmgr-9999.ebuild. |
6 | |
7 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key ) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-db/repmgr/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/repmgr/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/repmgr/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <maintainer> |
21 | <email>robbat2@g.o</email> |
22 | </maintainer> |
23 | <maintainer> |
24 | <email>betelguese@g.o</email> |
25 | </maintainer> |
26 | <use> |
27 | </use> |
28 | </pkgmetadata> |
29 | |
30 | |
31 | |
32 | 1.1 dev-db/repmgr/repmgr-3.0.1.ebuild |
33 | |
34 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/repmgr/repmgr-3.0.1.ebuild?rev=1.1&view=markup |
35 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/repmgr/repmgr-3.0.1.ebuild?rev=1.1&content-type=text/plain |
36 | |
37 | Index: repmgr-3.0.1.ebuild |
38 | =================================================================== |
39 | # Copyright 1999-2015 Gentoo Foundation |
40 | # Distributed under the terms of the GNU General Public License v2 |
41 | # $Header: /var/cvsroot/gentoo-x86/dev-db/repmgr/repmgr-3.0.1.ebuild,v 1.1 2015/08/02 16:11:45 robbat2 Exp $ |
42 | |
43 | EAPI=5 |
44 | inherit eutils |
45 | DESCRIPTION="PostgreSQL Replication Manager" |
46 | HOMEPAGE="http://www.repmgr.org/" |
47 | SRC_URI="http://www.repmgr.org/download/${P}.tar.gz" |
48 | LICENSE="GPL-3" |
49 | SLOT="0" |
50 | KEYWORDS="~amd64 ~x86" |
51 | |
52 | IUSE="" |
53 | |
54 | DEPEND=">=dev-db/postgresql-9.3[server]" |
55 | RDEPEND="${DEPEND} |
56 | net-misc/rsync" |
57 | |
58 | src_compile() { |
59 | emake USE_PGXS=1 |
60 | } |
61 | |
62 | src_install() { |
63 | emake DESTDIR="${D}" USE_PGXS=1 install |
64 | find $D -ls |
65 | export PGSLOT="$(postgresql-config show)" |
66 | einfo "PGSLOT: ${PGSLOT}" |
67 | PGBINDIR=${PGBASEDIR}/bin/ |
68 | PGCONTRIB=/usr/share/postgresql-${PGSLOT}/contrib/ |
69 | dodir $PGCONTRIB $PGBINDIR |
70 | insinto $PGCONTRIB |
71 | doins sql/repmgr2_repmgr3.sql |
72 | dosym $PGBINDIR/repmgr /usr/bin/repmgr94 |
73 | dosym $PGBINDIR/repmgrd /usr/bin/repmgrd94 |
74 | dodoc CREDITS HISTORY COPYRIGHT LICENSE TODO *.md *.rst |
75 | insinto /etc |
76 | newins repmgr.conf.sample repmgr.conf |
77 | fowners postgres:postgres /etc/repmgr.conf |
78 | ewarn "Remember to modify /etc/repmgr.conf" |
79 | } |
80 | |
81 | |
82 | |
83 | 1.1 dev-db/repmgr/ChangeLog |
84 | |
85 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/repmgr/ChangeLog?rev=1.1&view=markup |
86 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/repmgr/ChangeLog?rev=1.1&content-type=text/plain |
87 | |
88 | Index: ChangeLog |
89 | =================================================================== |
90 | # ChangeLog for dev-db/repmgr |
91 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
92 | # $Header: /var/cvsroot/gentoo-x86/dev-db/repmgr/ChangeLog,v 1.1 2015/08/02 16:11:45 robbat2 Exp $ |
93 | |
94 | *repmgr-3.0.1 (02 Aug 2015) |
95 | |
96 | 02 Aug 2015; Robin H. Johnson <robbat2@g.o> +metadata.xml, |
97 | +repmgr-3.0.1.ebuild: |
98 | Initial commit, based on ebuild from https://github.com/uu/ubuilds/blob/master |
99 | /dev-db/repmgr/repmgr-9999.ebuild. |