From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6AD03138330 for ; Fri, 7 Oct 2016 18:01:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6607121C043; Fri, 7 Oct 2016 18:01:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3319A21C043 for ; Fri, 7 Oct 2016 18:01:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 442B2341419 for ; Fri, 7 Oct 2016 18:01:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED9CA248A for ; Fri, 7 Oct 2016 18:01:36 +0000 (UTC) From: "Aaron Swenson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Swenson" Message-ID: <1475863285.d89ba12f0d45d7e2bcbc3b582101dc01314715a6.titanofold@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/slony1/Manifest dev-db/slony1/slony1-2.2.5.ebuild X-VCS-Directories: dev-db/slony1/ X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron Swenson X-VCS-Revision: d89ba12f0d45d7e2bcbc3b582101dc01314715a6 X-VCS-Branch: master Date: Fri, 7 Oct 2016 18:01:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dc098fcf-652e-4058-87cf-07e99f6fe004 X-Archives-Hash: e554996d358fae85a0f9e568e6b90926 commit: d89ba12f0d45d7e2bcbc3b582101dc01314715a6 Author: Aaron W. Swenson gentoo org> AuthorDate: Fri Oct 7 18:00:55 2016 +0000 Commit: Aaron Swenson gentoo org> CommitDate: Fri Oct 7 18:01:25 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d89ba12f dev-db/slony1: Version Bump Added 9.5 and 9.6 as suitable dependencies. Bugs: 584778 Package-Manager: portage-2.2.28 dev-db/slony1/Manifest | 2 ++ dev-db/slony1/slony1-2.2.5.ebuild | 62 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-db/slony1/Manifest b/dev-db/slony1/Manifest index 07bdf09..9eebb21 100644 --- a/dev-db/slony1/Manifest +++ b/dev-db/slony1/Manifest @@ -12,3 +12,5 @@ DIST slony1-2.2.3-docs.tar.bz2 1448128 SHA256 de073555cd1d39ad7a9204eb21a7b7bced DIST slony1-2.2.3.tar.bz2 1468030 SHA256 1321988b437bd3294a07dc5ed85dfa3c35d9413287a49e4503ec47763fa1d3a8 SHA512 6f762ec722eb844d0c0c2923e2c1bee48c6fbf973cf719553a9f40b090e2ba08885cd089818b17c56a662fe5f35eadb4b060554adcd5abab5a1a250356590519 WHIRLPOOL 71686448418a09566c1b5767a598f5ebe943b33cba9664ec7696e70e5d62adc2daa5e2618a6aced0faeac0a621527738cdf2e54553a74dd1c5e08c6850d90e7a DIST slony1-2.2.4-docs.tar.bz2 1448892 SHA256 0417194a9245e615dedc00ef463e1357df09b110ecab860ba45fef7e80dcf2cf SHA512 4a9ae11aaaa79d710b3454068eb92915fa6b96df5e6b9f532f2f0ddc51f2865d8928b94d2a496374f87435751574062987d14568d30e38e7e28535d1b4e845d6 WHIRLPOOL 096820fa5276b04d305cdfc17abaf7daf28b95caaa75e15c0807712733c343e37b0d30577a826fc061fc659c170e11079f6bee0a2fffff3ba605d3e02a8d59c1 DIST slony1-2.2.4.tar.bz2 1467776 SHA256 846a878f50de520d151e7f76a66d9b9845e94beb8820727bf84ab522a73e65b5 SHA512 951ecb07ae9f8478affeeb5c968530f597c203b24341b600057107f53adcdc53afce7dd21893700bb8d0ebd26fceb0ebc60917c9f5992b315a2bce47a1d57867 WHIRLPOOL 8a29c24e735f140a915779b81a9f8b5aeaa7c75a4dc122fb8ba322c10aa8be8dfe38ec853f38a503f595b7685759241a169c430cf2a9ef6ddb7ebaa1b3f4448e +DIST slony1-2.2.5-docs.tar.bz2 1449297 SHA256 7afd749215ca63d5f808c2c199096d4d665923b277edaf75b01e4a8bfdf90472 SHA512 cdd08fcea56f29e8e944cd975b613747cfcab75e70d88afdec79b2ede96dc2d1b35b294cd12c522780e513b4cd26c43da401d9570ca67759dbb2271797a380ac WHIRLPOOL 18206b34d03cb685389398f00d681707471b0cbf9cb3dcefb4cc99b24c35f37c10acc32e573a1c255f85881700efde9e1c8c3948596ebc84fbf5254af866b147 +DIST slony1-2.2.5.tar.bz2 1466439 SHA256 6f6dbd9619c615ed68bf6341a8158e42fc0adf6f5b609e6f8e4a0a0e37815241 SHA512 06c5d8c136b1560aa6a3b1b7bfbad09fb6bbff7e3c530ceaf0279d4564dd1518c69647368deac9eb19ea5059a2d78fef26f62bd34315f5f3415ca0f5cb0992aa WHIRLPOOL 3b9b96c41fbe9da03362a866d3bc81da38be82625a9d25378b69cf322ba6aba05fc15f0725ba3f878e4a9d2b5e6609e50ad6d602f480e6e1482d1953135ecb14 diff --git a/dev-db/slony1/slony1-2.2.5.ebuild b/dev-db/slony1/slony1-2.2.5.ebuild new file mode 100644 index 00000000..2f1d431 --- /dev/null +++ b/dev-db/slony1/slony1-2.2.5.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +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:9.6 + dev-db/postgresql:9.5 + dev-db/postgresql:9.4 + dev-db/postgresql:9.3 + dev-db/postgresql:9.2 + dev-db/postgresql:9.1 + ) + dev-db/postgresql[server,threads] + perl? ( dev-perl/DBD-Pg ) +" + +pkg_setup() { + local PGSLOT="$(postgresql-config show)" + if [[ ${PGSLOT//.} < 91 ]] ; then + eerror "You must build ${CATEGORY}/${PN} against PostgreSQL 9.1 or higher." + eerror "Set an appropriate slot with postgresql-config." + die "postgresql-config not set to 9.1 or higher." + 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 +}