diff options
author | Ultrabug <ultrabug@gentoo.org> | 2011-09-15 15:38:57 +0200 |
---|---|---|
committer | Ultrabug <ultrabug@gentoo.org> | 2011-09-15 15:38:57 +0200 |
commit | 1a9fe925c133486399cb9f74db5dd205341c60a0 (patch) | |
tree | e9a2f8a80c6e860585f25c897b6a4fe9746e48bc /sys-cluster | |
parent | drop useless rsyslog (diff) | |
download | ultrabug-1a9fe925c133486399cb9f74db5dd205341c60a0.tar.gz ultrabug-1a9fe925c133486399cb9f74db5dd205341c60a0.tar.bz2 ultrabug-1a9fe925c133486399cb9f74db5dd205341c60a0.zip |
moved to g-x86
Diffstat (limited to 'sys-cluster')
26 files changed, 0 insertions, 1106 deletions
diff --git a/sys-cluster/cman/Manifest b/sys-cluster/cman/Manifest deleted file mode 100644 index 264540d..0000000 --- a/sys-cluster/cman/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -EBUILD cman-3.1.5.ebuild 2594 RMD160 2a00e8d2f999389ff884e53d0329905658c2d4b3 SHA1 ec7e051fdcfc4ce3cbf2ced94d75760a273d3147 SHA256 86376cad47278406023230fb8c72367dc263affe02265dba5083c601bc7e1dd6 -AUX cman.confd 2797 RMD160 9c4bdb0b651e60f25a7338b9ddad4cd582d2cd92 SHA1 f811a83fb2f31882b787aa7d5b4adc61599e63b2 SHA256 45f89870420c0855ace5a27149db878bd592a2f48c35711b40d29f3b358a2bf5 -AUX cman.initd 7234 RMD160 56f6f6eb10d0a034c4eaf16a09f0cc4a5d9df79e SHA1 08caaee22b10b2b22ae696c4ff06fc66950e80c0 SHA256 709e1fc5c2088ff9821bd8dac7f052ffb2ed44bd744d5c9f3329e7e35701c0fb -AUX qdiskd.initd 588 RMD160 ce692384ae29823f0d6a9cc38e36b3a5481deeda SHA1 0918d79fcaa007cd8be4e9d3e5f87f8d0036c39d SHA256 7275f95a197484a339b3c3e4b0dd01998388e4a3fbd108f1b62d6b24b46ca94f -DIST cluster-3.1.5.tar.gz 651449 RMD160 c12dbf38c3e24cbdac23dbfdce6cb96da5c722ff SHA1 884d153ad9545d8abd225744dff5a905e19a6702 SHA256 95be1b484f9c58af3c47a9d46dc2802d37f1b2b9028053f243a2c8bd1f07623e diff --git a/sys-cluster/cman/cman-3.1.5.ebuild b/sys-cluster/cman/cman-3.1.5.ebuild deleted file mode 100644 index 570fdea..0000000 --- a/sys-cluster/cman/cman-3.1.5.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit linux-info multilib toolchain-funcs versionator - -CLUSTER_RELEASE="${PV}" -MY_P="cluster-${CLUSTER_RELEASE}" - -MAJ_PV="$(get_major_version)" -MIN_PV="$(get_version_component_range 2-3)" - -DESCRIPTION="Cluster Manager" -HOMEPAGE="https://fedorahosted.org/cluster/wiki/HomePage" -SRC_URI="https://fedorahosted.org/releases/c/l/cluster/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="dbus ldap" - -RDEPEND="dev-libs/libxml2 - dev-libs/libxslt - dbus? ( sys-apps/dbus ) - ldap? ( net-nds/openldap ) - sys-cluster/corosync - sys-cluster/openais - ~sys-cluster/libccs-${PV} - ~sys-cluster/libfence-${PV} - ~sys-cluster/libcman-${PV} - ~sys-cluster/libdlm-${PV} - ~sys-cluster/liblogthread-${PV} - !sys-cluster/dlm -" -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-2.6.24" - -S="${WORKDIR}/${MY_P}" - -# TODO: -# * Gentoo'ise the init script - -src_configure() { - # cluster libs have their own separate packages - sed -i -e 's|lib||' "${S}/cman/Makefile" || die - sed -i -e 's|liblogthread||' "${S}/common/Makefile" || die - sed -i -e 's|libs||' "${S}/config/Makefile" || die - sed -i -e 's|libdlm libdlmcontrol||' "${S}/dlm/Makefile" || die - sed -i -e 's|libfence libfenced||' "${S}/fence/Makefile" || die - sed -i -e 's|fence/libfenced||' "${S}/Makefile" || die - - sed -i \ - -e 's|\(^all:.*\)depends |\1|' \ - config/tools/ccs_tool/Makefile \ - fence/fence{d,_node,_tool}/Makefile \ - cman/{cman_tool,daemon,tests,qdisk,notifyd}/Makefile \ - dlm/{tool,tests/usertest}/Makefile \ - || die "sed failed" - - if ! use ldap ; then - sed -i -e 's|ldap||' config/plugins/Makefile || die "sed failed" - fi - local myopts="" - use dbus || myopts="--disable_dbus" - ./configure \ - --cc=$(tc-getCC) \ - --cflags="-Wall" \ - --libdir=/usr/$(get_libdir) \ - --disable_kernel_check \ - --kernel_src=${KERNEL_DIR} \ - --somajor="$MAJ_PV" \ - --sominor="$MIN_PV" \ - --without_rgmanager \ - --without_bindings \ - ${myopts} \ - || die "configure problem" -} - -src_install() { - emake DESTDIR="${D}" install - - # we have to create it in the init.d script anyway - rmdir "${D}"/var/run/{cluster,} - - keepdir /var/{lib,log}/cluster - keepdir /etc/cluster/cman-notify.d - - rm -rf "${D}/usr/share/doc" - dodoc \ - doc/{usage.txt,cman_notify_template.sh} \ - config/plugins/ldap/*.ldif - dohtml doc/*.html - - # lib-specific man pages are provided by the corresponding packages - rm "${D}/usr/share/man/man3/libdlm.3" - - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - newconfd "${FILESDIR}/${PN}.confd" "${PN}" -} diff --git a/sys-cluster/cman/files/cman.confd b/sys-cluster/cman/files/cman.confd deleted file mode 100644 index 14b7ea7..0000000 --- a/sys-cluster/cman/files/cman.confd +++ /dev/null @@ -1,67 +0,0 @@ -CCSD_OPTS= - -# CMAN_CLUSTER_TIMEOUT -- amount of time to wait for joinging a cluster -# before giving up. If CMAN_CLUSTER_TIMEOUT is positive, then we will -# wait CMAN_CLUSTER_TIMEOUT seconds before giving up and failing when -# a cluster is not joined. If CMAN_CLUSTER_TIMEOUT is zero, then -# wait indefinately for a cluster join. If CMAN_CLUSTER_TIMEOUT is -# negative, do not check to see that the cluster has been joined -CMAN_CLUSTER_TIMEOUT=120 - -# CMAN_QUORUM_TIMEOUT -- amount of time to wait for a quorate cluster on -# startup quorum is needed by many other applications, so we may as -# well wait here. If CMAN_QUORUM_TIMEOUT is less than 1, quorum will -# be ignored. -CMAN_QUORUM_TIMEOUT=300 - -# CMAN_SHUTDOWN_TIMEOUT -- amount of time to wait for cman to become a -# cluster member before calling cman_tool leave during shutdown. -# default is 60 seconds -CMAN_SHUTDOWN_TIMEOUT=60 - -# CMAN_JOIN_OPTIONS -#CMAN_JOIN_OPTS="-c ...." - -# CMAN_LEAVE_OPTIONS -#CMAN_LEAVE_OPTS="" - - -# ex: FENCED_OPTS="-w -t 300" -FENCED_OPTS="" - - -# TODO ? -# CMAN_NOTIFYD_START - control the startup behaviour for cmannotifyd -# the variable can take 3 values: -# yes | will always start cmannotifyd -# no | will never start cmannotifyd -# conditional (default) | will start cmannotifyd only if scriptlets -# are found in @NOTIFYDDIR@ -[ -z "$CMAN_NOTIFYD_START" ] && CMAN_NOTIFYD_START=conditional - -# CMAN_SSHD_START - control sshd startup behaviour -# the variable can take 2 values: -# yes | cman will start sshd as early as possible -# no (default) | cman will not start sshd -[ -z "$CMAN_SSHD_START" ] && CMAN_SSHD_START=no - -# FENCE_JOIN_TIMEOUT -- seconds to wait for fence domain join to -# complete. If the join hasn't completed in this time, fence_tool join -# exits with an error, and this script exits with an error. To wait -# indefinitely set the value to -1. -[ -z "$FENCE_JOIN_TIMEOUT" ] && FENCE_JOIN_TIMEOUT=20 - -# FENCED_MEMBER_DELAY -- amount of time to delay fence_tool join to allow -# all nodes in cluster.conf to become cluster members. In seconds. -[ -z "$FENCED_MEMBER_DELAY" ] && FENCED_MEMBER_DELAY=45 - -# FENCE_JOIN -- boolean value used to control whether or not this node -# should join the fence domain. If FENCE_JOIN is set to "no", then -# the script will not attempt to the fence domain. If FENCE_JOIN is -# set to "yes", then the script will attempt to join the fence domain. -# If FENCE_JOIN is set to any other value, the default behavior is -# to join the fence domain (equivalent to "yes"). -[ -z "$FENCE_JOIN" ] && FENCE_JOIN="yes" - -# FENCED_OPTS -- allow extra options to be passed to fence daemon. -[ -z "$FENCED_OPTS" ] && FENCED_OPTS=""
\ No newline at end of file diff --git a/sys-cluster/cman/files/cman.initd b/sys-cluster/cman/files/cman.initd deleted file mode 100644 index d012b35..0000000 --- a/sys-cluster/cman/files/cman.initd +++ /dev/null @@ -1,319 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cman/files/Attic/cman-2.0x.rc,v 1.4 2009/11/14 16:34:17 scarabeus dead $ - -CMAN_TOOL="/usr/sbin/cman_tool" -FENCE_TOOL="/usr/sbin/fence_tool" -GFS_CONTROLD="/usr/sbin/gfs_controld" -DLM_CONTROLD="/usr/sbin/dlm_controld" -GROUPD="/usr/sbin/groupd" -FENCED="/usr/sbin/fenced" -CCSD="/usr/sbin/ccsd" - -[ -z "$CCSD_OPTS" ] && CCSD_OPTS="" -[ -z "$CMAN_CLUSTER_TIMEOUT" ] && CMAN_CLUSTER_TIMEOUT=120 -[ -z "$CMAN_QUORUM_TIMEOUT" ] && CMAN_QUORUM_TIMEOUT=0 -[ -z "$CMAN_SHUTDOWN_TIMEOUT" ] && CMAN_SHUTDOWN_TIMEOUT=60 -[ -z "$FENCED_START_TIMEOUT" ] && FENCED_START_TIMEOUT=300 -[ -z "$FENCED_MEMBER_DELAY" ] && FENCED_MEMBER_DELAY=300 - -depend() { - use net - after xend - after xendomains - provide cman -} - -load_modules() { - local module modules - modules=$1 - - for module in ${modules}; do - ebegin "Loading ${module} kernel module" - modprobe ${module} > /dev/null - eend $? "Failed to load ${module} kernel module" - done -} - -unload_modules() { - local module modules - modules=$1 - - for module in ${modules}; do - ebegin "Unloading ${module} kernel module" - modprobe -r ${module} > /dev/null - eend $? "Failed to unload ${module} kernel module" - done -} - -check_configfs() { - awk '{ print $2 }' /etc/mtab | grep "/sys/kernel/config" &> /dev/null\ - && awk '{ print $3 }' /etc/mtab | grep "configfs" &> /dev/null - - if [ $? -ne 0 ]; then - ewarn "Please add the following line to /etc/fstab:" - ewarn "none configfs /sys/kernel/config defaults 0 0" - eend 1 "configfs not mounted at /sys/kernel/config" - fi -} - -mount_configfs() -{ - local module=$(awk '$2 == "configfs" { print $2 }' /proc/filesystems) - - if [ -z "${module}" ]; then - load_modules "configfs" - sleep 1s - fi - - # configfs - awk '{ print $2 }' /etc/mtab | grep "/sys/kernel/config" &> /dev/null \ - && awk '{ print $3 }' /etc/mtab | grep "configfs" &> /dev/null - - if [ $? -ne 0 ] - then - ebegin "Mounting ConfigFS" - /bin/mount -t configfs none /sys/kernel/config 2>&1 - eend $? - fi - return 0 -} - -umount_configfs() { - local sig retry - local entry entries - - entries="$(awk '$3 == "configfs" { print $2 }' /proc/mounts | sort -r)" - - for entry in $entries; do - ebegin "Unmounting ConfigFS" - umount $entry &>/dev/null - eend $? - done - - local module=$(awk '$1 == "configfs" { print $1 }' /proc/modules) - - if [ ! -z "${module}" ]; then - unload_modules "configfs" - sleep 1s - fi -} - -umount_gfs_filesystems() { - local sig retry - local remaining="$(awk '$3 == "gfs" || $3 == "gfs2" { print $2 }' /proc/mounts | sort -r)" - - if [ -n "${remaining}" ] - then - sig= - retry=3 - while [ -n "${remaining}" -a "${retry}" -gt 0 ] - do - if [ "${retry}" -lt 3 ] - then - ebegin "Unmounting GFS filesystems (retry)" - umount ${remaining} &>/dev/null - eend $? "Failed to unmount GFS filesystems this retry" - else - ebegin "Unmounting GFS filesystems" - umount ${remaining} &>/dev/null - eend $? "Failed to unmount GFS filesystems" - fi - remaining="$(awk '$3 == "gfs" || $3 == "gfs2" { if ($2 != "/") print $2 }' /proc/mounts | sort -r)" - [ -z "${remaining}" ] && break - /bin/fuser -k -m ${sig} ${remaining} &>/dev/null - sleep 5 - retry=$((${retry} -1)) - sig=-9 - done - fi -} - -unload_allmodules() { - local modules - - modules=$(awk '$1 == "lock_gulm" || \ - $1 == "lock_dlm" || $1 == "dlm" || \ - $1 == "lock_harness" || $1 == "gfs2" || \ - $1 == "gfs" { print $1 }' /proc/modules) - - #modules=$(awk '$1 == "lock_harness" || \ - # $1 == "gfs" { print $1 }' /proc/modules) - - unload_modules "${modules}" -} - -start_ccsd() { - ebegin "Starting ccsd" - start-stop-daemon --start --quiet --exec ${CCSD} -- ${CCSD_OPTS} - eend $? -} - -stop_ccsd() { - ebegin "Stopping ccsd" - start-stop-daemon --stop --quiet -s 9 --exec ${CCSD} - eend $? -} - -start_cman() { - ${CMAN_TOOL} status &> /dev/null - if [ $? -ne 0 ] - then - ebegin "Starting cman" - ${CMAN_TOOL} -t ${CMAN_CLUSTER_TIMEOUT} \ - -w join ${CMAN_JOIN_OPTS} &> /dev/null - - if [ "$?" -ne 0 ] - then - eend 1 "Failed to start cman" - else - eend 0 - - # make sure that we are quorate? - if [ ${CMAN_QUORUM_TIMEOUT} -gt 0 ] - then - ebegin "Waiting for quorum (${CMAN_QUORUM_TIMEOUT} secs)" - ${CMAN_TOOL} -t ${CMAN_QUORUM_TIMEOUT} -q wait - eend $? - fi - fi - else - einfo "cman already running" - fi -} - -stop_cman() { - ebegin "Stopping cman" - local stat=0 - ${CMAN_TOOL} status > /dev/null 2>&1 - if [ $? -eq 0 ]; then - retry=3 - stat=1 - while [ "${stat}" -eq 1 -a "${retry}" -gt 0 ] - do - #sleep 2 - #${CMAN_TOOL} -w -t ${CMAN_SHUTDOWN_TIMEOUT} \ - # leave remove ${CMAN_LEAVE_OPTS} > /dev/null - ${CMAN_TOOL} leave -t ${CMAN_SHUTDOWN_TIMEOUT} ${CMAN_LEAVE_OPTS} \ - remove &> /dev/null - stat=$? - retry=$((${retry} -1)) - done - fi - eend ${stat} -} - -start_groupd() { - ebegin "Starting groupd" - start-stop-daemon --start --exec ${GROUPD} --name groupd - eend $? -} - -stop_groupd() { - ebegin "Stopping groupd" - start-stop-daemon --stop --exec ${GROUPD} --name groupd - eend $? -} - -start_fenced() { - ebegin "Starting fenced" - start-stop-daemon --start --exec ${FENCED} --name fenced - eend $? - - ${CMAN_TOOL} status | grep Flags | grep 2node &> /dev/null - local errmsg=$? - - ebegin "Joining fence domain" - if [ "${errmsg}" -ne 0 ] - then - ${FENCE_TOOL} join -t $FENCED_START_TIMEOUT &> /dev/null - [ $? -eq 0 ] && errmsg=$? || errmsg=1 - else - ${FENCE_TOOL} join -m $FENCED_MEMBER_DELAY &> /dev/null - [ $? -eq 0 ] && errmsg=$? || errmsg=1 - fi - eend $errmsg -} - -stop_fenced() { - # fenced services -# local fence_status="$( ${CMAN_TOOL} services | awk '$1 ~ /fence/ { print $3 }')" -# if [ -n "${fence_status}" ]; then -# if [ -x ${FENCE_TOOL} ]; then -# ebegin "Leaving fence domain" -# ${FENCE_TOOL} leave > /dev/null 2>&1 -# eend $? -# fi -# fi - - if [ -x ${FENCE_TOOL} ]; then - if ${FENCE_TOOL} ls >/dev/null 2>&1; then - ebegin "Leaving fence domain" - ${FENCE_TOOL} leave > /dev/null 2>&1 - eend $? - fi - fi - - ebegin "Stopping fenced" - start-stop-daemon --stop --exec ${FENCED} --name fenced - eend $? -} - -start_gfs_controld() { - ebegin "Starting gfs_controld" - start-stop-daemon --start --exec ${GFS_CONTROLD} --name gfs_controld - eend $? -} - -stop_gfs_controld() { - ebegin "Stopping gfs_controld" - start-stop-daemon --stop --exec ${GFS_CONTROLD} --name gfs_controld - eend $? -} - -start_dlm_controld() { - ebegin "Starting dlm_controld" - start-stop-daemon --start --exec ${DLM_CONTROLD} --name dlm_controld - eend $? -} - -stop_dlm_controld() { - ebegin "Stopping dlm_controld" - start-stop-daemon --stop --exec ${DLM_CONTROLD} --name dlm_controld - eend $? -} - -start() { - load_modules "dlm" - - mkdir -p /var/run/cluster - - mount_configfs -# start_ccsd - start_cman - start_fenced - start_groupd - start_dlm_controld -# start_gfs_controld -} - -stop() { - -# umount GFS filesystems -# umount_gfs_filesystems - - stop_dlm_controld - stop_groupd - stop_fenced - stop_cman - - #stop_gfs_controld - #stop_dlm_controld - #stop_groupd - - unload_modules "dlm" -# stop_ccsd -# unload_allmodules - umount_configfs -} diff --git a/sys-cluster/cman/files/qdiskd.initd b/sys-cluster/cman/files/qdiskd.initd deleted file mode 100644 index d59af4d..0000000 --- a/sys-cluster/cman/files/qdiskd.initd +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cman/files/Attic/qdiskd-2.0x.rc,v 1.3 2009/11/14 16:34:17 scarabeus dead $ - -depend() { - use net - need cman -} - -start() { - ebegin "Starting the Quorum Disk Daemon" - start-stop-daemon --start --quiet --exec /usr/sbin/qdiskd -- -Q - eend $? "Failed to start qdiskd" -} - -stop() { - ebegin "Stopping the Quorum Disk Daemon" - start-stop-daemon --stop --pidfile /var/run/qdiskd.pid - eend $? "Failed to stop qdiskd" -} diff --git a/sys-cluster/fence-agents/Manifest b/sys-cluster/fence-agents/Manifest deleted file mode 100644 index 1c1ae05..0000000 --- a/sys-cluster/fence-agents/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -EBUILD fence-agents-3.1.5.ebuild 1585 RMD160 2e374e06166399c6c512fccfdc206e88cd263cbe SHA1 8a6c0b28e625bd39b1d53b5f869d860ad970e622 SHA256 f9958261ff6f277094d856fe1150458f79ab078ad6a69b6349e3ce69ddbc6ac1 -DIST fence-agents-3.1.5.tar.gz 897416 RMD160 5d73e6a3248619a9b5defc18de7b35e4a9fe2c79 SHA1 205ba32c68a5bc089e88a7bd5bb26ce3c20b4ed5 SHA256 cc822f793dac2d86778982716bd5bd482daf4ac33f0726c47e638f70bcaa3ba7 diff --git a/sys-cluster/fence-agents/fence-agents-3.1.5.ebuild b/sys-cluster/fence-agents/fence-agents-3.1.5.ebuild deleted file mode 100644 index b97f82c..0000000 --- a/sys-cluster/fence-agents/fence-agents-3.1.5.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit multilib versionator - -CLUSTER_RELEASE="${PV}" -MY_P="cluster-${CLUSTER_RELEASE}" - -MAJ_PV="$(get_major_version)" -MIN_PV="$(get_version_component_range 2-3)" - -DESCRIPTION="Cluster Fencing Agents" -HOMEPAGE="https://fedorahosted.org/cluster/wiki/HomePage" -SRC_URI="https://fedorahosted.org/releases/f/e/${PN}/${PN}-${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="~sys-cluster/libccs-${PV}" -DEPEND="${RDEPEND} - dev-python/pexpect - dev-libs/libxslt - dev-python/pexpect - dev-python/pycurl - dev-python/suds" - -src_configure() { - econf \ - --docdir=/usr/share/doc/${P} \ - --libdir=/usr/$(get_libdir) \ - --localstatedir=/var -} - -pkg_postinst() { - if [[ "${ROOT}" != "/" ]] ; then - ewarn "You have to run 'ccs_update_schema' in the chroot-environment" - ewarn "to update the schema file for the cluster configuration." - ewarn "Otherwise you will not be able to define ressources." - else - elog "Running ccs_update_schema to update the configuration file schema" - /usr/sbin/ccs_update_schema -v -f - fi -} - -pkg_postrm() { - if [[ "${ROOT}" != "/" ]] ; then - ewarn "You have to run 'ccs_update_schema' in the chroot-environment" - ewarn "to update the schema file for the cluster configuration." - ewarn "Otherwise you may be able to define ressources even though they" - ewarn "are not present anymore." - else - elog "Running ccs_update_schema to update the configuration file schema" - /usr/sbin/ccs_update_schema -v -f - fi -} diff --git a/sys-cluster/libccs-perl/Manifest b/sys-cluster/libccs-perl/Manifest deleted file mode 100644 index 97a910b..0000000 --- a/sys-cluster/libccs-perl/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST cluster-3.1.5.tar.gz 651449 RMD160 c12dbf38c3e24cbdac23dbfdce6cb96da5c722ff SHA1 884d153ad9545d8abd225744dff5a905e19a6702 SHA256 95be1b484f9c58af3c47a9d46dc2802d37f1b2b9028053f243a2c8bd1f07623e -EBUILD libccs-perl-3.1.5.ebuild 1006 RMD160 3d7a2c1694549a2fb2695409c2069cf429fff950 SHA1 61216526f2c122da31dc616dc90dd25df105f9a0 SHA256 64e26f9778816a25b739255c4f9370dd990f1a33e422af29e502e7a7c4042442 diff --git a/sys-cluster/libccs-perl/libccs-perl-3.1.5.ebuild b/sys-cluster/libccs-perl/libccs-perl-3.1.5.ebuild deleted file mode 100644 index 777cf35..0000000 --- a/sys-cluster/libccs-perl/libccs-perl-3.1.5.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit linux-info versionator - -CLUSTER_RELEASE="${PV}" -MY_P="cluster-${CLUSTER_RELEASE}" - -MAJ_PV="$(get_major_version)" -MIN_PV="$(get_version_component_range 2-3)" - -DESCRIPTION="Cluster Configuration System Library Perl-Bindings" -HOMEPAGE="https://fedorahosted.org/cluster/wiki/HomePage" -SRC_URI="https://fedorahosted.org/releases/c/l/cluster/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="sys-cluster/libccs" -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-2.6.24" - -S="${WORKDIR}/${MY_P}/bindings/perl" - -src_configure() { - cd "${WORKDIR}/${MY_P}" - ./configure \ - --cc=$(tc-getCC) \ - --cflags="-Wall" \ - --libdir=/usr/$(get_libdir) \ - --disable_kernel_check \ - --kernel_src=${KERNEL_DIR} \ - --somajor="$MAJ_PV" \ - --sominor="$MIN_PV" \ - --ccslibdir=/usr/$(get_libdir) \ - --ccsincdir=/usr/include \ - || die "configure problem" -} diff --git a/sys-cluster/libccs/Manifest b/sys-cluster/libccs/Manifest deleted file mode 100644 index b480bde..0000000 --- a/sys-cluster/libccs/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST cluster-3.1.5.tar.gz 651449 RMD160 c12dbf38c3e24cbdac23dbfdce6cb96da5c722ff SHA1 884d153ad9545d8abd225744dff5a905e19a6702 SHA256 95be1b484f9c58af3c47a9d46dc2802d37f1b2b9028053f243a2c8bd1f07623e -EBUILD libccs-3.1.5.ebuild 1143 RMD160 fa381de00bcc45487b9b278819dc71363a61f418 SHA1 238e442d9aeae3094c7b3d81f6342662760672d3 SHA256 be45987826329f7e093fdc05ffdea61f22fdcaf76d12764e9a50654082181aca diff --git a/sys-cluster/libccs/libccs-3.1.5.ebuild b/sys-cluster/libccs/libccs-3.1.5.ebuild deleted file mode 100644 index d95cff3..0000000 --- a/sys-cluster/libccs/libccs-3.1.5.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit linux-info multilib toolchain-funcs versionator - -CLUSTER_RELEASE="${PV}" -MY_P="cluster-${CLUSTER_RELEASE}" - -MAJ_PV="$(get_major_version)" -MIN_PV="$(get_version_component_range 2-3)" - -DESCRIPTION="Cluster Configuration System Library" -HOMEPAGE="https://fedorahosted.org/cluster/wiki/HomePage" -SRC_URI="https://fedorahosted.org/releases/c/l/cluster/${MY_P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="static-libs" - -RDEPEND=" - sys-cluster/corosync - dev-libs/libxml2 - !sys-cluster/ccs" -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-2.6.24" - -S="${WORKDIR}/${MY_P}/config/libs" - -src_configure() { - cd "${WORKDIR}/${MY_P}" - ./configure \ - --cc=$(tc-getCC) \ - --cflags="-Wall" \ - --libdir=/usr/$(get_libdir) \ - --disable_kernel_check \ - --kernel_src=${KERNEL_DIR} \ - --somajor="$MAJ_PV" \ - --sominor="$MIN_PV" \ - --ccslibdir=/usr/$(get_libdir) \ - --ccsincdir=/usr/include \ - || die "configure problem" -} - -src_install() { - default - use static-libs || rm -f "${D}"/usr/lib*/*.a -} diff --git a/sys-cluster/libcman/Manifest b/sys-cluster/libcman/Manifest deleted file mode 100644 index e21c68a..0000000 --- a/sys-cluster/libcman/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST cluster-3.1.5.tar.gz 651449 RMD160 c12dbf38c3e24cbdac23dbfdce6cb96da5c722ff SHA1 884d153ad9545d8abd225744dff5a905e19a6702 SHA256 95be1b484f9c58af3c47a9d46dc2802d37f1b2b9028053f243a2c8bd1f07623e -EBUILD libcman-3.1.5.ebuild 1076 RMD160 1cf524de412024352a58b937eba2682a551610dd SHA1 3c02b41f7b2165ad1a10497169a4053f5fe14f0a SHA256 e7da4decfb1f7f286e0afebf726c28ffc905e9be5544755a95ded9509d6e4014 diff --git a/sys-cluster/libcman/libcman-3.1.5.ebuild b/sys-cluster/libcman/libcman-3.1.5.ebuild deleted file mode 100644 index d5878fa..0000000 --- a/sys-cluster/libcman/libcman-3.1.5.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit linux-info multilib toolchain-funcs versionator - -CLUSTER_RELEASE="${PV}" -MY_P="cluster-${CLUSTER_RELEASE}" - -MAJ_PV="$(get_major_version)" -MIN_PV="$(get_version_component_range 2-3)" - -DESCRIPTION="Cluster Manager Library" -HOMEPAGE="https://fedorahosted.org/cluster/wiki/HomePage" -SRC_URI="https://fedorahosted.org/releases/c/l/cluster/${MY_P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="static-libs" - -DEPEND=">=sys-kernel/linux-headers-2.6.24" -RDEPEND="!sys-cluster/cman-lib" - -S="${WORKDIR}/${MY_P}/cman/lib" - -src_configure() { - cd "${WORKDIR}/${MY_P}" - ./configure \ - --cc=$(tc-getCC) \ - --cflags="-Wall" \ - --libdir=/usr/$(get_libdir) \ - --disable_kernel_check \ - --kernel_src=${KERNEL_DIR} \ - --somajor="$MAJ_PV" \ - --sominor="$MIN_PV" \ - --cmanlibdir=/usr/$(get_libdir) \ - --cmanincdir=/usr/include \ - || die "configure failed" -} - -src_install() { - default - use static-libs || rm -f "${D}"/usr/lib*/*.a -} diff --git a/sys-cluster/libdlm/Manifest b/sys-cluster/libdlm/Manifest deleted file mode 100644 index 669683a..0000000 --- a/sys-cluster/libdlm/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST cluster-3.1.5.tar.gz 651449 RMD160 c12dbf38c3e24cbdac23dbfdce6cb96da5c722ff SHA1 884d153ad9545d8abd225744dff5a905e19a6702 SHA256 95be1b484f9c58af3c47a9d46dc2802d37f1b2b9028053f243a2c8bd1f07623e -EBUILD libdlm-3.1.5.ebuild 1587 RMD160 4faa7112f6b53794498f3baec0d4cd75e4bc1212 SHA1 773224dd12d5124888ba16312091c065bf4f46d2 SHA256 167d9d0132ba09ca44571747f0520a95d3c9f7037ad6bdc835efe8acf865ea9a diff --git a/sys-cluster/libdlm/libdlm-3.1.5.ebuild b/sys-cluster/libdlm/libdlm-3.1.5.ebuild deleted file mode 100644 index 12c8cd9..0000000 --- a/sys-cluster/libdlm/libdlm-3.1.5.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit linux-info multilib toolchain-funcs versionator - -CLUSTER_RELEASE="${PV}" -MY_P="cluster-${CLUSTER_RELEASE}" - -MAJ_PV="$(get_major_version)" -MIN_PV="$(get_version_component_range 2-3)" - -DESCRIPTION="General-purpose Distributed Lock Manager Library" -HOMEPAGE="https://fedorahosted.org/cluster/wiki/HomePage" -SRC_URI="https://fedorahosted.org/releases/c/l/cluster/${MY_P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="static-libs" - -RDEPEND=" - !sys-cluster/dlm-headers - !sys-cluster/dlm-kernel - !sys-cluster/dlm-lib" -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-2.6.24" - -S="${WORKDIR}/${MY_P}/dlm" - -src_prepare() { - sed -i \ - -e "s|/lib|/$(get_libdir)|g" \ - "${WORKDIR}/${MY_P}/make/install.mk" || die "sed failed" -} - -src_configure() { - cd "${WORKDIR}/${MY_P}" - ./configure \ - --cc=$(tc-getCC) \ - --cflags="-Wall" \ - --libdir=/usr/$(get_libdir) \ - --disable_kernel_check \ - --kernel_src=${KERNEL_DIR} \ - --somajor="$MAJ_PV" \ - --sominor="$MIN_PV" \ - --dlmlibdir=/usr/$(get_libdir) \ - --dlmincdir=/usr/include \ - --dlmcontrollibdir=/usr/$(get_libdir) \ - --dlmcontrolincdir=/usr/include \ - || die "configure problem" -} - -src_compile() { - for i in libdlm libdlmcontrol; do - emake -C ${i} - done -} - -src_install() { - for i in libdlm libdlmcontrol; do - emake DESTDIR="${D}" -C ${i} install - done - use static-libs || rm -f "${D}"/usr/lib*/*.a - doman man/libdlm.3 - dodoc doc/{libdlm.txt,example.c,user-dlm-overview.txt} -} diff --git a/sys-cluster/libfence/Manifest b/sys-cluster/libfence/Manifest deleted file mode 100644 index 3846f3d..0000000 --- a/sys-cluster/libfence/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST cluster-3.1.5.tar.gz 651449 RMD160 c12dbf38c3e24cbdac23dbfdce6cb96da5c722ff SHA1 884d153ad9545d8abd225744dff5a905e19a6702 SHA256 95be1b484f9c58af3c47a9d46dc2802d37f1b2b9028053f243a2c8bd1f07623e -EBUILD libfence-3.1.5.ebuild 1372 RMD160 dce8d57fbf52fbfaa473cdc42774e0cfc4d28d8e SHA1 d841391705ad4dd0068999a15583fcd96bb40bb8 SHA256 b7aabf5bfaaa8de53904c17ab21c03d1913ab893f0b2335e2843a7ac360fc0f3 diff --git a/sys-cluster/libfence/libfence-3.1.5.ebuild b/sys-cluster/libfence/libfence-3.1.5.ebuild deleted file mode 100644 index 4c617a9..0000000 --- a/sys-cluster/libfence/libfence-3.1.5.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit linux-info multilib toolchain-funcs versionator - -CLUSTER_RELEASE="${PV}" -MY_P="cluster-${CLUSTER_RELEASE}" - -MAJ_PV="$(get_major_version)" -MIN_PV="$(get_version_component_range 2-3)" - -DESCRIPTION="Cluster Fencing Library" -HOMEPAGE="https://fedorahosted.org/cluster/wiki/HomePage" -SRC_URI="https://fedorahosted.org/releases/c/l/cluster/${MY_P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="static-libs" - -RDEPEND="~sys-cluster/libccs-${PV}" -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-2.6.24" - -S="${WORKDIR}/${MY_P}/fence" - -src_configure() { - cd "${WORKDIR}/${MY_P}" - ./configure \ - --cc=$(tc-getCC) \ - --cflags="-Wall" \ - --libdir=/usr/$(get_libdir) \ - --disable_kernel_check \ - --kernel_src=${KERNEL_DIR} \ - --somajor="$MAJ_PV" \ - --sominor="$MIN_PV" \ - --fencelibdir=/usr/$(get_libdir) \ - --fenceincdir=/usr/include \ - --fencedlibdir=/usr/$(get_libdir) \ - --fencedincdir=/usr/include \ - --ccslibdir=/usr/$(get_libdir) \ - --ccsincdir=/usr/include \ - || die "configure problem" -} - -src_compile() { - for i in libfence libfenced; do - emake -C ${i} - done -} - -src_install() { - for i in libfence libfenced; do - emake DESTDIR="${D}" -C ${i} install - done - use static-libs || rm -f "${D}"/usr/lib*/*.a -} diff --git a/sys-cluster/liblogthread/Manifest b/sys-cluster/liblogthread/Manifest deleted file mode 100644 index c85d65f..0000000 --- a/sys-cluster/liblogthread/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST cluster-3.1.5.tar.gz 651449 RMD160 c12dbf38c3e24cbdac23dbfdce6cb96da5c722ff SHA1 884d153ad9545d8abd225744dff5a905e19a6702 SHA256 95be1b484f9c58af3c47a9d46dc2802d37f1b2b9028053f243a2c8bd1f07623e -EBUILD liblogthread-3.1.5.ebuild 1074 RMD160 a2c8a71e785076dfd82ae659a49bc3b99cae3e02 SHA1 ca9a3b0ae472fd805c22bf267bffa83ad9d993b6 SHA256 8861f26e3ef0f28ed77a9e998bc98259fba0eae45cd9a690c74465f800906e75 diff --git a/sys-cluster/liblogthread/liblogthread-3.1.5.ebuild b/sys-cluster/liblogthread/liblogthread-3.1.5.ebuild deleted file mode 100644 index 79a23ab..0000000 --- a/sys-cluster/liblogthread/liblogthread-3.1.5.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit linux-info multilib toolchain-funcs versionator - -CLUSTER_RELEASE="${PV}" -MY_P="cluster-${CLUSTER_RELEASE}" - -MAJ_PV="$(get_major_version)" -MIN_PV="$(get_version_component_range 2-3)" - -DESCRIPTION="Thread-Safe Syslog Logging Library" -HOMEPAGE="https://fedorahosted.org/cluster/wiki/HomePage" -SRC_URI="https://fedorahosted.org/releases/c/l/cluster/${MY_P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="static-libs" - -RDEPEND="" -DEPEND=">=sys-kernel/linux-headers-2.6.24" - -S="${WORKDIR}/${MY_P}/common/${PN}" - -src_configure() { - cd "${WORKDIR}/${MY_P}" - ./configure \ - --cc=$(tc-getCC) \ - --cflags="-Wall" \ - --libdir=/usr/$(get_libdir) \ - --disable_kernel_check \ - --kernel_src=${KERNEL_DIR} \ - --somajor="$MAJ_PV" \ - --sominor="$MIN_PV" \ - --logtlibdir=/usr/$(get_libdir) \ - --logtincdir=/usr/include \ - || die "configure problem" -} - -src_install() { - default - use static-libs || rm -f "${D}"/usr/lib*/*.a -} diff --git a/sys-cluster/rgmanager-agents/Manifest b/sys-cluster/rgmanager-agents/Manifest deleted file mode 100644 index 81f9e53..0000000 --- a/sys-cluster/rgmanager-agents/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -EBUILD rgmanager-agents-3.9.2.ebuild 1690 RMD160 ddd84ec48fee00299145032c82b675a598774483 SHA1 c0041fa050ef02e66f80d867526e0ac23c94a885 SHA256 86c251629729535ddbce33810efe5b7f998ff3607f641db9f71c68a1fc2aeda4 -DIST rgmanager-agents-3.9.2.tar.gz 1103104 RMD160 caad45e5b5a44810ab39c9988b894c2a66ab922c SHA1 2b300d589056bab3f5144964d81c3572f98f1750 SHA256 e62cedf54cdfec0e1532a6ca08a1b4d6e1686586001bd695e45c28eed0c4a887 diff --git a/sys-cluster/rgmanager-agents/rgmanager-agents-3.9.2.ebuild b/sys-cluster/rgmanager-agents/rgmanager-agents-3.9.2.ebuild deleted file mode 100644 index 4872666..0000000 --- a/sys-cluster/rgmanager-agents/rgmanager-agents-3.9.2.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit multilib versionator - -CLUSTER_RELEASE="3.1.5" -MY_PN="resource-agents" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Resource Manager Agents" -HOMEPAGE="https://fedorahosted.org/cluster/wiki/HomePage" -SRC_URI="https://fedorahosted.org/releases/r/e/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="~sys-cluster/rgmanager-${CLUSTER_RELEASE} - ~sys-cluster/cman-${CLUSTER_RELEASE}" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_P}" - -src_configure() { - econf \ - --docdir=/usr/share/doc/${P} \ - --libdir=/usr/$(get_libdir) \ - --localstatedir=/var \ - --sysconfdir=/etc \ - --with-ras-set=rgmanager -} - -src_install() { - default - - # remove useless RHEV check script and log directory - rm -rf "${D}/usr/sbin" "${D}/var" -} - -pkg_postinst() { - if [[ "${ROOT}" != "/" ]] ; then - ewarn "You have to run 'ccs_update_schema' in the chroot-environment" - ewarn "to update the schema file for the cluster configuration." - ewarn "Otherwise you will not be able to define ressources." - else - elog "Running ccs_update_schema to update the configuration file schema" - /usr/sbin/ccs_update_schema -v -f - fi -} - -pkg_postrm() { - if [[ "${ROOT}" != "/" ]] ; then - ewarn "You have to run 'ccs_update_schema' in the chroot-environment" - ewarn "to update the schema file for the cluster configuration." - ewarn "Otherwise you may be able to define ressources even though they" - ewarn "are not present anymore." - else - elog "Running ccs_update_schema to update the configuration file schema" - /usr/sbin/ccs_update_schema -v -f - fi -} diff --git a/sys-cluster/rgmanager/Manifest b/sys-cluster/rgmanager/Manifest deleted file mode 100644 index e8c5fc4..0000000 --- a/sys-cluster/rgmanager/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX rgmanager-3.1.5-fix_libxml2.patch 731 RMD160 ba4eb0c6301abe1f408840fbfb14b45c337d3cbf SHA1 a7d56a71e72c7e0d433e84571701d5a374eb1bbe SHA256 b939dec463869b3b3c21b4a9dfad61f14eee57e0cd006e661387c408a0537ced -AUX rgmanager.confd 280 RMD160 665f41ebef32eff3471795e706e479ecb87cace5 SHA1 18b7fe51b960e3a799764dc13da70d6cca39316b SHA256 6b76b80ebd41c3dd375e3e58f518f312af57746b906a41ad2f317eee17c67993 -AUX rgmanager.initd 754 RMD160 2a1e1fba0f376fe5f5ee31af80c106a950a1873e SHA1 c8d8a3c9f833ae56757b7837d670642bb17cd815 SHA256 856e388db67c525514c10eb6fa02283a7ac755cdfc609a9c613f978fc8faf634 -EBUILD rgmanager-3.1.5.ebuild 1528 RMD160 14737174112e52beba423181c2e3e2cabf037e11 SHA1 b7da8992f0708d98203c03c3ef696cfdbd83b995 SHA256 dccfbfa6cbe09844119f95418a267c2581ce6cb34ffd0fbb76845385eb9d0936 -DIST cluster-3.1.5.tar.gz 651449 RMD160 c12dbf38c3e24cbdac23dbfdce6cb96da5c722ff SHA1 884d153ad9545d8abd225744dff5a905e19a6702 SHA256 95be1b484f9c58af3c47a9d46dc2802d37f1b2b9028053f243a2c8bd1f07623e diff --git a/sys-cluster/rgmanager/files/rgmanager-3.1.5-fix_libxml2.patch b/sys-cluster/rgmanager/files/rgmanager-3.1.5-fix_libxml2.patch deleted file mode 100644 index eff23ef..0000000 --- a/sys-cluster/rgmanager/files/rgmanager-3.1.5-fix_libxml2.patch +++ /dev/null @@ -1,23 +0,0 @@ -* Use double underline as header-protectors to avoid collision with icu's platform.h -* (pulled in via libxml2 when built with icu support) resulting in int64_t defined twice -* (once in icu's ptypes.h and once in stdint.h) -* patch by Tiziano Mueller <dev-zero@gentoo.org> ---- a/rgmanager/include/platform.h 2011-03-07 19:58:22.000000000 +0100 -+++ b/rgmanager/include/platform.h 2011-03-08 15:59:36.773871936 +0100 -@@ -1,8 +1,8 @@ - /** @file - * Defines for byte-swapping - */ --#ifndef _PLATFORM_H --#define _PLATFORM_H -+#ifndef __PLATFORM_H -+#define __PLATFORM_H - - #include <endian.h> - #include <sys/param.h> -@@ -56,4 +56,4 @@ - #define PACKED __attribute__((packed)) - #endif - --#endif /* _PLATFORM_H */ -+#endif /* __PLATFORM_H */ diff --git a/sys-cluster/rgmanager/files/rgmanager.confd b/sys-cluster/rgmanager/files/rgmanager.confd deleted file mode 100644 index c66ffd0..0000000 --- a/sys-cluster/rgmanager/files/rgmanager.confd +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/rgmanager/files/rgmanager-2.0x.conf,v 1.1 2008/03/17 17:14:00 xmerlin Exp $ - -PIDFILE="/var/run/rgmanager.pid" - -RGMGR_OPTS="" - diff --git a/sys-cluster/rgmanager/files/rgmanager.initd b/sys-cluster/rgmanager/files/rgmanager.initd deleted file mode 100755 index 1ce539d..0000000 --- a/sys-cluster/rgmanager/files/rgmanager.initd +++ /dev/null @@ -1,35 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Adaption of the original RedHat script -# Original Copyright (C) 2003 Red Hat, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/rgmanager/files/rgmanager-2.0x.rc,v 1.1 2008/03/17 17:14:00 xmerlin Exp $ - -depend() { - use net -# need cman -} - -start() { - ebegin "Starting cluster resource manager" - - # recreate run-directory - mkdir -p /var/run/cluster - - start-stop-daemon \ - --start \ - --quiet \ - --exec "/usr/sbin/rgmanager" \ - --pidfile "${PIDFILE}" \ - -- ${RGMGR_OPTS} - eend $ret -} - -stop() { - ebegin "Shutting down cluster resource manager" - start-stop-daemon \ - --stop \ - --pidfile "${PIDFILE}" \ - --retry 0 - eend $? -} diff --git a/sys-cluster/rgmanager/rgmanager-3.1.5.ebuild b/sys-cluster/rgmanager/rgmanager-3.1.5.ebuild deleted file mode 100644 index aaeb92c..0000000 --- a/sys-cluster/rgmanager/rgmanager-3.1.5.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/rgmanager/rgmanager-2.03.09-r1.ebuild,v 1.1 2011/01/20 09:13:18 xarthisius Exp $ - -EAPI=4 - -inherit eutils multilib versionator - -CLUSTER_RELEASE="${PV}" -MY_P="cluster-${CLUSTER_RELEASE}" - -MAJ_PV="$(get_major_version)" -MIN_PV="$(get_version_component_range 2-3)" - -DESCRIPTION="Clustered resource group manager" -HOMEPAGE="https://fedorahosted.org/cluster/wiki/HomePage" -SRC_URI="https://fedorahosted.org/releases/c/l/cluster/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="dbus" - -DEPEND="~sys-cluster/libcman-${PV} - ~sys-cluster/liblogthread-${PV} - ~sys-cluster/libccs-${PV} - ~sys-cluster/libdlm-${PV} - dev-libs/libxml2 - =sys-libs/slang-2* - dbus? ( sys-apps/dbus )" -RDEPEND="${DEPEND} - ~sys-cluster/cman-${PV}" - -S=${WORKDIR}/${MY_P}/${PN} - -src_prepare() { - epatch "${FILESDIR}/${P}-fix_libxml2.patch" -} - -src_configure() { - local myopts="" - use dbus || myopts="--disable_dbus" - cd "${WORKDIR}"/${MY_P} - ./configure \ - --cc="$(tc-getCC)" \ - --cflags="-Wall" \ - --libdir=/usr/$(get_libdir) \ - --disable_kernel_check \ - --somajor="$MAJ_PV" \ - --sominor="$MIN_PV" \ - --dlmlibdir=/usr/$(get_libdir) \ - --dlmincdir=/usr/include \ - --cmanlibdir=/usr/$(get_libdir) \ - --cmanincdir=/usr/include \ - ${myopts} \ - || die "configure problem" -} - -src_install() { - default - - newinitd "${FILESDIR}"/${PN}.initd ${PN} - newconfd "${FILESDIR}"/${PN}.confd ${PN} -} |