parent
09fea2dde9
commit
170a06ef97
3 changed files with 0 additions and 76 deletions
|
@ -1,3 +0,0 @@
|
|||
DIST rgmanager-agents-3.9.2.tar.gz 1103104 BLAKE2B efa71a2924589d3669fd18598ee753f9fdd1984f61cd366dfaad2a389372a5670795e60bb0589d6db811595a1b8f4611ee2e5f6ea08f7da53aef97354e1f2512 SHA512 6ca12715ebbf43fda8acfe17932f79629f55e98e50f79f846c5d66c067389f72357a14474352cfb3bb545efaedde47ffc31b9f60b4237a374f9b76a586378935
|
||||
EBUILD rgmanager-agents-3.9.2.ebuild 1677 BLAKE2B 8571ad7cbf326358a551c04a0bb4fb53a8cf0a36f12e5dfe9e36ffffc9515807f478f0bf00ef20db5513166c57f632af0caf3c8f68a9dde09f887b44e0377972 SHA512 29a7d6e22ca5fe13fb0965da857e526dbd2f2460a2f8e8eb373e581b3fd9cda581e3a26f50f048134600893ff737264f8afa7878aa1635f305dd3fa4b273e1b7
|
||||
MISC metadata.xml 317 BLAKE2B 2902ea0425404e375147f5b95289a8d50c59c72f7933a49769622e35842ce1c0e1ee00dfbbc96cc93ec36af5458740e79bc6247c4415802fdf367aa5ec82bd07 SHA512 969b84373fae066dff00e89008411a4fc5e73270126aaf50fe731d54056d04491ad0641ebc7dcc8a8d0cad2c77053b48fa07031b09be4af2ad5d89dd3399525d
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>cluster@gentoo.org</email>
|
||||
<name>Gentoo Cluster Project</name>
|
||||
</maintainer>
|
||||
<longdescription>Resource Manager Agents</longdescription>
|
||||
</pkgmetadata>
|
|
@ -1,64 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in a new issue