ultrabug    14/12/02 14:30:00

  Modified:             ChangeLog
  Added:                corosync-2.3.4.ebuild
  Removed:              corosync-1.4.5.ebuild
  Log:
  version bump, drop old
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
B658FA13)

Revision  Changes    Path
1.32                 sys-cluster/corosync/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/corosync/ChangeLog?rev=1.32&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/corosync/ChangeLog?rev=1.32&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/corosync/ChangeLog?r1=1.31&r2=1.32

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/corosync/ChangeLog,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- ChangeLog   12 Aug 2014 15:27:41 -0000      1.31
+++ ChangeLog   2 Dec 2014 14:30:00 -0000       1.32
@@ -1,6 +1,12 @@
 # ChangeLog for sys-cluster/corosync
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/corosync/ChangeLog,v 1.31 
2014/08/12 15:27:41 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/corosync/ChangeLog,v 1.32 
2014/12/02 14:30:00 ultrabug Exp $
+
+*corosync-2.3.4 (02 Dec 2014)
+
+  02 Dec 2014; Ultrabug <[email protected]> -corosync-1.4.5.ebuild,
+  +corosync-2.3.4.ebuild, +files/corosync-2.3.4-docs.patch:
+  version bump, drop old
 
 *corosync-2.3.3 (12 Aug 2014)
 *corosync-1.4.7 (12 Aug 2014)



1.1                  sys-cluster/corosync/corosync-2.3.4.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/corosync/corosync-2.3.4.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/corosync/corosync-2.3.4.ebuild?rev=1.1&content-type=text/plain

Index: corosync-2.3.4.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/corosync/corosync-2.3.4.ebuild,v 
1.1 2014/12/02 14:30:00 ultrabug Exp $

EAPI=4

inherit autotools base

MY_TREE="4dc01e3"

DESCRIPTION="OSI Certified implementation of a complete cluster engine"
HOMEPAGE="http://www.corosync.org/";
SRC_URI="https://github.com/corosync/corosync/tarball/v${PV} -> ${P}.tar.gz"

LICENSE="BSD-2 public-domain"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~x86"
IUSE="doc infiniband static-libs"

# TODO: support those new configure flags
# --enable-watchdog : Watchdog support
# --enable-augeas : Install the augeas lens for corosync.conf
# --enable-snmp : SNMP protocol support
# --enable-xmlconf : XML configuration support
# --enable-systemd : Install systemd service files
RDEPEND="!sys-cluster/heartbeat
        infiniband? (
                sys-infiniband/libibverbs
                sys-infiniband/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 )

S="${WORKDIR}/${PN}-${PN}-${MY_TREE}"

src_prepare() {
        base_src_prepare
        eautoreconf
}

src_configure() {
        # appends lib to localstatedir automatically
        # FIXME: install just shared libs --disable-static does not work
        econf \
                --localstatedir=/var \
                --docdir=/usr/share/doc/${PF} \
                $(use_enable doc) \
                $(use_enable infiniband rdma)
}

src_install() {
        default
        newinitd "${FILESDIR}"/${PN}.initd ${PN}
        rm "${D}"/etc/init.d/corosync-notifyd || die

        insinto /etc/logrotate.d
        newins "${FILESDIR}"/${PN}.logrotate ${PN}

        keepdir /var/lib/corosync
        use static-libs || rm -rf "${D}"/usr/$(get_libdir)/*.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
}



Reply via email to