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