Blob Blame Raw
#!/bin/bash

DATE=`date +%Y%m%d`
# use a real tag name here
VERSION=1.2.4
PKGNAME=389-ds-base
TAG=$PKGNAME-$VERSION
#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