389-ds-base/389-ds-base-git.sh
Rich Megginson a0ed453448 1.2.7.a2 release
1.2.7.a2 release - openldap support on platforms which use openldap with
moznss for crypto (F-14 and later)
2010-10-20 09:05:16 -06:00

17 lines
366 B
Bash

#!/bin/bash
DATE=`date +%Y%m%d`
# use a real tag name here
VERSION=1.2.7.a2
PKGNAME=389-ds-base
TAG=${TAG:-$PKGNAME-$VERSION}
URL="http://git.fedorahosted.org/git/?p=389/ds.git;a=snapshot;h=$TAG;sf=tgz"
SRCNAME=$PKGNAME-$VERSION
wget -O $SRCNAME.tar.gz "$URL"
echo convert tgz format to tar.bz2 format
gunzip $PKGNAME-$VERSION.tar.gz
bzip2 $PKGNAME-$VERSION.tar