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$
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:
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.
v0.92.0 08-Oct-2006 - 16-Oct-2007
general:

View File

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

2
TODO
View File

@ -1,6 +1,6 @@
$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

6
configure vendored
View File

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

View File

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

View File

@ -52,24 +52,23 @@ if [ "$OSTYPE" = "Linux" ]; then
# Slackware 7.0 and later
DISTNAME="Slackware"
DISTVERS=`cat /etc/slackware-version`
else
if [ -f /etc/debian_version ]; then
elif [ -f /etc/zenwalk-version ]; then
DISTNAME="Zenwalk"
DISTVERS=`cat /etc/zenwalk-version`
elif [ -f /etc/debian_version ]; then
# Debian, at least since version 2.2
DISTNAME="Debian"
DISTVERS=`cat /etc/debian_version`
else
if [ -f /etc/SuSE-release ]; then
elif [ -f /etc/SuSE-release ]; then
DISTNAME="SuSE"
DISTVERS=`cat /etc/SuSE-release | grep VERSION | awk '{ print $3 }'`
else
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.
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
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
@ -81,8 +80,7 @@ if [ "$OSTYPE" = "Linux" ]; then
else
DISTVERS=`cat /etc/redhat-release | awk '{ print $13 }' | tr -d \)`
fi
else
if [ -f /etc/gentoo-release ]; then
elif [ -f /etc/gentoo-release ]; then
DISTNAME="Gentoo"
DISTVERS=`cat /etc/gentoo-release | awk '{ print $5 }'`
else
@ -96,11 +94,6 @@ if [ "$OSTYPE" = "Linux" ]; then
echo "Add information about the distribution you use in the message."
exit 1;
fi
fi
fi
fi
fi
fi
fi
if [ "$OSTYPE" = "FreeBSD" ]; then
DISTNAME="FreeBSD"
@ -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