diff options
author | Alexys Jacob <ultrabug@gentoo.org> | 2014-07-23 08:51:16 +0000 |
---|---|---|
committer | Alexys Jacob <ultrabug@gentoo.org> | 2014-07-23 08:51:16 +0000 |
commit | 41b88c8585425dfea960d93e773eedeb536f94c6 (patch) | |
tree | 01e7d610af4cafd79906a58ba1d29e184b7a9815 /sys-cluster/cluster-glue | |
parent | Improved OSPF multipath support and an important BGP bugfix. Default router p... (diff) | |
download | gentoo-2-41b88c8585425dfea960d93e773eedeb536f94c6.tar.gz gentoo-2-41b88c8585425dfea960d93e773eedeb536f94c6.tar.bz2 gentoo-2-41b88c8585425dfea960d93e773eedeb536f94c6.zip |
version bump
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B658FA13)
Diffstat (limited to 'sys-cluster/cluster-glue')
-rw-r--r-- | sys-cluster/cluster-glue/ChangeLog | 8 | ||||
-rw-r--r-- | sys-cluster/cluster-glue/cluster-glue-1.0.12.ebuild | 95 | ||||
-rw-r--r-- | sys-cluster/cluster-glue/files/1.0.12-respect_cflags.patch | 11 |
3 files changed, 113 insertions, 1 deletions
diff --git a/sys-cluster/cluster-glue/ChangeLog b/sys-cluster/cluster-glue/ChangeLog index baa77c8940bc..f4a8e3fe3b98 100644 --- a/sys-cluster/cluster-glue/ChangeLog +++ b/sys-cluster/cluster-glue/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-cluster/cluster-glue # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cluster-glue/ChangeLog,v 1.36 2014/01/08 06:03:39 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cluster-glue/ChangeLog,v 1.37 2014/07/23 08:51:15 ultrabug Exp $ + +*cluster-glue-1.0.12 (23 Jul 2014) + + 23 Jul 2014; Ultrabug <ultrabug@gentoo.org> +cluster-glue-1.0.12.ebuild, + +files/1.0.12-respect_cflags.patch: + version bump 08 Jan 2014; Mike Frysinger <vapier@gentoo.org> cluster-glue-1.0.10.ebuild, cluster-glue-1.0.11.ebuild, cluster-glue-1.0.9-r1.ebuild: diff --git a/sys-cluster/cluster-glue/cluster-glue-1.0.12.ebuild b/sys-cluster/cluster-glue/cluster-glue-1.0.12.ebuild new file mode 100644 index 000000000000..69134fbfd84d --- /dev/null +++ b/sys-cluster/cluster-glue/cluster-glue-1.0.12.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cluster-glue/cluster-glue-1.0.12.ebuild,v 1.1 2014/07/23 08:51:15 ultrabug Exp $ + +EAPI=4 + +MY_P="${P/cluster-}" +inherit autotools multilib eutils base user + +DESCRIPTION="Library pack for Heartbeat / Pacemaker" +HOMEPAGE="http://www.linux-ha.org/wiki/Cluster_Glue" +SRC_URI="http://hg.linux-ha.org/glue/archive/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="doc libnet static-libs" + +RDEPEND="app-text/asciidoc + app-arch/bzip2 + app-text/docbook-xml-dtd:4.4 + dev-libs/glib:2 + dev-libs/libaio + libnet? ( net-libs/libnet:1.1 ) + net-misc/curl + net-misc/iputils + || ( net-misc/netkit-telnetd net-misc/telnet-bsd ) + dev-libs/libxml2 + !<sys-cluster/heartbeat-3.0" +DEPEND="${RDEPEND} + doc? ( + dev-libs/libxslt + app-text/docbook-xsl-stylesheets + )" + +S="${WORKDIR}/Reusable-Cluster-Components-glue--${MY_P}" + +PATCHES=( + "${FILESDIR}/1.0.12-respect_cflags.patch" +) + +pkg_setup() { + enewgroup haclient + enewuser hacluster -1 /dev/null /var/lib/heartbeat haclient +} + +src_prepare() { + base_src_prepare + sed -e "s@http://docbook.sourceforge.net/release/xsl/current@/usr/share/sgml/docbook/xsl-stylesheets/@g" \ + -i doc/Makefile.am || die + eautoreconf +} + +src_configure() { + local myopts + + use doc && myopts=" --enable-doc" + econf \ + $(use_enable libnet) \ + $(use_enable static-libs static) \ + --disable-fatal-warnings \ + --disable-dependency-tracking \ + --docdir=/usr/share/doc/${PF} \ + --localstatedir=/var \ + --with-ocf-root=/usr/$(get_libdir)/ocf \ + ${myopts} \ + --with-group-id=$(id -g hacluster) \ + --with-ccmuser-id=$(id -u hacluster) \ + --with-daemon-user=hacluster --with-daemon-group=haclient +} + +src_install() { + base_src_install + + dodir /var/lib/heartbeat/cores + dodir /var/lib/heartbeat/lrm + + keepdir /var/lib/heartbeat/cores + keepdir /var/lib/heartbeat/lrm + + # init.d file + cp "${FILESDIR}"/heartbeat-logd.init "${T}/" || die + sed -i \ + -e "s:%libdir%:$(get_libdir):" \ + "${T}/heartbeat-logd.init" || die +# newinitd "${T}/heartbeat-logd.init" heartbeat-logd || die + rm "${D}"/etc/init.d/logd + + use static-libs || find "${D}" -type f -name "*.la" -delete +} + +pkg_postinst() { + chown -R hacluster:haclient /var/lib/heartbeat/cores + chown -R hacluster:haclient /var/lib/heartbeat/lrm +} diff --git a/sys-cluster/cluster-glue/files/1.0.12-respect_cflags.patch b/sys-cluster/cluster-glue/files/1.0.12-respect_cflags.patch new file mode 100644 index 000000000000..52a879574ccb --- /dev/null +++ b/sys-cluster/cluster-glue/files/1.0.12-respect_cflags.patch @@ -0,0 +1,11 @@ +--- a/configure.ac 2014-07-23 10:37:39.052887243 +0200 ++++ b/configure.ac 2014-07-23 10:37:53.541464249 +0200 +@@ -1226,8 +1226,6 @@ + CFLAGS="$CFLAGS -g" + enable_fatal_warnings=no + else +- CFLAGS="$CFLAGS -ggdb" +- + # We had to eliminate -Wnested-externs because of libtool changes + EXTRA_FLAGS="-fgnu89-inline + -fstack-protector-all |