diff options
author | 2008-03-17 16:24:35 +0000 | |
---|---|---|
committer | 2008-03-17 16:24:35 +0000 | |
commit | cc9b3784718554ab76c932df3e69b4f5367a8720 (patch) | |
tree | 8a05d6bde2d55a79b1f683cb2dbee825bb91c4e7 /sys-cluster | |
parent | fixed contrib path (diff) | |
download | gentoo-2-cc9b3784718554ab76c932df3e69b4f5367a8720.tar.gz gentoo-2-cc9b3784718554ab76c932df3e69b4f5367a8720.tar.bz2 gentoo-2-cc9b3784718554ab76c932df3e69b4f5367a8720.zip |
Initial Import.
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/cman-lib/ChangeLog | 10 | ||||
-rw-r--r-- | sys-cluster/cman-lib/Manifest | 5 | ||||
-rw-r--r-- | sys-cluster/cman-lib/cman-lib-2.02.00.ebuild | 53 | ||||
-rw-r--r-- | sys-cluster/cman-lib/files/cman-lib-2.02.00-include.patch | 20 | ||||
-rw-r--r-- | sys-cluster/cman-lib/metadata.xml | 8 |
5 files changed, 96 insertions, 0 deletions
diff --git a/sys-cluster/cman-lib/ChangeLog b/sys-cluster/cman-lib/ChangeLog new file mode 100644 index 000000000000..a0345140fe26 --- /dev/null +++ b/sys-cluster/cman-lib/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-cluster/cman-lib +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cman-lib/ChangeLog,v 1.1 2008/03/17 16:24:34 xmerlin Exp $ + +*cman-lib-2.02.00 (17 Mar 2008) + + 17 Mar 2008; Christian Zoffoli <xmerlin@gentoo.org> + +files/cman-lib-2.02.00-include.patch, +cman-lib-2.02.00.ebuild: + Initial Import + diff --git a/sys-cluster/cman-lib/Manifest b/sys-cluster/cman-lib/Manifest new file mode 100644 index 000000000000..c6418d1af9b7 --- /dev/null +++ b/sys-cluster/cman-lib/Manifest @@ -0,0 +1,5 @@ +AUX cman-lib-2.02.00-include.patch 458 RMD160 950181252a82b01050101451d3880fdba448e4cb SHA1 f801463bc66dbe8c1c6e623cd29de22829994c7e SHA256 ee133373a88e6bfe03504d9745124f8642407f911dd2efe7299d1bb096159324 +DIST cluster-2.02.00.tar.gz 8316680 RMD160 3d054699b91f57d8b07d7013dd718a7662d712aa SHA1 8471618222882427ca395f098695c33d2466559c SHA256 c68a62b49780a59dcf075e57fc2aac4524dd27e63ad80c8a2f1313307bca9498 +EBUILD cman-lib-2.02.00.ebuild 1183 RMD160 273c6da29613f4b66ae960f92accdced5c5e274b SHA1 fbdb3c6ee067c98a070438db81ea89f0ed33465a SHA256 f2835cbe14fb4cac6ea547a004a79975dac6023c34e9602ead6e7750ae1efff5 +MISC ChangeLog 293 RMD160 1b27e8c46694f9b90e41dd1cfd09b7ad91a50790 SHA1 c074c4a7260b148311ee021a86c1e90b054d5090 SHA256 ea4cef090a8509c09ddec9e8772a4f9400bca73b5aa12ff812877d7f47d8f40a +MISC metadata.xml 229 RMD160 4dcf17b88c5f4db2e817f473f3e8269b0bff2e6e SHA1 e6315be43241c55bdc0d12a42fa05632c5ff9b79 SHA256 49e13d2d49bef7298e3bb665ebeceeff9b0880fae5ff639cb8405993504f244f diff --git a/sys-cluster/cman-lib/cman-lib-2.02.00.ebuild b/sys-cluster/cman-lib/cman-lib-2.02.00.ebuild new file mode 100644 index 000000000000..e43251195974 --- /dev/null +++ b/sys-cluster/cman-lib/cman-lib-2.02.00.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cman-lib/cman-lib-2.02.00.ebuild,v 1.1 2008/03/17 16:24:34 xmerlin Exp $ + +inherit eutils versionator + +CLUSTER_RELEASE="${PV}" +MY_P="cluster-${CLUSTER_RELEASE}" + +MAJ_PV="$(get_major_version)" +MIN_PV="$(get_version_component_range 2).$(get_version_component_range 3)" + +DESCRIPTION="A library for cluster management common to the various pieces of Cluster Suite." +HOMEPAGE="http://sources.redhat.com/cluster/" +SRC_URI="ftp://sources.redhat.com/pub/cluster/releases/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="!sys-cluster/cman-headers + !sys-cluster/cman-kernel + !=sys-cluster/cman-1* + " +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}/${PN/-//}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-include.patch || die +} + +src_compile() { + (cd "${WORKDIR}"/${MY_P}; + ./configure \ + --cc=$(tc-getCC) \ + --cflags="-Wall" \ + --disable_kernel_check \ + --release_major="$MAJ_PV" \ + --release_minor="$MIN_PV" \ + ) || die "configure problem" + + emake clean || die "clean problem" + emake || die "compile problem" +} + +src_install() { + emake DESTDIR="${D}" install || die "install problem" +} diff --git a/sys-cluster/cman-lib/files/cman-lib-2.02.00-include.patch b/sys-cluster/cman-lib/files/cman-lib-2.02.00-include.patch new file mode 100644 index 000000000000..9dc8de388904 --- /dev/null +++ b/sys-cluster/cman-lib/files/cman-lib-2.02.00-include.patch @@ -0,0 +1,20 @@ +--- cluster-2.02.00/cman/lib/Makefile.orig 2008-02-26 15:37:43.000000000 +0000 ++++ cluster-2.02.00/cman/lib/Makefile 2008-03-16 15:08:59.000000000 +0000 +@@ -13,6 +13,8 @@ + + TARGET= libcman + ++include ../../make/defines.mk ++ + LIBDIRT=$(TARGET).a \ + $(TARGET).so.$(RELEASE_MAJOR).$(RELEASE_MINOR) + +@@ -21,8 +23,6 @@ + + INCDIRT=$(TARGET).h + +-include ../../make/defines.mk +- + SHAREDLIB=$(TARGET).so.${RELEASE_MAJOR}.${RELEASE_MINOR} + STATICLIB=$(TARGET).a + diff --git a/sys-cluster/cman-lib/metadata.xml b/sys-cluster/cman-lib/metadata.xml new file mode 100644 index 000000000000..b2c73e8f3872 --- /dev/null +++ b/sys-cluster/cman-lib/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ha-cluster</herd> +<maintainer> + <email>ha-cluster@gentoo.org</email> +</maintainer> +</pkgmetadata> |