(cherry picked from commit2076085457) (cherry picked from commit5d453d2dae) (cherry picked from commitfcc6e05c61) (cherry picked from commitd9a6d80350)
16 lines
367 B
Bash
Executable file
16 lines
367 B
Bash
Executable file
#!/bin/bash
|
|
|
|
DATE=`date +%Y%m%d`
|
|
VERSION=1.1.29
|
|
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
|