xarthisius    15/01/13 04:49:06

  Modified:             ChangeLog
  Added:                corosync-2.3.4-r1.ebuild
  Removed:              corosync-2.3.4.ebuild
  Log:
  Remove .la files, fixes #534084 by RAPHEAD <[email protected]>
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
0x5D21B852895192F9)

Revision  Changes    Path
1.35                 sys-cluster/corosync/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/corosync/ChangeLog,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- ChangeLog   30 Dec 2014 11:10:14 -0000      1.34
+++ ChangeLog   13 Jan 2015 04:49:06 -0000      1.35
@@ -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.34 
2014/12/30 11:10:14 ultrabug Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/corosync/ChangeLog,v 1.35 
2015/01/13 04:49:06 xarthisius Exp $
+
+*corosync-2.3.4-r1 (13 Jan 2015)
+
+  13 Jan 2015; Kacper Kowalik <[email protected]> 
+corosync-2.3.4-r1.ebuild,
+  -corosync-2.3.4.ebuild:
+  Remove .la files, fixes #534084 by RAPHEAD <[email protected]>
 
   30 Dec 2014; Ultrabug <[email protected]> files/corosync.initd:
   fix typo in initd thx to Florian Tham



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

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

Index: corosync-2.3.4-r1.ebuild
===================================================================
# Copyright 1999-2015 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-r1.ebuild,v 1.1 
2015/01/13 04:49:06 xarthisius 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)/*.{,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
}




Reply via email to