The Network People Support Forums

Other TNPI Software => NicTool => Topic started by: matt on November 02, 2004, 02:36:14 PM

Title: SOAP::Lite patch for use with Apache 2
Post by: matt on November 02, 2004, 02:36:14 PM
If you are using NicTool with Apache 2, then you'll be interested in this patch for SOAP::Lite: http://www.nictool.com/docs/server/HTTP.pm.patch and this patch for Apache::DBI http://www.nictool.com/docs/server/DBI.pm.patch.
Title: SOAP::Lite patch for use with Apache 2
Post by: Rob Lensen on November 03, 2004, 03:57:17 AM
Maybe you can give a link to the patch file, since copy paste a patch is can lead to incorrect patches.
Title: p5-SOAP-Lite patch file
Post by: LogicX on December 03, 2004, 03:05:43 PM
I read through the posted patch, made all the changes, and even had to add a line (use Apache::compat;) to make it work.

Update 12/6/2004 - I removed Apache::compat; from my patch, and instead added it only to /usr/local/www/NicToolServer/nictoolserver.conf:
use Apache::compat;
use Apache::DBI();
use Apache::SOAP;


Here's a direct link to the patch.  Enjoy.
Title: Re: p5-SOAP-Lite patch file
Post by: bdraw on December 09, 2004, 02:09:30 PM
I am not sure howt to apply this patch.

I am running Gentoo and Apache 2.0.

Thanks

Ben
Title: Re: p5-SOAP-Lite patch file
Post by: matt on December 12, 2004, 08:18:33 PM
I added some additional patch notes to the NicToolServer install page.  They should help.

Matt
Title: Re: SOAP::Lite patch for use with Apache 2
Post by: mike_tcis on December 13, 2004, 03:50:21 PM
It appears that SOAP::Lite is back in active development:

http://www.soaplite.com/

Based on a post on the mailing list, they appear to be incorporating Apache2/mod_perl2 support:

http://groups.yahoo.com/group/soaplite/message/4027

and this post seems to imply that support for it is in 0.65 already but needs testing:

http://groups.yahoo.com/group/soaplite/message/3978

So, the question is -- what version of SOAP::Lite are the patches in this forum designed for?

--Mike
Title: Re: p5-SOAP-Lite patch file
Post by: mike_tcis on December 14, 2004, 01:22:45 PM
Here is how I did it (on FreeBSD 4.10):

$ cd /usr/local/lib/perl5/site_perl/5.8.5/SOAP/Transport
$ fetch http://nictool.com/docs/server/HTTP.pm.patch
$ cp HTTP.pm HTTP.pm.orig
$ patch -p1 < HTTP.pm.patch

Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- HTTP.pm.dist       Sat Dec 11 14:27:34 2004
|+++ HTTP.pm    Sat Dec 11 14:28:05 2004
--------------------------
Patching file HTTP.pm using Plan A...
Hunk #1 succeeded at 11.
Hunk #2 succeeded at 458.
Hunk #3 succeeded at 474.
Hunk #4 succeeded at 497.
Hunk #5 succeeded at 620.
Hunk #6 succeeded at 837.
Hunk #7 succeeded at 860.
done