Skip to content
Snippets Groups Projects
Commit 2d08e1ca authored by nobody's avatar nobody
Browse files

This commit was manufactured by cvs2svn to create tag '2.1.0'.

parent d23d54ac
No related branches found
Tags 2.1.0
No related merge requests found
#!/bin/sh
#
# $Id: Build,v 1.11 1994/04/05 07:50:22 ceder Exp $
# Copyright (C) 1991, 1992, 1993 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
# $Id: Build,v 1.11 1994/04/05 07:50:22 ceder Exp $
date
make depend \
&& echo '*** Depend ready. Making libraries. ***' \
&& make -k libraries \
&& echo '*** Libraries ready. Making binaries. ***' \
&& make -k binaries \
&& echo '*** All binaries might be built. Install manually.'
date
#!/bin/sh
#
# $Id: Config,v 1.11 1992/12/19 00:25:02 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
# $Id: Config,v 1.11 1992/12/19 00:25:02 ceder Exp $
x=
[ -d include ] && rm -rf include
mkdir include
case "$1" in
+help | +hel | +he | +h | -h | -H)
echo Usage: ./Config hosttype
echo where hosttype is one of
echo balance sparc;;
balance)
x=balance;;
sun3 | sun3os4 | sun4 | sun4os4 | sparc | sparcos4)
x=sun4os4;;
vax)
x=vax;;
*) echo Unsupported host type "$1".
x=error;;
esac
case "$x" in
error) false;;
*)
for i in `find . -type d -print`
do echo TOPDIR=`pwd` > $i/Topdir.make
done
rm -f scripts/import.make
ln -s ../config/${x}-defs.make scripts/import.make
( cd config; make SYSTEM=${x} config )
( cd src/include/ansi/${x} ; make SYSTEM=${x} config )
( cd src/libraries/regex ; ./configure )
esac
(Hey, Emacs, this is a -*- Indented-text -*- file!)
* ansi-include/
Directory containing ANSI-fied header files for the standard
libraries.
* ChangeLog
Log file where the progressing work and changes are sporadically
documented. You are encouraged to add an entry in this file
whenever you change something in this directory.
* client/
Directory containing a TTY-based client for LysKOM, very similar to
the original KOM program from QZ.
* config.h
Configuration parameters for compiling. Contains among other
things all the stupid limits you really want to be without, all the
smart limits that has to be there to make it impossible to crash
the server, and lots of constants and configuration options.
* debug.h
Some #defines for debugging purposes.
* doc/
Documentation of LysKOM; both internal and external. Also some
random thoughts members of the development team wanted to write
down during development.
* FileList
This file, describing all the files.
* kom-errno.c
Defines the variable 'kom_errno' and the function 'kom_perror()'.
Used for error handling in LysKOM.
* kom-errno.h
Defines the type 'Kom_err' and declares the variable 'kom_errno'.
The server sets the value of 'kom_errno' when an error occurs.
The function 'kom_perror()' is declared.
* kom-types.h
Declares the types used by LysKOM. Here are the types that are
common to both the server and the client. Types that look
different to the server and the client, are found in
'server/server-types.h' and 'client/client-types.h' respectively.
* ldb/
Directory containing the low-level database routines for the LysKOM
server. 'ldb' stands for Lyskom DataBase.
* List-Files
Shell script to list the files in this directory not documented in
the file 'FileList' (the one you are reading now).
* Mailinglist
List of mail addresses of people who want to be informed of the
progress of LysKOM.
* Makefile
Exactly what the name says.
* misc-types.h
Miscellaneous types and constants that are useful in many places in
LysKOM, but are not very LysKOM-specific.
* s-collat-tables.c
Collating tables used for the 's_usr_strcmp()' and
's_usr_strhead()' functions in 's-string.h'
* s-collat-tables.h
Header file for 's-collat-tables.c'
* s-string.c
Routines for manipulating objects of type String as defined in
's-string.h'
* s-string.h
Header file for 's-string.c'
Definies our own string type 'String', and declares the functions
in 's-string.c'
* server/
Directory containing the LysKOM server, except for the low-level
database routines, which for historical reasons are in the separate
directory 'ldb/'.
* services.h
Declares all the services available from the LysKOM server.
* Summarize-Headers
Since we write our .h files with documentation in line, they
tend to get rather long, and it gets somewhat difficult to get
a quick overview of what functions are declared in the file.
This script cuts out all the "unnecessary" information: all
comments and all preprocessor lines (starting with #).
* TAGS
Tags table for use with Emacs.
* Template
Template for automatically generating 'Makefile'. 'Makefile' is
updated with the command 'make depend'. This should be given
whenever a change to 'Template' is done, or any new files are
added, or any dependecies are changed. Dependencies for normal C
files are generated automatically by this.
If 'Makefile' should become garbled, copy 'Template' to 'Makefile'
and do a 'make depend'.
* test-services/
Directory containing programs to test parts of the server. Used by
ceder, and should not be distributed.
$Id: MANIFEST,v 1.2 1991/09/13 20:00:02 linus Exp $
Filename Description
-------- -----------
Config - Script to make the configuration for different
machines
Build - Script to build the server
Makefile - The Makefile of the topdir
src/ - Source dir
src/Makefile - The Makefile
src/libraries - Source dir for the libraries
src/libraries/Makefile - The Makefile for the libraries
src/libraries/libansi - Substitutes ansi functions if necessary.
src/libraries/libcommon - LysKOM functions for both server and clients.
src/libraries/libisc - interprocess communication package
src/libraries/libmisc - mixed functions
doc - Dir with documentation files.
config - Configuration files for the different machines
scripts - Installation scripts. includes for make
src/server - The server
src/include - The include files that will be referenced
db-crypt - Initial database for server with encrypted passwords
db-nocrypt - Initial database for server without encryption
#
# $Id: Makefile,v 0.38 1993/10/03 16:01:14 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
include Topdir.make
SCRIPTDIR = $(TOPDIR)/scripts
include $(SCRIPTDIR)/import.make
SUBDIRS = doc junk scripts src config
SERVER-VER = 1.4.1
all: msg includes libraries binaries end-msg
includes: $(INCLUDEDIR) $(INCLUDEDIR)/m-config.h
for i in $(SUBDIRS) ; \
do \
[ -d $$i ] && { echo making includes in directory $$i; \
(cd $$i; $(MAKE) $(EXPORTS) includes) } \
done
libraries: $(INCLUDEDIR) $(INCLUDEDIR)/m-config.h
-$(MKDIR) $(LIBDIR)
for i in $(SUBDIRS) ; \
do \
[ -d $$i ] && { echo making libraries in directory $$i; \
(cd $$i; $(MAKE) $(EXPORTS) libraries) } \
done
include $(SCRIPTDIR)/sub-binaries.make
include $(SCRIPTDIR)/sub-install.make
include $(SCRIPTDIR)/sub-depend.make
.PHONY: clean
clean:
$(RM) $(GENERIC-CLEAN)
-for i in $(SUBDIRS); \
do \
[ -d $$i ] && { echo making clean in directory $$i; \
(cd $$i; $(MAKE) $(EXPORTS) clean) } \
done
distcleandescend:
$(RM) $(GENERIC-DIST-CLEAN)
$(RM) -r $(INCLUDEDIR)
$(RM) -r $(LIBDIR)
-for i in $(SUBDIRS); \
do \
[ -d $$i ] && { echo making distclean in directory $$i; \
(cd $$i; $(MAKE) $(EXPORTS) distclean) } \
done
distclean: clean distcleandescend
$(RM) $(SCRIPTDIR)/import.make
depend: $(INCLUDEDIR) $(INCLUDEDIR)/m-config.h msg includes
distribution: distclean
find . -name '#*#' -print
-$(RM) -r lyskom-$(SERVER-VER)
$(MKDIR) lyskom-$(SERVER-VER)
cp README-serverrelease lyskom-$(SERVER-VER)/README
cp COPYING INSTALL Config Build Makefile lyskom-$(SERVER-VER)/
$(MKDIR) lyskom-$(SERVER-VER)/src
cp src/Makefile lyskom-$(SERVER-VER)/src/
$(MKDIR) lyskom-$(SERVER-VER)/src/libraries
cp src/libraries/Makefile lyskom-$(SERVER-VER)/src/libraries/
$(MKDIR) lyskom-$(SERVER-VER)/doc
for i in ADMINISTRATION Makefile misc_items prot-A.txt \
server-async.extend server.extend what-is-unread.swe; \
do \
cp doc/$$i lyskom-$(SERVER-VER)/doc/$i; \
done
cp -r doc/man lyskom-$(SERVER-VER)/doc/man
cp -r config lyskom-$(SERVER-VER)/config
cp -r scripts lyskom-$(SERVER-VER)/scripts
$(RM) lyskom-$(SERVER-VER)/scripts/import.make
cp -r run-support lyskom-$(SERVER-VER)/run-support
cp -r src/libraries/libansi lyskom-$(SERVER-VER)/src/libraries
cp -r src/libraries/libcommon lyskom-$(SERVER-VER)/src/libraries
cp -r src/libraries/libisc-new lyskom-$(SERVER-VER)/src/libraries
cp -r src/libraries/libmisc lyskom-$(SERVER-VER)/src/libraries
cp -r src/libraries/regex lyskom-$(SERVER-VER)/src/libraries
cp -r src/server lyskom-$(SERVER-VER)/src
cp -r src/include lyskom-$(SERVER-VER)/src/include
cp -r db-crypt lyskom-$(SERVER-VER)
cp -r db-nocrypt lyskom-$(SERVER-VER)
find lyskom-$(SERVER-VER) -name CVS.adm -print -exec rm -rf {} \; -prune
find lyskom-$(SERVER-VER) -name Topdir.make -print -exec rm -rf {} \;
tar cvf lyskom-$(SERVER-VER).tar lyskom-$(SERVER-VER)
$(RM) lyskom-$(SERVER-VER).tar.Z
compress lyskom-$(SERVER-VER).tar
$(RM) -r lyskom-$(SERVER-VER)
msg:
@echo Top-level source directory is believed to be $(TOPDIR)
@date
@echo
end-msg:
@echo
@echo Finished at
@date
$(INCLUDEDIR) $(INCLUDEDIR)/m-config.h:
@echo You must run Config before Build or make.
@exit 1
Tue Apr 14 17:38:37 1992 Per Cederqvist (ceder@lysator)
* balance-defs.make: Updated.
* sunos4-defs.make (PROFILE-LIB-SUFFIX): New variable.
Sat Apr 4 19:11:53 1992 Per Cederqvist (ceder@lysator)
* sun4os4-defs.make (CC): gcc2 has been renamed to gcc.
* sun4os4-defs.make (ANSIDIR): Use new directory.
* sun4os4-defs.make (LIBIDENT): New variable.
Mon Mar 9 16:43:00 1992 Per Cederqvist (ceder@robin)
* PIPE (sun4os4-defs.make): Added note about sun3 /bin/as.
Wed Feb 26 19:53:05 1992 Per Cederqvist (ceder@lysator)
* CC (sun4os4-defs.make): Use gcc2 with a fair amount of warnings.
Mon Feb 10 03:18:20 1992 Linus Tolke Y (linus at robin)
* Makefile: new target config, called from config.
* sun4os4-defs.make: MKDIR macro added. This is not used though.
Sun Feb 9 22:20:00 1992 Linus Tolke Y (linus at robin)
* sun4os4-defs.make: New defaults. The defaults dirs are now:
for libraries /usr/local/lib/lyskom
for include files: /usr/local/include/lyskom
#
# $Id: Makefile,v 1.6 1992/02/10 02:43:36 linus Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
include Topdir.make
SCRIPTDIR = $(TOPDIR)/scripts
include $(SCRIPTDIR)/import.make
includes: $(INCLUDEDIR)/m-config.h
$(INCLUDEDIR)/m-config.h:
@echo You must run Config before Build or make.
false
libraries:;
binaries:;
clean:
$(RM) $(GENERIC-CLEAN)
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
depend:;
config:
cp $(SYSTEM)-config.h $(INCLUDEDIR)/m-config.h
/*
* $Id: balance-config.h,v 1.5 1992/03/31 20:50:21 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
*
* LysKOM is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* LysKOM is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* along with LysKOM; see the file COPYING. If not, write to
* Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
* or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
* MA 02139, USA.
*
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: balance-config.h,v 1.5 1992/03/31 20:50:21 ceder Exp $
*
* This works on a Sequent Balance running Dynix 2.1.1.
*/
/* See config-template.h for comments. */
#define HAVE_GETDTABLESIZE
#define HAVE_STRERROR
#define RFC_931
#define ENCRYPT_PASSWORDS
#
# $Id: balance-defs.make,v 1.11 1992/04/14 15:56:27 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
# $Id: balance-defs.make,v 1.11 1992/04/14 15:56:27 ceder Exp $
# This file is included by all Makefiles in the LysKOM hierarchy.
# It gives default values for all variables that is normally used.
# TOPDIR and SCRIPTDIR must be set before this file is included.
#
# This version is tuned for a Sequent Balance.
SHELL=/bin/sh
AWK = gawk
SED = /usr/bin/sed
CC = gcc -ansi
RM = /usr/gnu/bin/rm -vf
RANLIB = ranlib
TOUCHLIB = ranlib
SYMLINK = ln -s
YACC = bison -d
LEX = flex
MKDIR=/bin/mkdir
INCLUDEDIR = $(TOPDIR)/include
LIBDIR = $(TOPDIR)/lib
ANSIDIR = $(INCLUDEDIR)/ansi
INCLUDES = -I$(ANSIDIR) -I$(INCLUDEDIR)
OPTIMIZE-FLAGS = -O
MISC-CFLAGS = -g -Wall -Wstrict-prototypes -Wmissing-prototypes
PIPE = -pipe
# -h flag makes NULL pointer references generate runtime errors
LDFLAGS = -h -L$(LIBDIR) $(PROFILE-FLAGS)
# Library for hostname lookup.
LIBRESOLV = -lresolv
# Our Sequent does not (yet) have the authuser library.
#LIBIDENT = -lauthuser
LIBIDENT =
CFLAGS = $(INCLUDES) $(OPTIMIZE-FLAGS) $(MISC-CFLAGS) $(PIPE) $(TARGET) $(PROFILE-FLAGS)
# Are we profiling? PROFILE-FLAGS are sent to CC when compiling and linking.
# PROFILE-LIB-SUFFIX are included in all library names so that we can have
# one profiled and one non-profiled version at the same time. But make sure
# to delete all .o files when switching between profiling and not profiling...
#PROFILE-FLAGS = -pg -static
#PROFILE-LIB-SUFFIX = -pg
PROFILE-FLAGS =
PROFILE-LIB-SUFFIX =
# LysKOM executables that the typical user doesn't use go here.
# (The server, dbck, et c)
LYSKOMSYSBIN = /usr/lyskom/bin
# User executables (such as lyskom, kompost et c)
LYSKOMUSRBIN = /usr/local/bin
GENERIC-CLEAN = *~ *.o lib*.a core temp-Makefile temp-?-Makefile
GENERIC-DIST-CLEAN = TAGS Topdir.make dependencies
EXPORTS =
# The Makefiles also dependes on the variables
# AR, ARFLAGS
# that are automatically set by GNU Make.
/*
* $Id: config-template.h,v 1.6 1992/03/31 20:50:25 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
*
* LysKOM is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* LysKOM is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* along with LysKOM; see the file COPYING. If not, write to
* Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
* or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
* MA 02139, USA.
*
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: config-template.h,v 1.6 1992/03/31 20:50:25 ceder Exp $
*
* This is a generic configuration file for LysKOM.
*/
/*
* Define BUGGY_INET_NTOA if inet_ntoa is buggy. This is the case for
* a Sun Sparc with SunOS 4.1.1. If you define BUGGY_INET_NTOA a
* replacement routine (from libraries/libisc/inet_ntoa.c) will be
* used.
*/
#define BUGGY_INET_NTOA
/*
* Define HAVE_LOCALE if you have it (and want to use it).
*/
#define HAVE_LOCALE
/*
* Define RFC_931 if you want to use authentication as in rfc 931.
* You need the authuser package that Daniel J. Bernstein has written.
*/
#define RFC_931
/*
* Define HAVE_STRERROR if your libc.a have strerror.
*/
#define HAVE_STRERROR
/*
* If you have the getdtablesize system call.
*/
#define HAVE_GETDTABLESIZE
/*
* Max number of file descriptors that can be opened by a process.
* If this is set too large here, the server will crash when too many
* people try to connect at the same time.
*/
#include <sys/param.h> /* One way to do it... */
#define MAX_OPEN_FD NOFILE
#include <limits.h> /* Another. (I'm not sure that this */
#define MAX_OPEN_FD _POSIX_OPEN_MAX /* is correct - use at your own risk!*/
/*
* Define ENCRYPT_PASSWORDS to encrypt the users password via crypt(3).
*/
#define ENCRYPT_PASSWORDS
/*
* $Id: sun4os4-config.h,v 1.5 1992/03/31 20:50:29 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
*
* LysKOM is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* LysKOM is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* along with LysKOM; see the file COPYING. If not, write to
* Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
* or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
* MA 02139, USA.
*
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: sun4os4-config.h,v 1.5 1992/03/31 20:50:29 ceder Exp $
*
* Configure LysKOM for a Sun Sparc-server running SunOS 4.1.1.
* This is the configuration we are running at Lysator, so this is
* fairly well tested.
*/
/*
* Define BUGGY_INET_NTOA if inet_ntoa is buggy. This is the case for
* a Sun Sparc with SunOS 4.1.1. If you define BUGGY_INET_NTOA a
* replacement routine (from libraries/libisc/inet_ntoa.c) will be
* used.
*/
#define BUGGY_INET_NTOA
#define RFC_931
#define HAVE_GETDTABLESIZE
/* We have LOCALE. */
#define HAVE_LOCALE
#define ENCRYPT_PASSWORDS
#
# $Id: sun4os4-defs.make,v 1.26 1993/10/03 15:57:48 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
# $Id: sun4os4-defs.make,v 1.26 1993/10/03 15:57:48 ceder Exp $
# This file is included by all Makefiles in the LysKOM hierarchy.
# It gives default values for all variables that is normally used.
# TOPDIR and SCRIPTDIR must be set before this file is included.
#
# This version is tuned for a Sparc running SunOS 4.1.1 and a lot
# of Gnu utilities.
SHELL=/bin/sh
AWK = awk
SED = /usr/bin/sed
CC = gcc -ansi
RM = /bin/rm -f
RANLIB = ranlib
#RANLIB = echo
TOUCHLIB = ranlib
#TOUCHLIB = ranlib -t
#TOUCHLIB = echo
SYMLINK = ln -s
YACC = bison -d
LEX = flex
MKDIR=/bin/mkdir
#Use these in the distribution!
INCLUDEDIR = $(TOPDIR)/include
LIBDIR = $(TOPDIR)/lib
ANSIDIR = /
#ANSIDIR = $(INCLUDEDIR)/ansi
# These are used at Lysator during development
#INCLUDEDIR = /usr/local/include/lyskom
#LIBDIR = /usr/local/lib/lyskom
#ANSIDIR = $(INCLUDEDIR)/ansi
#ANSIDIR=/usr/gnu/var/gcc/sunos4.1.1/2.1/proto-include
INCLUDES = -I$(ANSIDIR) -I$(INCLUDEDIR) -I/usr/local/include
OPTIMIZE-FLAGS = -O3
MISC-CFLAGS = -g -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wpointer-arith
# You sometimes can't use -pipe on a sun3, since Suns /bin/as can't read
# stdin. If you use gas you can use -pipe.
PIPE = -pipe
#PIPE =
# -h flag makes NULL pointer references generate runtime errors
LDFLAGS = -h -L$(LIBDIR) $(PROFILE-FLAGS)
# Library for hostname lookup.
# There is a bug in SunOS 4.1.1 that makes it impossible to use -lresolv.
# It can be fixed by either installing the 4.0.3 version of
# /usr/lib/libreslov.a or by omitting -lresolv.
#
# Note that -lresolv is not necessary if YP/NIS is set up so that the NIS
# server asks the nameserver.
LIBRESOLV = # -lresolv
LIBIDENT = -lauthuser
CFLAGS = $(INCLUDES) $(OPTIMIZE-FLAGS) $(MISC-CFLAGS) $(PIPE) $(TARGET) $(PROFILE-FLAGS)
# Are we profiling? PROFILE-FLAGS are sent to CC when compiling and linking.
# PROFILE-LIB-SUFFIX are included in all library names so that we can have
# one profiled and one non-profiled version at the same time. But make sure
# to delete all .o files when switching between profiling and not profiling...
#PROFILE-FLAGS = -pg -static
#PROFILE-LIB-SUFFIX = -pg
PROFILE-FLAGS =
PROFILE-LIB-SUFFIX =
# LysKOM executables that the typical user doesn't use go here.
# (The server, dbck, et c)
LYSKOMSYSBIN = /usr/lyskom/bin
# User executables (such as lyskom, kompost et c)
LYSKOMUSRBIN = /usr/local/bin
GENERIC-CLEAN = *~ *.o lib*.a core temp-Makefile temp-?-Makefile
GENERIC-DIST-CLEAN = TAGS Topdir.make dependencies
EXPORTS =
# The Makefiles also dependes on the variables
# AR, ARFLAGS
# that are automatically set by GNU Make.
/*
* $Id: vax-config.h,v 1.1 1992/04/14 19:19:48 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
*
* LysKOM is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* LysKOM is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* along with LysKOM; see the file COPYING. If not, write to
* Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
* or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
* MA 02139, USA.
*
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
#define RFC_931
#define HAVE_GETDTABLESIZE
#define ENCRYPT_PASSWORDS
#
# $Id: vax-defs.make,v 1.1 1992/04/14 19:19:51 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
# $Id: vax-defs.make,v 1.1 1992/04/14 19:19:51 ceder Exp $
# This file is included by all Makefiles in the LysKOM hierarchy.
# It gives default values for all variables that is normally used.
# TOPDIR and SCRIPTDIR must be set before this file is included.
#
# This version is tuned for a Sparc running SunOS 4.1.1 and a lot
# of Gnu utilities.
SHELL=/bin/sh
AWK = gawk
SED = /usr/bin/sed
CC = gcc -ansi
RM = rm -f
RANLIB = ranlib
TOUCHLIB = ranlib -t
SYMLINK = ln -s
YACC = bison -d
LEX = flex
MKDIR=/bin/mkdir
INCLUDEDIR = $(TOPDIR)/include
LIBDIR = $(TOPDIR)/lib
ANSIDIR = $(INCLUDEDIR)/ansi
INCLUDES = -I$(ANSIDIR) -I$(INCLUDEDIR)
OPTIMIZE-FLAGS = -O
MISC-CFLAGS = -g -Wall -Wstrict-prototypes -Wmissing-prototypes
PIPE = -pipe
# -h flag makes NULL pointer references generate runtime errors
LDFLAGS = -h -L$(LIBDIR) $(PROFILE-FLAGS)
LIBRESOLV = -lresolv
LIBIDENT = -lauthuser
CFLAGS = $(INCLUDES) $(OPTIMIZE-FLAGS) $(MISC-CFLAGS) $(PIPE) $(TARGET) $(PROFILE-FLAGS)
PROFILE-FLAGS =
PROFILE-LIB-SUFFIX =
# LysKOM executables that the typical user doesn't use go here.
# (The server, dbck, et c)
LYSKOMSYSBIN = /usr/lyskom/bin
# User executables (such as lyskom, kompost et c)
LYSKOMUSRBIN = /usr/local/bin
GENERIC-CLEAN = *~ *.o lib*.a core temp-Makefile temp-?-Makefile
GENERIC-DIST-CLEAN = TAGS Topdir.make dependencies
EXPORTS =
# The Makefiles also dependes on the variables
# AR, ARFLAGS
# that are automatically set by GNU Make.
File deleted
Administrating a LysKOM site
============================
This document is a short description of how to administrate a LysKOM
database on your site.
The first thing you will have to do is to follow the instructions in
the file INSTALL. This will set up the LysKOM system with a database
containing a few necessary conferences and one person - the
administrator.
Once the LysKOM system is running, there is not much you will have
to do to keep it that way. One thing to remember is that the current
release of the server (0.32) has an incomplete handling of garbage
collection of the database. The database is split into two files, the
information file and the text file. Newly written texts are
concatenated to the text file and old texts are never removed. The
information file contains information about conferences, users and
where in the text file the texts are. This file is properly garbage
collected, but not the text file.
There is a program called dbck (Data Base Check) which is used to
check the consistency of the LysKOM database. This program can also
be used to shrink the text file. To do this, just type `dbck -g' in
the database directory, or give additional switches to dbck to use the
correct directory. See further the manual page for dbck. When dbck
is to be run on the database, the LysKOM server *must* be stopped, or
unrepairable damage may result. See below for a description on how to
stop the server.
There is a shell script called updateLysKOM which is used to insure
continuous operation. This script is run with certain intervals and
if the LysKOM server has died for some reason, updateLysKOM restarts
it. If the server is still running properly, updateLysKOM sends a
signal (SIGUSR1) to it, which causes the server to write call
statistics to a file named etc/lyskomd-log in the lyskom directory.
Taking the server down cleanly can be done in two ways: through the
use of the LysKOM protocol on a socket, preferably through the use of
a suitable client, or to send the signal SIGHUP to it. This will
cause the server to save the database and close all client
connections. It will also create a file named etc/memory-usage in
which the memory usage of the server is reported. There is currently
a small memory leak in the server. We know about it, so there is no
need to send bug reports to us about that (unless you have found where
the leak is).
(/usr/local/src/2kom/doc) -> (nanny.lysator.liu.se) install;
#
# $Id: Makefile,v 0.6 1991/09/15 09:54:18 linus Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
include Topdir.make
SCRIPTDIR = $(TOPDIR)/scripts
include $(SCRIPTDIR)/import.make
SUBDIRS = man
all:;
depend:;
includes:;
libraries:;
binaries:;
include $(SCRIPTDIR)/sub-clean.make
include $(SCRIPTDIR)/sub-install.make
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment