(cherry picked from commitf3dbe17140) (cherry picked from commit5ce766f85e) (cherry picked from commit28df75ad30)
16 lines
367 B
Bash
Executable file
16 lines
367 B
Bash
Executable file
#!/bin/bash
|
|
|
|
DATE=`date +%Y%m%d`
|
|
VERSION=1.1.26
|
|
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
|