Blame SOURCES/389-ds-base-git.sh

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