X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=release.sh;h=82909b3122b407401cab50fc4a63439956437b90;hb=57ba046c505077187ab7bb3da47e380765292064;hp=b0adf1e380d058046a3ab0c9396ffe08bc6069a5;hpb=30ba332d9dbea8ddc7f42ffbf009c84ac24abd7f;p=spectrwm.git diff --git a/release.sh b/release.sh index b0adf1e..82909b3 100644 --- a/release.sh +++ b/release.sh @@ -35,6 +35,8 @@ done tar zcf $TARGET.tgz $TARGET # make port +sudo rm -rf ports +sudo cvs -d /cvs co ports/x11/scrotwm PORT="$PREFIX$1-port" mkdir $PORT @@ -42,10 +44,10 @@ mkdir $PORT cat port/Makefile | sed "s/SCROTWMVERSION/$1/g" > $PORT/Makefile # distinfo -md5 $TARGET.tgz > $PORT/distinfo -rmd160 $TARGET.tgz >> $PORT/distinfo -sha1 $TARGET.tgz >> $PORT/distinfo -cksum -a sha256 $TARGET.tgz >> $PORT/distinfo +cksum -b -a md5 $TARGET.tgz > $PORT/distinfo +cksum -b -a rmd160 $TARGET.tgz >> $PORT/distinfo +cksum -b -a sha1 $TARGET.tgz >> $PORT/distinfo +cksum -b -a sha256 $TARGET.tgz >> $PORT/distinfo wc -c $TARGET.tgz 2>/dev/null | awk '{print "SIZE (" $2 ") = " $1}' >> $PORT/distinfo # pkg @@ -60,4 +62,4 @@ cp port/patches/patch-scrotwm_c $PORT/patches/ cp port/patches/patch-scrotwm_conf $PORT/patches/ # make diff -diff -ruNp -x CVS /usr/ports/x11/scrotwm/ $PORT > $TARGET.diff +diff -ruNp -x CVS ports/x11/scrotwm/ $PORT > $TARGET.diff