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