From eb11b51ed920d9d5e656085008d8f65926b60bc4 Mon Sep 17 00:00:00 2001 From: Andreas Klemm Date: Sun, 27 Jun 1999 14:23:08 +0000 Subject: Long awaited upgrade to version 1.2a It lastet so long, because of personal time constraints and based on the fact, that I had to do the very time consuming task, to revamp the whole big brother installation heavily. This could be avoided, if Sean could provide a Makefile with a real install: target and not the drainbamaged "unpack, compile and let the whole sh**^H^H^H^Hbunch remain here(tm)" philosophy." (me lucky one, that apsfilter has changed about 1-2 years ago ;-) - make install target now copies the workdir to ${PREFIX}/bb and then moves or removes files and directories as needed - revamped client configuration and introduced a ${PREFIX}/share/bb/bbclients directory. Hope you like it this way ;-) --- net/bb/scripts/configure | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'net/bb/scripts') diff --git a/net/bb/scripts/configure b/net/bb/scripts/configure index 2ec829e1a972..16fe9538db35 100644 --- a/net/bb/scripts/configure +++ b/net/bb/scripts/configure @@ -1,12 +1,21 @@ #!/bin/sh -# $Id: configure,v 1.3 1997/10/13 20:19:25 andreas Exp $ +# $Id: configure,v 1.4 1998/05/18 21:52:07 andreas Exp $ cd $WRKSRC || exit 1 -HOSTNAME=`hostname` +# some tuneable global defines +WEBHOST=`hostname` +SLEEPVAL=300 -perl -pi -e "s=!!PREFIX!!=$PREFIX=" ${WRKSRC}/www/bb-pager.sh -perl -pi -e "s=!!HOSTNAME!!=$HOSTNAME=" ${WRKSRC}/www/bb-pager.sh +# globally set BBHOME here perl -pi -e "s=!!PREFIX!!=$PREFIX=" ${WRKSRC}/runbb.sh +# globally adjust sleepvalue +perl -pi -e "s=!!BBSLEEP!!=$SLEEPVAL=" ${WRKSRC}/runbb.sh +# set paths for bbclient tar archives +perl -pi -e "s=!!PREFIX!!=$PREFIX=g" ${WRKSRC}/doc/bbclient +# set webhost +perl -pi -e "s=!!WEBHOST!!=$WEBHOST=g" ${WRKSRC}/web/bb-ack.sh +perl -pi -e "s=!!WEBHOST!!=$WEBHOST=g" ${WRKSRC}/web/bb-hist.sh +# set hostname perl -pi -e "s=!!HOSTNAME!!=$HOSTNAME=g" ${WRKSRC}/etc/bb-hosts -- cgit v1.2.3