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