-## $Id: Makefile.am,v 1.3 2006-03-16 13:20:04 adam Exp $
+## $Id: Makefile.am,v 1.4 2006-03-27 13:41:40 adam Exp $
docdir=$(datadir)/doc/@PACKAGE@
+SUFFIXES=.3mp .1
+
SUPPORTFILES = html.dsl print.dsl tkl.xsl xml.dcl ref2dbinc.xsl
XMLFILES = main.xml.in book.xml manref.xml copyright.xml
MAINXML = main.xml
HTMLFILES = metaproxy.html
-XMLMAN=auth_simple.xml metaproxy.xml
-MANFILES=auth_simple.3mp metaproxy.1
+XMLMAN=auth_simple.xml backend_test.xml frontend_net.xml http_file.xml \
+ log.xml metaproxy.xml multi.xml virt_db.xml z3950_client.xml
+MANFILES=auth_simple.3mp backend_test.3mp frontend_net.3mp http_file.3mp \
+ log.3mp metaproxy.1 multi.3mp virt_db.3mp z3950_client.3mp
PNGFILES=
EPSFILES=
$(HTMLFILES): $(XMLFILES) manref.xml
jade -E14 -D $(srcdir) -d html.dsl -t sgml $(srcdir)/xml.dcl $(MAINXML)
-auth_simple.3mp: auth_simple.xml
+.xml.3mp:
docbook2man $<
-metaproxy.1: metaproxy.xml
+.xml.1:
docbook2man $<
metaproxy.pdf: $(XMLFILES) manref.xml
if test ! -f $$i; then ln -s $(srcdir)/$$i .; fi; \
done
jade -E14 -D $(srcdir) -d print.dsl -t tex $(srcdir)/xml.dcl $(MAINXML)
+ rm -f metaproxy.tex;
+ mv main.tex metaproxy.tex
pdfjadetex metaproxy.tex >/dev/null
pdfjadetex metaproxy.tex >/dev/null
pdfjadetex metaproxy.tex >/dev/null
How to add a new manpage.
-For new man page x.xml that you want in x.s (s=section) you have to add:
+For new man page x.xml that you want in x.s (s=man section) you have to add:
Add to XMLMAN: x.xml
Add to MANFILES: x.s
-Add new Rule:
-x.s: x.xml
- docbook2man $<
Use auth_simple.xml or metaproxy.xml as starting points.
"http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd" [
<!ENTITY copyright SYSTEM "copyright.xml">
]>
-<!-- $Id: auth_simple.xml,v 1.1 2006-03-16 13:20:05 adam Exp $ -->
+<!-- $Id: auth_simple.xml,v 1.2 2006-03-27 13:41:40 adam Exp $ -->
<refentry>
<refmeta>
<refentrytitle>auth_simple</refentrytitle>
<manvolnum>3mp</manvolnum>
+ <refmiscinfo>Metaproxy Module</refmiscinfo>
</refmeta>
<refnamediv>
<refname>auth_simple</refname>
- <refpurpose>Simple authentication and authorisation.</refpurpose>
+ <refpurpose>simple authentication and authorisation.</refpurpose>
</refnamediv>
<refsect1><title>DESCRIPTION</title>
--- /dev/null
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd" [
+ <!ENTITY copyright SYSTEM "copyright.xml">
+]>
+<!-- $Id: backend_test.xml,v 1.1 2006-03-27 13:41:40 adam Exp $ -->
+<refentry>
+ <refmeta>
+ <refentrytitle>backend_test</refentrytitle>
+ <manvolnum>3mp</manvolnum>
+ <refmiscinfo>Metaproxy Module</refmiscinfo>
+ </refmeta>
+
+ <refnamediv>
+ <refname>backend_test</refname>
+ <refpurpose>backend Z39.50 server for testing.</refpurpose>
+ </refnamediv>
+
+ <refsect1><title>DESCRIPTION</title>
+ <para>
+ A pseudo Z39.50 server for test purposes.. Similar to
+ yaz-ztest.
+ </para>
+ </refsect1>
+
+ <refsect1><title>SEE ALSO</title>
+ <para>
+ <citerefentry>
+ <refentrytitle>metaproxy</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </citerefentry>
+ </para>
+ </refsect1>
+
+ ©right;
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-local-catalogs: nil
+sgml-namecase-general:t
+End:
+-->
--- /dev/null
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd" [
+ <!ENTITY copyright SYSTEM "copyright.xml">
+]>
+<!-- $Id: frontend_net.xml,v 1.1 2006-03-27 13:41:40 adam Exp $ -->
+<refentry>
+ <refmeta>
+ <refentrytitle>frontend_net</refentrytitle>
+ <manvolnum>3mp</manvolnum>
+ <refmiscinfo>Metaproxy Module</refmiscinfo>
+</refmeta>
+
+ <refnamediv>
+ <refname>frontend_net</refname>
+ <refpurpose>network server</refpurpose>
+ </refnamediv>
+
+ <refsect1><title>DESCRIPTION</title>
+ <para>
+ This is a frontend module. Listens on one or more ports and
+ sends HTTP/Z39.50 messages to other filters.
+ </para>
+ </refsect1>
+
+ <refsect1><title>EXAMPLES</title>
+ <para>
+ A typical configuration looks as likes:
+ <screen><![CDATA[
+ <filter type="frontend_net">
+ <port>@:9000</port>
+ <threads>10</threads>
+ </filter>
+]]>
+ </screen>
+ </para>
+ </refsect1>
+
+ <refsect1><title>SEE ALSO</title>
+ <para>
+ <citerefentry>
+ <refentrytitle>metaproxy</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </citerefentry>
+ </para>
+ </refsect1>
+
+ ©right;
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-local-catalogs: nil
+sgml-namecase-general:t
+End:
+-->
--- /dev/null
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd" [
+ <!ENTITY copyright SYSTEM "copyright.xml">
+]>
+<!-- $Id: http_file.xml,v 1.1 2006-03-27 13:41:40 adam Exp $ -->
+<refentry>
+ <refmeta>
+ <refentrytitle>http_file</refentrytitle>
+ <manvolnum>3mp</manvolnum>
+ <refmiscinfo>Metaproxy Module</refmiscinfo>
+</refmeta>
+
+ <refnamediv>
+ <refname>http_file</refname>
+ <refpurpose>network server</refpurpose>
+ </refnamediv>
+
+ <refsect1><title>DESCRIPTION</title>
+ <para>
+ This module enables file access via the HTTP protocol.
+ All URLs with a given prefix are directed to a specific
+ documentroot (on local file storage). The module only serves
+ static content.
+ </para>
+ </refsect1>
+
+ <refsect1><title>EXAMPLES</title>
+ <para>
+ A typical configuration looks as likes:
+ <screen><![CDATA[
+ <filter type="http_file">
+ <mimetypes>/etc/mime.types</mimetypes>
+ <documentroot>/var/www/metaproxy/html</port>
+ <prefix>/etc</prefixs>
+ </filter>
+]]>
+ </screen>
+ </para>
+ </refsect1>
+
+ <refsect1><title>SEE ALSO</title>
+ <para>
+ <citerefentry>
+ <refentrytitle>metaproxy</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </citerefentry>
+ </para>
+ </refsect1>
+
+ ©right;
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-local-catalogs: nil
+sgml-namecase-general:t
+End:
+-->
--- /dev/null
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd" [
+ <!ENTITY copyright SYSTEM "copyright.xml">
+]>
+<!-- $Id: log.xml,v 1.1 2006-03-27 13:41:40 adam Exp $ -->
+<refentry>
+ <refmeta>
+ <refentrytitle>log</refentrytitle>
+ <manvolnum>3mp</manvolnum>
+ <refmiscinfo>Metaproxy Module</refmiscinfo>
+</refmeta>
+
+ <refnamediv>
+ <refname>log</refname>
+ <refpurpose>logs packages</refpurpose>
+ </refnamediv>
+
+ <refsect1><title>DESCRIPTION</title>
+ <para>
+ This filter logs packages sent - and received .
+ </para>
+ </refsect1>
+
+ <refsect1><title>EXAMPLES</title>
+ <para>
+ A typical configuration looks as likes:
+ <screen><![CDATA[
+ <filter type="log">
+ <message>B</message>
+ </filter>
+]]>
+ </screen>
+ </para>
+ </refsect1>
+
+ <refsect1><title>SEE ALSO</title>
+ <para>
+ <citerefentry>
+ <refentrytitle>metaproxy</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </citerefentry>
+ </para>
+ </refsect1>
+
+ ©right;
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-local-catalogs: nil
+sgml-namecase-general:t
+End:
+-->
--- /dev/null
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd" [
+ <!ENTITY copyright SYSTEM "copyright.xml">
+]>
+<!-- $Id: multi.xml,v 1.1 2006-03-27 13:41:40 adam Exp $ -->
+<refentry>
+ <refmeta>
+ <refentrytitle>multi</refentrytitle>
+ <manvolnum>3mp</manvolnum>
+ <refmiscinfo>Metaproxy Module</refmiscinfo>
+</refmeta>
+
+ <refnamediv>
+ <refname>multi</refname>
+ <refpurpose>package multiplexer</refpurpose>
+ </refnamediv>
+
+ <refsect1><title>DESCRIPTION</title>
+ <para>
+ This filter multiplexes packages.
+ </para>
+ </refsect1>
+
+ <refsect1><title>EXAMPLES</title>
+ <para>
+ A typical configuration looks as likes:
+ <screen><![CDATA[
+ <filter type="multi">
+ </filter>
+]]>
+ </screen>
+ </para>
+ </refsect1>
+
+ <refsect1><title>SEE ALSO</title>
+ <para>
+ <citerefentry>
+ <refentrytitle>metaproxy</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </citerefentry>
+ </para>
+ <para>
+ <citerefentry>
+ <refentrytitle>virt_db</refentrytitle>
+ <manvolnum>3mp</manvolnum>
+ </citerefentry>
+ </para>
+ </refsect1>
+
+ ©right;
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-local-catalogs: nil
+sgml-namecase-general:t
+End:
+-->
--- /dev/null
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd" [
+ <!ENTITY copyright SYSTEM "copyright.xml">
+]>
+<!-- $Id: virt_db.xml,v 1.1 2006-03-27 13:41:40 adam Exp $ -->
+<refentry>
+ <refmeta>
+ <refentrytitle>virt_db</refentrytitle>
+ <manvolnum>3mp</manvolnum>
+ <refmiscinfo>Metaproxy Module</refmiscinfo>
+</refmeta>
+
+ <refnamediv>
+ <refname>virt_db</refname>
+ <refpurpose>virtual database(s)</refpurpose>
+ </refnamediv>
+
+ <refsect1><title>DESCRIPTION</title>
+ <para>
+ This filter allows one Z39.50 database to be me mapped to
+ another target; or even multiple targets..
+ </para>
+ </refsect1>
+
+ <refsect1><title>EXAMPLES</title>
+ <para>
+ A typical configuration looks as likes:
+ <screen><![CDATA[
+ <filter type="virt_db">
+ <virtual>
+ <database>db1</database>
+ <target>localhost:9999/Default</target>
+ </virtual>
+ <virtual>
+ <database>db2</database>
+ <target>indexdata.dk/gils</target>
+ </virtual>
+ <virtual>
+ <database>combined</database>
+ <target>indexdata.dk/gils</target>
+ <target>localhost:9999/Default</target>
+ </virtual>
+ </filter>
+]]>
+ </screen>
+ </para>
+ </refsect1>
+
+ <refsect1><title>SEE ALSO</title>
+ <para>
+ <citerefentry>
+ <refentrytitle>metaproxy</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </citerefentry>
+ </para>
+ <para>
+ <citerefentry>
+ <refentrytitle>multi</refentrytitle>
+ <manvolnum>3mp</manvolnum>
+ </citerefentry>
+ </para>
+ </refsect1>
+
+ ©right;
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-local-catalogs: nil
+sgml-namecase-general:t
+End:
+-->
--- /dev/null
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd" [
+ <!ENTITY copyright SYSTEM "copyright.xml">
+]>
+<!-- $Id: z3950_client.xml,v 1.1 2006-03-27 13:41:40 adam Exp $ -->
+<refentry>
+ <refmeta>
+ <refentrytitle>z3950_client</refentrytitle>
+ <manvolnum>3mp</manvolnum>
+ <refmiscinfo>Metaproxy Module</refmiscinfo>
+</refmeta>
+
+ <refnamediv>
+ <refname>z3950_client</refname>
+ <refpurpose>backend module Z39.50 client</refpurpose>
+ </refnamediv>
+
+ <refsect1><title>DESCRIPTION</title>
+ <para>
+ This backend filter is a Z39.50 client.
+ </para>
+ </refsect1>
+
+ <refsect1><title>EXAMPLES</title>
+ <para>
+ A typical configuration looks as likes:
+ <screen><![CDATA[
+ <filter type="z3950_client">
+ <timeout>30</timeout>
+ </filter>
+]]>
+ </screen>
+ </para>
+ </refsect1>
+
+ <refsect1><title>SEE ALSO</title>
+ <para>
+ <citerefentry>
+ <refentrytitle>metaproxy</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </citerefentry>
+ </para>
+ <para>
+ <citerefentry>
+ <refentrytitle>backend_test</refentrytitle>
+ <manvolnum>3mp</manvolnum>
+ </citerefentry>
+ </para>
+ </refsect1>
+
+ ©right;
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-local-catalogs: nil
+sgml-namecase-general:t
+End:
+-->