Last fix to make NetBSD compile and install
This commit is contained in:
parent
ee9238e1a5
commit
80b71dc43a
@ -4254,10 +4254,11 @@ v0.33.19 26-Oct-2001
|
||||
The sourcetree has now a new subdirectory called unix. Here
|
||||
are all the system specific programs such as mbpasswd,
|
||||
mblogin and mbuseradd.
|
||||
Started NetBSD port. Not working yet but does compile.
|
||||
|
||||
SETUP.sh
|
||||
Better grep to check for excisting usernames like bbs, mbse.
|
||||
Prepared for the NetBSD port.
|
||||
Ported to NetBSD.
|
||||
|
||||
libcommon.a:
|
||||
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.
|
||||
|
||||
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 also displays the CM,MO flags etc.
|
||||
|
||||
|
@ -121,9 +121,13 @@ fi
|
||||
if [ "$OSTYPE" = "FreeBSD" ]; then
|
||||
DISTNAME="FreeBSD"
|
||||
DISTVERS=`uname -r`
|
||||
DISTVERS=${DISTVERS:0:3}
|
||||
PW="pw "
|
||||
fi
|
||||
if [ "$OSTYPE" = "NetBSD" ]; then
|
||||
DISTNAME="NetBSD"
|
||||
DISTVERS=`uname -r`
|
||||
fi
|
||||
|
||||
|
||||
|
||||
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
|
||||
#
|
||||
DISTINIT="$MBSE_ROOT/etc/rc"
|
||||
echo "Adding FreeBSD style MBSE BBS start/stop scripts"
|
||||
log "+" "Adding FreeBSD style MBSE BBS start/stop scripts"
|
||||
echo "Adding $DISTNAME style MBSE BBS start/stop scripts"
|
||||
log "+" "Adding $DISTNAME style MBSE BBS start/stop scripts"
|
||||
if [ -f /etc/rc.local ]; then
|
||||
if [ "`grep MBSE /etc/rc.local`" = "" ]; then
|
||||
log "+" "Adding $MBSE_ROOT/etc/rc to existing /etc/rc.local"
|
||||
|
Reference in New Issue
Block a user