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