summaryrefslogtreecommitdiff
path: root/sys-cluster/openais
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/openais
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-cluster/openais')
-rw-r--r--sys-cluster/openais/Manifest5
-rw-r--r--sys-cluster/openais/metadata.xml17
-rw-r--r--sys-cluster/openais/openais-1.1.4-r1.ebuild45
3 files changed, 67 insertions, 0 deletions
diff --git a/sys-cluster/openais/Manifest b/sys-cluster/openais/Manifest
new file mode 100644
index 000000000000..3e01494cf409
--- /dev/null
+++ b/sys-cluster/openais/Manifest
@@ -0,0 +1,5 @@
+DIST openais-1.1.4.tar.gz 566559 SHA256 974b4959f3c401c16156dab31e65a6d45bbf84dd85a88c2a362712e738c06934 SHA512 9dab2d0c3ac1996fd76385cc89071dc84268065e6992642fefe005962e8367170681fed626c5bd863a8ea24abe57e2b8b3eddc20bc38b14104c729c599f3c79e WHIRLPOOL 2dce858ead76f4008dacde48aa4bd91692625a85c3fec293a593b50d5312df65a2978e05476179bd47e49e99c42df0329f5c54c13594e0e8775fa855332e3ed5
+EBUILD openais-1.1.4-r1.ebuild 1096 SHA256 1a19e6b74dff7f7f421773bb3259963695010dbe8cf2b8b3a2e45924fdaf9079 SHA512 75ac8549f13a7c4b752ffaa5d59b805294ea236c91fe551af70bd66c66ef129a6afcd7b9b701261aca60311cfedcfd78ffae5201c8e16b267e71e787b0fd3d4d WHIRLPOOL c37fa90b748b1d8f2268ea9b634b455e764fc989e35f73d3838853312ac41213bd9d756a719513bb6def592b143afd426c08e11228e60110576fac0cf91fd677
+MISC ChangeLog 2436 SHA256 6329776156ceeaecca62f2a4b9eff80bd271042d77ad0c37e28b440b8d538a49 SHA512 6ecda3379cadce2efd4345da29483fca4d36d607d461fc47214ad5d498c6bac1e7482316301295c8970534db1be003906f15f8604cef4ab6d13fdb305b2a2d28 WHIRLPOOL d90b0ff9f3071572680d9cfae96a3f8ce680ef2ab5c2f6b40d53f0a8b7c9cea19daca7368c2333567dc58aace73b67d9f7aa64071aaf5b39facdc7b77adfada9
+MISC ChangeLog-2015 1953 SHA256 df717398231bebc6312dadadf9f1bdabd988c44581f3671ffc224396e12d465c SHA512 8d7613bd919b801ebdc20b6106574823a1ff509aef6e53b156d59937978423a5584a5ddeef5e66feed2ef922ecf23f21b8ec449ece2850581908420b54268d19 WHIRLPOOL 08932130de25fcdfa4e03c1caf547010cb6e9d71eb51b82b27472d0a3f6cf5e8d299cedcedeb1f2425419e304ad815645f0704ae9fcd4658b13572a30cae4734
+MISC metadata.xml 822 SHA256 de469eb11af541973c727f37c897eb5d98707641702db3b6771792f7c07cdab6 SHA512 85eb8ae73ebc0614b240733110eecf256f00cd694c303c1dc5b42d5b038f8cef72adf65a99866cd270d6cdbc229e6730d947fcfedb2b59e2a51bf8b8a4f12aa3 WHIRLPOOL c49bca79e2681789394b8ba746e9eccbd1e955a6bcd64401f7c14d945862ced273fffde5520109f840223322f7916f0df28308e67a4e1703f4c2f826c25848b1
diff --git a/sys-cluster/openais/metadata.xml b/sys-cluster/openais/metadata.xml
new file mode 100644
index 000000000000..c08a18d0927c
--- /dev/null
+++ b/sys-cluster/openais/metadata.xml
@@ -0,0 +1,17 @@
+<?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>
+ The OpenAIS Standards Based Cluster Framework is an OSI Certified implementation of
+ the Service Availability Forum Application Interface Specification (AIS).
+ The Application Interface Specification is a software API and policies which are
+ used to develop applications that maintain service during faults.
+ Restarting and failover of applications is also provided for those
+ deploying applications which may not be modified. The OpenAIS software is built
+ to operate as plugins to the Corosync Cluster Engine.
+ </longdescription>
+</pkgmetadata>
diff --git a/sys-cluster/openais/openais-1.1.4-r1.ebuild b/sys-cluster/openais/openais-1.1.4-r1.ebuild
new file mode 100644
index 000000000000..bf42581c57c3
--- /dev/null
+++ b/sys-cluster/openais/openais-1.1.4-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit autotools base
+
+DESCRIPTION="Open Application Interface Specification cluster framework"
+HOMEPAGE="http://www.openais.org/"
+SRC_URI="ftp://ftp:${PN}.org@${PN}.org/downloads/${P}/${P}.tar.gz"
+
+LICENSE="BSD public-domain"
+SLOT="0"
+KEYWORDS="amd64 ~arm64 hppa x86 ~x86-fbsd"
+IUSE="static-libs"
+
+RDEPEND="<sys-cluster/corosync-2.0.0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( "${S}/AUTHORS" "${S}/README.amf" )
+
+src_prepare() {
+ # respect CFLAGS
+ sed -i -e "s/\$OPT_CFLAGS \$GDB_FLAGS//" configure.ac || die
+ # respect LDFLAGS
+ sed -i -e "s/\$(CFLAGS) -shared/\$(CFLAGS) \$(LDFLAGS) -shared/" \
+ services/Makefile.am || die
+ # don't install docs
+ sed -i -e "/^dist_doc/d" Makefile.am || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --docdir=/usr/share/doc/${PF} \
+ --localstatedir=/var
+}
+
+src_install() {
+ base_src_install
+ rm -rf "${D}"/etc/init.d/openais || die
+ use static-libs || rm -rf "${D}"/usr/$(get_libdir)/*.a || die
+}