aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik (Xarthisius) <xarthisius@gentoo.org>2010-12-12 10:50:21 +0100
committerKacper Kowalik (Xarthisius) <xarthisius@gentoo.org>2010-12-12 10:50:21 +0100
commit032a6d8d0817299d57d66817a830402369fda0c9 (patch)
tree18c542f690737029ef3c4096edd9f49e03ba2cdc /sys-cluster
parent[sys-cluster/cluster-glue] 1.0.7 version bump (diff)
downloadsci-032a6d8d0817299d57d66817a830402369fda0c9.tar.gz
sci-032a6d8d0817299d57d66817a830402369fda0c9.tar.bz2
sci-032a6d8d0817299d57d66817a830402369fda0c9.zip
[sys-cluster/cluster-glue] moved to gx86
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/cluster-glue/Manifest5
-rw-r--r--sys-cluster/cluster-glue/cluster-glue-1.0.7.ebuild89
-rw-r--r--sys-cluster/cluster-glue/files/1.0.5-docs.patch40
-rw-r--r--sys-cluster/cluster-glue/files/1.0.5-respect_cflags.patch11
-rw-r--r--sys-cluster/cluster-glue/files/heartbeat-logd.init47
5 files changed, 0 insertions, 192 deletions
diff --git a/sys-cluster/cluster-glue/Manifest b/sys-cluster/cluster-glue/Manifest
deleted file mode 100644
index 24a0e4a66..000000000
--- a/sys-cluster/cluster-glue/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX 1.0.5-docs.patch 1329 RMD160 e3617a9ce4b9ca562328d81b4563bb2ab82324c4 SHA1 08c689eebdee966512721328277ea7f828a6702e SHA256 27d854f18b0830b9f2ac0161a244a06edc04da0fa4661d81dc171e07e3efa24b
-AUX 1.0.5-respect_cflags.patch 287 RMD160 b61f719213f4d11fd43d9b6444201d26048de468 SHA1 e0a41227a9f463d5f431d64c240746a3587dcdd7 SHA256 be7f2c9cbfc8201118abbdb2aeb1cf6d9aca2c586ae7a6d55963ee3143d9f71e
-AUX heartbeat-logd.init 953 RMD160 7319d87e690f2309c9b76a9cd52f96c0754b5362 SHA1 cd324adbc95b65bf42eafed4a3aa6a9709395719 SHA256 c174d2767c7cee63d77436c8e533aba7d6856af398c82881c7ba3758eba38e7b
-DIST glue-1.0.7.tar.bz2 444765 RMD160 b3e0cbfc98815d2f4adf9c6f64276b2f5b7df494 SHA1 f02ab98686a3a89879e96d1e3846033bb96daf2d SHA256 dcb2500d049476142204491113ff8eeeda210ca26530aa982ff3896bb65a84c7
-EBUILD cluster-glue-1.0.7.ebuild 1999 RMD160 1582e7d84dd2180d0772c267659a4571c6ee1794 SHA1 98dd6d6d286b86764d1f4c85eea7e1bab5d6495f SHA256 448226dcdee68925ad1b1520710745f6c0c38dabd4ce6027a19ca4412e467b41
diff --git a/sys-cluster/cluster-glue/cluster-glue-1.0.7.ebuild b/sys-cluster/cluster-glue/cluster-glue-1.0.7.ebuild
deleted file mode 100644
index 43787a176..000000000
--- a/sys-cluster/cluster-glue/cluster-glue-1.0.7.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-MY_P="${P/cluster-}"
-inherit autotools multilib eutils base
-
-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 static-libs"
-
-RDEPEND="app-arch/bzip2
- dev-libs/glib:2
- 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.5-docs.patch"
- "${FILESDIR}/1.0.5-respect_cflags.patch"
-)
-
-pkg_setup() {
- enewgroup haclient
- enewuser hacluster -1 /dev/null /var/lib/heartbeat haclient
-}
-
-src_prepare() {
- base_src_prepare
- eautoreconf
-}
-
-src_configure() {
- local myopts
-
- use doc && myopts=" --enable-doc"
- econf \
- $(use_enable static-libs static) \
- --disable-fatal-warnings \
- --disable-dependency-tracking \
- --docdir=/usr/share/doc/${PF} \
- --enable-libnet \
- --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
-}
-
-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.5-docs.patch b/sys-cluster/cluster-glue/files/1.0.5-docs.patch
deleted file mode 100644
index 424c52962..000000000
--- a/sys-cluster/cluster-glue/files/1.0.5-docs.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- doc/Makefile.am
-+++ doc/Makefile.am
-@@ -29,11 +29,10 @@
-
- if BUILD_DOC
- man_MANS += hb_report.8 ha_logd.8 ha_logger.1 stonith.8 meatclient.8
--endif
-
- EXTRA_DIST = $(man_MANS)
-
--STYLESHEET_PREFIX ?= http://docbook.sourceforge.net/release/xsl/current
-+STYLESHEET_PREFIX ?= /usr/share/sgml/docbook/xsl-stylesheets/
- MANPAGES_STYLESHEET ?= $(STYLESHEET_PREFIX)/manpages/docbook.xsl
- HTML_STYLESHEET ?= $(STYLESHEET_PREFIX)/xhtml/docbook.xsl
- FO_STYLESHEET ?= $(STYLESHEET_PREFIX)/fo/docbook.xsl
-@@ -47,3 +46,4 @@
- $(XSLTPROC) \
- $(XSLTPROC_MANPAGES_OPTIONS) \
- $(MANPAGES_STYLESHEET) $<
-+endif
---- configure.ac
-+++ configure.ac
-@@ -492,11 +492,13 @@
- AC_PATH_PROGS(PKGCONFIG, pkg-config)
- AC_PATH_PROGS(XML2CONFIG, xml2-config)
-
--AC_PATH_PROGS(XSLTPROC, xsltproc)
--AM_CONDITIONAL(BUILD_DOC, test "x$XSLTPROC" != "x" )
--if test "x$XSLTPROC" = "x"; then
-- AC_MSG_WARN([xsltproc not installed, unable to (re-)build manual pages])
-+AC_ARG_ENABLE([doc],
-+ [ --enable-doc build documentation, [default=no]],
-+ [enable_doc=$withval], [enable_doc=no])
-+if test "x$enable_doc" != "xno"; then
-+ AC_PATH_PROGS(XSLTPROC, xsltproc)
- fi
-+AM_CONDITIONAL(BUILD_DOC, test "x$enable_doc" != "xno" )
-
- AC_PATH_PROGS(VALGRIND_BIN, valgrind, /usr/bin/valgrind)
- AC_DEFINE_UNQUOTED(VALGRIND_BIN, "$VALGRIND_BIN", Valgrind command)
diff --git a/sys-cluster/cluster-glue/files/1.0.5-respect_cflags.patch b/sys-cluster/cluster-glue/files/1.0.5-respect_cflags.patch
deleted file mode 100644
index f89432fc7..000000000
--- a/sys-cluster/cluster-glue/files/1.0.5-respect_cflags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.ac
-+++ configure.ac
-@@ -1149,8 +1149,6 @@
- CFLAGS="$CFLAGS -g"
- enable_fatal_warnings=no
- else
-- CFLAGS="$CFLAGS -ggdb3 -O0"
--
- # We had to eliminate -Wnested-externs because of libtool changes
- EXTRA_FLAGS="-fgnu89-inline
- -fstack-protector-all
diff --git a/sys-cluster/cluster-glue/files/heartbeat-logd.init b/sys-cluster/cluster-glue/files/heartbeat-logd.init
deleted file mode 100644
index 60de12026..000000000
--- a/sys-cluster/cluster-glue/files/heartbeat-logd.init
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/sbin/runscript
-
-PIDFILE=/var/run/heartbeat-logd.pid
-
-depend() {
- need net
-}
-
-BINARY="/usr/%libdir%/heartbeat/ha_logd"
-USER="hacluster"
-GROUP="haclient"
-CONFIG="/etc/logd.cf"
-LOGFILE="/var/log/ha_logger.log"
-
-start() {
- ebegin "Starting heartbeat non-blocking log service"
-
- COMMAND_ARGS="-d"
- [[ -f "${CONFIG}" ]] && COMMAND_ARGS+=" -c ${CONFIG}"
-
- if [ -n "${RC_UNAME}" ]; then
- PARAMS="--background --stdout '${LOGFILE}' --stderr '${LOGFILE}' -- ${ARGS}"
- else
- PARAMS="-- ${ARGS} >> '${LOGFILE}' 2>&1 &"
- fi
- eval ${CHRT} start-stop-daemon \
- --quiet --start --chdir "${RUNTIMEDIR}" \
- --pidfile "${PIDFILE}" \
- --make-pidfile \
- --exec ${BINARY} ${COMMAND_ARGS} --chuid "${USER}:${GROUP}" \
- --nicelevel "${NICELEVEL}" \
- ${PARAMS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping heartbeat non-blocking log service"
- start-stop-daemon --stop --retry 3 --quiet --exec "${BINARY}"
- rm -f "${PIDFILE}"
- eend $?
-}
-
-restart() {
- stop
- sleep 3
- start
-}