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