metaproxy-moved-to-github.git
11 years agoVersion 1.3.52 v1.3.52
Adam Dickmeiss [Fri, 30 Nov 2012 17:52:49 +0000 (18:52 +0100)]
Version 1.3.52

11 years agozoom: fix http:// check
Adam Dickmeiss [Fri, 30 Nov 2012 17:50:03 +0000 (17:50 +0000)]
zoom: fix http:// check

11 years agoVersion 1.3.51 v1.3.51
Adam Dickmeiss [Thu, 15 Nov 2012 12:12:23 +0000 (13:12 +0100)]
Version 1.3.51

11 years agoRemove yaz_log msg
Adam Dickmeiss [Wed, 14 Nov 2012 11:36:30 +0000 (12:36 +0100)]
Remove yaz_log msg

11 years agozoom: only append http:// for SRU if not already given
Adam Dickmeiss [Wed, 14 Nov 2012 11:35:20 +0000 (12:35 +0100)]
zoom: only append  for SRU if not already given

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Mon, 12 Nov 2012 15:01:59 +0000 (16:01 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

12 years agofrontend_net: allow max size to be given
Adam Dickmeiss [Mon, 12 Nov 2012 15:00:58 +0000 (16:00 +0100)]
frontend_net: allow max size to be given

Controlled by attribute 'max_recv_bytes' of element 'port'.

12 years agoDepend on libyazpp5
Adam Dickmeiss [Mon, 12 Nov 2012 14:59:03 +0000 (15:59 +0100)]
Depend on libyazpp5

Because it provides a new ABI

12 years agoUse yazpp5 DLL
Adam Dickmeiss [Mon, 12 Nov 2012 13:47:40 +0000 (14:47 +0100)]
Use yazpp5 DLL

12 years agoVersion 1.3.50 v1.3.50
Adam Dickmeiss [Mon, 29 Oct 2012 13:27:04 +0000 (14:27 +0100)]
Version 1.3.50

12 years agoNo CVS ID in local.ent
Adam Dickmeiss [Mon, 29 Oct 2012 13:30:47 +0000 (14:30 +0100)]
No CVS ID in local.ent

12 years agoAvoid boost::is_any_off to avoid warning
Adam Dickmeiss [Mon, 29 Oct 2012 13:19:50 +0000 (14:19 +0100)]
Avoid boost::is_any_off to avoid warning

Actually a big fat warning only issued with Visual Studio.

12 years agoSpecify Boost libpath for Windows
Adam Dickmeiss [Mon, 29 Oct 2012 12:28:24 +0000 (13:28 +0100)]
Specify Boost libpath for Windows

This is because some boost libs depend on other boost libraries
that we don't specify in linker invocation.

12 years agoScope classes, tweak for TIME_UTC
Adam Dickmeiss [Mon, 29 Oct 2012 12:02:20 +0000 (13:02 +0100)]
Scope classes, tweak for TIME_UTC

Scope classes due to VC 9 being different from GCC.
Use TIME_UTC_ on Boost 1.50 and later.

12 years agoOnly use kill on POSIX systems
Adam Dickmeiss [Mon, 29 Oct 2012 12:01:17 +0000 (13:01 +0100)]
Only use kill on POSIX systems

12 years agowin makefile: use Boost 1.51
Adam Dickmeiss [Mon, 29 Oct 2012 10:38:02 +0000 (11:38 +0100)]
win makefile: use Boost 1.51

12 years agosession_shared: specify module for addinfo in diagnostics
Adam Dickmeiss [Mon, 29 Oct 2012 11:06:42 +0000 (12:06 +0100)]
session_shared: specify module for addinfo in diagnostics

12 years agocql_rpn: specify module for addinfo in diagnostics
Adam Dickmeiss [Mon, 29 Oct 2012 11:05:51 +0000 (12:05 +0100)]
cql_rpn: specify module for addinfo in diagnostics

12 years agoz3950_client: specify module for addinfo in diagnostics
Adam Dickmeiss [Mon, 29 Oct 2012 11:04:31 +0000 (12:04 +0100)]
z3950_client: specify module for addinfo in diagnostics

12 years agozoom: specify module for addinfo in diagnostics
Adam Dickmeiss [Mon, 29 Oct 2012 11:03:21 +0000 (12:03 +0100)]
zoom: specify module for addinfo in diagnostics

12 years agozoom: tweak logging for Torus fetch
Adam Dickmeiss [Mon, 29 Oct 2012 11:01:49 +0000 (12:01 +0100)]
zoom: tweak logging for Torus fetch

12 years agoAdd CentOS 6
Adam Dickmeiss [Fri, 26 Oct 2012 12:45:29 +0000 (14:45 +0200)]
Add CentOS 6

12 years agosru_z3950: using yaz_decode_init_diag
Adam Dickmeiss [Fri, 26 Oct 2012 12:32:35 +0000 (14:32 +0200)]
sru_z3950: using yaz_decode_init_diag

12 years agomp_util::get_init_diagnostics based on yaz_decode_init_diag
Adam Dickmeiss [Fri, 26 Oct 2012 12:32:20 +0000 (14:32 +0200)]
mp_util::get_init_diagnostics based on yaz_decode_init_diag

12 years agoRequire YAZ 4.2.44
Adam Dickmeiss [Fri, 26 Oct 2012 12:27:27 +0000 (14:27 +0200)]
Require YAZ 4.2.44

12 years agofilter_session_shared: relay init diagnostics
Adam Dickmeiss [Fri, 26 Oct 2012 12:22:20 +0000 (14:22 +0200)]
filter_session_shared: relay init diagnostics

Diagnostics generated by filter_session_shared, are augmented
with addinfo with some details.

12 years agosru_z3950: map Z39.50 init diags to SRU response
Adam Dickmeiss [Wed, 24 Oct 2012 20:46:30 +0000 (22:46 +0200)]
sru_z3950: map Z39.50 init diags to SRU response

12 years agoActually add the man page.
Adam Dickmeiss [Sat, 20 Oct 2012 09:40:55 +0000 (11:40 +0200)]
Actually add the man page.

12 years agoAdd metaproxy-config man page
Adam Dickmeiss [Sat, 20 Oct 2012 09:19:13 +0000 (11:19 +0200)]
Add metaproxy-config man page

12 years agoAdd set -e to prefm script
Adam Dickmeiss [Fri, 19 Oct 2012 13:00:27 +0000 (15:00 +0200)]
Add set -e to prefm script

12 years agoUse dpkg-buildflags in build process
Adam Dickmeiss [Fri, 19 Oct 2012 12:57:58 +0000 (14:57 +0200)]
Use dpkg-buildflags in build process

This is to use hardening options for the libraries and programs.
Refer to http://wiki.debian.org/Hardening for more information.

12 years agoFix email addresses in debian/changelog
Adam Dickmeiss [Fri, 19 Oct 2012 12:57:29 +0000 (14:57 +0200)]
Fix email addresses in debian/changelog

12 years agoVersion 1.3.49 v1.3.49
Adam Dickmeiss [Thu, 18 Oct 2012 13:54:00 +0000 (15:54 +0200)]
Version 1.3.49

12 years agofrontend_net: simplify, use mp::xml::get_route
Adam Dickmeiss [Thu, 18 Oct 2012 08:56:10 +0000 (10:56 +0200)]
frontend_net: simplify, use mp::xml::get_route

12 years agozoom: new config element passthru
Adam Dickmeiss [Wed, 10 Oct 2012 11:51:01 +0000 (13:51 +0200)]
zoom: new config element passthru

This defines an element that is passed verbatim to the backend -
in pz2 mode.

12 years agoauth_simple: get_user a static function
Adam Dickmeiss [Tue, 9 Oct 2012 13:50:27 +0000 (15:50 +0200)]
auth_simple: get_user a static function

rather than member function. Fixes compilation errors on some
platforms.

12 years agoauth_simple: allow both idPass and open auth
Adam Dickmeiss [Tue, 9 Oct 2012 13:37:20 +0000 (15:37 +0200)]
auth_simple: allow both idPass and open auth

Also fix SEGV that could occur for open auth.

12 years agoVersion 1.3.48 v1.3.48
Adam Dickmeiss [Mon, 8 Oct 2012 16:13:30 +0000 (18:13 +0200)]
Version 1.3.48

12 years agoz3950_client: fix string handling for init diagnostics
Adam Dickmeiss [Mon, 8 Oct 2012 13:45:43 +0000 (15:45 +0200)]
z3950_client: fix string handling for init diagnostics

in the case where addinfo was absent.

12 years agoquery_rewrite: no charset for error queries
Adam Dickmeiss [Mon, 8 Oct 2012 13:35:27 +0000 (15:35 +0200)]
query_rewrite: no charset for error queries

Avoid performing charset for query conversion errors. The
resulting Type-1 query is invalid in this case.

12 years agoVersion 1.3.47 v1.3.47
Adam Dickmeiss [Thu, 4 Oct 2012 09:59:48 +0000 (11:59 +0200)]
Version 1.3.47

12 years agoAt graceful stop, kill children processes
Adam Dickmeiss [Thu, 4 Oct 2012 08:14:15 +0000 (08:14 +0000)]
At graceful stop, kill children processes

Metaproxy already did this for normal stop (SIGTERM). This ensure
that children processes spawned by modules are removed upon
termination of graceful stop too.

12 years agoLog when metaproxy is invoked in test mode (-t)
Adam Dickmeiss [Thu, 4 Oct 2012 07:47:19 +0000 (07:47 +0000)]
Log when metaproxy is invoked in test mode (-t)

12 years agoSet yaz_log prefix to PID
Adam Dickmeiss [Wed, 3 Oct 2012 10:47:32 +0000 (12:47 +0200)]
Set yaz_log prefix to PID

This is to make it easier to track what Metaproxy process is
logging, especially duing reload where multiple Metaproxy processing
are running.

12 years agomulti: combine both NSDs and multiple NSDs into one
Adam Dickmeiss [Tue, 2 Oct 2012 14:17:42 +0000 (16:17 +0200)]
multi: combine both NSDs and multiple NSDs into one

12 years agoz3950_client: fixup multiple NSD's too
Adam Dickmeiss [Tue, 2 Oct 2012 14:16:30 +0000 (16:16 +0200)]
z3950_client: fixup multiple NSD's too

Like surrogate diagnostics, a (backend=target) is appended
for each diagnostic so that can be determined the origin of
error.

12 years agomulti: hideerrors also in use for present response
Adam Dickmeiss [Tue, 2 Oct 2012 12:54:50 +0000 (14:54 +0200)]
multi: hideerrors also in use for present response

12 years agoSolr example in zoom man page
Adam Dickmeiss [Tue, 2 Oct 2012 09:27:10 +0000 (11:27 +0200)]
Solr example in zoom man page

12 years agoBad use attribute for Solr
Adam Dickmeiss [Tue, 2 Oct 2012 09:26:22 +0000 (11:26 +0200)]
Bad use attribute for Solr

12 years agoStrip trailing white space
Adam Dickmeiss [Tue, 2 Oct 2012 09:01:24 +0000 (11:01 +0200)]
Strip trailing white space

12 years agoConfiguration example of using Solr
Adam Dickmeiss [Tue, 2 Oct 2012 08:59:24 +0000 (10:59 +0200)]
Configuration example of using Solr

12 years agoUpdate zoom schema
Adam Dickmeiss [Tue, 2 Oct 2012 08:58:56 +0000 (10:58 +0200)]
Update zoom schema

Torus attributes url and realm are optional.

12 years agoFix query_rewrite config example
Adam Dickmeiss [Tue, 2 Oct 2012 08:56:31 +0000 (10:56 +0200)]
Fix query_rewrite config example

12 years agoLog at least first non surrogate diagnostic
Adam Dickmeiss [Fri, 28 Sep 2012 14:03:11 +0000 (16:03 +0200)]
Log at least first non surrogate diagnostic

Instead of "Z_Records_multipleNSD"

12 years agomulti: Fix check for opt Records in present response
Adam Dickmeiss [Fri, 28 Sep 2012 12:26:09 +0000 (14:26 +0200)]
multi: Fix check for opt Records in present response

A SEGV could occur if a target did not return records and
no diagnostics.

12 years agoVersion 1.3.46 v1.3.46
Adam Dickmeiss [Mon, 24 Sep 2012 16:04:57 +0000 (18:04 +0200)]
Version 1.3.46

12 years agoCall yaz_daemon_stop just after stop of socket bind
Adam Dickmeiss [Mon, 24 Sep 2012 13:39:18 +0000 (15:39 +0200)]
Call yaz_daemon_stop just after stop of socket bind

instead of after graceful stop loop has ended (which could
take a long time).

12 years agoReformat: delete trailing whitespace
Adam Dickmeiss [Wed, 19 Sep 2012 13:38:37 +0000 (15:38 +0200)]
Reformat: delete trailing whitespace

12 years agoVersion 1.3.45 v1.3.45
Adam Dickmeiss [Wed, 12 Sep 2012 12:50:50 +0000 (14:50 +0200)]
Version 1.3.45

12 years agosru_z3950: relay surrogate diagnostics
Adam Dickmeiss [Wed, 12 Sep 2012 12:13:20 +0000 (14:13 +0200)]
sru_z3950: relay surrogate diagnostics

12 years agoRecert local changes to config-zoom.xml
Adam Dickmeiss [Mon, 10 Sep 2012 13:41:59 +0000 (15:41 +0200)]
Recert local changes to config-zoom.xml

12 years agoVersion 1.3.44 v1.3.44
Adam Dickmeiss [Mon, 10 Sep 2012 13:03:38 +0000 (15:03 +0200)]
Version 1.3.44

12 years agozoom: Honor extraArgs, strip # in zurl
Adam Dickmeiss [Thu, 30 Aug 2012 13:47:43 +0000 (15:47 +0200)]
zoom: Honor extraArgs, strip # in zurl

12 years agomulti: fix SEGV for scan
Adam Dickmeiss [Thu, 30 Aug 2012 10:54:45 +0000 (12:54 +0200)]
multi: fix SEGV for scan

12 years agoNew tests for url_recipe_handle
Adam Dickmeiss [Tue, 28 Aug 2012 10:27:08 +0000 (12:27 +0200)]
New tests for url_recipe_handle

12 years agourl_recipe_handle: allow %{var[reg]} substitutions
Adam Dickmeiss [Tue, 28 Aug 2012 10:26:09 +0000 (12:26 +0200)]
url_recipe_handle: allow %{var[reg]} substitutions

It's like ${var[reg]} but does URI component encoding as well.

12 years agoVersion 1.3.43 v1.3.43
Adam Dickmeiss [Wed, 22 Aug 2012 10:25:06 +0000 (12:25 +0200)]
Version 1.3.43

12 years agoRPM/Deb: require yazpp 1.3.2
Adam Dickmeiss [Wed, 22 Aug 2012 10:22:13 +0000 (12:22 +0200)]
RPM/Deb: require yazpp 1.3.2

because it fixes a missing close of non-keepalive HTTP sessions.

12 years agohttp_file: allow zero size files (bug fix)
Adam Dickmeiss [Wed, 22 Aug 2012 08:28:51 +0000 (10:28 +0200)]
http_file: allow zero size files (bug fix)

12 years agoFix zoom schema: auth_url is optional
Adam Dickmeiss [Tue, 21 Aug 2012 13:28:24 +0000 (15:28 +0200)]
Fix zoom schema: auth_url is optional

12 years agoUpdate m4
Adam Dickmeiss [Tue, 21 Aug 2012 12:43:02 +0000 (14:43 +0200)]
Update m4

12 years agoSpelling
Adam Dickmeiss [Mon, 20 Aug 2012 07:47:33 +0000 (09:47 +0200)]
Spelling

12 years agoVersion 1.3.42 v1.3.42
Adam Dickmeiss [Mon, 20 Aug 2012 07:22:11 +0000 (09:22 +0200)]
Version 1.3.42

12 years agozoom: init member cqlt of Backend
Adam Dickmeiss [Fri, 17 Aug 2012 09:34:37 +0000 (11:34 +0200)]
zoom: init member cqlt of Backend

12 years agozoom: tweak diagnostics for Torus auth
Adam Dickmeiss [Thu, 16 Aug 2012 07:14:30 +0000 (09:14 +0200)]
zoom: tweak diagnostics for Torus auth

If no result was found in Torus lookup and user&password was given,
then return 'VInit/AC: Bad Userid and/or Password'. If lookup failed,
and user/password was not given (IP auth in effect) return
'Init/AC: Blocked network address'.

12 years agozoom: escape user/pass/ip in Torus auth lookup
Adam Dickmeiss [Thu, 16 Aug 2012 07:10:59 +0000 (09:10 +0200)]
zoom: escape user/pass/ip in Torus auth lookup

12 years agofrontend_net: handle X-Forwarded-For
Adam Dickmeiss [Wed, 15 Aug 2012 14:15:00 +0000 (16:15 +0200)]
frontend_net: handle X-Forwarded-For

This is stored in package.origin() and may be used in filters
as usual.

12 years agozoom: IP auth in place
Adam Dickmeiss [Wed, 15 Aug 2012 14:03:03 +0000 (16:03 +0200)]
zoom: IP auth in place

12 years agozoom: authentication via Torus
Adam Dickmeiss [Wed, 15 Aug 2012 13:39:28 +0000 (15:39 +0200)]
zoom: authentication via Torus

Enabled by new configuration setting: auth_url . If this is defined,
the zoom module will contact Torus for auth/IP lookup and that will
define realm to be used in session (IP not done yet).

12 years agoVersion 1.3.41 v1.3.41
Adam Dickmeiss [Fri, 10 Aug 2012 08:46:06 +0000 (10:46 +0200)]
Version 1.3.41

12 years agosru_z3950: SRU response has same version as request
Adam Dickmeiss [Fri, 10 Aug 2012 08:41:48 +0000 (10:41 +0200)]
sru_z3950: SRU response has same version as request

12 years agoFix split_zurl bug (missing char after /).
Adam Dickmeiss [Thu, 9 Aug 2012 13:20:49 +0000 (15:20 +0200)]
Fix split_zurl bug (missing char after /).

Bug introduced in db015fa75ee1f475040dba0512fc (version 1.3.40)

12 years agoUse m4/id-config.sh
Adam Dickmeiss [Tue, 7 Aug 2012 11:43:12 +0000 (13:43 +0200)]
Use m4/id-config.sh

12 years agoVersion 1.3.40 v1.3.40
Adam Dickmeiss [Mon, 6 Aug 2012 10:27:31 +0000 (12:27 +0200)]
Version 1.3.40

12 years agoNEWS
Adam Dickmeiss [Mon, 6 Aug 2012 10:26:28 +0000 (12:26 +0200)]
NEWS

12 years agoUnix socket example
Adam Dickmeiss [Mon, 6 Aug 2012 09:22:16 +0000 (11:22 +0200)]
Unix socket example

12 years agoAvoid using unix path as "database name" for virt_db
Adam Dickmeiss [Mon, 6 Aug 2012 09:20:10 +0000 (11:20 +0200)]
Avoid using unix path as "database name" for virt_db

Fix split_zurl to use cs_get_host_args which considers
unix sockets as well.

12 years agoVersion 1.3.39 v1.3.39
Adam Dickmeiss [Thu, 2 Aug 2012 13:23:26 +0000 (15:23 +0200)]
Version 1.3.39

12 years agoUpdate NEWS
Adam Dickmeiss [Thu, 2 Aug 2012 13:20:59 +0000 (15:20 +0200)]
Update NEWS

12 years agosession_shared: don't reset timestap for query match
Adam Dickmeiss [Thu, 2 Aug 2012 12:11:16 +0000 (14:11 +0200)]
session_shared: don't reset timestap for query match

If an existing result set is found matching the current query, the
timestamp for "last use of set" is no longer reset.

12 years agosession_shared: Hit count is type Odr_int
Adam Dickmeiss [Thu, 2 Aug 2012 07:29:18 +0000 (09:29 +0200)]
session_shared: Hit count is type Odr_int

And not 'int'.

12 years agozoom: allow Torus record wrapped in single "record" elem
Adam Dickmeiss [Wed, 1 Aug 2012 11:14:47 +0000 (13:14 +0200)]
zoom: allow Torus record wrapped in single "record" elem

12 years agoz3950_client: don't tamper with target zurl
Adam Dickmeiss [Wed, 1 Aug 2012 10:48:26 +0000 (12:48 +0200)]
z3950_client: don't tamper with target zurl

Fixes use of unix sockets in the Z39.50 client.

12 years agozoom: New database arg: torus_url
Adam Dickmeiss [Mon, 30 Jul 2012 12:07:19 +0000 (14:07 +0200)]
zoom: New database arg: torus_url

This is the a way fully specify the URL of the torus record to use.
When in use, the udb and realm are not in use (unless %realm and %udb
is given in the torus_url!). Thus, this overrides <torus url=..">
configuration.

12 years agoNot needed: DH_COMPAT=5
Adam Dickmeiss [Fri, 6 Jul 2012 10:55:32 +0000 (12:55 +0200)]
Not needed: DH_COMPAT=5

12 years agoVersion 1.3.38 v1.3.38
Adam Dickmeiss [Wed, 4 Jul 2012 12:14:26 +0000 (14:14 +0200)]
Version 1.3.38

12 years agoUpdate NEWS
Adam Dickmeiss [Wed, 4 Jul 2012 12:13:07 +0000 (14:13 +0200)]
Update NEWS

12 years agoWait for MP to terminate on SIGUSR1 in Deb init.d
Adam Dickmeiss [Wed, 4 Jul 2012 12:06:33 +0000 (14:06 +0200)]
Wait for MP to terminate on SIGUSR1 in Deb init.d

12 years agometaproxy.init: wait for MP to stop on SIGUSR1
Adam Dickmeiss [Wed, 4 Jul 2012 12:03:12 +0000 (12:03 +0000)]
metaproxy.init: wait for MP to stop on SIGUSR1

Unfortunately, killproc utility silently ignores option -d when
a any user signal is given, so we have to wait ourselves for the
process to terminate.

12 years agoPostpone yaz_daemon_stop until out of router loop
Adam Dickmeiss [Wed, 4 Jul 2012 10:59:56 +0000 (12:59 +0200)]
Postpone yaz_daemon_stop until out of router loop