Bumped version and added experimental Zenwalk support

This commit is contained in:
Michiel Broek 2008-01-07 19:46:39 +00:00
parent e89ae89acf
commit 90930420f8
6 changed files with 71 additions and 54 deletions

View File

@ -1,7 +1,13 @@
$Id$ $Id$
v0.95.0 25-Nov-2007 v0.95.1 07-Jan-2008
script:
Added experimental support for Zenwalk.
v0.95.0 25-Nov-2007 - 07-Jan-2008
mbcico: mbcico:
The maximum speed to show to the other end is now 4294976295. The maximum speed to show to the other end is now 4294976295.
@ -12,6 +18,7 @@ v0.95.0 25-Nov-2007
systems as negative numbers. systems as negative numbers.
v0.92.0 08-Oct-2006 - 16-Oct-2007 v0.92.0 08-Oct-2006 - 16-Oct-2007
general: general:

View File

@ -75,6 +75,9 @@ if [ "$OSTYPE" = "Linux" ]; then
else else
DISTVERS=$( cat /etc/slackware-version ) DISTVERS=$( cat /etc/slackware-version )
fi fi
elif [ -f /etc/zenwalk-version ]; then
DISTNAME="Zenwalk"
DISTVERS="Unknown"
elif [ -f /etc/debian_version ]; then elif [ -f /etc/debian_version ]; then
# Debian, at least since version 2.2 # Debian, at least since version 2.2
DISTNAME="Debian" DISTNAME="Debian"

2
TODO
View File

@ -1,6 +1,6 @@
$Id$ $Id$
MBSE BBS V0.95.0 TODO list. MBSE BBS V0.95.1 TODO list.
--------------------------- ---------------------------
These are a list of things that must be implemented one way or These are a list of things that must be implemented one way or

6
configure vendored
View File

@ -1741,10 +1741,10 @@ SUBDIRS="lib mbcico mbfido mbmon mbsebbs mbutils mbnntp mbtask mbsetup unix lang
PACKAGE="mbsebbs" PACKAGE="mbsebbs"
MAJOR="0" MAJOR="0"
MINOR="95" MINOR="95"
REVISION="0" REVISION="1"
VERSION="$MAJOR.$MINOR.$REVISION" VERSION="$MAJOR.$MINOR.$REVISION"
COPYRIGHT="Copyright (C) 1997-2007 Michiel Broek, All Rights Reserved" COPYRIGHT="Copyright (C) 1997-2008 Michiel Broek, All Rights Reserved"
SHORTRIGHT="Copyright (C) 1997-2007 M. Broek" SHORTRIGHT="Copyright (C) 1997-2008 M. Broek"
GROUP="bbs" GROUP="bbs"
OWNER="mbse" OWNER="mbse"
ROWNER="`id -un root`" ROWNER="`id -un root`"

View File

@ -13,10 +13,10 @@ AC_SUBST(SUBDIRS)
PACKAGE="mbsebbs" PACKAGE="mbsebbs"
MAJOR="0" MAJOR="0"
MINOR="95" MINOR="95"
REVISION="0" REVISION="1"
VERSION="$MAJOR.$MINOR.$REVISION" VERSION="$MAJOR.$MINOR.$REVISION"
COPYRIGHT="Copyright (C) 1997-2007 Michiel Broek, All Rights Reserved" COPYRIGHT="Copyright (C) 1997-2008 Michiel Broek, All Rights Reserved"
SHORTRIGHT="Copyright (C) 1997-2007 M. Broek" SHORTRIGHT="Copyright (C) 1997-2008 M. Broek"
GROUP="bbs" GROUP="bbs"
OWNER="mbse" OWNER="mbse"
ROWNER="`id -un root`" ROWNER="`id -un root`"

View File

