# -*-sh-*-
#ident	"@(#)smail/conf/os:RELEASE-3_2_0_121:sco5,v 2.7 2004/08/31 01:06:26 woods Exp"
#
# SCO OSR-5  -- primarily geared for the "Enterprise" or "Desktop" editions.
# (The "Host" edition apparently is not network capable and probably doesn't
# even come with UUCP!)
#
# This file concocted with the help of Jean-Pierre Radley <jpr@jpr.com>.

# this is a mostly P1003.1-1990-compliant system
. $ROOT/conf/os/posix

# OSNAMES - Names defining this operating system
OSNAMES=$OSNAMES:UNIX_SCO5:UNIX_SCO

# ARCH_TYPE - i386
ARCH_TYPE=32bit

# SECURE_PATH - system-supplied binaries for users
SECURE_PATH=/bin:/usr/bin

# MAILBOX_DIR - in which directory are user mailbox files
MAILBOX_DIR=/var/spool/mail

# UUCP_SYSTEM_FILE - path to UUCP file containing remote systems
UUCP_SYSTEM_FILE=/usr/lib/uucp/Systems

# SMAIL_NOBODY - username to use for anonymous situations
SMAIL_NOBODY="nouser" 

# OTHER_SMAIL_NAMES - other names under which to install smail
OTHER_SMAIL_NAMES=/usr/bin/rmail

# OSLIBS - name any object libraries containing routines we will need
# 
# Note that libprot requires nap() from libx (5.0.7 finally has nap()
# in libc); setupterm() and cur_term() from libcurses; and ceil() and
# log() from libm; all for very inexplicable reasons.
OSLIBS="-lsocket -lndbm -lprot -lx -lcurses -lm"

# HAVE - what features should be used with this operating system
HAVE=$HAVE:RLIMIT:HDB_UUCP:NDBM:SETGROUPS:STATVFS
HAVE=$HAVE:GETHOSTNAME:BSD_NETWORKING:BIND
HAVE=$HAVE:SYS_SIGLIST:SYS_NSIG

# SCO OSR-5 is not quite this compatible with P1003.1-1990
NO_HAVE=$NO_HAVE:TYPE_IN_ADDR_T
NO_HAVE=$NO_HAVE:TYPE_IN_PORT_T
NO_HAVE=$NO_HAVE:TYPE_SOCKLEN_T

MISC_DEFINES=$MISC_DEFINES:TIME_WITH_SYS_TIME
MISC_DEFINES=$MISC_DEFINES:RLIM_T_DECLARED
MISC_DEFINES=$MISC_DEFINES:SYS_SIGLIST_DECLARED
MISC_DEFINES=$MISC_DEFINES:SYS_NSIG_DECLARED
MISC_DEFINES=$MISC_DEFINES:sys_siglist=_sys_siglist
MISC_DEFINES=$MISC_DEFINES:sys_nsig=_sys_nsig

# DRIVER_CONFIGURATION - configuration file describing smail drivers
DRIVER_CONFIGURATION=arpa-network
