From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sys-cluster/dlm/Manifest | 7 ++++ sys-cluster/dlm/dlm-2.03.09.ebuild | 69 ++++++++++++++++++++++++++++++++++++++ sys-cluster/dlm/dlm-2.03.11.ebuild | 69 ++++++++++++++++++++++++++++++++++++++ sys-cluster/dlm/metadata.xml | 8 +++++ 4 files changed, 153 insertions(+) create mode 100644 sys-cluster/dlm/Manifest create mode 100644 sys-cluster/dlm/dlm-2.03.09.ebuild create mode 100644 sys-cluster/dlm/dlm-2.03.11.ebuild create mode 100644 sys-cluster/dlm/metadata.xml (limited to 'sys-cluster/dlm') diff --git a/sys-cluster/dlm/Manifest b/sys-cluster/dlm/Manifest new file mode 100644 index 000000000000..6b10dcb42bc5 --- /dev/null +++ b/sys-cluster/dlm/Manifest @@ -0,0 +1,7 @@ +DIST cluster-2.03.09.tar.gz 1784357 SHA256 b6d6f35f58b2f8628c369391e0fd01b1803af40029ec1e6ef88865dda38b855f SHA512 5dbcf978336a6b7998df0d3dfcff037e1e77e9e69b43d78eb573a65432445e572e69d7783e7874e9edf2632627f02426f428103831e10f5d1f338afa91a62c28 WHIRLPOOL 30158d495677d9cd0d8a8915dd062f75b60ca99a5d937fa10862d746608bab0e500565e94d14f6b2a4f6e8dc13674d342347aecd24546df6d3f578c0cf87113d +DIST cluster-2.03.11.tar.gz 1790532 SHA256 2597e7cbcbc6b272fd21aa2468f0810a097efd996128fcd672a786d106b1124d SHA512 bdcae4ff9834cb2870ed3e51079046d0b4f56ef391cda83ece537c48b19d692b01bf208f3936504223d4f3d283b2645cc076383f718f0c2242b2ccd9badad876 WHIRLPOOL 970b007601d1962692a906f08981bd579e4c17e09e29ae837ce663b0566de35daae4ae8c10c19b433dc6a0c7e3197228fca4d16f7e9721161b53658f7a3f0d34 +EBUILD dlm-2.03.09.ebuild 1527 SHA256 b96b23eddaa0053d1507da931e67cfe87238acb808cb5e03dd746544b03544c9 SHA512 67f95c7464205e951c09ed3983b92842311806dd46803229dae6ccfd6cf9345c529ffed7a093a49e9b9f2dfb9caa7730acc3ef828f79bd951ebd8f6d58b4d3a8 WHIRLPOOL 092d2a83aee7b200658f16aaf2b3a11392f53df1ffee217060ac57c56f9f2386046d2aa6a7a644479db821b0b2271cfad4f0b76fc3fb310de38a47e2a565b5fd +EBUILD dlm-2.03.11.ebuild 1529 SHA256 968628564dd9380f61e79252a03dbbf7392343cc55454bed587c4d68a58ad145 SHA512 834b115a965568565852b2b0ba3566b294dd7460c11ed788e684e7496c2166004b5633e6cb479665b7776861ea7b4efaa5682e0c3912dce3257fdd856b89c54f WHIRLPOOL 43ccb72ce1b3bd6541e29b9a9a22ebe0cc527fe3afdd0e40ad1eedaefe6fc05bac2c557315e3ec26a44a48c7d8e70b371b224e977f412b5ac60bad7760bb03e1 +MISC ChangeLog 3044 SHA256 675ff0c24be8e525cd612f3d8fe8ca5fde0edd57255bf7f9ffb416df5a57d789 SHA512 1bb7d3c294dbc0c79521141bd5194cb7b3bb8b71380458d7a201755a1d6f7e20990c535a66fa4c6ea1d36dab3f17a61dd38a8310843d416dd7e7695d91c21e11 WHIRLPOOL 01c2cb8df2b3888ef7c91e594cfed25aa2f549e16cfb27452e030b8b2cbb08dbf097618b0f68ba90080436cd7365b1ac8e4908b77641ad5683481523e18b41c9 +MISC ChangeLog-2015 5039 SHA256 8bff77d699142b46c1eb856c72986c2cb13c6e7d92be7b5974532e84ab6d8061 SHA512 62a6669e6c22f104620935ff12f774c297d410ffab9f8abc920888b15e3bc744936b871c71c263d89d1333bb44efb619c07e40b6099ca1c07981e383e511478c WHIRLPOOL afeb415861636e390aaf347a59b27e50ade9abf9c7f370dffadb9dab76b8051c4b18ffa65330324b843c74b6ecd26f117971ce8759022d41e52d812064d9a602 +MISC metadata.xml 253 SHA256 5030a84d36a522ae62530f6406dbda5099255457f76b3ed419dcffc6d7383667 SHA512 0894860713279dc39bbe7ce3491002710b62c4476198984a0deb6328cb0012c19d7a5546299960bbe600ee240e62a603dd4c4fa04325a753cc0b7c4044c30aba WHIRLPOOL c55ba84102cbd078e50dd719902811669b3913122f44e982c90039b27067446810d881e73a22ed410edc41a409a273fd355be8a6d627bb0e67717b6a33d5fe1e diff --git a/sys-cluster/dlm/dlm-2.03.09.ebuild b/sys-cluster/dlm/dlm-2.03.09.ebuild new file mode 100644 index 000000000000..361d6e30adc6 --- /dev/null +++ b/sys-cluster/dlm/dlm-2.03.09.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils linux-mod 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="General-purpose Distributed Lock Manager" +HOMEPAGE="https://sourceware.org/cluster/wiki/" +SRC_URI="ftp://sourceware.org/pub/cluster/releases/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=sys-kernel/linux-headers-2.6.24 + !sys-cluster/dlm-headers + !sys-cluster/dlm-kernel + =sys-cluster/dlm-lib-${CLUSTER_RELEASE}* + " + +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + + # fix the manual pages have executable bit + sed -i -e ' + /\tinstall -d/s/install/& -m 0755/; t + /\tinstall/s/install/& -m 0644/' \ + man/Makefile || die "failed patching man pages permission" + +} + +src_compile() { + (cd "${WORKDIR}"/${MY_P}; + ./configure \ + --cc=$(tc-getCC) \ + --cflags="-Wall" \ + --disable_kernel_check \ + --kernel_src=${KERNEL_DIR} \ + --somajor="$MAJ_PV" \ + --sominor="$MIN_PV" \ + --cmanlibdir=/usr/lib \ + --dlmlibdir=/usr/lib \ + --dlmincdir=/usr/include \ + ) || die "configure problem" + + emake clean || die "clean problem" + for i in tool man; do + emake -C $i || die "compile problem" + done +} + +src_install() { + for i in tool man; do + emake DESTDIR="${D}" -C $i install || die "install problem" + done + + dodoc doc/*.txt +} diff --git a/sys-cluster/dlm/dlm-2.03.11.ebuild b/sys-cluster/dlm/dlm-2.03.11.ebuild new file mode 100644 index 000000000000..c4816c691d72 --- /dev/null +++ b/sys-cluster/dlm/dlm-2.03.11.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils linux-mod 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="General-purpose Distributed Lock Manager" +HOMEPAGE="https://sourceware.org/cluster/wiki/" +SRC_URI="ftp://sourceware.org/pub/cluster/releases/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=sys-kernel/linux-headers-2.6.24 + !sys-cluster/dlm-headers + !sys-cluster/dlm-kernel + =sys-cluster/dlm-lib-${CLUSTER_RELEASE}* + " + +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + + # fix the manual pages have executable bit + sed -i -e ' + /\tinstall -d/s/install/& -m 0755/; t + /\tinstall/s/install/& -m 0644/' \ + man/Makefile || die "failed patching man pages permission" + +} + +src_compile() { + (cd "${WORKDIR}"/${MY_P}; + ./configure \ + --cc=$(tc-getCC) \ + --cflags="-Wall" \ + --disable_kernel_check \ + --kernel_src=${KERNEL_DIR} \ + --somajor="$MAJ_PV" \ + --sominor="$MIN_PV" \ + --cmanlibdir=/usr/lib \ + --dlmlibdir=/usr/lib \ + --dlmincdir=/usr/include \ + ) || die "configure problem" + + emake clean || die "clean problem" + for i in tool man; do + emake -C $i || die "compile problem" + done +} + +src_install() { + for i in tool man; do + emake DESTDIR="${D}" -C $i install || die "install problem" + done + + dodoc doc/*.txt +} diff --git a/sys-cluster/dlm/metadata.xml b/sys-cluster/dlm/metadata.xml new file mode 100644 index 000000000000..4a09d7ba8d61 --- /dev/null +++ b/sys-cluster/dlm/metadata.xml @@ -0,0 +1,8 @@ + + + + + cluster@gentoo.org + Gentoo Cluster Project + + -- cgit v1.2.3