@ -52,54 +52,47 @@ if [ "$OSTYPE" = "Linux" ]; then
# Slackware 7.0 and later # Slackware 7.0 and later
DISTNAME="Slackware" DISTNAME="Slackware"
DISTVERS=`cat /etc/slackware-version` DISTVERS=`cat /etc/slackware-version`
else elif [ -f /etc/zenwalk-version ]; then
if [ -f /etc/debian_version ]; then DISTNAME="Zenwalk"
# Debian, at least since version 2.2 DISTVERS=`cat /etc/zenwalk-version`
DISTNAME="Debian" elif [ -f /etc/debian_version ]; then
DISTVERS=`cat /etc/debian_version` # Debian, at least since version 2.2
else DISTNAME="Debian"
if [ -f /etc/SuSE-release ]; then DISTVERS=`cat /etc/debian_version`
DISTNAME="SuSE" elif [ -f /etc/SuSE-release ]; then
DISTVERS=`cat /etc/SuSE-release | grep VERSION | awk '{ print $3 }'` DISTNAME="SuSE"
DISTVERS=`cat /etc/SuSE-release | grep VERSION | awk '{ print $3 }'`
elif [ -f /etc/mandrake-release ]; then
# Mandrake test before RedHat, Mandrake has a redhat-release
# file also which is a symbolic link to mandrake-release.
DISTNAME="Mandrake"
# Format: Linux Mandrake release 8.0 (Cooker) for i586
DISTVERS="`cat /etc/mandrake-release | awk '{ print $4 }'`"
elif [ -f /etc/redhat-release ]; then
DISTNAME="RedHat"
if [ -z "`grep e-smith /etc/redhat-release`" ]; then
if [ -z "`grep Fedora /etc/redhat-release`" ]; then
DISTVERS=`cat /etc/redhat-release | awk '{ print $5 }'`
else else
# Mandrake test before RedHat, Mandrake has a redhat-release DISTVERS=`cat /etc/redhat-release | awk '{ print $4 }'`
# file also which is a symbolic link to mandrake-release. DISTNAME="Fedora Core"
if [ -f /etc/mandrake-release ]; then
DISTNAME="Mandrake"
# Format: Linux Mandrake release 8.0 (Cooker) for i586
DISTVERS="`cat /etc/mandrake-release | awk '{ print $4 }'`"
else
if [ -f /etc/redhat-release ]; then
DISTNAME="RedHat"
if [ -z "`grep e-smith /etc/redhat-release`" ]; then
if [ -z "`grep Fedora /etc/redhat-release`" ]; then
DISTVERS=`cat /etc/redhat-release | awk '{ print $5 }'`
else
DISTVERS=`cat /etc/redhat-release | awk '{ print $4 }'`
DISTNAME="Fedora Core"
fi
else
DISTVERS=`cat /etc/redhat-release | awk '{ print $13 }' | tr -d \)`
fi
else
if [ -f /etc/gentoo-release ]; then
DISTNAME="Gentoo"
DISTVERS=`cat /etc/gentoo-release | awk '{ print $5 }'`
else
DISTNAME="Unknown"
log "!" "unknown distribution, collecting data"
log "-" "`uname -a`"
log "-" "`ls -la /etc`"
echo "Failed to install bootscripts, unknown Linux distribution."
echo "Please mail the file `pwd`/script/installinit.log to mbroek@users.sourceforge.net"
echo "or send it as file attach to Michiel Broek at 2:280/2802@Fidonet."
echo "Add information about the distribution you use in the message."
exit 1;
fi
fi
fi
fi fi
fi else
DISTVERS=`cat /etc/redhat-release | awk '{ print $13 }' | tr -d \)`
fi
elif [ -f /etc/gentoo-release ]; then
DISTNAME="Gentoo"
DISTVERS=`cat /etc/gentoo-release | awk '{ print $5 }'`
else
DISTNAME="Unknown"
log "!" "unknown distribution, collecting data"
log "-" "`uname -a`"
log "-" "`ls -la /etc`"
echo "Failed to install bootscripts, unknown Linux distribution."
echo "Please mail the file `pwd`/script/installinit.log to mbroek@users.sourceforge.net"
echo "or send it as file attach to Michiel Broek at 2:280/2802@Fidonet."
echo "Add information about the distribution you use in the message."
exit 1;
fi fi
fi fi
if [ "$OSTYPE" = "FreeBSD" ]; then if [ "$OSTYPE" = "FreeBSD" ]; then
@ -151,6 +144,20 @@ fi
#--------------------------------------------------------------------------
#
# Adding scripts for Zenwalk
#
if [ "$DISTNAME" = "Zenwalk" ]; then
DISTINIT="/etc/rc.d/rc.zmbsed"
echo "Adding Zenwalk init script"
log "+" "Addiing Zenwalk init script"
cp init.Slackware $DISTINIT
chmod 755 $DISTINIT
fi
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
# #
# Adding scripts for Slackware # Adding scripts for Slackware