Last fix to make NetBSD compile and install

This commit is contained in:
Michiel Broek 2002-01-11 22:56:52 +00:00
parent ee9238e1a5
commit 80b71dc43a
2 changed files with 12 additions and 7 deletions

View File

@ -4254,10 +4254,11 @@ v0.33.19 26-Oct-2001
The sourcetree has now a new subdirectory called unix. Here The sourcetree has now a new subdirectory called unix. Here
are all the system specific programs such as mbpasswd, are all the system specific programs such as mbpasswd,
mblogin and mbuseradd. mblogin and mbuseradd.
Started NetBSD port. Not working yet but does compile.
SETUP.sh SETUP.sh
Better grep to check for excisting usernames like bbs, mbse. Better grep to check for excisting usernames like bbs, mbse.
Prepared for the NetBSD port. Ported to NetBSD.
libcommon.a: libcommon.a:
When adding seenby entries, the zone number is copied from the When adding seenby entries, the zone number is copied from the
@ -4400,7 +4401,7 @@ v0.33.19 26-Oct-2001
time + random dial delay time. Needed for mbtask. time + random dial delay time. Needed for mbtask.
mbout: mbout:
Fixes for Sparc systems. Fixes for Linux Sparc systems.
The node query now displays the system open times (Txx) flags. The node query now displays the system open times (Txx) flags.
The node query now also displays the CM,MO flags etc. The node query now also displays the CM,MO flags etc.

View File

@ -121,9 +121,13 @@ fi
if [ "$OSTYPE" = "FreeBSD" ]; then if [ "$OSTYPE" = "FreeBSD" ]; then
DISTNAME="FreeBSD" DISTNAME="FreeBSD"
DISTVERS=`uname -r` DISTVERS=`uname -r`
DISTVERS=${DISTVERS:0:3}
PW="pw " PW="pw "
fi fi
if [ "$OSTYPE" = "NetBSD" ]; then
DISTNAME="NetBSD"
DISTVERS=`uname -r`
fi
log "+" "Distribution $OSTYPE $DISTNAME $DISTVERS" log "+" "Distribution $OSTYPE $DISTNAME $DISTVERS"
@ -572,16 +576,16 @@ fi
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
# #
# Adding scripts for FreeBSD # Adding scripts for FreeBSD and NetBSD
# #
# #
if [ "$DISTNAME" = "FreeBSD" ]; then if [ "$DISTNAME" = "FreeBSD" ] || [ "$DISTNAME" = "NetBSD" ]; then
# #
# FreeBSD init # FreeBSD init
# #
DISTINIT="$MBSE_ROOT/etc/rc" DISTINIT="$MBSE_ROOT/etc/rc"
echo "Adding FreeBSD style MBSE BBS start/stop scripts" echo "Adding $DISTNAME style MBSE BBS start/stop scripts"
log "+" "Adding FreeBSD style MBSE BBS start/stop scripts" log "+" "Adding $DISTNAME style MBSE BBS start/stop scripts"
if [ -f /etc/rc.local ]; then if [ -f /etc/rc.local ]; then
if [ "`grep MBSE /etc/rc.local`" = "" ]; then if [ "`grep MBSE /etc/rc.local`" = "" ]; then
log "+" "Adding $MBSE_ROOT/etc/rc to existing /etc/rc.local" log "+" "Adding $MBSE_ROOT/etc/rc to existing /etc/rc.local"