diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2016-06-29 17:17:07 +0300 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2016-06-30 01:31:15 +0300 |
commit | 78687b7871a6d19ba23ac5da91c72d9732061bc1 (patch) | |
tree | befa090ead56292b47a1607c1388583318fbbc3e /sys-fabric/rds-tools | |
parent | games-emulation/dosbox: sync live ebuild and make it copyable (diff) | |
download | gentoo-78687b7871a6d19ba23ac5da91c72d9732061bc1.tar.gz gentoo-78687b7871a6d19ba23ac5da91c72d9732061bc1.tar.bz2 gentoo-78687b7871a6d19ba23ac5da91c72d9732061bc1.zip |
eclass/openib.eclass: Clean up ancient versions
Also move to sys-fabric category
Diffstat (limited to 'sys-fabric/rds-tools')
-rw-r--r-- | sys-fabric/rds-tools/Manifest | 2 | ||||
-rw-r--r-- | sys-fabric/rds-tools/files/rds-tools-2.0.4-qa.patch | 59 | ||||
-rw-r--r-- | sys-fabric/rds-tools/metadata.xml | 15 | ||||
-rw-r--r-- | sys-fabric/rds-tools/rds-tools-2.0.4-r2.ebuild | 29 | ||||
-rw-r--r-- | sys-fabric/rds-tools/rds-tools-2.0.4-r3.ebuild | 29 |
5 files changed, 134 insertions, 0 deletions
diff --git a/sys-fabric/rds-tools/Manifest b/sys-fabric/rds-tools/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-fabric/rds-tools/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-fabric/rds-tools/files/rds-tools-2.0.4-qa.patch b/sys-fabric/rds-tools/files/rds-tools-2.0.4-qa.patch new file mode 100644 index 000000000000..0a8e1a575c4a --- /dev/null +++ b/sys-fabric/rds-tools/files/rds-tools-2.0.4-qa.patch @@ -0,0 +1,59 @@ +Respect CC,CFLAGS, fix install paths, don't strip binaries + +https://bugs.gentoo.org/show_bug.cgi?id=374805 +--- Makefile.in ++++ Makefile.in +@@ -1,12 +1,15 @@ +-prefix = $(DESTDIR)@prefix@ +-exec_prefix = $(DESTDIR)@exec_prefix@ +-bindir = $(DESTDIR)@bindir@ +-mandir = $(DESTDIR)@mandir@ +-incdir = $(DESTDIR)@includedir@ ++bindir = @bindir@ ++exec_prefix = @exec_prefix@ ++includedir = @includedir@ ++libdir = @libdir@ ++mandir = @mandir@ ++mkdir_p = @mkdir_p@ ++prefix = @prefix@ ++INSTALL = /usr/bin/install + + all: all-programs + +-CFLAGS = -O2 -Wall -Iinclude ++CFLAGS += -Wall -Iinclude + CPPFLAGS = -DDEBUG_EXE -DRDS_VERSION=\"@VERSION@\" -MD -MP -MF $(@D)/.$(basename $(@F)).d + + HEADERS = kernel-list.h pfhack.h include/rds.h +@@ -29,14 +32,14 @@ + all-programs: $(PROGRAMS) + + install: $(PROGRAMS) +- install -d $(bindir) +- install -m 555 -s $(PROGRAMS) $(bindir) +- install -d $(mandir)/man1 +- install -d $(mandir)/man7 +- install -m 644 *.1 $(mandir)/man1 +- install -m 644 *.7 $(mandir)/man7 +- install -d $(incdir)/net +- install -m 444 include/rds.h $(incdir)/net ++ $(INSTALL) -d $(DESTDIR)$(bindir) ++ $(INSTALL) -m 555 $(PROGRAMS) $(DESTDIR)$(bindir) ++ $(INSTALL) -d $(DESTDIR)$(mandir)/man1 ++ $(INSTALL) -d $(DESTDIR)$(mandir)/man7 ++ $(INSTALL) -m 644 *.1 $(DESTDIR)$(mandir)/man1 ++ $(INSTALL) -m 644 *.7 $(DESTDIR)$(mandir)/man7 ++ $(INSTALL) -d $(DESTDIR)$(includedir)/net ++ $(INSTALL) -m 444 include/rds.h $(DESTDIR)$(includedir)/net + + clean: + rm -f $(PROGRAMS) $(CLEAN_OBJECTS) +@@ -47,7 +50,7 @@ + + + $(PROGRAMS) : % : %.o $(COMMON_OBJECTS) +- gcc $(CFLAGS) $(LDFLAGS) -o $@ $^ ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ + + LOCAL_DFILES := $(wildcard .*.d) + ifneq ($(LOCAL_DFILES),) diff --git a/sys-fabric/rds-tools/metadata.xml b/sys-fabric/rds-tools/metadata.xml new file mode 100644 index 000000000000..0dcc685509f1 --- /dev/null +++ b/sys-fabric/rds-tools/metadata.xml @@ -0,0 +1,15 @@ +<?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> +uDAPL is a transport neutral infrastructure that provides RDMA capabilities in +user space. It is the user space component of DAPL, the Direct Access Provider +Library for RDMA transports. See http://www.datcollaborative.org/ +</longdescription> +<use> +</use> +</pkgmetadata> diff --git a/sys-fabric/rds-tools/rds-tools-2.0.4-r2.ebuild b/sys-fabric/rds-tools/rds-tools-2.0.4-r2.ebuild new file mode 100644 index 000000000000..e11ca252fa9f --- /dev/null +++ b/sys-fabric/rds-tools/rds-tools-2.0.4-r2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit base openib toolchain-funcs + +DESCRIPTION="OpenIB userspace rds-tools" + +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-fabric/libibverbs:${SLOT}" +RDEPEND="${DEPEND} + !sys-fabric/openib-userspace" +block_other_ofed_versions + +DOCS=( README ) +PATCHES=( "${FILESDIR}"/${P}-qa.patch ) + +pkg_setup() { + tc-export CC +} diff --git a/sys-fabric/rds-tools/rds-tools-2.0.4-r3.ebuild b/sys-fabric/rds-tools/rds-tools-2.0.4-r3.ebuild new file mode 100644 index 000000000000..fa4bd15f19b3 --- /dev/null +++ b/sys-fabric/rds-tools/rds-tools-2.0.4-r3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit base openib toolchain-funcs + +DESCRIPTION="OpenIB userspace rds-tools" + +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-fabric/libibverbs:${SLOT}" +RDEPEND="${DEPEND} + !sys-fabric/openib-userspace" +block_other_ofed_versions + +DOCS=( README ) +PATCHES=( "${FILESDIR}"/${P}-qa.patch ) + +pkg_setup() { + tc-export CC +} |