(cherry picked from commit0fd93fe7cf) (cherry picked from commitcf4b156ef4) (cherry picked from commit474d683b6e)
16 lines
367 B
Bash
Executable file
16 lines
367 B
Bash
Executable file
#!/bin/bash
|
|
|
|
DATE=`date +%Y%m%d`
|
|
VERSION=1.1.25
|
|
PKGNAME=389-admin
|
|
#SRCNAME=$PKGNAME-$VERSION-$DATE
|
|
SRCNAME=$PKGNAME-$VERSION
|
|
TAG=${PKGNAME}-${VERSION}
|
|
URL="http://git.fedorahosted.org/git/?p=389/admin.git;a=snapshot;h=$TAG;sf=tgz"
|
|
|
|
wget -O $SRCNAME.tar.gz "$URL"
|
|
|
|
echo convert tgz format to tar.bz2 format
|
|
|
|
gunzip $PKGNAME-$VERSION.tar.gz
|
|
bzip2 $PKGNAME-$VERSION.tar
|