andykimpe / rpms / 389-ds-base

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