dbs [Fri, 24 Oct 2008 15:37:35 +0000 (15:37 +0000)]
Libraries are currently built as osrf_math.so and osrf_dbmath.so rather than lib*
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1472
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Fri, 24 Oct 2008 15:07:33 +0000 (15:07 +0000)]
opensrf.settings needs to be stateless for a stock install
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1471
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Fri, 24 Oct 2008 14:42:20 +0000 (14:42 +0000)]
Document the canonical hostname determination method for Linux
(And fix a couple of annoying typos to boot)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1470
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Fri, 24 Oct 2008 14:25:52 +0000 (14:25 +0000)]
Use the standard memcached port in example config
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1469
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Fri, 24 Oct 2008 14:21:44 +0000 (14:21 +0000)]
Minor typo (remove redundant "change this")
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1468
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Sun, 19 Oct 2008 21:21:49 +0000 (21:21 +0000)]
Hey, we need to adjust the system's dynamic library path here
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1466
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Sun, 19 Oct 2008 20:45:42 +0000 (20:45 +0000)]
Correct configure options in install README
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1465
9efc2488-bf62-4759-914b-
345cdb29e865
miker [Fri, 17 Oct 2008 16:44:46 +0000 (16:44 +0000)]
need to copy automake files instead of linking
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1464
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Mon, 13 Oct 2008 20:44:50 +0000 (20:44 +0000)]
io::socket::inet, somewhere between version 1.29 and 1.31, requires the peerport to be explicitly cast to an int. also updated error handling to use correct error var
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1452
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Fri, 10 Oct 2008 22:16:36 +0000 (22:16 +0000)]
added verbose option to print which services/pids are being stopped/started
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1451
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Tue, 7 Oct 2008 14:38:29 +0000 (14:38 +0000)]
Make the option help tell the truth
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1450
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Tue, 7 Oct 2008 14:36:33 +0000 (14:36 +0000)]
Disable Python by default as it is not currently required
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1449
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Wed, 1 Oct 2008 03:02:16 +0000 (03:02 +0000)]
Might as well point to the latest Makefile.install
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1448
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Wed, 1 Oct 2008 02:57:55 +0000 (02:57 +0000)]
Put a more real README in place
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1447
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Wed, 1 Oct 2008 02:15:24 +0000 (02:15 +0000)]
Check in a real file, not a link. Sheesh.
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1446
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Wed, 1 Oct 2008 02:09:44 +0000 (02:09 +0000)]
Let's check in the default INSTALL file to start with, and customize from there. Lazy, lazy dbs.
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1445
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Sun, 28 Sep 2008 03:59:44 +0000 (03:59 +0000)]
Provide more command line help for login in srfsh
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1444
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Thu, 25 Sep 2008 03:44:23 +0000 (03:44 +0000)]
removed a bunch of old, unused code. removed code that is now handled by the external opensrf-perl.pl control process. mild refacatoring otherwise.
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1443
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Thu, 25 Sep 2008 03:27:44 +0000 (03:27 +0000)]
use the new process-specific perl control script
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1442
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Thu, 25 Sep 2008 03:13:23 +0000 (03:13 +0000)]
make sure service is not already running
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1441
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Thu, 25 Sep 2008 03:12:50 +0000 (03:12 +0000)]
change from info to debug log
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1440
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Thu, 25 Sep 2008 02:59:43 +0000 (02:59 +0000)]
added a configurable startup pause delay. after opensrf.settings has been started (which will always be the first service to start), pause the top-level process for the configured amount of time before starting any more services
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1439
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Wed, 24 Sep 2008 03:21:43 +0000 (03:21 +0000)]
fixed bugs in start/stop_all
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1438
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Tue, 23 Sep 2008 16:57:44 +0000 (16:57 +0000)]
set log xid on outbound messages
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1437
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Mon, 22 Sep 2008 15:34:14 +0000 (15:34 +0000)]
make sure we send the log xid in outbound messages
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1436
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Mon, 22 Sep 2008 13:07:29 +0000 (13:07 +0000)]
expired cache data is a common occurrence. log at debug level, not warning
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1435
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Fri, 19 Sep 2008 19:28:15 +0000 (19:28 +0000)]
setting/clearing log XID. honoring client log xid if present
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1434
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Fri, 19 Sep 2008 19:27:56 +0000 (19:27 +0000)]
added a force set option on log XID to override it even we can act as an origin client
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1433
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Fri, 19 Sep 2008 18:55:03 +0000 (18:55 +0000)]
typo on header name
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1432
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Wed, 17 Sep 2008 15:35:57 +0000 (15:35 +0000)]
using single "=" in test for more general compliance
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1431
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Mon, 15 Sep 2008 19:56:56 +0000 (19:56 +0000)]
Typo - because typos in error messages just make me angry when I'm beating my head against a debugging problem
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1430
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Mon, 15 Sep 2008 19:33:48 +0000 (19:33 +0000)]
removed extra parens and unnecessary if test
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1429
9efc2488-bf62-4759-914b-
345cdb29e865
sboyette [Mon, 15 Sep 2008 16:47:20 +0000 (16:47 +0000)]
initial steps toward OS X portage
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1428
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Mon, 15 Sep 2008 16:43:49 +0000 (16:43 +0000)]
added start all and stop all, changed some var names for clarity, needs testing
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1427
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Mon, 15 Sep 2008 16:42:59 +0000 (16:42 +0000)]
config file, context, and cache server now have apache config settings. keeping a static version of the translator on hand to reduce a layer of malloc/free
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1426
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Mon, 25 Aug 2008 20:05:39 +0000 (20:05 +0000)]
removed misplaced "my"
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1425
9efc2488-bf62-4759-914b-
345cdb29e865
miker [Fri, 22 Aug 2008 12:24:22 +0000 (12:24 +0000)]
adding explicit request timeout detection
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1424
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Wed, 20 Aug 2008 02:55:36 +0000 (02:55 +0000)]
Log the locale for each request in the activity log
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1423
9efc2488-bf62-4759-914b-
345cdb29e865
sboyette [Tue, 19 Aug 2008 18:07:33 +0000 (18:07 +0000)]
can has use tests for all modules
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1422
9efc2488-bf62-4759-914b-
345cdb29e865
sboyette [Tue, 19 Aug 2008 18:07:16 +0000 (18:07 +0000)]
missing deps found via testing
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1421
9efc2488-bf62-4759-914b-
345cdb29e865
sboyette [Tue, 19 Aug 2008 18:07:03 +0000 (18:07 +0000)]
typo
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1420
9efc2488-bf62-4759-914b-
345cdb29e865
sboyette [Tue, 19 Aug 2008 17:04:31 +0000 (17:04 +0000)]
OpenSRF::Util::JSON requires JSON::XS, not JSON
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1419
9efc2488-bf62-4759-914b-
345cdb29e865
sboyette [Mon, 18 Aug 2008 19:14:00 +0000 (19:14 +0000)]
merging perl CPANification/normalization branch work
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1418
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Mon, 11 Aug 2008 20:07:53 +0000 (20:07 +0000)]
merged in Shawn's build tools checker for autogen
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1411
9efc2488-bf62-4759-914b-
345cdb29e865
miker [Sun, 10 Aug 2008 03:57:11 +0000 (03:57 +0000)]
doh ... use m instead of g
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1407
9efc2488-bf62-4759-914b-
345cdb29e865
miker [Sun, 10 Aug 2008 03:53:28 +0000 (03:53 +0000)]
allow methods do decide on their strictness; properly parse params text signatures
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1406
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Thu, 7 Aug 2008 16:54:56 +0000 (16:54 +0000)]
Restore RPATH so that we do not need LD_LIBRARY_PATH messing with our environments
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1388
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Wed, 6 Aug 2008 16:22:54 +0000 (16:22 +0000)]
Apply patch from Kevin Beswick:
"add the new opensrf-perl.pl script to the autotools build for OpenSRF"
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1387
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Wed, 6 Aug 2008 03:37:07 +0000 (03:37 +0000)]
Use a slightly more robust scheme for setting OpenSRF locale in DojoSRF.
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1386
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Mon, 4 Aug 2008 01:43:34 +0000 (01:43 +0000)]
wait for the parent proc to go away before we unlink the file
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1385
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Sun, 3 Aug 2008 23:45:57 +0000 (23:45 +0000)]
checking browser agent to see if multipart is supported
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1384
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Fri, 1 Aug 2008 02:32:29 +0000 (02:32 +0000)]
kill spawned processes at shutdown time
set process name
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1383
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Thu, 31 Jul 2008 13:36:00 +0000 (13:36 +0000)]
This script provides per-service control of OpenSRF Perl processes. In other words, you can
stop/start/restart individual services. Note that you can only stop services that have
been started with this script.
TODO
Add start_all, stop_all, and restart_all to manage all host-specific Perl services
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1382
9efc2488-bf62-4759-914b-
345cdb29e865
miker [Tue, 29 Jul 2008 20:42:16 +0000 (20:42 +0000)]
session passing for make_atomic, at least
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1381
9efc2488-bf62-4759-914b-
345cdb29e865
miker [Tue, 29 Jul 2008 20:00:19 +0000 (20:00 +0000)]
doh ... not that way, nope
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1380
9efc2488-bf62-4759-914b-
345cdb29e865
miker [Tue, 29 Jul 2008 19:20:25 +0000 (19:20 +0000)]
give subrequests access to the session (will not be used by respond())
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1379
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Tue, 29 Jul 2008 13:17:03 +0000 (13:17 +0000)]
Give Apache modules the support they need to work
Push the apxs compile stage into the local install steps as it seems to require root privileges to write during build
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1378
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Mon, 28 Jul 2008 16:06:27 +0000 (16:06 +0000)]
Fix for installing gateway and translator (thanks to Kevin Beswick)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1377
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Mon, 28 Jul 2008 13:44:45 +0000 (13:44 +0000)]
This patch removes the remaining autotools bits for objson, in particular giving
the user the choice of whether to build legacy json.
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1376
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Mon, 28 Jul 2008 03:55:01 +0000 (03:55 +0000)]
Commit autotools patch from Kevin Beswick
(adjusted slightly for Bill's objson API compatibility layer removal)
Enclosed is a patch to update the OpenSRF autotools implementation. It
fixes most bugs such as:
-correctly replacing hardcoded directory paths in various files
-correctly implementing clean, and uninstall make targets
-fixes building src/c-apps modules without the lib prefix
-builds the src/gateway apache modules with apxs
-fixed the naming of the opensrf-c binary
Also, it implements more of the autotools features:
-rolling a tarball with make dist
-enables VPATH (parallel) builds
-checking a distribution with make distcheck
-------------------------------------------
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
Signed-off-by: [Kevin Beswick (kevinbeswick00@gmail.com)]
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1375
9efc2488-bf62-4759-914b-
345cdb29e865
miker [Sun, 27 Jul 2008 16:46:21 +0000 (16:46 +0000)]
removing overly agressive locale normalization
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1374
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Sun, 27 Jul 2008 13:06:45 +0000 (13:06 +0000)]
* remove the objson API compat layer.
* Set the default JSON gateway protocol to non-legacy json
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1373
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Fri, 25 Jul 2008 15:30:11 +0000 (15:30 +0000)]
removing default config path so we don't have to mangle the C files at install time
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1372
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Fri, 25 Jul 2008 02:21:54 +0000 (02:21 +0000)]
no longer in use
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1371
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Fri, 25 Jul 2008 02:16:42 +0000 (02:16 +0000)]
removed example log line comment
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1370
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Thu, 24 Jul 2008 17:53:37 +0000 (17:53 +0000)]
returning server error on disconnected jabber socket
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1369
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Thu, 17 Jul 2008 19:43:42 +0000 (19:43 +0000)]
Cheap hack to enable kbeswick's cheap hack to get opensrf-c
automake probably gives us a better way to do this, but hyphens are pesky
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1368
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Thu, 17 Jul 2008 18:15:09 +0000 (18:15 +0000)]
Merge the following patches from Kevin Beswick:
* fixed location to copy apachetools.h from ...
* another typo...
* fixed directory error in copying of header file.
* move one more copy instruction for a header file.
* create the perldir and jsdir
* changed the place where headers are copied... fixed an error which caused them to be copied wrong.
* fixed a capitalization typo issue in src/Makefile.am
* updated opensrf.xml.example to use C math and dbmath implementation rather than Perl
* fixed make distcheck problems -- builddir needed to be changed to srcdir
* fixed directory replacement in .c file problem stopped the command added in the previous revision from running multiple times, fixed the location of the file to execute the command on.
* changed where the directory replacement happens for osrf_json_gateway.c (it was after it was compiled rather than before)
* corrected another error with installing header files ( can't install directories recursively through the 'prefix_PRIMARY = files' apparently)
* went back to old way of copying perlmods and javascript. it will still be included in dist due to EXTRA_DIST in root makefile
* fix install of src/javascript and src/perlmods
* nobase_dist_lib_DATA defined twice... oops!
* fixed problem with order of execution of targets (install-data-local was being executed before files were copied. resulted in an error)
* fixed make dist, and changed ways that files are copied to their installed locations
* fixed path substitution for the rest of the files with hardcoded paths to ensure correct default functionality of opensrf
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1367
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Wed, 9 Jul 2008 19:35:26 +0000 (19:35 +0000)]
commented out the testing debug line
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1366
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Wed, 9 Jul 2008 19:18:51 +0000 (19:18 +0000)]
adding the http translator
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1365
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Wed, 9 Jul 2008 18:33:10 +0000 (18:33 +0000)]
added the string mangling to collapse a set of responses into 1 for non-multipart requests
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1364
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Wed, 9 Jul 2008 18:32:37 +0000 (18:32 +0000)]
added a buffer_chomp function to drop the last character from the buffer
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1363
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Wed, 9 Jul 2008 16:06:01 +0000 (16:06 +0000)]
using a static buffer to store the multipart content type string
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1362
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Tue, 8 Jul 2008 22:16:02 +0000 (22:16 +0000)]
don't run the cleanup/shutdown code more than once per process
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1361
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Tue, 8 Jul 2008 16:16:20 +0000 (16:16 +0000)]
fixed broken call to sizeof(). replaced ap_rvputs with more appropriate ap_rprintf. removed some unnecessary string freeing calls
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1360
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Mon, 7 Jul 2008 15:40:05 +0000 (15:40 +0000)]
initial C version of the opensrf http translator. not complete. I have not plugged it into the build env.
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1359
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Tue, 1 Jul 2008 13:33:26 +0000 (13:33 +0000)]
opensrf.settings is stateless; having the wrong setting here causes great agony
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1358
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Tue, 1 Jul 2008 13:08:37 +0000 (13:08 +0000)]
Enable libtool to work its magic and install versioned libraries
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1357
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Tue, 1 Jul 2008 13:06:37 +0000 (13:06 +0000)]
Set default for TMP to /tmp (autotools creates its own subdirectory)
* Ideally this would check for a user's TMPDIR env variable and use that instead
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1356
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Tue, 1 Jul 2008 03:33:23 +0000 (03:33 +0000)]
Linking:
* automake automatically figures out many linking directories;
remove explicit linking options for . / .libs
TMP files:
* automake automatically creates a unique directory within TMPDIR;
remove intermediate /opensrf/ directory (which causes problems for make clean)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1355
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Tue, 1 Jul 2008 02:03:46 +0000 (02:03 +0000)]
A little more autotools love:
* Avoid the use of tmp dir by using noinst_ prefix for timejson
* Remove DEF_LDLIBS usage (it enabled compiling, but did not link to the
libraries) and replace with specific LDADD and LIBADD options
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1354
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Tue, 1 Jul 2008 01:15:09 +0000 (01:15 +0000)]
Link osrf_json_gateway to objson and opensrf libraries the autotools way
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1353
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Mon, 30 Jun 2008 20:11:05 +0000 (20:11 +0000)]
autogen.sh needs to be executable
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1352
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Mon, 30 Jun 2008 19:53:13 +0000 (19:53 +0000)]
Switch to 'localhost' and standard port for memcached
Fix trivial typo in PID name
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1351
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Mon, 30 Jun 2008 19:48:16 +0000 (19:48 +0000)]
Change values of default directories in config file in installed files rather than in tree
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1350
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Mon, 30 Jun 2008 19:46:08 +0000 (19:46 +0000)]
Patch from Kevin Beswick (kbeswick00@gmail.com) to address various problems with the autotools:
* src/libopensrf/Makefile.am:
* Fix typo for -I (includes) vs. -L (linking libraries) compile option
* src/Makefile.am:
* Propagate NDEBUG compile flag to all other makefiles
* Create target directories
* Set directories in example config files to match configured options
* configure.ac:
* Set default prefix to /opensrf/ instead of /openils/
* bin/osrf_config.in:
* Add --localstatedir option for osrf_config
* Correct output value for --apxs
* bin/osrf_ctl.sh
* Set default PID dir to localstatedir rather than sysconfdir
* Makefile.am:
* Propagate NDEBUG compile flag to all other makefiles
* Remove explicit rpath option, automake will figure that out for us (supposedly)
* examples/opensrf_core.xml.example, examples/opensrf.xml.example, examples/srfsh.xml.example:
* Set directories in example config files to match configured options
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1349
9efc2488-bf62-4759-914b-
345cdb29e865
dbs [Wed, 25 Jun 2008 18:50:00 +0000 (18:50 +0000)]
Patch from Kevin Beswick to use autotools for OpenSRF configuration and build
Included is a patch for a working implementation of the GNU Autotools
to OpenSRF. Some of the perks of this system are: the user is given
the ability to install OpenSRF to non-standard locations,
dependency/library checking, gives a user the ability to only install
certain components, more portable to other operating systems, etc.
To test, simply run:
autogen.sh
configure
make
make install
Options for configure can be found using:
./configure --help
Also, the patch contains a new file, osrf_config, which is generated
by running the configure script. Running this file will print all
build options a user has chosen when compiling/installing Opensrf.
Command line arguments can be added to return each single build option
as well. This is useful to developers in that they are able to locate
a certain installation directory on a non-standard installation of
OpenSRF. To see the available command line options, run: osrf_config --help
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1348
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Tue, 24 Jun 2008 20:47:49 +0000 (20:47 +0000)]
added some cleanup code on child exit to ensure friendly shutdown of sockets
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1347
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Thu, 19 Jun 2008 21:04:17 +0000 (21:04 +0000)]
changing default router log level to "warn" since you only use the router log for serious debugging.. as is, just filling up space
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1346
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Fri, 13 Jun 2008 16:24:29 +0000 (16:24 +0000)]
added activity logging ability. activity logging any REQUEST messages that come through the translator
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1345
9efc2488-bf62-4759-914b-
345cdb29e865
miker [Sun, 25 May 2008 12:58:30 +0000 (12:58 +0000)]
add a copy of the DCO for convenience
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1343
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Fri, 23 May 2008 15:43:48 +0000 (15:43 +0000)]
defaulting to config.opensrf for config context. added some initial settings server loading
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1342
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Fri, 23 May 2008 15:18:05 +0000 (15:18 +0000)]
added some hopefully useful comments
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1341
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Fri, 23 May 2008 14:59:52 +0000 (14:59 +0000)]
default to help when invalid option is provided
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1340
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Fri, 23 May 2008 14:49:25 +0000 (14:49 +0000)]
moved stop/start actions out to functions
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1339
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Fri, 23 May 2008 02:04:10 +0000 (02:04 +0000)]
removing chatty debug log line
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1338
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Thu, 22 May 2008 19:58:56 +0000 (19:58 +0000)]
the latest cleanup broke GET requests by essentially ignoring them. fixed
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1337
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Tue, 20 May 2008 19:47:49 +0000 (19:47 +0000)]
updated some docs
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1336
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Tue, 20 May 2008 19:46:16 +0000 (19:46 +0000)]
added millisecond to the time output
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1335
9efc2488-bf62-4759-914b-
345cdb29e865
erickson [Tue, 20 May 2008 19:45:44 +0000 (19:45 +0000)]
added echo system method
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1334
9efc2488-bf62-4759-914b-
345cdb29e865