mirror of
https://github.com/bstansell/conserver.git
synced 2025-01-18 10:36:22 +00:00
Imported from conserver-GNAC-6.07.tar.gz
This commit is contained in:
parent
f24591ec63
commit
f4523341de
28
CHANGES
Normal file
28
CHANGES
Normal file
@ -0,0 +1,28 @@
|
||||
CHANGES
|
||||
=======
|
||||
|
||||
version 6.07:
|
||||
|
||||
- Porting infrastructure has been set up in ./port. Solaris
|
||||
2.5.1 and BSD/OS 3.1 successfully built.
|
||||
- Added CHANGES and README files. Wow, starting to document!
|
||||
|
||||
version 6.06:
|
||||
|
||||
- SIGUSR1 now tells the console server to try and reopen all
|
||||
currently downed consoles.
|
||||
- Cleaned up configuration file (cons.h) and Makefiles.
|
||||
|
||||
version 6.05:
|
||||
|
||||
- conserver.cf change: groups and their passwords have been
|
||||
removed and timestamp specifications have been added.
|
||||
|
||||
before version 6.05:
|
||||
|
||||
- Many, many variations. Nothing was tracked well. Bug fixes
|
||||
and enhancements of various types were applied.
|
||||
|
||||
#
|
||||
# $Id: CHANGES,v 1.3 1999-01-14 14:05:16-08 bryan Exp $
|
||||
#
|
31
Makefile
Normal file
31
Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# $Id: Makefile,v 1.3 1999-01-14 13:30:09-08 bryan Exp $
|
||||
#
|
||||
# Master Makefile
|
||||
#
|
||||
|
||||
SUBDIRS=conserver console
|
||||
|
||||
all clean install: FRC
|
||||
@if [ -f .settings ]; then \
|
||||
s=`cat .settings | grep -v '^#'`; \
|
||||
settings=`echo $$s`; \
|
||||
for s in ${SUBDIRS}; do \
|
||||
( cd $$s; eval ${MAKE} $$settings $@ ) \
|
||||
done; \
|
||||
else \
|
||||
echo "Please run 'make config' to set up platform type"; \
|
||||
exit; \
|
||||
fi
|
||||
|
||||
config:
|
||||
@p=`port/system 2>/dev/null`; \
|
||||
if [ -n "$$p" ]; then \
|
||||
rm -f .settings; \
|
||||
ln -s port/$$p .settings; \
|
||||
echo "Configured for $$p"; \
|
||||
else \
|
||||
echo "*** Can't determine system type."; \
|
||||
echo "*** See ./port for porting issues."; \
|
||||
fi
|
||||
|
||||
FRC:
|
50
README
Normal file
50
README
Normal file
@ -0,0 +1,50 @@
|
||||
README
|
||||
======
|
||||
|
||||
Maintainer/Enhancer
|
||||
|
||||
Bryan Stansell (bryan@gnac.com) of GNAC, Inc.
|
||||
|
||||
|
||||
Origin
|
||||
|
||||
The console server software found here is a heavily modified version
|
||||
originally written by Tom Fine (fine@cis.ohio-state.edu) and then
|
||||
Kevin S Braunsdorf (ksb@cc.purdue.edu). Patches from Robert Olson
|
||||
(olson@mcs.anl.gov) were then applied to get network console support.
|
||||
|
||||
Arnold de Leon (arnold@corp.webtv.net) then fixed various bugs and
|
||||
added enhancements while at Synopsys. I then took the result and
|
||||
continued fixing things and adding features we found useful.
|
||||
|
||||
|
||||
The GNAC Version
|
||||
|
||||
The result is a combination of many people's work. We (GNAC)
|
||||
are releasing this combination in hopes that it will help others.
|
||||
There is no warranty or support implied by our distribution of
|
||||
the software.
|
||||
|
||||
|
||||
Downloading
|
||||
|
||||
The latest version can be found at ftp://ftp.gnac.com/pub/conserver/.
|
||||
|
||||
Installation
|
||||
|
||||
Quickie instructions:
|
||||
|
||||
Edit 'conserver/cons.h'
|
||||
|
||||
Run 'make config'
|
||||
|
||||
Run 'make'
|
||||
|
||||
If all is well, run 'make install'
|
||||
|
||||
Things will install in /usr/local. If you'd like to use a different
|
||||
prefix, use 'make PREFIX=/your/path install'.
|
||||
|
||||
#
|
||||
# $Id: README,v 1.3 1999-01-14 14:04:37-08 bryan Exp $
|
||||
#
|
@ -1,21 +1,16 @@
|
||||
# $Id: Makefile,v 1.7 1999-01-13 14:15:46-08 bryan Exp $
|
||||
# $Id: Makefile,v 1.9 1999-01-14 13:30:29-08 bryan Exp $
|
||||
#
|
||||
# Makefile for console server
|
||||
#
|
||||
|
||||
PROG= conserver
|
||||
PROG=conserver
|
||||
PREFIX=/usr/local
|
||||
BIN=${PREFIX}/bin
|
||||
ETC=${PREFIX}/etc
|
||||
MAN=${PREFIX}/man
|
||||
MANSECT=8
|
||||
INSTALL=/usr/ucb/install
|
||||
|
||||
INCLUDE=
|
||||
DEBUG=-O
|
||||
CDEFS=
|
||||
CFLAGS= ${DEBUG} ${CDEFS} ${INCLUDE}
|
||||
LIBS=-lsocket -lnsl
|
||||
|
||||
HDR= cons.h \
|
||||
access.h client.h consent.h group.h main.h master.h \
|
||||
|
@ -1,9 +1,7 @@
|
||||
/*
|
||||
* $Id: cons-gnac.h,v 5.41 1999-01-13 11:50:33-08 bryan Exp $
|
||||
* $Id: cons-gnac.h,v 5.42 1999-01-14 13:33:25-08 bryan Exp $
|
||||
*
|
||||
* GNAC, Inc., 1998
|
||||
*
|
||||
* Maintainer/Enhancer: Bryan Stansell (bryan@gnac.com)
|
||||
*/
|
||||
|
||||
#define SUN5 1
|
||||
|
@ -1,12 +1,11 @@
|
||||
/*
|
||||
* $Id: cons-test.h,v 1.3 1999-01-13 11:57:17-08 bryan Exp $
|
||||
* $Id: cons-test.h,v 1.4 1999-01-14 13:33:25-08 bryan Exp $
|
||||
*
|
||||
* GNAC, Inc., 1998
|
||||
*
|
||||
* Maintainer/Enhancer: Bryan Stansell (bryan@gnac.com)
|
||||
*/
|
||||
|
||||
#define SUN5 1
|
||||
#define PORT 7777
|
||||
#define HOST "localhost"
|
||||
#define CONFIG "../conserver.cf/test.cf"
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: port.h,v 1.2 1999-01-13 13:47:32-08 bryan Exp $
|
||||
* $Id: port.h,v 1.3 1999-01-14 13:06:13-08 bryan Exp $
|
||||
*
|
||||
* GNAC, Inc., 1998
|
||||
*
|
||||
@ -40,7 +40,7 @@
|
||||
*
|
||||
* all PTX, PTX2, and PTX4 code added by gregf@sequent.com (gregf)
|
||||
*/
|
||||
#if !( defined(IBMR2) || defined(HPUX7) || defined(SUN4) || defined(SUN5) || defined(PTX2) || defined(PTX4) )
|
||||
#if !( defined(IBMR2) || defined(HPUX7) || defined(SUN4) || defined(SUN5) || defined(PTX2) || defined(PTX4) || defined(BSDOS3) )
|
||||
#error "Platform needs to be defined. See port.h"
|
||||
#endif
|
||||
|
||||
@ -56,7 +56,7 @@
|
||||
#endif
|
||||
#endif
|
||||
#if !defined(HAVE_UWAIT)
|
||||
#define HAVE_UWAIT !(defined(IBMR2)||defined(SUN5)||defined(HPUX8)||defined(HPUX9)||defined(PTX)||defined(IRIX5))
|
||||
#define HAVE_UWAIT !(defined(IBMR2)||defined(SUN5)||defined(HPUX8)||defined(HPUX9)||defined(PTX)||defined(IRIX5)||defined(BSDOS3))
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_WAIT3)
|
||||
@ -276,7 +276,7 @@ typedef long fd_set;
|
||||
|
||||
/* which type signal handlers return on this machine
|
||||
*/
|
||||
#if defined(sun) || defined(NEXT2) || defined(SUN5) || defined(PTX) || defined(IRIX5)
|
||||
#if defined(sun) || defined(NEXT2) || defined(SUN5) || defined(PTX) || defined(IRIX5) || defined(BSDOS3)
|
||||
#define SIGRETS void
|
||||
#else
|
||||
#define SIGRETS int
|
||||
|
@ -1,9 +1,9 @@
|
||||
/*
|
||||
* $Id: version.h,v 1.7 1999-01-07 11:17:20-08 bryan Exp $
|
||||
* $Id: version.h,v 1.8 1999-01-14 14:05:30-08 bryan Exp $
|
||||
*
|
||||
* GNAC, Inc., 1998
|
||||
*
|
||||
* Maintainer/Enhancer: Bryan Stansell (bryan@gnac.com)
|
||||
*/
|
||||
|
||||
#define GNAC_VERSION "GNAC version 6.06"
|
||||
#define GNAC_VERSION "GNAC version 6.07"
|
||||
|
@ -1,23 +1,19 @@
|
||||
# $Id: Makefile,v 1.7 1999-01-13 14:19:02-08 bryan Exp $
|
||||
# $Id: Makefile,v 1.9 1999-01-14 13:05:58-08 bryan Exp $
|
||||
#
|
||||
# Makefile for console client progran
|
||||
#
|
||||
|
||||
PROG= console
|
||||
PROG=console
|
||||
PREFIX=/usr/local
|
||||
BIN=${PREFIX}/bin
|
||||
ETC=${PREFIX}/etc
|
||||
MAN=${PREFIX}/man
|
||||
MANSECT=8
|
||||
INSTALL=/usr/ucb/install
|
||||
|
||||
C=../conserver
|
||||
|
||||
INCLUDE= -I$C
|
||||
DEBUG=-O
|
||||
CDEFS=
|
||||
CFLAGS= ${DEBUG} ${CDEFS} ${INCLUDE}
|
||||
LIBS=-lsocket -lnsl
|
||||
LINCLUDE= ${INCLUDE} -I$C
|
||||
CFLAGS= ${DEBUG} ${CDEFS} ${LINCLUDE}
|
||||
|
||||
HDR=
|
||||
SRC= console.c
|
||||
@ -32,7 +28,7 @@ clean: FRC
|
||||
rm -f Makefile.bak ${PROG} a.out *.o core errs lint.out tags
|
||||
|
||||
depend: ${HDR} ${SRC} FRC
|
||||
makedepend ${CDEFS} ${INCLUDE} ${SRC}
|
||||
makedepend ${CDEFS} ${LINCLUDE} ${SRC}
|
||||
|
||||
dirs: ${BIN}
|
||||
|
||||
@ -46,7 +42,7 @@ install.man: ${MAN}/man${MANSECT}
|
||||
${INSTALL} -c console.man ${MAN}/man${MANSECT}/console.${MANSECT}
|
||||
|
||||
lint: ${HDR} ${SRC} FRC
|
||||
lint -h ${CDEFS} ${INCLUDE} ${SRC}
|
||||
lint -h ${CDEFS} ${LINCLUDE} ${SRC}
|
||||
|
||||
tags: ${HDR} ${SRC}
|
||||
ctags -t ${HDR} ${SRC}
|
||||
|
8
port/BSDOS3
Normal file
8
port/BSDOS3
Normal file
@ -0,0 +1,8 @@
|
||||
# $Id: BSDOS3,v 1.2 1999-01-14 13:33:09-08 bryan Exp $
|
||||
#
|
||||
'CC=gcc'
|
||||
'INSTALL=/usr/ucb/install'
|
||||
'INCLUDE='
|
||||
'DEBUG=-O'
|
||||
'CDEFS=-DBSDOS3'
|
||||
'LIBS='
|
8
port/SunOS5
Normal file
8
port/SunOS5
Normal file
@ -0,0 +1,8 @@
|
||||
# $Id: SunOS5,v 1.2 1999-01-14 13:33:09-08 bryan Exp $
|
||||
#
|
||||
'CC=gcc'
|
||||
'INSTALL=/usr/ucb/install'
|
||||
'INCLUDE='
|
||||
'DEBUG=-O'
|
||||
'CDEFS=-DSUN5'
|
||||
'LIBS=-lsocket -lnsl'
|
17
port/system
Executable file
17
port/system
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $Id: system,v 1.2 1999-01-14 13:44:59-08 bryan Exp $
|
||||
#
|
||||
|
||||
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/ucb
|
||||
|
||||
s=`uname -s`
|
||||
r=`uname -r`
|
||||
|
||||
case "$s-$r" in
|
||||
SunOS-5.*) p="SunOS5" ;;
|
||||
BSD/OS-3.*) p="BSDOS3" ;;
|
||||
*) p="" ;;
|
||||
esac
|
||||
|
||||
echo $p
|
Loading…
Reference in New Issue
Block a user