Minor changes.
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 28 Aug 1996 08:03:45 +0000 (08:03 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 28 Aug 1996 08:03:45 +0000 (08:03 +0000)
Makefile.email [new file with mode: 0644]
Makefile.web [new file with mode: 0644]
doc/egate.sgml

diff --git a/Makefile.email b/Makefile.email
new file mode 100644 (file)
index 0000000..bd75a54
--- /dev/null
@@ -0,0 +1,107 @@
+# Top level Makefile for the Email - Z39.50 gateway
+# Europagate, 1995-1996.
+#
+# $Id: Makefile.email,v 1.1 1996/08/28 08:03:45 adam Exp $
+#
+SHELL=/bin/sh
+MAKE=make
+#CC=cc
+CPP=$(CC) -E
+
+VERSION=1.0
+
+# Email gateway settings --------------------------------------
+
+# Directory for the email gateway files
+EMAILLIBDIR=/usr/local/lib/emailgw
+
+# GNU regex package location
+#REGEXOBJ=../../../pd-src/regex-0.12/regex.o
+#REGEXINC=-I../../../pd-src/regex-0.12
+
+# Other libraries needed on some systems
+#ELIB=-lnsl -lsocket
+
+# If you are using YAZ uncomment these lines
+ZACC=zlayer-yaz
+ZINC=-I../../yaz/include
+ZLIB=../../yaz/lib/libyaz.a
+ZDEFS=
+
+# If you are using Zdist uncomment these lines
+#ZACC=zlayer-zdist
+#ZINC=-I/home/proj/zdist/zdist102b1-1/libz3950
+#ZLIB=/home/proj/zdist/zdist102b1-1/libz3950/libz3950.a
+#ZDEFS=-DLOW_TO_HIGH -Dfar=
+
+# End of settings ---------------------------------------------
+# You probably don't have to edit the things below.
+
+SUBDIR=res+log util ccl fml $(ZACC) kernel
+
+all:
+       for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZINC="$(ZINC)" ZLIB="$(ZLIB)" CPP="$(CPP)" ELIB="$(ELIB)" REGEXOBJ="$(REGEXOBJ)" REGEXINC="$(REGEXINC)" ZDEFS="$(ZDEFS)"; then cd ..; else exit 1; fi; done
+
+dep depend:
+       for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZINC="$(ZINC)" CPP="$(CPP)" REGEXINC="$(REGEXINC)" ZDEFS="$(ZDEFS)" TCLINC="$(TCLINC)" IRTCLINC="$(IRTCLINC)" depend; then cd ..; else exit 1; fi; done
+
+install:
+       @if [ ! -d $(EMAILLIBDIR) ]; then \
+               echo "Making directory $(EMAILLIBDIR)"; \
+               mkdir $(EMAILLIBDIR); \
+       fi
+       @cd kernel; for i in eti monitor kernel; do \
+               echo "Installing $$i"; \
+               cp $$i $(EMAILLIBDIR); chmod +x $(EMAILLIBDIR)/$$i; \
+       done
+       @cd kernel; for i in *.res *.bib *.fml; do \
+               echo "Installing $$i"; \
+               cp $$i $(EMAILLIBDIR);\
+       done
+
+clean:
+       -rm -f lib/*.a
+       for i in $(SUBDIR); do (cd $$i; $(MAKE) clean); done
+
+distclean: clean cleandepend
+
+cleandepend: 
+       for i in $(SUBDIR); do (cd $$i; \
+               if sed '/^#Depend/q' <Makefile >Makefile.tmp; then \
+               mv -f Makefile.tmp Makefile; fi; rm -f .depend); done
+
+taildepend:
+       for i in $(SUBDIR); do (cd $$i; \
+               if sed 's/^if/#GNUif/'<Makefile|sed 's/^include/#GNUinclude/'| \
+               sed 's/^endif/#GNUendif/' | \
+               sed 's/^depend: depend2/depend: depend1/g' | \
+               sed '/^#Depend/q' >Makefile.tmp; then \
+               mv -f Makefile.tmp Makefile; fi); done
+
+gnudepend:
+       for i in $(SUBDIR); do (cd $$i; \
+               if sed '/^#Depend/q' <Makefile| \
+               sed 's/^#GNUif/if/' |sed 's/^#GNUinclude/include/'| \
+               sed 's/^#GNUendif/endif/' | \
+               sed 's/^depend: depend1/depend: depend2/g' >Makefile.tmp;then \
+               mv -f Makefile.tmp Makefile; fi); done
+
+distribution:
+       echo "Making distribution version $(VERSION). Did you commit?"
+       if [ -d tmp ]; then \
+               rm -fr tmp; \
+       fi
+        mkdir tmp; cd tmp; for i in $(SUBDIR) doc; do \
+               cvs export -f -D now egate/$i; \
+       done
+       cd tmp; cvs export -f -D now egate/README.email
+       cd tmp/egate; mv README.email README
+       cd tmp; cvs export -f -D now egate/zdist.patch
+       cd tmp; cvs export -f -D now egate/Makefile.email
+       cd tmp/egate; mv Makefile.email Makefile
+       cd tmp; mv egate email-z39-$(VERSION)
+       cd tmp/email-z39-$(VERSION); make taildepend
+       cd tmp/email-z39-$(VERSION)/doc; make all
+       cd tmp; tar zcf ../email-z39-$(VERSION).tar.gz email-z39-$(VERSION)
+       rm -fr tmp
+       
diff --git a/Makefile.web b/Makefile.web
new file mode 100644 (file)
index 0000000..543ef11
--- /dev/null
@@ -0,0 +1,90 @@
+# Top level Makefile for the Web - Z39.50 gateway
+# Europagate, 1995-1996.
+#
+# $Id: Makefile.web,v 1.1 1996/08/28 08:03:45 adam Exp $
+#
+SHELL=/bin/sh
+MAKE=make
+#CC=cc
+CPP=$(CC) -E
+
+VERSION=1.0
+
+# Install directories
+HTTPDDIR=/usr/local/etc/httpd
+CGIDIR=$(HTTPDDIR)/cgi-bin
+HTDOCS=$(HTTPDDIR)/htdocs
+EGWDIR=$(HTTPDDIR)/egw
+GIFDIR=$(HTDOCS)/egwgif
+
+# Location of Tcl
+TCLLIB=/usr/local/lib/libtcl7.5.a -lm
+TCLINC=-I/usr/local/include
+
+# Location of IrTcl
+IRTCLDIR=../../ir-tcl
+IRTCLLIB=$(IRTCLDIR)/libirtcl.a
+IRTCLINC=-I$(IRTCLDIR)
+
+# Other libraries needed on some systems
+#ELIB=-lnsl -lsocket
+
+# If you are using YAZ uncomment these lines
+ZINC=-I../../yaz/include
+ZLIB=../../yaz/lib/libyaz.a
+ZDEFS=
+
+# End of settings ---------------------------------------------
+# You probably don't have to edit the things below.
+
+SUBDIR=res+log util www
+
+all:
+       for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZINC="$(ZINC)" ZLIB="$(ZLIB)" CPP="$(CPP)" ELIB="$(ELIB)" ZDEFS="$(ZDEFS)" TCLLIB="$(TCLLIB)" TCLINC="$(TCLINC)" IRTCLLIB="$(IRTCLLIB)" IRTCLINC="$(IRTCLINC)" EGWDIR="$(EGWDIR)"; then cd ..; else exit 1; fi; done
+
+dep depend:
+       for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZINC="$(ZINC)" CPP="$(CPP)" REGEXINC="$(REGEXINC)" ZDEFS="$(ZDEFS)" TCLINC="$(TCLINC)" IRTCLINC="$(IRTCLINC)" depend; then cd ..; else exit 1; fi; done
+
+install:
+       cd www; $(MAKE) HTTPDDIR="$(HTTPDDIR)" CGIDIR="$(CGIDIR)" HTDOCS="$(HTDOCS)" EGWDIR="$(EGWDIR)" GIFDIR="$(GIFDIR)" install
+
+clean:
+       -rm -f lib/*.a
+       for i in $(SUBDIR); do (cd $$i; $(MAKE) clean); done
+
+distclean: clean cleandepend
+
+cleandepend: 
+       for i in $(SUBDIR); do (cd $$i; \
+               if sed '/^#Depend/q' <Makefile >Makefile.tmp; then \
+               mv -f Makefile.tmp Makefile; fi; rm -f .depend); done
+
+taildepend:
+       for i in $(SUBDIR); do (cd $$i; \
+               if sed 's/^if/#GNUif/'<Makefile|sed 's/^include/#GNUinclude/'| \
+               sed 's/^endif/#GNUendif/' | \
+               sed 's/^depend: depend2/depend: depend1/g' | \
+               sed '/^#Depend/q' >Makefile.tmp; then \
+               mv -f Makefile.tmp Makefile; fi); done
+
+gnudepend:
+       for i in $(SUBDIR); do (cd $$i; \
+               if sed '/^#Depend/q' <Makefile| \
+               sed 's/^#GNUif/if/' |sed 's/^#GNUinclude/include/'| \
+               sed 's/^#GNUendif/endif/' | \
+               sed 's/^depend: depend1/depend: depend2/g' >Makefile.tmp;then \
+               mv -f Makefile.tmp Makefile; fi); done
+
+distribution:
+       echo "Making distribution version $(VERSION). Did you commit?"
+       if [ -d tmp ]; then \
+               rm -fr tmp; \
+       fi
+       mkdir tmp; cd tmp; cvs export -f -D now egate
+       cd tmp/egate/www; rm *wais*.[ch]
+       cd tmp; mv egate egate-$(VERSION)
+       cd tmp/egate-$(VERSION); make taildepend
+       cd tmp/egate-$(VERSION)/doc; make all
+       cd tmp; tar zcf ../egate-$(VERSION).tar.gz egate-$(VERSION)
+       rm -fr tmp
+       
index 06d222e..fab7a50 100644 (file)
@@ -1,14 +1,14 @@
 <!doctype linuxdoc system>
 
 <!--
-  $Id: egate.sgml,v 1.11 1996/08/09 15:42:12 adam Exp $
+  $Id: egate.sgml,v 1.12 1996/08/28 08:03:48 adam Exp $
 -->
 
 <article>
 <title>Email/Z39.50 gateway guide 
 <author>Europagate, 1996 <htmlurl url="http://europagate.dtv.dk"
  name="http://europagate.dtv.dk">
-<date>$Revision: 1.11 $
+<date>$Revision: 1.12 $
 <abstract>
 This document describes a Email server that provides access to the
 Z39.50 protocol.
@@ -42,8 +42,8 @@ one of these first.
 The zdist package can be found in:
 
 <htmlurl
-url="ftp://ftp.cnidr.org/pub/NIDR.tools/zdist/zdist102b1-1.tar.Z" 
- name="ftp://ftp.cnidr.org/pub/NIDR.tools/zdist/zdist102b1-1.tar.Z">
+url="ftp://ftp.cnidr.org/pub/NIDR.tools/zdist/archive/1.02/zdist102b1-1.tar.Z" 
+name="ftp://ftp.cnidr.org/pub/NIDR.tools/zdist/archive/1.02/zdist102b1-1.tar.Z">
 
 The zdist package doesn't support result-set references. Also, it has a few
 bugs. Therefore we've included a patch <tt/zdist.patch/ which fixes