public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/ultrabug:master commit in: sys-cluster/fence-agents/
@ 2011-08-02  9:24 Alexys Jacob
  0 siblings, 0 replies; 2+ messages in thread
From: Alexys Jacob @ 2011-08-02  9:24 UTC (permalink / raw
  To: gentoo-commits

commit:     273fb8b044fbc58eeab85589363b5f2bfbd5b22f
Author:     Ultrabug <ultrabug <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  2 09:24:15 2011 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Tue Aug  2 09:24:15 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/ultrabug.git;a=commit;h=273fb8b0

add fence agents ebuild thanks to David Guglielmi for his work

---
 sys-cluster/fence-agents/Manifest                  |    2 +
 sys-cluster/fence-agents/fence-agents-3.1.5.ebuild |   37 ++++++++++++++++++++
 2 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/sys-cluster/fence-agents/Manifest b/sys-cluster/fence-agents/Manifest
new file mode 100644
index 0000000..0abbfcd
--- /dev/null
+++ b/sys-cluster/fence-agents/Manifest
@@ -0,0 +1,2 @@
+DIST fence-agents-3.1.5.tar.gz 897416 RMD160 5d73e6a3248619a9b5defc18de7b35e4a9fe2c79 SHA1 205ba32c68a5bc089e88a7bd5bb26ce3c20b4ed5 SHA256 cc822f793dac2d86778982716bd5bd482daf4ac33f0726c47e638f70bcaa3ba7
+EBUILD fence-agents-3.1.5.ebuild 786 RMD160 7a94a9a34d14cb29becb56d2df92f3ef6a325288 SHA1 c876bb4d286a0537c9444c0734a466872dcdc388 SHA256 b5faf424d15aca2b109514f705bc85e1ed1106b4f8baa4f1993d8e86a5d7d70b

diff --git a/sys-cluster/fence-agents/fence-agents-3.1.5.ebuild b/sys-cluster/fence-agents/fence-agents-3.1.5.ebuild
new file mode 100644
index 0000000..827dc21
--- /dev/null
+++ b/sys-cluster/fence-agents/fence-agents-3.1.5.ebuild
@@ -0,0 +1,37 @@
+# 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
+}
\ No newline at end of file



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] dev/ultrabug:master commit in: sys-cluster/fence-agents/
@ 2011-08-24 14:15 Tiziano Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Tiziano Müller @ 2011-08-24 14:15 UTC (permalink / raw
  To: gentoo-commits

commit:     d8079b43443ca131d092cf4a93cc6c33dd54f8b8
Author:     Tiziano Mueller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 24 14:00:47 2011 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Wed Aug 24 14:00:47 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/ultrabug.git;a=commit;h=d8079b43

added the same pkg_post{inst,rm} from rgmanager-agents to fence-agents

---
 sys-cluster/fence-agents/Manifest                  |    2 +-
 sys-cluster/fence-agents/fence-agents-3.1.5.ebuild |   23 ++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/sys-cluster/fence-agents/Manifest b/sys-cluster/fence-agents/Manifest
index 0abbfcd..c597345 100644
--- a/sys-cluster/fence-agents/Manifest
+++ b/sys-cluster/fence-agents/Manifest
@@ -1,2 +1,2 @@
+EBUILD fence-agents-3.1.5.ebuild 1572 RMD160 a43b4729a0355ab8109812b6d3548e55327adccd SHA1 6d99a0993aad3bfacd1adf4e57360dc298d7f502 SHA256 a7b009d8f3dafaf9246f24cea9a4fe739646b9bb96bb015749c5e32615be8a64
 DIST fence-agents-3.1.5.tar.gz 897416 RMD160 5d73e6a3248619a9b5defc18de7b35e4a9fe2c79 SHA1 205ba32c68a5bc089e88a7bd5bb26ce3c20b4ed5 SHA256 cc822f793dac2d86778982716bd5bd482daf4ac33f0726c47e638f70bcaa3ba7
-EBUILD fence-agents-3.1.5.ebuild 786 RMD160 7a94a9a34d14cb29becb56d2df92f3ef6a325288 SHA1 c876bb4d286a0537c9444c0734a466872dcdc388 SHA256 b5faf424d15aca2b109514f705bc85e1ed1106b4f8baa4f1993d8e86a5d7d70b

diff --git a/sys-cluster/fence-agents/fence-agents-3.1.5.ebuild b/sys-cluster/fence-agents/fence-agents-3.1.5.ebuild
index 827dc21..be175c6 100644
--- a/sys-cluster/fence-agents/fence-agents-3.1.5.ebuild
+++ b/sys-cluster/fence-agents/fence-agents-3.1.5.ebuild
@@ -34,4 +34,27 @@ src_configure() {
 		--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
+	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
+	fi
 }
\ No newline at end of file



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-24 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-24 14:15 [gentoo-commits] dev/ultrabug:master commit in: sys-cluster/fence-agents/ Tiziano Müller
  -- strict thread matches above, loose matches on Subject: below --
2011-08-02  9:24 Alexys Jacob

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox