# -*-sh-*-
#ident	"@(#)smail/conf/os:RELEASE-3_2_0_114:sco5,v 2.1 2000/11/04 00:04:38 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 P1003.1-compliant system
# XXX use sys5.3 or sys5.4 if you think either's more appropriate
. $ROOT/conf/os/posix

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

# 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
if [ "X$EDITME_OTHER_SMAIL_NAMES" = "X" ]; then
	OTHER_SMAIL_NAMES=/usr/bin/rmail
fi

# OSLIBS - name any object libraries containing routines we will need
# Note that libprot requires nap() from libx; 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
HAVE=$HAVE:GETHOSTNAME:BSD_NETWORKING:BIND

# Define data and stack resource limits, to prevent an rlimit of
# "infinity" from closing all gaps in the process address space.
MISC_DEFINES=$MISC_DEFINES:DATA_RLIMIT=8388608:STACK_RLIMIT=1048576

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

# SOCKET_INCLUDES(variable) - set of #includes to for use with sockets
SOCKET_INCLUDES='
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <arpa/nameser.h>
#include <resolv.h>
'
