summaryrefslogtreecommitdiff
path: root/sys-cluster/rgmanager-agents
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-cluster/rgmanager-agents
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-cluster/rgmanager-agents')
-rw-r--r--sys-cluster/rgmanager-agents/Manifest5
-rw-r--r--sys-cluster/rgmanager-agents/metadata.xml9
-rw-r--r--sys-cluster/rgmanager-agents/rgmanager-agents-3.9.2.ebuild64
3 files changed, 78 insertions, 0 deletions
diff --git a/sys-cluster/rgmanager-agents/Manifest b/sys-cluster/rgmanager-agents/Manifest
new file mode 100644
index 000000000000..c098261b7968
--- /dev/null
+++ b/sys-cluster/rgmanager-agents/Manifest
@@ -0,0 +1,5 @@
+DIST rgmanager-agents-3.9.2.tar.gz 1103104 SHA256 e62cedf54cdfec0e1532a6ca08a1b4d6e1686586001bd695e45c28eed0c4a887 SHA512 6ca12715ebbf43fda8acfe17932f79629f55e98e50f79f846c5d66c067389f72357a14474352cfb3bb545efaedde47ffc31b9f60b4237a374f9b76a586378935 WHIRLPOOL 9c20292e29b141f829c28b9a5ee20bb1e2c1c96ea5888758a2a26123782f8a0409a700c1f2cb47f51c922e092b248ca0ee54e990544b6af655709bea692fca23
+EBUILD rgmanager-agents-3.9.2.ebuild 1677 SHA256 fdaefe4895843a0501152ec2e3bc06efd7473f220196823796a34fcd075a2eaa SHA512 29a7d6e22ca5fe13fb0965da857e526dbd2f2460a2f8e8eb373e581b3fd9cda581e3a26f50f048134600893ff737264f8afa7878aa1635f305dd3fa4b273e1b7 WHIRLPOOL 74937b097325f36f4302967ea22569d6d07af6ebe5024265de51f2c11c55e31bdb49b3c79d51bda4df9b66bac489112442e1a46db3459cf364427ecc55fccce6
+MISC ChangeLog 2457 SHA256 27987de8289b4b092c377343ff2eed23bf899a433a20c6c07bf5983a76d722b3 SHA512 7f838a829a2d1c9f4852fc06cc9f8130c3dd7145a259e9f9f1b37a80dff1d56b3ff4bc0caac27c886d5df46490746989796775730846b2eef9bed39801f360b2 WHIRLPOOL ee06323a84a4cb0d61af8f1a8f109185caee30bd966dd817888457ab0516a0567ede2bc7da58ae7f4cf40e620335a6b8b9fd9466fee3c1699e03e6601223f5f3
+MISC ChangeLog-2015 383 SHA256 218ea521f4763562fab8690e3df6e39de149e06ddcdd7e352bbe43208be11756 SHA512 e89d0db3ed77c6d6c274405a387c54b3238343e128672e0d747d2cdaf0f5d45183fa76c73d537fcb9fcc09113c6e17b6eb658e7a72b7bf7ae1e84f582b5c2dda WHIRLPOOL 0e5d4738a5b617a534527e9456b58babfd133a436ca9772f5c757f9c22f6d3b80799af0138b6d8939d57d37e3600a704b1cdb8b929849390950323470459cc25
+MISC metadata.xml 317 SHA256 fbbbb1354d161ebfb47b6e54673a8d57a63ed79f6c0f7fe255db22a09035f068 SHA512 969b84373fae066dff00e89008411a4fc5e73270126aaf50fe731d54056d04491ad0641ebc7dcc8a8d0cad2c77053b48fa07031b09be4af2ad5d89dd3399525d WHIRLPOOL 7589595dcac2d0671abf580bb23acbe3fefab07d7b6850da56745b6a77e2ddcd7481d50b200eb7ee07f2933bd16a2296b35e1bb4a6b859cd50f7b76ecccb3113
diff --git a/sys-cluster/rgmanager-agents/metadata.xml b/sys-cluster/rgmanager-agents/metadata.xml
new file mode 100644
index 000000000000..70466e153364
--- /dev/null
+++ b/sys-cluster/rgmanager-agents/metadata.xml
@@ -0,0 +1,9 @@
+<?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>
diff --git a/sys-cluster/rgmanager-agents/rgmanager-agents-3.9.2.ebuild b/sys-cluster/rgmanager-agents/rgmanager-agents-3.9.2.ebuild
new file mode 100644
index 000000000000..280fff2162e2
--- /dev/null
+++ b/sys-cluster/rgmanager-agents/rgmanager-agents-3.9.2.ebuild
@@ -0,0 +1,64 @@
+# 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
+}