summaryrefslogtreecommitdiff
path: root/sys-cluster/libfence
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/libfence
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-cluster/libfence')
-rw-r--r--sys-cluster/libfence/Manifest7
-rw-r--r--sys-cluster/libfence/libfence-3.1.5.ebuild59
-rw-r--r--sys-cluster/libfence/libfence-3.2.0.ebuild59
-rw-r--r--sys-cluster/libfence/metadata.xml9
4 files changed, 134 insertions, 0 deletions
diff --git a/sys-cluster/libfence/Manifest b/sys-cluster/libfence/Manifest
new file mode 100644
index 000000000000..5a3b333a879e
--- /dev/null
+++ b/sys-cluster/libfence/Manifest
@@ -0,0 +1,7 @@
+DIST cluster-3.1.5.tar.gz 651449 SHA256 95be1b484f9c58af3c47a9d46dc2802d37f1b2b9028053f243a2c8bd1f07623e SHA512 692888ed55c6bb7ebf3b3e792ec071b5fcff4c35c181c5b0c9296e8222c62e10f8a6344af391fbae8186b39cb31e674632bde77ebcc1fcab758657ae4264634a WHIRLPOOL 9d511effd14f9644dea11d1aba22878846beaa6bad4686358ad552c918c2cb72bc5a59605ad2dd576f626ea95f48c9d6b0b8c79f75eb4a721f65b8a60d0728cf
+DIST cluster-3.2.0.tar.gz 688411 SHA256 96651381645cde0e32b06f83e180b1664232a5c589c72f06206e0539e0036cfb SHA512 00620b89564c4f9b67b679695749cd7515f49af43ace6a565e32e020ee66db219f3db3f53420d6460ea8c1cab03258305735fe5db81aab3953777015119533e9 WHIRLPOOL cc468ac8e879dadc157d585b22615d6ffcf0b38a5c93196f8aa9564467e8b8aae6c2688faa9d9e8a98e68a605b86d84b6a79edb474d0cde231e5a78729ebb4e4
+EBUILD libfence-3.1.5.ebuild 1365 SHA256 bc75be6a8d0ff75fe25af5b0432856176b9e53489fb49aeaa4e51d062e0eab04 SHA512 5883b357716337ebaaf0d4aa36ae61362e17e3e8010d6159ed4595702695e54f587a6d40161866ea9a98f40463e7c971c8684ac4cb3ebdb15ee1a382be31a148 WHIRLPOOL 5da10d2c0fb2eea47cd38fa751f6f996f1d36d20f9fa810dbad0f440619c73bf7649ae2ce6c8d7d3174b3fd0080443bdbf041b853ba5556dace3823d6704c695
+EBUILD libfence-3.2.0.ebuild 1372 SHA256 f626906c6724850f90ba0d22e8c08f646d222e8b70b8177915c624089265c055 SHA512 da502b73bf72ab22eb8227cac52d6f3d5b06bcff3a80b930310ecc897572d6614f3ddd3347d056556cafdb03e733197c5eaeaeb8bece5904dba8749f83f7bc66 WHIRLPOOL fd85d5a181cfefc8c4346da896fd09ad501dada4300c9c545d163661ab82eb1b3037a4a453e8c787a53ab7c0fccac54ec9408d6afd0a58c2f2b55a0d1c7cc6e9
+MISC ChangeLog 2487 SHA256 08791d49b567feb5eb1ddd4150ed9d1e28c6a0bad6274e1e8a444721f31cd3cd SHA512 052d27b4da9b2a912ba44a7a83998423c2d1895ffc1ebadaf4eeb47ed5be4b26b0a1e39ea7eeac4e3130a815997c59752605ec39bee0f771fe48586782aab6cd WHIRLPOOL 7fab03f89e0e04655b5e4dff5572115af58379474bbc6958d3991509b2205bfdbbee324349101f6653e96d4343206e01fea0292db5f05605810e05708332c0ba
+MISC ChangeLog-2015 569 SHA256 0becf0511ead3ff7e0d68b43519243e8e77c50509d6047b5a3312b5ed115af2a SHA512 cc4474713bdaad6f2b5665c8484b38309dc5cb4d188acbd79083c0b0e8d14dad7ce7282f77c05059daf48b4b136c0a69b7f925df5cb72b5e363eabe1778ef5e6 WHIRLPOOL bc50ce3d665c415b7d6cd8ecfa772bf20f2c2ac2471ef36e292a5020420d17c059d537d445aa98f90ce6cff68113e979bdedce3452a2f69b576bb2126afa1dc8
+MISC metadata.xml 317 SHA256 b392bd5956409ce0c4f534e9ab463e289e23624300b4c398dca7ee54be37dfe3 SHA512 1622dc57ee420ab60a653ab370f0a3142a93efc865c2f8c47c8d0931b8aeeb9bfaef841ce9e9834985630193511002655fb0da2a10fa16707b2d0f4ecd51db05 WHIRLPOOL a2911485b0ffa3428e139f8a924ad448ea648c99a9ebf3a4df24b88b663c3bb943c79c9b0692f85ba12f84456ae342f2c3cb362ec0c5646172a4fd140bcb6655
diff --git a/sys-cluster/libfence/libfence-3.1.5.ebuild b/sys-cluster/libfence/libfence-3.1.5.ebuild
new file mode 100644
index 000000000000..024a3122df91
--- /dev/null
+++ b/sys-cluster/libfence/libfence-3.1.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit linux-info multilib toolchain-funcs 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 Library"
+HOMEPAGE="https://fedorahosted.org/cluster/wiki/HomePage"
+SRC_URI="https://fedorahosted.org/releases/c/l/cluster/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="static-libs"
+
+RDEPEND="~sys-cluster/libccs-${PV}"
+DEPEND="${RDEPEND}
+ >=sys-kernel/linux-headers-2.6.24"
+
+S="${WORKDIR}/${MY_P}/fence"
+
+src_configure() {
+ cd "${WORKDIR}/${MY_P}"
+ ./configure \
+ --cc=$(tc-getCC) \
+ --cflags="-Wall" \
+ --libdir=/usr/$(get_libdir) \
+ --disable_kernel_check \
+ --kernel_src=${KERNEL_DIR} \
+ --somajor="$MAJ_PV" \
+ --sominor="$MIN_PV" \
+ --fencelibdir=/usr/$(get_libdir) \
+ --fenceincdir=/usr/include \
+ --fencedlibdir=/usr/$(get_libdir) \
+ --fencedincdir=/usr/include \
+ --ccslibdir=/usr/$(get_libdir) \
+ --ccsincdir=/usr/include \
+ || die "configure problem"
+}
+
+src_compile() {
+ for i in libfence libfenced; do
+ emake -C ${i}
+ done
+}
+
+src_install() {
+ for i in libfence libfenced; do
+ emake DESTDIR="${D}" -C ${i} install
+ done
+ use static-libs || rm -f "${D}"/usr/lib*/*.a
+}
diff --git a/sys-cluster/libfence/libfence-3.2.0.ebuild b/sys-cluster/libfence/libfence-3.2.0.ebuild
new file mode 100644
index 000000000000..165a3bc5561d
--- /dev/null
+++ b/sys-cluster/libfence/libfence-3.2.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit linux-info multilib toolchain-funcs 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 Library"
+HOMEPAGE="https://fedorahosted.org/cluster/wiki/HomePage"
+SRC_URI="https://fedorahosted.org/releases/c/l/cluster/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~hppa ~x86"
+IUSE="static-libs"
+
+RDEPEND="~sys-cluster/libccs-${PV}"
+DEPEND="${RDEPEND}
+ >=sys-kernel/linux-headers-2.6.24"
+
+S="${WORKDIR}/${MY_P}/fence"
+
+src_configure() {
+ cd "${WORKDIR}/${MY_P}"
+ ./configure \
+ --cc=$(tc-getCC) \
+ --cflags="-Wall" \
+ --libdir=/usr/$(get_libdir) \
+ --disable_kernel_check \
+ --kernel_src=${KERNEL_DIR} \
+ --somajor="$MAJ_PV" \
+ --sominor="$MIN_PV" \
+ --fencelibdir=/usr/$(get_libdir) \
+ --fenceincdir=/usr/include \
+ --fencedlibdir=/usr/$(get_libdir) \
+ --fencedincdir=/usr/include \
+ --ccslibdir=/usr/$(get_libdir) \
+ --ccsincdir=/usr/include \
+ || die "configure problem"
+}
+
+src_compile() {
+ for i in libfence libfenced; do
+ emake -C ${i}
+ done
+}
+
+src_install() {
+ for i in libfence libfenced; do
+ emake DESTDIR="${D}" -C ${i} install
+ done
+ use static-libs || rm -f "${D}"/usr/lib*/*.a
+}
diff --git a/sys-cluster/libfence/metadata.xml b/sys-cluster/libfence/metadata.xml
new file mode 100644
index 000000000000..0a34fce91e47
--- /dev/null
+++ b/sys-cluster/libfence/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 Library</longdescription>
+</pkgmetadata>