/[gentoo-x86]/eclass/openib.eclass
Gentoo

Diff of /eclass/openib.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.9 Revision 1.10
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/openib.eclass,v 1.9 2012/10/14 18:18:20 alexxy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/openib.eclass,v 1.10 2014/04/16 07:31:00 alexxy Exp $
4 4
5# @ECLASS: openib.eclass 5# @ECLASS: openib.eclass
6# @AUTHOR: 6# @AUTHOR:
7# Original Author: Alexey Shvetsov <alexxy@gentoo.org> 7# Original Author: Alexey Shvetsov <alexxy@gentoo.org>
8# @BLURB: Simplify working with OFED packages 8# @BLURB: Simplify working with OFED packages
9 9
10inherit base eutils rpm versionator 10inherit eutils rpm versionator
11 11
12EXPORT_FUNCTIONS src_unpack 12EXPORT_FUNCTIONS src_unpack
13 13
14HOMEPAGE="http://www.openfabrics.org/" 14HOMEPAGE="http://www.openfabrics.org/"
15LICENSE="|| ( GPL-2 BSD-2 )" 15LICENSE="|| ( GPL-2 BSD-2 )"
40# @ECLASS-VARIABLE: OFED_VERSIONS 40# @ECLASS-VARIABLE: OFED_VERSIONS
41# @DESCRIPTION: 41# @DESCRIPTION:
42# Defines array of ofed version supported by eclass 42# Defines array of ofed version supported by eclass
43 43
44OFED_VERSIONS=( 44OFED_VERSIONS=(
45 "1.5.1"
46 "1.5.2"
47 "1.5.3"
48 "1.5.3.1"
49 "1.5.3.2"
50 "1.5.4"
51 "1.5.4.1" 45 "1.5.4.1"
52 "3.5" 46 "3.5"
47 "3.12"
53 ) 48 )
54 49
55# @FUNCTION: block_other_ofed_versions 50# @FUNCTION: block_other_ofed_versions
56# @DESCRIPTION: 51# @DESCRIPTION:
57# function that creates blockers list for ofed 52# function that creates blockers list for ofed
66} 61}
67 62
68OFED_BASE_VER=$(get_version_component_range 1-3 ${OFED_VER}) 63OFED_BASE_VER=$(get_version_component_range 1-3 ${OFED_VER})
69 64
70if [ -z $OFED_RC ] ; then 65if [ -z $OFED_RC ] ; then
71 SRC_URI="http://www.openfabrics.org/downloads/OFED/ofed-${OFED_BASE_VER}/OFED-${OFED_VER}.tgz" 66 SRC_URI="https://www.openfabrics.org/downloads/OFED/ofed-${OFED_BASE_VER}/OFED-${OFED_VER}.tgz"
72else 67else
73 SRC_URI="http://www.openfabrics.org/downloads/OFED/ofed-${OFED_BASE_VER}/OFED-${OFED_VER}-rc${OFED_RC_VER}.tgz" 68 SRC_URI="https://www.openfabrics.org/downloads/OFED/ofed-${OFED_BASE_VER}/OFED-${OFED_VER}-rc${OFED_RC_VER}.tgz"
74fi 69fi
75 70
76case ${PN} in 71case ${PN} in
77 ofed) 72 ofed)
78 case ${PV} in 73 case ${PV} in

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20