Updated scripts installation
This commit is contained in:
parent
90bd770f9b
commit
f24c946130
14
ChangeLog
14
ChangeLog
@ -30,6 +30,20 @@ v0.39.7 14-Jan-2004
|
|||||||
mbtask:
|
mbtask:
|
||||||
Will call points if a call method is available.
|
Will call points if a call method is available.
|
||||||
|
|
||||||
|
script:
|
||||||
|
New scripts are installed with an extension of .new, you need
|
||||||
|
to check yourself if you can use them to replace your own
|
||||||
|
possible modified scripts.
|
||||||
|
Updated the hatch script to abort if it's not configured.
|
||||||
|
If the user skips to hatch a file, the questions for the magic
|
||||||
|
and replace command are not shown anymore.
|
||||||
|
|
||||||
|
examples:
|
||||||
|
Changed Dutch newfiles template file.
|
||||||
|
|
||||||
|
html:
|
||||||
|
Added upgrade procedure.
|
||||||
|
|
||||||
|
|
||||||
v0.39.6 11-Jan-2004 - 14-Jan-2004
|
v0.39.6 11-Jan-2004 - 14-Jan-2004
|
||||||
|
|
||||||
|
3
configure
vendored
3
configure
vendored
@ -8248,7 +8248,7 @@ echo "${ECHO_T}$vpop" >&6
|
|||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
ac_config_files="$ac_config_files Makefile.global paths.h unix/login.defs INSTALL FILE_ID.DIZ script/editor html/index.htm html/basic.html"
|
ac_config_files="$ac_config_files Makefile.global paths.h unix/login.defs INSTALL FILE_ID.DIZ script/editor html/index.htm html/basic.html html/upgrade.html"
|
||||||
cat >confcache <<\_ACEOF
|
cat >confcache <<\_ACEOF
|
||||||
# This file is a shell script that caches the results of configure
|
# This file is a shell script that caches the results of configure
|
||||||
# tests run on this system so they can be shared between configure
|
# tests run on this system so they can be shared between configure
|
||||||
@ -8790,6 +8790,7 @@ do
|
|||||||
"script/editor" ) CONFIG_FILES="$CONFIG_FILES script/editor" ;;
|
"script/editor" ) CONFIG_FILES="$CONFIG_FILES script/editor" ;;
|
||||||
"html/index.htm" ) CONFIG_FILES="$CONFIG_FILES html/index.htm" ;;
|
"html/index.htm" ) CONFIG_FILES="$CONFIG_FILES html/index.htm" ;;
|
||||||
"html/basic.html" ) CONFIG_FILES="$CONFIG_FILES html/basic.html" ;;
|
"html/basic.html" ) CONFIG_FILES="$CONFIG_FILES html/basic.html" ;;
|
||||||
|
"html/upgrade.html" ) CONFIG_FILES="$CONFIG_FILES html/upgrade.html" ;;
|
||||||
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
|
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
|
||||||
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
||||||
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
||||||
|
@ -345,6 +345,7 @@ AC_OUTPUT(
|
|||||||
script/editor
|
script/editor
|
||||||
html/index.htm
|
html/index.htm
|
||||||
html/basic.html
|
html/basic.html
|
||||||
|
html/upgrade.html
|
||||||
)
|
)
|
||||||
|
|
||||||
#=================================================================================
|
#=================================================================================
|
||||||
|
@ -1 +1 @@
|
|||||||
filelist index.htm basic.html
|
filelist index.htm basic.html upgrade.html
|
||||||
|
@ -73,9 +73,9 @@ H_SETUP = setup/archiver.html setup/index.htm setup/bbs.html \
|
|||||||
setup/hatch.html setup/virscan.html setup/services.html \
|
setup/hatch.html setup/virscan.html setup/services.html \
|
||||||
setup/domains.html setup/taskmgr.html setup/route.html
|
setup/domains.html setup/taskmgr.html setup/route.html
|
||||||
|
|
||||||
H_OTHER = index.htm basic.html
|
H_OTHER = index.htm basic.html upgrade.html
|
||||||
|
|
||||||
H_IN = index.htm.in basic.html.in
|
H_IN = index.htm.in basic.html.in upgrade.html.in
|
||||||
|
|
||||||
FILES = $(H_IN) $(H_BASE) $(H_FTSC) $(H_IMAGES) $(H_LICENSE) $(H_MENUS) $(H_MISC) $(H_PROGS) $(H_SETUP) Makefile
|
FILES = $(H_IN) $(H_BASE) $(H_FTSC) $(H_IMAGES) $(H_LICENSE) $(H_MENUS) $(H_MISC) $(H_PROGS) $(H_SETUP) Makefile
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
<BODY>
|
<BODY>
|
||||||
<BLOCKQUOTE>
|
<BLOCKQUOTE>
|
||||||
<div align="right"><h5>Last update 09-Nov-2003</h5></div>
|
<div align="right"><h5>Last update 21-Jan-2004</h5></div>
|
||||||
<div align="center"><h1>MBSE BBS Basic Installation</h1></div>
|
<div align="center"><h1>MBSE BBS Basic Installation</h1></div>
|
||||||
|
|
||||||
<h3>Introduction.</h3>
|
<h3>Introduction.</h3>
|
||||||
@ -166,7 +166,7 @@ rm -Rf mbsebbs-@VERSION@
|
|||||||
Login as user <b>mbse</b>. Yes, very important, <b>login as user mbse</b>.
|
Login as user <b>mbse</b>. Yes, very important, <b>login as user mbse</b>.
|
||||||
While in mbse's home directory (/opt/mbse) unpack the distribution archives:
|
While in mbse's home directory (/opt/mbse) unpack the distribution archives:
|
||||||
<pre>
|
<pre>
|
||||||
tar xfvz /path/to/mbsebbs-@VERSION@.tar.bz2
|
tar xfvj /path/to/mbsebbs-@VERSION@.tar.bz2
|
||||||
</pre>
|
</pre>
|
||||||
You now have the subdirectory with sources in the right place.
|
You now have the subdirectory with sources in the right place.
|
||||||
Next build the binaries and install them using the following commands:
|
Next build the binaries and install them using the following commands:
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<BLOCKQUOTE>
|
<BLOCKQUOTE>
|
||||||
<center><img SRC="images/mbse.png" BORDER=0 alt="MBSE"></center>
|
<center><img SRC="images/mbse.png" BORDER=0 alt="MBSE"></center>
|
||||||
<div align=center><h1>MBSE BBS System Guide @VERSION@</h1></div>
|
<div align=center><h1>MBSE BBS System Guide @VERSION@</h1></div>
|
||||||
<div align=right><h5>Last update 26-Nov-2003</h5></div>
|
<div align=right><h5>Last update 21-Jan-2004</h5></div>
|
||||||
|
|
||||||
|
|
||||||
<h3><a NAME="top"></a>Introduction</h3>
|
<h3><a NAME="top"></a>Introduction</h3>
|
||||||
@ -42,6 +42,7 @@
|
|||||||
<li><a href="flow.html">Running a BBS under Linux</a></li>
|
<li><a href="flow.html">Running a BBS under Linux</a></li>
|
||||||
<li><a href="dist.html">Which distribution to use</a></li>
|
<li><a href="dist.html">Which distribution to use</a></li>
|
||||||
<li><a href="basic.html">Basic installation MBSE BBS</a></li>
|
<li><a href="basic.html">Basic installation MBSE BBS</a></li>
|
||||||
|
<li><a href="upgrade.html">Upgrade MBSE BBS</a></li>
|
||||||
<li><a href="setup/index.htm">Configuring the bbs with mbsetup</a>
|
<li><a href="setup/index.htm">Configuring the bbs with mbsetup</a>
|
||||||
<ol>
|
<ol>
|
||||||
<li><A HREF="setup/global.html">Edit Global configuration</a>
|
<li><A HREF="setup/global.html">Edit Global configuration</a>
|
||||||
|
84
html/upgrade.html.in
Normal file
84
html/upgrade.html.in
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<HTML>
|
||||||
|
<!-- $Id$ -->
|
||||||
|
<HEAD>
|
||||||
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
|
<META http-equiv="Content-Style-Type" content="text/css">
|
||||||
|
<META NAME="Language" content='en'>
|
||||||
|
<META name="author" lang="en" content="Michiel Broek">
|
||||||
|
<META name="copyright" lang="en" content="Copyright Michiel Broek">
|
||||||
|
<META name="description" lang="en" content="MBSE BBS Manual">
|
||||||
|
<META name="keywords" lang="en" content="MBSE BBS, MBSE, BBS, manual, fido, fidonet, gateway, tosser, mail, tic, mailer">
|
||||||
|
<TITLE>Upgrade MBSE BBS.</TITLE>
|
||||||
|
<LINK rel=stylesheet HREF="manual.css">
|
||||||
|
</HEAD>
|
||||||
|
<BODY>
|
||||||
|
<BLOCKQUOTE>
|
||||||
|
<div align="right"><h5>Last update 21-Jan-2004</h5></div>
|
||||||
|
<div align="center"><h1>Upgrade MBSE BBS</h1></div>
|
||||||
|
|
||||||
|
<h3>Introduction.</h3>
|
||||||
|
<p>
|
||||||
|
First of all, if you upgrade from a previous version of MBSE BBS,
|
||||||
|
read all the ChangeLog entries from the version you are currently
|
||||||
|
running upto the new @VERSION@ version you are installing.
|
||||||
|
Then make a backup of at least all files in /opt/mbse/bin and /opt/mbse/etc.
|
||||||
|
<p> <P>
|
||||||
|
|
||||||
|
|
||||||
|
<h3>Install the source.</h3>
|
||||||
|
<p>
|
||||||
|
Login as user <b>mbse</b>. Yes, very important, <b>login as user mbse</b>.
|
||||||
|
While in mbse's home directory (/opt/mbse) unpack the distribution archives:
|
||||||
|
<pre>
|
||||||
|
tar xfvj /path/to/mbsebbs-@VERSION@.tar.bz2
|
||||||
|
</pre>
|
||||||
|
You now have the subdirectory with sources in the right place.
|
||||||
|
Next build the binaries and install them using the following commands:
|
||||||
|
<pre>
|
||||||
|
cd ~/mbsebbs-@VERSION@
|
||||||
|
make clean
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
su <b>important, do not use "su -"</b>
|
||||||
|
password: <em>enter root password here</em>
|
||||||
|
make install
|
||||||
|
</pre>
|
||||||
|
The last part of the installation procedure shows you the location of the bbs
|
||||||
|
startup script that is added to your system. Remember this one for a moment.
|
||||||
|
<p>
|
||||||
|
Now restart the bbs (still as root) by executing the startup
|
||||||
|
script you just saw on the screen followed by a space and the word <b>reload</b> or <b>restart</b>,
|
||||||
|
this depends on the distribution you use. There are also distributions that must use the startup
|
||||||
|
script twice, once with <b>stop</b> and then <b>start</b> as parameter.
|
||||||
|
For example:
|
||||||
|
<pre>
|
||||||
|
/etc/rc.d/init.d/mbsed reload
|
||||||
|
exit
|
||||||
|
</pre>
|
||||||
|
This will close the bbs, kill <b>mbtask</b>, start the new <b>mbtask</b> and open
|
||||||
|
the bbs again for use. At this point you may need to update some configuration settings
|
||||||
|
with <b>mbsetup</b>. Read the ChangeLog for the details. The ChangeLog may also describe a
|
||||||
|
different restart procedure if this is needed.
|
||||||
|
<p> <p>
|
||||||
|
|
||||||
|
<h3>Other updates</h3>
|
||||||
|
<p>
|
||||||
|
Not everything is updated during the upgrade, only the binaries. Normally this is enough.
|
||||||
|
However it may be that the example menus, macro templates are updated in the distribution.
|
||||||
|
Because these files may have some very personal changes, these files are not overwritten.
|
||||||
|
You can force that, in the subdirectory ~/mbsebbs-@VERSION@/examples type
|
||||||
|
<pre>
|
||||||
|
make help
|
||||||
|
</pre>
|
||||||
|
to see what you can force to update. But carefully taking over the changes may be better.
|
||||||
|
<br>
|
||||||
|
In the directory /opt/mbse/bin and /opt/mbse/etc are new scripts installed. They have the
|
||||||
|
extension <b>.new</b> and you need to examine these to see if you can simply copy these over
|
||||||
|
your current ones.
|
||||||
|
<p>
|
||||||
|
<a href="index.htm"><img SRC="images/b_arrow.png" ALT="Back to Index" BORDER=0>Back to Index</a>
|
||||||
|
|
||||||
|
</blockquote>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -19,24 +19,39 @@ install:
|
|||||||
echo; echo " Must be root to install!"; echo; exit 3; \
|
echo; echo " Must be root to install!"; echo; exit 3; \
|
||||||
fi
|
fi
|
||||||
@if [ ! -x ${ETCDIR}/maint ]; then \
|
@if [ ! -x ${ETCDIR}/maint ]; then \
|
||||||
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0711 maint ${ETCDIR} ; \
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0744 maint ${ETCDIR} ; \
|
||||||
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0711 maint ${ETCDIR}" ; \
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0744 maint ${ETCDIR}" ; \
|
||||||
|
else \
|
||||||
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 maint ${ETCDIR}/maint.new ; \
|
||||||
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 maint ${ETCDIR}/maint.new" ; \
|
||||||
fi
|
fi
|
||||||
@if [ ! -x ${ETCDIR}/midnight ]; then \
|
@if [ ! -x ${ETCDIR}/midnight ]; then \
|
||||||
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0711 midnight ${ETCDIR} ; \
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0744 midnight ${ETCDIR} ; \
|
||||||
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0711 midnight ${ETCDIR}" ; \
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0744 midnight ${ETCDIR}" ; \
|
||||||
|
else \
|
||||||
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 midnight ${ETCDIR}/midnight.new ; \
|
||||||
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 midnight ${ETCDIR}/midnight.new" ; \
|
||||||
fi
|
fi
|
||||||
@if [ ! -x ${ETCDIR}/weekly ]; then \
|
@if [ ! -x ${ETCDIR}/weekly ]; then \
|
||||||
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0711 weekly ${ETCDIR} ; \
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0744 weekly ${ETCDIR} ; \
|
||||||
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0711 weekly ${ETCDIR}" ; \
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0744 weekly ${ETCDIR}" ; \
|
||||||
|
else \
|
||||||
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 weekly ${ETCDIR}/weekly.new ; \
|
||||||
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 weekly ${ETCDIR}/weekly.new" ; \
|
||||||
fi
|
fi
|
||||||
@if [ ! -x ${ETCDIR}/monthly ]; then \
|
@if [ ! -x ${ETCDIR}/monthly ]; then \
|
||||||
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0711 monthly ${ETCDIR} ; \
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0744 monthly ${ETCDIR} ; \
|
||||||
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0711 monthly ${ETCDIR}" ; \
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0744 monthly ${ETCDIR}" ; \
|
||||||
|
else \
|
||||||
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 monthly ${ETCDIR}/monthly.new ; \
|
||||||
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 monthly ${ETCDIR}/monthly.new" ; \
|
||||||
fi
|
fi
|
||||||
@if [ ! -x ${BINDIR}/hatch ]; then \
|
@if [ ! -x ${BINDIR}/hatch ]; then \
|
||||||
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 hatch ${BINDIR} ; \
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0744 hatch ${BINDIR} ; \
|
||||||
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 hatch ${BINDIR}" ; \
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0744 hatch ${BINDIR}" ; \
|
||||||
|
else \
|
||||||
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 hatch ${BINDIR}/hatch.new ; \
|
||||||
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 hatch ${BINDIR}/hatch/new" ; \
|
||||||
fi
|
fi
|
||||||
@if [ -x ${JOEBIN}/joe ]; then \
|
@if [ -x ${JOEBIN}/joe ]; then \
|
||||||
echo "Installing support for joe editor" ; \
|
echo "Installing support for joe editor" ; \
|
||||||
@ -60,6 +75,11 @@ install:
|
|||||||
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 bbsdoor.sh ${BINDIR}" ; \
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 bbsdoor.sh ${BINDIR}" ; \
|
||||||
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 rundoor.sh ${BINDIR} ; \
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 rundoor.sh ${BINDIR} ; \
|
||||||
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 rundoor.sh ${BINDIR}" ; \
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 rundoor.sh ${BINDIR}" ; \
|
||||||
|
else \
|
||||||
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 bbsdoor.sh ${BINDIR}/bbsdoor.sh.new ; \
|
||||||
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 bbsdoor.sh ${BINDIR}/bbsdoor.sh.new" ; \
|
||||||
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 rundoor.sh ${BINDIR}/rundoor.sh.new ; \
|
||||||
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 rundoor.sh ${BINDIR}/rundoor.sh.new" ; \
|
||||||
fi
|
fi
|
||||||
@bash ./installinit.sh
|
@bash ./installinit.sh
|
||||||
|
|
||||||
|
23
script/hatch
23
script/hatch
@ -5,7 +5,7 @@
|
|||||||
# Hatch script for MBSE BBS.
|
# Hatch script for MBSE BBS.
|
||||||
#
|
#
|
||||||
#============================================================================
|
#============================================================================
|
||||||
# Copyright (C) 1997-2002
|
# Copyright (C) 1997-2004
|
||||||
#
|
#
|
||||||
# Michiel Broek FIDO: 2:280/2802
|
# Michiel Broek FIDO: 2:280/2802
|
||||||
# Beekmansbos 10
|
# Beekmansbos 10
|
||||||
@ -31,11 +31,11 @@
|
|||||||
#
|
#
|
||||||
# Global settings, change as needed:
|
# Global settings, change as needed:
|
||||||
#
|
#
|
||||||
# Password, see menu 1.13.2
|
# Password, see menu 1.10.2
|
||||||
#
|
#
|
||||||
HATCHPWD="DizIzMyBIGseeKret"
|
HATCHPWD="DizIzMyBIGseeKret"
|
||||||
INBOUND=$MBSE_ROOT/var/inbound
|
INBOUND=$MBSE_ROOT/var/inbound
|
||||||
HVERSION="1.0.1"
|
HVERSION="1.0.2"
|
||||||
|
|
||||||
|
|
||||||
if [ "`id -un`" != "mbse" ]; then
|
if [ "`id -un`" != "mbse" ]; then
|
||||||
@ -43,6 +43,11 @@ if [ "`id -un`" != "mbse" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "DizIzMyBIGseeKret" == "${HATCHPWD}" ]; then
|
||||||
|
echo "This script is not yet configured, first edit this script before use!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
|
||||||
Hatch files for MBSE BBS. All files you want to hatch must be
|
Hatch files for MBSE BBS. All files you want to hatch must be
|
||||||
@ -79,13 +84,13 @@ do
|
|||||||
echo -e "Enter description for $f (empty is skip file)"
|
echo -e "Enter description for $f (empty is skip file)"
|
||||||
echo -n ": "
|
echo -n ": "
|
||||||
read DESC
|
read DESC
|
||||||
echo -e "Replace filename (empty is none)"
|
|
||||||
echo -n ": "
|
|
||||||
read REPL
|
|
||||||
echo -e "Magic filename (empty is no magic)"
|
|
||||||
echo -n ": "
|
|
||||||
read MAGIC
|
|
||||||
if [ ! -z "$DESC" ]; then
|
if [ ! -z "$DESC" ]; then
|
||||||
|
echo -e "Replace filename (empty is none)"
|
||||||
|
echo -n ": "
|
||||||
|
read REPL
|
||||||
|
echo -e "Magic filename (empty is no magic)"
|
||||||
|
echo -n ": "
|
||||||
|
read MAGIC
|
||||||
let i=i+1
|
let i=i+1
|
||||||
FILE=$INBOUND/`$MBSE_ROOT/bin/mbseq`.tic
|
FILE=$INBOUND/`$MBSE_ROOT/bin/mbseq`.tic
|
||||||
echo "Hatch" > $FILE
|
echo "Hatch" > $FILE
|
||||||
|
Reference in New Issue
Block a user