summaryrefslogtreecommitdiffstats
path: root/cluster/ocfs2-tools/DETAILS
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/ocfs2-tools/DETAILS')
-rwxr-xr-xcluster/ocfs2-tools/DETAILS21
1 files changed, 20 insertions, 1 deletions
diff --git a/cluster/ocfs2-tools/DETAILS b/cluster/ocfs2-tools/DETAILS
index 9e61dabc36..716fa935c2 100755
--- a/cluster/ocfs2-tools/DETAILS
+++ b/cluster/ocfs2-tools/DETAILS
@@ -1,11 +1,30 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=ocfs2-tools
+if [[ $OCFS2_TOOLS_BRANCH == scm ]]; then
+ VERSION=$(get_scm_version)
+ FORCE_DOWNLOAD=on
+ SOURCE=$SPELL-$VERSION.tar.bz2
+ SOURCE_URL[0]=git://oss.oracle.com/git/${SPELL}.git:${SPELL}-${VERSION}
+ SOURCE_IGNORE=volatile
+elif [[ $OCFS2_TOOLS_BRANCH == devel ]]; then
+ VERSION=1.8.2
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE2=${SOURCE}.sig
+ SOURCE_URL[0]=http://sourcemage.ru/mirror/$SOURCE
+ SOURCE_URL[1]=http://download.sourcemage.org/distro/$SOURCE
+ SOURCE2_URL[0]=${SOURCE_URL}.sig
+ SOURCE2_URL[1]=${SOURCE_URL[1]}.sig
+ SOURCE_GPG=gurus.gpg:$SOURCE2:WORKS_FOR_ME
+ SOURCE2_IGNORE=signature
+else
VERSION=1.6.4
BRANCH=`echo $VERSION|cut -d . -f 1,2`
SOURCE=${SPELL}-${VERSION}.tar.gz
SOURCE_URL[0]=http://oss.oracle.com/projects/${SPELL}/dist/files/source/v${BRANCH}/${SOURCE}
SOURCE_HASH=sha512:3b5b834e23467736b2fc522449f3d86b9a4b4764a66ec6812e4ecf497f8d43c2fb1aba1955c6030336d88463e720a5ace0b7cde48853cf3b482c6727ed86a649
+fi
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
- WEB_SITE=http://oss.oracle.com/projects/${SPELL}
+ WEB_SITE=http://oss.oracle.com/projects/ocfs2-tools/
ENTERED=20060711
LICENSE[0]=GPL
KEYWORDS="cluster filesystem"