diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-cluster/fence-agents |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-cluster/fence-agents')
-rw-r--r-- | sys-cluster/fence-agents/Manifest | 6 | ||||
-rw-r--r-- | sys-cluster/fence-agents/fence-agents-3.1.5-r1.ebuild | 65 | ||||
-rw-r--r-- | sys-cluster/fence-agents/fence-agents-3.1.5-r2.ebuild | 71 | ||||
-rw-r--r-- | sys-cluster/fence-agents/metadata.xml | 9 |
4 files changed, 151 insertions, 0 deletions
diff --git a/sys-cluster/fence-agents/Manifest b/sys-cluster/fence-agents/Manifest new file mode 100644 index 000000000000..68d91ab47f54 --- /dev/null +++ b/sys-cluster/fence-agents/Manifest @@ -0,0 +1,6 @@ +DIST fence-agents-3.1.5.tar.gz 897416 SHA256 cc822f793dac2d86778982716bd5bd482daf4ac33f0726c47e638f70bcaa3ba7 SHA512 3941e2ec9f7db8dfe9fbf8aa360359fa1ff4f3c2d3e6e778289f0bbc39481a54915dbf93d9a9b66f6953ddd2c81562daa7c90e6c0f59ec42e9bfb779ae242992 WHIRLPOOL 19f7e681544affcca907325e999bf97b487debbb0134d96a2e99a8e2371d98e8718fcaba5bd74832ae64bcffc2f0f93f2493211ccbe1868fb31e68845ada7b07 +EBUILD fence-agents-3.1.5-r1.ebuild 1683 SHA256 ff582466a4d1734353e29ca1bb218eb7d7209a039f4396848497387b8d3ea174 SHA512 42049b456c003eabd8b3e1ee850de1496b2a224aec7824215c367f0a5d86e6dc42c7f29d8272a67eeb87b4ed1f2cdbcb62bd3fd5759dbca3ba5018b3afceb8b9 WHIRLPOOL ddf62ec159b8381f69b62cf5faea0f3119ec8ca628d17b9676b92f4dd8a390b91b29ee4472d96f6f284b7aa933652fb87cd5e0706b19f7d3521c938554d3665f +EBUILD fence-agents-3.1.5-r2.ebuild 1836 SHA256 ce2452fc203ea1ecae62c4be57727710f7513a79f4335edc398b8c3f2ca5a766 SHA512 340384527415bd8593d5b81fdc3a50fc10603ee93fc8df1e3f7f28031fc28136ee91b904750c19ce0a52e997aafbf0800ce70598f373c6977847d86fb666dcad WHIRLPOOL 4d7d8c412bd95ad9cf4fc4932c83c0d47c0092967947378131b7986fc05ece038b4e5a5858a4b3504b581d823251bae899f8351a2e9fcdd3a2492c8c6166a5ef +MISC ChangeLog 2519 SHA256 53ee0ea32a521f3051028c78408dca15c195a46d1bdf98813462b76826b20c39 SHA512 5fa20587fcbd3eabfbf30d83bac2157f814b45880eab7ea09f69af7ecc16c097b9d55f002b47007a97f007b7f8227251f1d93a4c73cbd7d3e419d9ce20db0bea WHIRLPOOL c21e897f7b14d971c358bc580428ea1c3b96d50770c4abb83b169d97c6e6e92c40bb3962ea0b90329e97a363d9a7e7813f2cce4ae2d280978e03e22c287822ab +MISC ChangeLog-2015 833 SHA256 1145e45c804685c84a19e3e59bf2d5b80f65b627ce3d8c39d708151a7b61e131 SHA512 a177b48f4afb7441a2adc7a6434a9ff2e4904cf0de9a0c6e8206cf3ab146814a5968663d479857bb13dab73d988a982d18639b6a3e24fc62fccf403d65d3adf2 WHIRLPOOL 89748d482f46aecc5238ae2636b998b1eaa2745cdcb461cd0f9c8487c78c3fc71330065c880a17199f1ef4e338aac5b433457412b90d6ed122bf19e3fece7398 +MISC metadata.xml 323 SHA256 42b960c17e986dc51a6532d87ef9ef515fd02a60d4f402e461f03ebac046f1a6 SHA512 771302bd401362ba141c27bd7c8b34c2a7f1b2ad310035f5af2aab1188b9451d9189536a5ec607479ccfabd7a35bb4fab84e713c5aa9ea85948397ad5c6609a4 WHIRLPOOL 5839dd14be881a1ff176301c89007bd0f76eb1d39bf6e071967b24d6e10fbc8763b2049f09613ba6f99b350bc39b2bacc756429091d01a00be057d248295c5f5 diff --git a/sys-cluster/fence-agents/fence-agents-3.1.5-r1.ebuild b/sys-cluster/fence-agents/fence-agents-3.1.5-r1.ebuild new file mode 100644 index 000000000000..a1e725a143fa --- /dev/null +++ b/sys-cluster/fence-agents/fence-agents-3.1.5-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +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 +} + +src_install() { + default + # dont force /var/run creation on installation wrt #451798 + rm -rf "${D}"/var/run +} + +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/fence-agents/fence-agents-3.1.5-r2.ebuild b/sys-cluster/fence-agents/fence-agents-3.1.5-r2.ebuild new file mode 100644 index 000000000000..674b1ea1bb1c --- /dev/null +++ b/sys-cluster/fence-agents/fence-agents-3.1.5-r2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit multilib python-any-r1 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="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="~sys-cluster/libccs-${PV}" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + dev-libs/libxslt + $(python_gen_any_dep ' + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pycurl[${PYTHON_USEDEP}] + dev-python/suds[${PYTHON_USEDEP}] + ')" + +src_configure() { + econf \ + --docdir=/usr/share/doc/${P} \ + --libdir=/usr/$(get_libdir) \ + --localstatedir=/var +} + +src_install() { + default + # dont force /var/run creation on installation wrt #451798 + rm -rf "${ED}"/var/run || die +} + +pkg_postinst() { + if [[ "${EROOT}" != "/" ]] ; 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" + ccs_update_schema -v -f + fi +} + +pkg_postrm() { + if [[ "${EROOT}" != "/" ]] ; 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" + ccs_update_schema -v -f + fi +} diff --git a/sys-cluster/fence-agents/metadata.xml b/sys-cluster/fence-agents/metadata.xml new file mode 100644 index 000000000000..5e3ac099a8b6 --- /dev/null +++ b/sys-cluster/fence-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>Cluster Fencing Agents</longdescription> +</pkgmetadata> |