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 91CB1139694 for ; Sat, 22 Apr 2017 15:05:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C606BE0C1A; Sat, 22 Apr 2017 15:05:54 +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 8BEE9E0C1A for ; Sat, 22 Apr 2017 15:05:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6019F340988 for ; Sat, 22 Apr 2017 15:05:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28AD673F3 for ; Sat, 22 Apr 2017 15:05:52 +0000 (UTC) From: "Alexys Jacob" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexys Jacob" Message-ID: <1492873547.c25516b4a30d9c254d23852a5e033f43174a1a02.ultrabug@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/corosync/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/corosync/Manifest sys-cluster/corosync/corosync-2.4.2.ebuild X-VCS-Directories: sys-cluster/corosync/ X-VCS-Committer: ultrabug X-VCS-Committer-Name: Alexys Jacob X-VCS-Revision: c25516b4a30d9c254d23852a5e033f43174a1a02 X-VCS-Branch: master Date: Sat, 22 Apr 2017 15:05:52 +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: dc4cce2f-4fd1-4cb2-bde6-ec69ea56cd98 X-Archives-Hash: 403da6e992f8ad327aafd8030e994a5a commit: c25516b4a30d9c254d23852a5e033f43174a1a02 Author: Ultrabug gentoo org> AuthorDate: Sat Apr 22 15:05:04 2017 +0000 Commit: Alexys Jacob gentoo org> CommitDate: Sat Apr 22 15:05:47 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c25516b4 sys-cluster/corosync: version bump Package-Manager: Portage-2.3.5, Repoman-2.3.2 sys-cluster/corosync/Manifest | 1 + sys-cluster/corosync/corosync-2.4.2.ebuild | 83 ++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/sys-cluster/corosync/Manifest b/sys-cluster/corosync/Manifest index 8a9599f5ca6..7b8b36af528 100644 --- a/sys-cluster/corosync/Manifest +++ b/sys-cluster/corosync/Manifest @@ -4,3 +4,4 @@ DIST corosync-1.4.7.tar.gz 420596 SHA256 89d82641e3ddf28d906b74c7fd220844d617a84 DIST corosync-2.3.3.tar.gz 411784 SHA256 36a13f50e5f653837ab84e91676f001c2aedbc81ea84d3c7e017e740ea6f5a0a SHA512 66b479b2114641f02cd910f1bc3458948d5634b82e2019d7b1ea919f5bbb4817e91dddc33de061ff01dc4f12a3622b3418b7787e81a6f340d23043857cc9442f WHIRLPOOL 0cfdfcebf0956b420b81e6d9e04a12bdfbe639d07f793037f3ab7ee733508a1d48c53a00edcb78fab5700e00db07e150c1b4c12440394f1496d29238ba4615b5 DIST corosync-2.3.4.tar.gz 420184 SHA256 e5e9ee995dfabba4d2347f7d9a5ff85bde1e62f96e1c79dbd7022be2c5b425f4 SHA512 30914552b8af69ce37a5ea98f17a41f30fa01204ca8beee8218d94b8421769504b90c8e62f1e7222afb6429ead8a2d09ca36e71461c767a2b9bf662637f78bb0 WHIRLPOOL 39338ae185c7b97ca33d948f806f720bd9296bbbbff605b1bbd0a2eb6c595c5dee37ebe144d51eca0a049a0d0fa874c93b7110b222adc19008b1469d827be282 DIST corosync-2.3.5.tar.gz 428253 SHA256 ed8e234f8465d8bb1fbd09a4bca035ef5fd23c249a1278c8398c99e2040c0548 SHA512 212a95d8a68a2941f27c9ec22750a88598744d6fd4db6b46abe0b4cdfa988d3906f760bdf67c403d8c6d0a04da64f29ec744fb68ca51c7269ba58e306553cee9 WHIRLPOOL 7739d932859a1a4552048319d9dbbcb15223f305c236f87c5c4d82cabeb80a53010ab2d42b33a7d8b266c0045bbacd8ba42d452a2b55522f1426693bc669faca +DIST v2.4.2.tar.gz 547204 SHA256 0dd0ee718253c18c5090e0304eec72a7be8b18b6fe5e03de59ce095fa08c8b63 SHA512 45a4d2570d5d096e6f42070f701fdb2aaed26812b6a75f73ea415cf409b33343f8bc090b4fcf851ab971ca4b17925f239c31a3d9eafe4841dfbeb56537b2c78c WHIRLPOOL d4227909e4a85eca29edcd33111179789f6d6d3879c493fc54a81e38a02b5bea90e12100ceb8408bb66d6ced4477f824d24743c5e2ac91fb49e43bd8279a0b3c diff --git a/sys-cluster/corosync/corosync-2.4.2.ebuild b/sys-cluster/corosync/corosync-2.4.2.ebuild new file mode 100644 index 00000000000..877b4d25440 --- /dev/null +++ b/sys-cluster/corosync/corosync-2.4.2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="OSI Certified implementation of a complete cluster engine" +HOMEPAGE="http://www.corosync.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz" + +LICENSE="BSD-2 public-domain" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="doc infiniband static-libs systemd xml" + +# TODO: support those new configure flags +# --enable-augeas : Install the augeas lens for corosync.conf +# --enable-snmp : SNMP protocol support +# --enable-watchdog : Watchdog support +RDEPEND="!sys-cluster/heartbeat + infiniband? ( + sys-fabric/libibverbs:* + sys-fabric/librdmacm:* + ) + dev-libs/nss + >=sys-cluster/libqb-0.14.4" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( sys-apps/groff )" + +PATCHES=( "${FILESDIR}/${PN}-2.3.4-docs.patch" ) + +DOCS=( README.recovery SECURITY AUTHORS ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + default + # appends lib to localstatedir automatically + # FIXME: install just shared libs --disable-static does not work + econf_opts=( + --localstatedir=/var \ + --docdir=/usr/share/doc/${PF} \ + $(use_enable infiniband rdma) \ + $(use_enable systemd) \ + $(use_enable xml xmlconf) + ) + use doc && econf_opts+=( --enable-doc ) + econf "${econf_opts[@]}" +} + +src_install() { + default + newinitd "${FILESDIR}"/${PN}.initd ${PN} + + if use systemd; then + rm "${D}"/lib/systemd/system/corosync-notifyd.service || die + else + rm "${D}"/etc/init.d/corosync-notifyd || die + fi + + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotate ${PN} + + keepdir /var/lib/corosync + use static-libs || rm -rf "${D}"/usr/$(get_libdir)/*.{,l}a || die + +} + +pkg_postinst() { + if [[ ${REPLACING_VERSIONS} < 2.0 ]]; then + ewarn "!! IMPORTANT !!" + ewarn " " + ewarn "Migrating from a previous version of corosync can be dangerous !" + ewarn " " + ewarn "Make sure you backup your cluster configuration before proceeding" + ewarn " " + fi +}