From 1540c689001ace69063895759b92944286f6acd0 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 14 Jan 2010 17:10:27 +0100 Subject: [PATCH] Package now includes modules directory MP modules are located in /usr/lib/metaproxy/modules and is given in config installed by Debian package metaproxy. --- debian/libmetaproxy2.dirs | 1 + debian/rules | 2 +- etc/Makefile.am | 3 ++- etc/config.debian.xml | 29 +++++++++++++++++++++++++++++ 4 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 debian/libmetaproxy2.dirs create mode 100644 etc/config.debian.xml diff --git a/debian/libmetaproxy2.dirs b/debian/libmetaproxy2.dirs new file mode 100644 index 0000000..d122cdb --- /dev/null +++ b/debian/libmetaproxy2.dirs @@ -0,0 +1 @@ +/usr/lib/metaproxy/modules diff --git a/debian/rules b/debian/rules index 25416fb..8940b01 100755 --- a/debian/rules +++ b/debian/rules @@ -83,7 +83,7 @@ binary-arch: build install dh_installexamples mv debian/tmp/usr/share/doc/metaproxy debian/tmp/usr/share/doc/metaproxy-doc mkdir -p debian/tmp/etc/metaproxy - cp debian/tmp/usr/share/metaproxy/etc/config1.xml debian/tmp/etc/metaproxy/metaproxy.xml + cp debian/tmp/usr/share/metaproxy/etc/config.debian.xml debian/tmp/etc/metaproxy/metaproxy.xml dh_install # dh_installmenu # dh_installdebconf diff --git a/etc/Makefile.am b/etc/Makefile.am index fa62b18..dcfd9de 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -19,7 +19,8 @@ xmlconfig = $(srcdir)/config-bytarget.xml \ $(srcdir)/config3.xml \ $(srcdir)/config4.xml \ $(srcdir)/config5.xml \ - $(srcdir)/retrieval-info.xml + $(srcdir)/retrieval-info.xml \ + $(srcdir)/config.debian.xml config = example.simple-auth example.target-auth pqf2pqf.xsl explain.xml diff --git a/etc/config.debian.xml b/etc/config.debian.xml new file mode 100644 index 0000000..d507854 --- /dev/null +++ b/etc/config.debian.xml @@ -0,0 +1,29 @@ + + + + /usr/lib/metaproxy/modules + + + + 50 + @:9000 + + + 30 + z3950.indexdata.dk + + + + + + + log + + + + + + + -- 1.7.10.4