diff --git a/bin/scsh-release b/bin/scsh-release new file mode 100755 index 0000000..722726b --- /dev/null +++ b/bin/scsh-release @@ -0,0 +1,70 @@ +#!/bin/sh +# things to change in this file +# VERSION +# FTPDIR + +# *** change below in : +# scsh/RELEASE +# scsh/scsh/minor-version +# scsh/scsh/oldtop.scm +# scsh/scsh/scsh-version.scm +# scsh/bin/scsh-test +# ftp/scsh/README +VERSION=-0.5.1 +FTPDIR=${HOME}/ftp/scsh +#FTPDIR=${HOME}/ftp/users/bdc + +CVSROOT=/sw/scsh +export CVSROOT + +TMPSPACE=/dl/bdc +#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- +umask 002 +# go to temp space +echo Making release for ${FTPDIR}/scsh${VERSION} in $TMPSPACE +cd $TMPSPACE + +# checkout a fresh tree and prune CVS stuff +echo Checking out scsh +cvs checkout scsh +echo Removing CVS directories and .cvsignore files +find scsh/ \( -name CVS -o -name .cvsignore \) -exec rm -r {} \; + +echo Removing bin directory +rm -rf scsh/bin + +# fix time stampes for building +echo Touching files to fix build dependencies +scsh-touch + +# "untouch" .notify +echo Untouching .notify +rm scsh/.notify + +# patch dir names and make tar +echo Making tar ball +mv scsh scsh${VERSION} +tar czvf ${FTPDIR}/scsh${VERSION}.tar.gz scsh${VERSION}/ + +# fix symlink +if [ $VERSION != "" ] ; then + echo Symlinking + rm ${FTPDIR}/scsh.tar.gz + ln -s scsh${VERSION}.tar.gz ${FTPDIR}/scsh.tar.gz +else + echo No VERSION therefore no symlink needed +fi + +# clean up +echo Removing tree +rm -r scsh${VERSION} + +# split binary up +echo Spliting tarball +rm -r ${FTPDIR}/split +mkdir ${FTPDIR}/split +cd ${FTPDIR}/split +split -b 100k ../scsh${VERSION}.tar.gz scsh${VERSION}.tar.gz-x + +# That's all folks +echo Done. diff --git a/bin/scsh-tar b/bin/scsh-tar new file mode 100755 index 0000000..084ef9f --- /dev/null +++ b/bin/scsh-tar @@ -0,0 +1,3 @@ +#!/bin/sh +scsh-touch +tar czvf ${HOME}/ftp/users/bdc/scsh.tar.gz scsh/ diff --git a/bin/scsh-test b/bin/scsh-test new file mode 100755 index 0000000..e698b9f --- /dev/null +++ b/bin/scsh-test @@ -0,0 +1,6 @@ +#!/bin/sh +cd /dl/bdc +tar xzvf /zu/bdc/ftp/users/bdc/scsh.tar.gz +cd scsh-0.5.1 +./configure +make diff --git a/bin/scsh-touch b/bin/scsh-touch new file mode 100755 index 0000000..adf1f89 --- /dev/null +++ b/bin/scsh-touch @@ -0,0 +1,18 @@ +#!/bin/sh +# fixes some timestamp problems + +touch scsh/scheme48.h +touch scsh/filenames.make + +touch scsh/cig/libcig.c + +touch scsh/scsh/flock.c +touch scsh/scsh/jcontrol2.c +touch scsh/scsh/network.c +touch scsh/scsh/rdelim.c +touch scsh/scsh/re.c +touch scsh/scsh/select.c +touch scsh/scsh/sighandlers.c +touch scsh/scsh/syscalls.c +touch scsh/scsh/time.c +touch scsh/scsh/tty.c