Blob Blame Raw
#!/bin/bash

DATE=`date +%Y%m%d`
# use a real tag name here
TAG=389-ds-base-1.2.1
VERSION=1.2.1
PKGNAME=389-ds-base
export CVSROOT=:pserver:anonymous@cvs.fedoraproject.org:/cvs/dirsec
#SRCNAME=$PKGNAME-$VERSION-$DATE
SRCNAME=$PKGNAME-$VERSION

cvs -d "$CVSROOT" -z3 export -r$CVSTAG -d $SRCNAME ldapserver

tar -cjf $SRCNAME.tar.bz2 $SRCNAME

rm -rf $SRCNAME