debian/0000755000000000000000000000000012171334404007165 5ustar debian/libaxis2c-bin.install0000644000000000000000000000004411732374121013203 0ustar usr/lib/axis2/bin/axis2_http_server debian/changelog0000644000000000000000000001416412171333560011047 0ustar axis2c (1.6.0-6) unstable; urgency=low [ Colin Watson ] * Port to Apache 2.4 (closes: #666862). [ Brian Thomason ] * Added some overrides for apache package * Removed Uploaders * Bumped Standards-Version * Now cleaning up build log files -- Brian Thomason Tue, 16 Jul 2013 17:51:25 +0000 axis2c (1.6.0-5.1) unstable; urgency=low * Non maintainer upload. * Fix build failure with GCC 4.7. Closes: #672006. -- Matthias Klose Thu, 10 May 2012 02:13:55 +0000 axis2c (1.6.0-5) unstable; urgency=low [ Steffen Moeller ] * Some initial pretty-printing in debian/copyright [Brian Thomason ] * Updated 03_enable-security.patch to include Security in both flows * Removed libxml2-dev as a runtime dep of the dev package as guththila is now used -- Brian Thomason Mon, 02 Apr 2012 12:50:08 -0400 axis2c (1.6.0-4) unstable; urgency=low * Fixed conflicts of -dev package with libaxix2c0 (Closes: #655838). -- Steffen Moeller Sun, 22 Jan 2012 21:02:11 +0100 axis2c (1.6.0-3) unstable; urgency=low * Adding NMU to pkg-eucalyptus repository on alioth * Added respective Vcs information * Substituted Kyo with Brian for future maintenance * Added myself as uploader * Set DMUA flag for Brian -- Steffen Moeller Sun, 22 Jan 2012 21:02:11 +0100 axis2c (1.6.0-2.2) unstable; urgency=low * Non-maintainer upload. * Fix ftbfs with gcc-4.6 -Werror (Closes: #625309) Thanks to Peter Green for most of the work. * Remove Build-Depends on libxml2, since use of guththila is the expected behaviour. (Closes: #655480). * Install libaxis2*.[so,a]* * Update debian/axis2c.load to make it load correctly. (Closes: #594707, #655214) -- Aron Xu Fri, 13 Jan 2012 00:54:36 +0800 axis2c (1.6.0-2.1) unstable; urgency=medium * Non-maintainer upload. * Empty dependency_libs (Closes: #621260). * Fix FTBFS with --no-ad-needed (Closes: #604791). * Fix warning with upstream's patch (Closes: #616291). * Use uri instead of clone (Closes: #626693). -- Luk Claes Mon, 13 Jun 2011 18:46:04 +0200 axis2c (1.6.0-2) unstable; urgency=low * Fix patches/03_enable-security to enable both security flows (Closes: #594335). -- Chris Grzegorczyk Sun, 10 Oct 2010 18:16:54 -0700 axis2c (1.6.0-1) unstable; urgency=low * Build for debian package based largely on Ubuntu package (Closes: #497594) -- Kyo Lee Wed, 16 Dec 2009 20:27:31 -0800 axis2c (1.6.0-0ubuntu7) karmic; urgency=low * debian/libaxis2c.preinst: Handle /usr/lib/axis2/lib directory symlink on upgrade from 1.5 (LP: #426752) -- Thierry Carrez Mon, 12 Oct 2009 10:29:54 +0200 axis2c (1.6.0-0ubuntu6) karmic; urgency=low * Disable threading, as it causes instability. (LP: #428060) * Switch to quilt for patch management. -- Soren Hansen Mon, 14 Sep 2009 22:51:37 +0200 axis2c (1.6.0-0ubuntu5) karmic; urgency=low * debian/rules, debian/patches/04_fix_testsuite.patch: Enable testsuite * Fold direct modification of test_util.c into 04_fix_testsuite.patch -- Thierry Carrez Mon, 14 Sep 2009 17:29:50 +0200 axis2c (1.6.0-0ubuntu4) karmic; urgency=low * Replace directory symlink for axis2c/include with a stack of file symlinks. This should make upgrades much smoother if we decide to rearrange directories again. -- Soren Hansen Wed, 09 Sep 2009 16:46:03 +0200 axis2c (1.6.0-0ubuntu3) karmic; urgency=low * Put axis2c.pc in /usr/lib/pkgconfig and add (yet another) symlink to account for other projects that may look relative to $AXIS2C_HOME. -- Soren Hansen Fri, 28 Aug 2009 15:48:41 +0000 axis2c (1.6.0-0ubuntu2) karmic; urgency=low * Include WSDL2C.sh in libaxis2c-dev. -- Soren Hansen Thu, 27 Aug 2009 08:05:26 +0000 axis2c (1.6.0-0ubuntu1) karmic; urgency=low * New upstream release -- Soren Hansen Wed, 26 Aug 2009 22:52:22 +0000 axis2c (1.5.0-0ubuntu7) karmic; urgency=low * Do remove --enable-tests from configure flags as these do not build yet. -- Loïc Minier Tue, 25 Aug 2009 12:20:53 +0200 axis2c (1.5.0-0ubuntu6) karmic; urgency=low * Move changes to samples/server/axis2.xml from the .diff.gz to a new patch, 03_enable-security. * Add ${misc:Depends} to all packages and ${shlibs:Depends} to the -dev package. * Set Priority to optional. * Build-dep on zlib1g-dev explicitly for libz.so and on libssl-dev for libssl.so. * Fix bogus description lines starting with a dot; cleanup whitespace. * Remove dh-make boilerplate from copyright file. * Pass -r to xargs to avoid warning when no Makefile to remove is found. * Prepare enabling of testsuite which currently doesn't build; see rules. -- Loïc Minier Tue, 25 Aug 2009 11:49:45 +0200 axis2c (1.5.0-0ubuntu5) jaunty; urgency=low * Only put the aforementioned symlinks in the libaxis2c0 (instead of both libaxis2c0 and libaxis2c-dev). * Ship axis2c.{conf,load} needed for "a2enmod axis2c" to work. (LP: #333239) -- Soren Hansen Thu, 26 Feb 2009 00:16:01 +0100 axis2c (1.5.0-0ubuntu4) jaunty; urgency=low * *Correctly* provide extra symlinks so that axis2 can find its base modules. -- Soren Hansen Wed, 25 Feb 2009 14:58:40 +0100 axis2c (1.5.0-0ubuntu3) jaunty; urgency=low * Ship axis2.xml symlink in libaxis2c0 instead of libaxis2c-bin. -- Soren Hansen Tue, 24 Feb 2009 17:32:37 +0100 axis2c (1.5.0-0ubuntu2) jaunty; urgency=low * Provide extra symlinks so that axis2 can find its base modules. * Enable security by default. * Ship axis2.xml in libaxis2c0 instead of libaxis2c-bin. -- Soren Hansen Tue, 24 Feb 2009 09:05:30 +0100 axis2c (1.5.0-0ubuntu1) jaunty; urgency=low * Initial release. Big thanks for Michael Vogt for helping out! -- Soren Hansen Wed, 11 Feb 2009 02:36:01 +0200 debian/libaxis2c0.install0000644000000000000000000000033411732374121012517 0ustar usr/lib/axis2/lib/libaxis*.so* usr/lib/axis2/lib/libguththila*.so.* usr/lib/axis2/lib/libaxutil*.so.* usr/lib/axis2/lib/libneethi*.so.* usr/lib/axis2/lib/libaxis2*.so.* usr/lib/axis2/modules usr/lib/axis2/axis2.xml etc/ debian/copyright0000644000000000000000000000733011732374121011125 0ustar This package was debianized by Soren Hansen on Mon, 26 Jan 2009 11:29:36 +0100. It was downloaded from http://archive.apache.org/dist/ws/axis2/c/1_6_0/ Files: * Upstream Authors: Samisa Abeysinghe Dushshantha Chandradasa Chris Darroch Senaka Fernando Paul Fremantle Dimuthu Gamage Sahan Gamage Lahiru Gunathilake Nandika Jayawardana Supun Kamburugamuva Kaushalye Kapuruge Damitha Kumarage Bill Mitchell Dumindu Pallewela Milinda Pathirage Manjula Peiris Dinesh Premalal Sanjaya Rathnaweera Davanum Srinivas Selvaratnam Uthaiyashankar Sanjiva Weerawarana Nabeel Yoosuf Copyright: Copyright 2003-2004 The Apache Software Foundation. License: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. On a Debian system, the license can be found at /usr/share/common-licenses/Apache-2.0 . The Debian packaging is copyright 2009, Soren Hansen and is also licensed under the Apache license. The below article is included in NOTICE file Apache Axis2/C Copyright 2005-2009 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/). This software contains code derived from the RSA Data Security Inc. MD5 Message-Digest Algorithm, including various modifications by Spyglass Inc., Carnegie Mellon University, and Bell Communications Research, Inc (Bellcore). Files in util/src/minizip are covered by the following license. unzip.h -- IO for uncompress .zip files using zlib Version 1.01e, February 12th, 2005 Copyright (C) 1998-2005 Gilles Vollant This unzip package allow extract file from .ZIP file, compatible with PKZip 2.04g WinZip, InfoZip tools and compatible. Multi volume ZipFile (span) are not supported. Encryption compatible with pkzip 2.04g only supported Old compressions used by old PKZip 1.x are not supported I WAIT FEEDBACK at mail info@winimage.com Visit also http://www.winimage.com/zLibDll/unzip.htm for evolution Condition of use and distribution are the same than zlib : This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. for more info about .ZIP format, see http://www.info-zip.org/pub/infozip/doc/appnote-981119-iz.zip http://www.info-zip.org/pub/infozip/doc/ PkWare has also a specification at : ftp://ftp.pkware.com/probdesc.zip debian/libaxis2c-dev.install0000644000000000000000000000051311732374121013212 0ustar usr/lib/axis2/lib/libguththila*.so usr/lib/axis2/lib/libaxutil*.so usr/lib/axis2/lib/libneethi*.so # Was not in Ubuntu 0ubuntu13 version and caused conflicts # with libaxis2c0 package #usr/lib/axis2/lib/libaxis2*.so usr/lib/axis2/include/* /usr/include usr/lib/axis2/bin/tools/wsdl2c/WSDL2C.sh usr/lib/axis2/lib/pkgconfig /usr/lib debian/axis2c.conf0000644000000000000000000000015111732374121011224 0ustar Axis2RepoPath /usr/lib/axis2 Axis2LogFile /var/log/axis2.log debian/libaxis2c0.links0000644000000000000000000000004611732374121012171 0ustar etc/axis2.xml usr/lib/axis2/axis2.xml debian/compat0000644000000000000000000000000211732374121010365 0ustar 7 debian/libapache2-mod-axis2c.apache20000644000000000000000000000005612171302500014341 0ustar mod debian/axis2c.load mod debian/axis2c.conf debian/libapache2-mod-axis2c.lintian-overrides0000644000000000000000000000105312171333050016476 0ustar binary-or-shlib-defines-rpath usr/lib/apache2/modules/addressing/libaxis2_mod_addr.so.0.6.0 /usr/lib/axis2/lib binary-or-shlib-defines-rpath usr/lib/apache2/modules/libmod_axis2.so.0.6.0 /usr/lib/axis2/lib binary-or-shlib-defines-rpath usr/lib/apache2/modules/logging/libaxis2_mod_log.so.0.6.0 /usr/lib/axis2/lib #load file name is different than that of library, but it loads the proper module apache2-module-does-not-ship-load-file #this package contains multiple modules so they will not match the package name non-standard-apache2-module-package-name debian/libaxis2c-doc.docs0000644000000000000000000000003711732374121012464 0ustar debian/tmp/usr/lib/axis2/docs/ debian/README.source0000644000000000000000000000052211732374121011345 0ustar Patches Description 02_fix_doc_dir.patch Adds $DESTDIR to Makefile 03_enable-security.patch Enables security by default 04_fix_testsuite.patch Fixes a bug in testsuite 05-build-without-threading.patch Builds without threading to prevent seg-fault due to hi-load -- Kyo Lee Wed, 16 Dec 2009 20:27:31 -0800 debian/README.Debian0000644000000000000000000000115411732374121011231 0ustar Regarding the Usage of RPATH Issue ------------------------------------ The package libaxis2c uses the compiler option '-rpath', which raises a flag according to the Debian Policy. However: In the package libaxis2c, the rpath is set to "/usr/lib/axis2", its private shared library. And, the only other binaries that reference this library is 'librampart', which is intended to use only with 'libaxis2c'. Thus, the usage of RPATH in the package libaxis2c complies with the conditions listed by lintian-info --tags binary-or-shlib-defines-rpath. -- Kyo Lee Wed, 16 Dec 2009 20:27:31 -0800 debian/libaxis2c0.preinst0000644000000000000000000000024211732374121012533 0ustar #!/bin/sh -e if [ "$1" = "upgrade" ] then if dpkg --compare-versions "$2" lt 1.6.0-0ubuntu6 then rm -f /usr/lib/axis2/lib fi fi #DEBHELPER# debian/watch0000644000000000000000000000013211732374121010214 0ustar version=2 http://archive.apache.org/dist/ws/axis2/c/([\d_]+)/axis2c-src-([\d\.]+)\.tar\.gzdebian/libaxis2c-dev.links0000644000000000000000000000010311732374121012657 0ustar usr/lib/pkgconfig/axis2c.pc usr/lib/axis2/lib/pkgconfig/axis2c.pc debian/rules0000755000000000000000000000276112171333544010257 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/patchsys-quilt.mk DEB_CONFIGURE_PREFIX:=/usr/lib/axis2 DEB_CONFIGURE_EXTRA_FLAGS := --with-apache2=/usr/include/apache2 --with-apr=/usr/include/apr-1.0 --enable-openssl --enable-multi-thread=no DEB_CONFIGURE_EXTRA_FLAGS += --enable-tests DEB_MAKE_CHECK_TARGET := check binary-install/libaxis2c0:: cd debian/$(cdbs_curpkg)/usr/lib; for x in axis2/lib/*.so*; do ln -s $$x; done sed -i "/dependency_libs/ s/'.*'/''/" `find debian/$(cdbs_curpkg) -name '*.la'` binary-install/libaxis2c-dev:: mkdir -p debian/$(cdbs_curpkg)/usr/lib/axis2/include/axis2-1.6.0 find debian/$(cdbs_curpkg) cd debian/$(cdbs_curpkg)/usr/lib/axis2/include/axis2-1.6.0 ; for x in ../../../../include/axis2-1.6.0/*; do ln -s $$x; done chmod +x debian/$(cdbs_curpkg)/usr/lib/axis2/bin/tools/wsdl2c/WSDL2C.sh binary-install/libapache2-mod-axis2c:: sed -i -e "s/\(libdir=.*\)axis2/\1apache2/g" -e "/dependency_libs/ s/'.*'/''/" debian/$(cdbs_curpkg)/usr/lib/apache2/modules/addressing/libaxis2_mod_addr.la sed -i -e "s/\(libdir=.*\)axis2/\1apache2/g" -e "/dependency_libs/ s/'.*'/''/" debian/$(cdbs_curpkg)/usr/lib/apache2/modules/logging/libaxis2_mod_log.la binary-post-install/libapache2-mod-axis2c:: dh_apache2 -p$(cdbs_curpkg) clean:: find . -name Makefile -print0 | xargs -0 rm || /bin/true find . -name *.log -print0 | xargs -0 rm || /bin/true chmod 755 tools/codegen/javatool/WSDL2C.sh debian/libaxis2c0.dirs0000644000000000000000000000001611732374121012007 0ustar usr/lib/axis2 debian/libaxis2c-bin.lintian-overrides0000644000000000000000000000012611732374121015174 0ustar binary-or-shlib-defines-rpath usr/lib/axis2/bin/axis2_http_server /usr/lib/axis2/lib debian/axis2c.load0000644000000000000000000000010111732374121011211 0ustar LoadModule axis2_module /usr/lib/apache2/modules/libmod_axis2.so debian/libapache2-mod-axis2c.install0000644000000000000000000000017012171302500014501 0ustar debian/tmp/usr/lib/axis2/modules usr/lib/apache2/ debian/tmp/usr/lib/axis2/lib/libmod_axis2.so* usr/lib/apache2/modules debian/libaxis2c-dev.dirs0000644000000000000000000000002611732374121012504 0ustar usr/lib/axis2/include debian/patches/0000755000000000000000000000000012171322471010615 5ustar debian/patches/07-ssl-method-cast.patch0000644000000000000000000000053511732374121015075 0ustar --- trunk/src/core/transport/http/sender/ssl/ssl_utils.c (revision 918421) +++ trunk/src/core/transport/http/sender/ssl/ssl_utils.c (revision 918422) @@ -62,7 +62,7 @@ } /* Create our context */ - meth = SSLv23_method(); + meth = (SSL_METHOD*)SSLv23_method(); ctx = SSL_CTX_new(meth); /* Load our keys and certificates debian/patches/fix_uri_test.patch0000644000000000000000000000122011732374121014336 0ustar ## Description: add some description ## Origin/Author: add some origin or author ## Bug: bug URL Index: axis2c-1.6.0/util/test/uri/uri_test.c =================================================================== --- axis2c-1.6.0.orig/util/test/uri/uri_test.c 2011-03-08 16:43:28.988346623 +0200 +++ axis2c-1.6.0/util/test/uri/uri_test.c 2011-03-08 16:43:23.020317033 +0200 @@ -72,7 +72,7 @@ printf("Test clone failed"); } - rel = axutil_uri_resolve_relative(env,base,clone); + rel = axutil_uri_resolve_relative(env,base,uri); if(rel) { printf("The resolved relative uri is %s\n",axutil_uri_to_string(rel,env,0)); debian/patches/05-build-without-threading.patch0000644000000000000000000000616211732374121016631 0ustar Index: axis2c-1.6.0/src/core/clientapi/listener_manager.c =================================================================== --- axis2c-1.6.0.orig/src/core/clientapi/listener_manager.c 2009-09-14 22:31:02.314335127 +0200 +++ axis2c-1.6.0/src/core/clientapi/listener_manager.c 2009-09-14 22:31:25.358336594 +0200 @@ -127,7 +127,6 @@ listener = axis2_transport_in_desc_get_recv(transport_in, env); if (listener) { - axutil_thread_t *worker_thread = NULL; axis2_listener_manager_worker_func_args_t *arg_list = NULL; arg_list = AXIS2_MALLOC(env->allocator, sizeof @@ -144,6 +143,7 @@ #ifdef AXIS2_SVR_MULTI_THREADED if (env->thread_pool) { + axutil_thread_t *worker_thread = NULL; worker_thread = axutil_thread_pool_get_thread(env->thread_pool, axis2_listener_manager_worker_func, Index: axis2c-1.6.0/src/core/clientapi/op_client.c =================================================================== --- axis2c-1.6.0.orig/src/core/clientapi/op_client.c 2009-09-14 22:31:48.183352004 +0200 +++ axis2c-1.6.0/src/core/clientapi/op_client.c 2009-09-14 22:32:10.814362496 +0200 @@ -531,7 +531,6 @@ } else { - axutil_thread_t *worker_thread = NULL; axis2_op_client_worker_func_args_t *arg_list = NULL; arg_list = AXIS2_MALLOC(env->allocator, sizeof(axis2_op_client_worker_func_args_t)); @@ -549,6 +548,7 @@ #ifdef AXIS2_SVR_MULTI_THREADED if (env->thread_pool) { + axutil_thread_t *worker_thread = NULL; worker_thread = axutil_thread_pool_get_thread(env->thread_pool, axis2_op_client_worker_func, (void *) Index: axis2c-1.6.0/src/core/transport/http/receiver/http_svr_thread.c =================================================================== --- axis2c-1.6.0.orig/src/core/transport/http/receiver/http_svr_thread.c 2009-09-14 22:48:58.803334566 +0200 +++ axis2c-1.6.0/src/core/transport/http/receiver/http_svr_thread.c 2009-09-14 22:49:15.826362903 +0200 @@ -123,7 +123,6 @@ { int socket = -1; axis2_http_svr_thd_args_t *arg_list = NULL; - axutil_thread_t *worker_thread = NULL; socket = (int)axutil_network_handler_svr_socket_accept(env, svr_thread-> @@ -148,6 +147,7 @@ arg_list->socket = socket; arg_list->worker = svr_thread->worker; #ifdef AXIS2_SVR_MULTI_THREADED + axutil_thread_t *worker_thread = NULL; worker_thread = axutil_thread_pool_get_thread(env->thread_pool, axis2_svr_thread_worker_func, (void *) arg_list); debian/patches/06-ld-no-as-needed.patch0000644000000000000000000000447611732374121014731 0ustar --- axis2c-1.6.0-orig/axiom/test/util/Makefile.am 2009-04-05 22:48:14.000000000 -0600 +++ axis2c-1.6.0-new/axiom/test/util/Makefile.am 2010-07-16 11:44:25.000000000 -0600 @@ -1,7 +1,9 @@ noinst_PROGRAMS = axiom axiom_SOURCES = axiom_util_test.c axiom_LDADD = \ - $(top_builddir)/src/om/libaxis2_axiom.la + $(top_builddir)/src/om/libaxis2_axiom.la \ + $(top_builddir)/src/parser/guththila/libaxis2_parser.la \ + $(top_builddir)/../util/src/libaxutil.la INCLUDES = -I$(top_builddir)/include \ -I ../../../util/include \ --- axis2c-1.6.0-orig/axiom/test/util/axiom_util_test.c 2010-07-16 12:03:37.000000000 -0600 +++ axis2c-1.6.0-new/axiom/test/util/axiom_util_test.c 2010-07-16 12:04:12.000000000 -0600 @@ -3,6 +3,8 @@ #include #include #include +#include /* FIXME */ + #include "../../../util/test/util/create_env.h" FILE *f = NULL; axiom_node_t *node = NULL; --- axis2c-1.6.0-orig/neethi/test/Makefile.am 2009-04-05 22:46:59.000000000 -0600 +++ axis2c-1.6.0-new/neethi/test/Makefile.am 2010-07-16 11:50:08.000000000 -0600 @@ -12,5 +12,6 @@ test_LDADD = $(top_builddir)/src/libneethi.la \ ../../axiom/src/om/libaxis2_axiom.la \ + ../../axiom/src/parser/guththila/libaxis2_parser.la \ ../../util/src/libaxutil.la \ ../src/libneethi.la --- ./neethi/test/Makefile.in~ 2009-04-17 08:15:28.000000000 +0200 +++ ./neethi/test/Makefile.in 2010-10-07 16:33:06.232108405 +0200 @@ -187,6 +187,7 @@ test_LDADD = $(top_builddir)/src/libneethi.la \ ../../axiom/src/om/libaxis2_axiom.la \ + ../../axiom/src/parser/guththila/libaxis2_parser.la \ ../../util/src/libaxutil.la \ ../src/libneethi.la --- ./axiom/test/util/Makefile.in~ 2009-04-17 08:15:23.000000000 +0200 +++ ./axiom/test/util/Makefile.in 2010-10-07 16:32:04.289608905 +0200 @@ -184,7 +184,9 @@ top_srcdir = @top_srcdir@ axiom_SOURCES = axiom_util_test.c axiom_LDADD = \ - $(top_builddir)/src/om/libaxis2_axiom.la + $(top_builddir)/src/om/libaxis2_axiom.la \ + $(top_builddir)/src/parser/guththila/libaxis2_parser.la \ + $(top_builddir)/../util/src/libaxutil.la \ INCLUDES = -I$(top_builddir)/include \ -I ../../../util/include \ debian/patches/03_enable-security.patch0000644000000000000000000000160311732374156015244 0ustar --- axis2c-1.6.0/samples/server/axis2.xml.orig 2012-03-20 12:09:21.111213059 -0400 +++ axis2c-1.6.0/samples/server/axis2.xml 2012-03-20 12:09:40.495213405 -0400 @@ -102,7 +102,7 @@ - + @@ -113,7 +113,7 @@ - + debian/patches/series0000644000000000000000000000041612171302500012022 0ustar 02_fix_doc_dir.patch 03_enable-security.patch 04_fix_testsuite.patch 05-build-without-threading.patch 06-ld-no-as-needed.patch 07-ssl-method-cast.patch 08-uri-use-after-free.patch 09-fix-gcc-4.6.patch 10-use-chdir-retval.diff ftbfs-gcc-4.7.diff conn-rec-remote-ip.patch debian/patches/conn-rec-remote-ip.patch0000644000000000000000000000202712171302500015231 0ustar Description: Handle conn_rec->remote_ip split in Apache 2.4 Author: Colin Watson Forwarded: no Last-Update: 2013-07-09 Index: b/src/core/transport/http/server/apache2/apache2_worker.c =================================================================== --- a/src/core/transport/http/server/apache2/apache2_worker.c +++ b/src/core/transport/http/server/apache2/apache2_worker.c @@ -39,6 +39,13 @@ #define READ_SIZE 2048 +#if AP_SERVER_MAJORVERSION_NUMBER > 2 || \ + (AP_SERVER_MAJORVERSION_NUMBER == 2 && AP_SERVER_MINORVERSION_NUMBER >= 4) +#define CLIENT_IP(conn) ((conn)->client_ip) +#else +#define CLIENT_IP(conn) ((conn)->remote_ip) +#endif + static axis2_status_t apache2_worker_send_mtom_message( request_rec *request, const axutil_env_t * env, @@ -280,7 +287,7 @@ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "Client HTTP version %s", http_version); - peer_ip = request->connection->remote_ip; + peer_ip = CLIENT_IP(request->connection); if (peer_ip) { debian/patches/04_fix_testsuite.patch0000644000000000000000000000424111732374121015042 0ustar Index: axis2c-1.6.0/util/test/util/test_util.c =================================================================== --- axis2c-1.6.0.orig/util/test/util/test_util.c 2009-09-14 22:27:46.794355427 +0200 +++ axis2c-1.6.0/util/test/util/test_util.c 2009-09-14 22:27:48.091357644 +0200 @@ -243,7 +243,6 @@ test_log_write( ) { - char msg[10]; printf("start of test_log_write\n\n"); axutil_allocator_t *allocator = axutil_allocator_init(NULL); if (!allocator) @@ -272,7 +271,6 @@ printf("cannot create env with error and log\n"); return; } - strcpy(msg, "abcd test123"); AXIS2_LOG_CRITICAL(env->log, AXIS2_LOG_SI, "log1 %s", "test1"); AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "log2 %d", 2); Index: axis2c-1.6.0/test/core/transport/http/Makefile.in =================================================================== --- axis2c-1.6.0.orig/test/core/transport/http/Makefile.in 2009-09-14 22:27:46.746335640 +0200 +++ axis2c-1.6.0/test/core/transport/http/Makefile.in 2009-09-14 22:27:48.095333917 +0200 @@ -222,6 +222,7 @@ $(top_builddir)/neethi/src/libneethi.la \ ../../../../axiom/src/parser/$(WRAPPER_DIR)/libaxis2_parser.la \ $(top_builddir)/src/core/engine/libaxis2_engine.la \ + $(top_builddir)/src/core/transport/http/common/libaxis2_http_common.la \ $(top_builddir)/src/core/transport/http/sender/libaxis2_http_sender.la INCLUDES = -I${CUTEST_HOME}/include \ Index: axis2c-1.6.0/test/core/transport/http/Makefile.am =================================================================== --- axis2c-1.6.0.orig/test/core/transport/http/Makefile.am 2009-09-14 22:27:46.778336353 +0200 +++ axis2c-1.6.0/test/core/transport/http/Makefile.am 2009-09-14 22:27:48.095333917 +0200 @@ -12,6 +12,7 @@ $(top_builddir)/neethi/src/libneethi.la \ ../../../../axiom/src/parser/$(WRAPPER_DIR)/libaxis2_parser.la \ $(top_builddir)/src/core/engine/libaxis2_engine.la \ + $(top_builddir)/src/core/transport/http/common/libaxis2_http_common.la \ $(top_builddir)/src/core/transport/http/sender/libaxis2_http_sender.la INCLUDES = -I${CUTEST_HOME}/include \ debian/patches/ftbfs-gcc-4.7.diff0000644000000000000000000000103211757203041013607 0ustar Index: axis2c-1.6.0/axiom/src/xpath/xpath_internals_engine.c =================================================================== --- axis2c-1.6.0.orig/axiom/src/xpath/xpath_internals_engine.c 2009-04-16 04:28:14.000000000 +0000 +++ axis2c-1.6.0/axiom/src/xpath/xpath_internals_engine.c 2012-05-10 02:13:47.588789385 +0000 @@ -415,7 +415,7 @@ axiom_xpath_operation_t * op) { axiom_xpath_result_node_t *node; - int n_nodes[2]; + int n_nodes[2] = { 0, 0 }; int i, j; int op12[2]; axutil_array_list_t *arr[2]; debian/patches/constify_ssl_method_ftbfs.patch0000644000000000000000000000074311732374121017106 0ustar Description: Declare SSL_METHOD of type const, fixing FTBFS. Author: Dave Walker (Daviey)) Bug-Ubuntu: https://launchpad.net/bugs/796379 --- a/src/core/transport/http/sender/ssl/ssl_utils.c +++ b/src/core/transport/http/sender/ssl/ssl_utils.c @@ -41,7 +41,7 @@ axis2_char_t * key_file, axis2_char_t * ssl_pp) { - SSL_METHOD *meth = NULL; + const SSL_METHOD *meth = NULL; SSL_CTX *ctx = NULL; axis2_char_t *ca_file = server_cert; debian/patches/10-use-chdir-retval.diff0000644000000000000000000000134611736416721015057 0ustar --- a/util/src/dir_handler.c 2009-04-06 04:49:04.000000000 +0000 +++ b/util/src/dir_handler.c 2012-04-02 19:13:33.695826943 +0000 @@ -206,12 +206,20 @@ /* pathname is path of services directory or modules directory. */ chdir_result = AXIS2_CHDIR(pathname); + if (chdir_result != 0) + { + /* Should probably exit here if chdir call fails? */ + } #ifdef AXIS2_ARCHIVE_ENABLED axis2_archive_extract(); #endif count = AXIS2_SCANDIR(pathname, &files, dir_select, AXIS2_ALPHASORT); chdir_result = AXIS2_CHDIR(cwd); + if (chdir_result != 0) + { + /* Should probably exit here if chdir call fails? */ + } /* If no files found, make a non-selectable menu item */ if (count <= 0) debian/patches/02_fix_doc_dir.patch0000644000000000000000000000166211732374121014416 0ustar --- axis2c-1.5.0.orig/Makefile.am +++ axis2c-1.5.0/Makefile.am @@ -43,6 +43,7 @@ rm -rf axis2c-bin-${PACKAGE_VERSION}-linux install-data-hook: - cp -r docs $(docsdir) - rm -rf `find $(docsdir)/ -type d -name .svn` - rm $(docsdir)/README + mkdir -p $(DESTDIR)$(docsdir) + cp -r docs $(DESTDIR)$(docsdir) + rm -rf `find $(DESTDIR)$(docsdir)/ -type d -name .svn` + rm $(DESTDIR)$(docsdir)/README --- axis2c-1.5.0.orig/Makefile.in +++ axis2c-1.5.0/Makefile.in @@ -832,9 +832,10 @@ rm -rf axis2c-bin-${PACKAGE_VERSION}-linux install-data-hook: - cp -r docs $(docsdir) - rm -rf `find $(docsdir)/ -type d -name .svn` - rm $(docsdir)/README + mkdir -p $(DESTDIR)$(docsdir) + cp -r docs $(DESTDIR)$(docsdir) + rm -rf `find $(DESTDIR)$(docsdir)/ -type d -name .svn` + rm $(DESTDIR)$(docsdir)/README # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: debian/patches/08-uri-use-after-free.patch0000644000000000000000000000144411732374121015476 0ustar Description: Fix use after free in uri_test Origin: backport, http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/util/test/uri/uri_test.c#rev961590 Bug-Ubuntu: https://launchpad.net/bugs/600174 Applied-Upstream: 1.7.0 Last-Update: 2011-05-14 Index: axis2c-1.6.0/util/test/uri/uri_test.c =================================================================== --- axis2c-1.6.0.orig/util/test/uri/uri_test.c 2011-03-08 16:43:28.988346623 +0200 +++ axis2c-1.6.0/util/test/uri/uri_test.c 2011-03-08 16:43:23.020317033 +0200 @@ -72,7 +72,7 @@ printf("Test clone failed"); } - rel = axutil_uri_resolve_relative(env,base,clone); + rel = axutil_uri_resolve_relative(env,base,uri); if(rel) { printf("The resolved relative uri is %s\n",axutil_uri_to_string(rel,env,0)); debian/patches/09-fix-gcc-4.6.patch0000644000000000000000000015725211736371056013736 0ustar --- a/util/src/platforms/unix/uuid_gen_unix.c +++ b/util/src/platforms/unix/uuid_gen_unix.c @@ -59,7 +59,7 @@ ) { struct timeval time_now; - struct timeval tv; + /*struct timeval tv;*/ unsigned long long time_val; unsigned long long time_val2; unsigned short int clck = 0; @@ -99,8 +99,8 @@ axutil_uuid_static.time_seq++; } /* sleep for 1000ns (1us) */ - tv.tv_sec = 0; - tv.tv_usec = 1; + /*tv.tv_sec = 0; + tv.tv_usec = 1;*/ /* The following select causes severe performance problems. Hence commenting out. I am not sure why this is required. - Samisa. --- a/util/src/utils.c +++ b/util/src/utils.c @@ -37,10 +37,10 @@ axis2_char_t ***tmp3 = NULL; axis2_char_t *tmp4 = NULL; axis2_char_t *resource = NULL; - axis2_char_t *query = NULL; + /*axis2_char_t *query = NULL;*/ axis2_char_t *url_tmp = NULL; axis2_char_t *url_resource = NULL; - axis2_char_t *url_query = NULL; + /*axis2_char_t *url_query = NULL;*/ axis2_bool_t finished = AXIS2_FALSE; axis2_status_t status = AXIS2_FAILURE; int ret_count = 0; @@ -78,7 +78,7 @@ if (*tmp1 && ((tmp1 - resource) < (int)strlen(resource) - 1)) /* We are sure that the difference lies within the int range */ { - query = tmp1; + /*query = tmp1;*/ /* * Query String based matching is not implemented. This is * reserved for future implementations. @@ -179,7 +179,7 @@ if (*tmp1 && ((tmp1 - url_resource) < (int)strlen(url_resource) - 1)) /* We are sure that the difference lies within the int range */ { - url_query = tmp1; + /*url_query = tmp1;*/ } } tmp1 = resource; --- a/util/test/util/test_util.c +++ b/util/test/util/test_util.c @@ -66,9 +66,9 @@ char *key4 = "key4"; int cnt = 0; axis2_char_t ***rettt = NULL; - axis2_status_t stat = AXIS2_FAILURE; - stat = axutil_parse_rest_url_for_params(env, "ech{a}tring", "/echoString?text=Hello%20World%21", &cnt, &rettt); - stat = axutil_parse_rest_url_for_params(env, "{a}ny/mor/sum", "echoStringmany/mor/sum", &cnt, &rettt); + /*axis2_status_t stat = AXIS2_FAILURE;*/ + axutil_parse_rest_url_for_params(env, "ech{a}tring", "/echoString?text=Hello%20World%21", &cnt, &rettt); + axutil_parse_rest_url_for_params(env, "{a}ny/mor/sum", "echoStringmany/mor/sum", &cnt, &rettt); /* rettt = axutil_parse_rest_url_for_params(env, "echoString/{a}re/{b}?", "/echoString/more/sum/?"); rettt = axutil_parse_rest_url_for_params(env, "/ech{c}tring{a}more/{b}/", "/echoStringma/nymore/sum?"); rettt = axutil_parse_rest_url_for_params(env, "echoString/{a}/more/{b}?{c}", "echoString/many/more/sum/"); @@ -180,7 +180,7 @@ { axutil_array_list_t *al; a *entry = NULL; - int size; + /*int size;*/ al = axutil_array_list_create(env, 1); printf("list size %d\n", axutil_array_list_size(al, env)); @@ -219,7 +219,7 @@ entry = (a *) axutil_array_list_get(al, env, 2); printf("entry->value:%s\n", entry->value); - size = axutil_array_list_size(al, env); + axutil_array_list_size(al, env); printf("list size %d\n", axutil_array_list_size(al, env)); } --- a/util/test/allocator/allocator_test.c +++ b/util/test/allocator/allocator_test.c @@ -16,7 +16,7 @@ unsigned char buffer[1024]; FILE *in = fopen("test","rb"); FILE *out = fopen("test.doc","w"); - int fwrite_result = 0; + /*int fwrite_result = 0;*/ if (!(in && out)) { @@ -26,7 +26,7 @@ while((plain_binary_len = fread(buffer,1,sizeof(buffer),in)) > 0) { - fwrite_result = fwrite(buffer,1,plain_binary_len,out); + fwrite(buffer,1,plain_binary_len,out); } fclose(in); --- a/axiom/src/attachments/data_handler.c +++ b/axiom/src/attachments/data_handler.c @@ -383,7 +383,7 @@ if (data_handler->file_name) { FILE *f = NULL; - int count = 0; + /*int count = 0;*/ f = fopen(data_handler->file_name, "wb"); if (!f) @@ -393,7 +393,7 @@ return AXIS2_FAILURE; } - count = (int)fwrite(data_handler->buffer, 1, + fwrite(data_handler->buffer, 1, data_handler->buffer_len, f); /* The count lies within the int range */ --- a/axiom/src/soap/soap_header.c +++ b/axiom/src/soap/soap_header.c @@ -295,7 +295,7 @@ const axis2_char_t *nsuri = NULL; axiom_node_t *first_node = NULL; - axiom_element_t *first_ele = NULL; + /*axiom_element_t *first_ele = NULL;*/ axutil_qname_t *qn = NULL; @@ -327,7 +327,7 @@ if (header_om_ele) { - first_ele = axiom_element_get_first_element(header_om_ele, env, + axiom_element_get_first_element(header_om_ele, env, soap_header->om_ele_node, &first_node); if (first_node) @@ -591,16 +591,16 @@ const axutil_env_t * env, axutil_qname_t * qname) { - axis2_char_t *qn_localname = NULL; + /*axis2_char_t *qn_localname = NULL; axis2_char_t *qname_ns = NULL; - axis2_char_t *qname_prefix = NULL; + axis2_char_t *qname_prefix = NULL;*/ axutil_hash_index_t *hi = NULL; AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE); - qn_localname = axutil_qname_get_localpart(qname, env); - qname_ns = axutil_qname_get_uri(qname, env); - qname_prefix = axutil_qname_get_prefix(qname, env); + axutil_qname_get_localpart(qname, env); + axutil_qname_get_uri(qname, env); + axutil_qname_get_prefix(qname, env); if (!soap_header->header_blocks) { --- a/axiom/src/soap/soap11_builder_helper.c +++ b/axiom/src/soap/soap11_builder_helper.c @@ -143,7 +143,7 @@ axiom_soap_fault_code_t *fault_code = NULL; axiom_soap_fault_value_t *fault_value = NULL; axiom_node_t *fault_value_node = NULL; - axiom_element_t *fault_value_ele = NULL; + /*axiom_element_t *fault_value_ele = NULL;*/ if (axutil_strcmp (ele_localname, AXIOM_SOAP11_SOAP_FAULT_CODE_LOCAL_NAME) == 0) @@ -184,9 +184,8 @@ { return AXIS2_FAILURE; } - fault_value_ele = - (axiom_element_t *) - axiom_node_get_data_element(fault_value_node, env); + + axiom_node_get_data_element(fault_value_node, env); axiom_stax_builder_set_lastnode(builder_helper->om_builder, env, fault_value_node); --- a/axiom/src/soap/soap_body.c +++ b/axiom/src/soap/soap_body.c @@ -248,7 +248,7 @@ { int status = AXIS2_SUCCESS; axiom_node_t *xop_node = NULL; - axis2_bool_t is_replaced = AXIS2_FALSE; + /*axis2_bool_t is_replaced = AXIS2_FALSE;*/ axiom_element_t *xop_element = NULL; @@ -263,7 +263,7 @@ xop_node, env); if(xop_element) { - is_replaced = axiom_soap_builder_replace_xop(soap_body->soap_builder, + axiom_soap_builder_replace_xop(soap_body->soap_builder, env, xop_node, xop_element); } } --- a/axiom/src/soap/soap12_builder_helper.c +++ b/axiom/src/soap/soap12_builder_helper.c @@ -764,7 +764,7 @@ (builder_helper->soap_builder, env)) { - int detail_element_level = 0; + /*int detail_element_level = 0;*/ axis2_bool_t local_name_exists = AXIS2_FALSE; int i = 0; if (!(builder_helper->detail_element_names)) @@ -783,7 +783,7 @@ env, i)) == 0) { local_name_exists = AXIS2_TRUE; - detail_element_level = i + 1; + /*detail_element_level = i + 1;*/ } } if (local_name_exists) --- a/axiom/src/xpath/xpath_internals_iterators.c +++ b/axiom/src/xpath/xpath_internals_iterators.c @@ -35,7 +35,7 @@ axiom_node_t *cur = NULL; axiom_node_t *context_node = NULL; /* For streaming */ - axiom_node_t *prev = NULL; + /*axiom_node_t *prev = NULL;*/ /*axiom_xpath_operation_t * next_operation = NULL;*/ AXIOM_XPATH_ITERATOR_INITIALIZE; @@ -45,7 +45,7 @@ { n_nodes = 0; context->node = cur; - prev = cur; + /*prev = cur;*/ cur = axiom_node_get_next_sibling(cur, context->env); if (axiom_xpath_node_test_match( context, (axiom_xpath_node_test_t *)node_test_op->par1)) --- a/axiom/src/om/om_document.c +++ b/axiom/src/om/om_document.c @@ -141,14 +141,14 @@ axiom_document_t * document, const axutil_env_t * env) { - axiom_node_t *node = NULL; + /*axiom_node_t *node = NULL;*/ AXIS2_ENV_CHECK(env, NULL); if (document->root_element) { return document->root_element; } - node = axiom_document_build_next(document, env); + axiom_document_build_next(document, env); if (document->root_element) { --- a/axiom/src/om/om_children_with_specific_attribute_iterator.c +++ b/axiom/src/om/om_children_with_specific_attribute_iterator.c @@ -130,14 +130,13 @@ if (axiom_node_get_node_type(iterator->current_child, env) == AXIOM_ELEMENT) { - axiom_attribute_t *om_attr = NULL; + /*axiom_attribute_t *om_attr = NULL;*/ axiom_element_t *om_ele = NULL; om_ele = (axiom_element_t *) axiom_node_get_data_element(iterator-> current_child, env); - om_attr = - axiom_element_get_attribute(om_ele, env, iterator->attr_qname); + axiom_element_get_attribute(om_ele, env, iterator->attr_qname); break; /*if (om_attr && (axutil_strcmp(axiom_attribute_get_value(om_attr, env), --- a/axiom/src/om/om_element.c +++ b/axiom/src/om/om_element.c @@ -390,7 +390,7 @@ axiom_namespace_t * ns) { axis2_char_t *prefix = NULL; - axis2_char_t *uri = NULL; + /*axis2_char_t *uri = NULL;*/ AXIS2_ENV_CHECK(env, AXIS2_FAILURE); @@ -403,7 +403,7 @@ return AXIS2_FAILURE; } - uri = axiom_namespace_get_uri(ns, env); + axiom_namespace_get_uri(ns, env); prefix = axiom_namespace_get_prefix(ns, env); if (!(om_element->namespaces)) @@ -1273,7 +1273,7 @@ axiom_node_t * element_node) { axiom_node_t *temp_node, *next_node; - axiom_text_t *om_text = NULL; + /*axiom_text_t *om_text = NULL;*/ AXIS2_ENV_CHECK(env, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, text, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, element_node, AXIS2_FAILURE); @@ -1289,7 +1289,7 @@ } } - om_text = axiom_text_create(env, NULL, text, &temp_node); + axiom_text_create(env, NULL, text, &temp_node); axiom_node_add_child(element_node, env, temp_node); return AXIS2_SUCCESS; } --- a/axiom/src/om/om_output.c +++ b/axiom/src/om/om_output.c @@ -640,7 +640,7 @@ if (om_output->do_optimize) { - axis2_char_t *root_content_id = NULL; + /*axis2_char_t *root_content_id = NULL;*/ axis2_char_t *buffer = NULL; /* Extracting the soap part */ @@ -661,7 +661,7 @@ om_output->mime_boundry = axiom_output_get_mime_boundry(om_output, env); /* This is also created for attachments*/ - root_content_id = axiom_output_get_root_content_id(om_output, env); + axiom_output_get_root_content_id(om_output, env); /* different parts of the message is added according to their order * to an arraylist */ --- a/axiom/test/soap/test_soap.c +++ b/axiom/test/soap/test_soap.c @@ -276,7 +276,7 @@ axiom_soap_body_t *soap_body = NULL; axiom_soap_header_t *soap_header = NULL; axiom_soap_fault_t *soap_fault = NULL; - axiom_soap_fault_code_t *fault_code = NULL; + /*axiom_soap_fault_code_t *fault_code = NULL; */ axiom_soap_header_block_t *hb1 = NULL; axiom_namespace_t *env_ns = NULL; @@ -328,7 +328,7 @@ soap_fault = axiom_soap_fault_create_with_parent(env, soap_body); - fault_code = axiom_soap_fault_code_create_with_parent(env, soap_fault); + axiom_soap_fault_code_create_with_parent(env, soap_fault); xml_writer = axiom_xml_writer_create_for_memory(env, NULL, AXIS2_FALSE, AXIS2_FALSE, @@ -453,7 +453,7 @@ axiom_soap_fault_t *soap_fault = NULL; axis2_char_t *node_text = NULL; axiom_soap_fault_node_t *fault_node = NULL; - axis2_status_t status = 0; + /*axis2_status_t status = 0; */ printf("Testing soap fault node \n"); soap_envelope = @@ -466,7 +466,7 @@ soap_fault = axiom_soap_body_get_fault(soap_body, env); fault_node = axiom_soap_fault_node_create_with_parent(env, soap_fault); - status = axiom_soap_fault_node_set_value(fault_node, env, "MyFaultNode"); + axiom_soap_fault_node_set_value(fault_node, env, "MyFaultNode"); node_text = axiom_soap_fault_node_get_value(fault_node, env); printf("Actual = %s Expected = %s |", node_text, "MyFaultNode"); --- a/axiom/test/xpath/test_xpath.c +++ b/axiom/test/xpath/test_xpath.c @@ -475,7 +475,7 @@ axiom_node_t *grandchild; axis2_char_t value_str[255]; axiom_element_t *order_ele; - axiom_element_t *values_ele; + /*axiom_element_t *values_ele;*/ axiom_element_t *value_ele; axiom_element_t *grandchild_ele; axiom_attribute_t *attribute; @@ -493,8 +493,7 @@ axiom_attribute_create(env, "attr1", "attribute_value_1", NULL); axiom_element_add_attribute(order_ele, env, attribute, order_node); - values_ele = - axiom_element_create(env, main_node, "node2", NULL, &values_node); + axiom_element_create(env, main_node, "node2", NULL, &values_node); for (i = 0 ; i < N; i++) { --- a/neethi/src/all.c +++ b/neethi/src/all.c @@ -149,15 +149,14 @@ { axiom_node_t *all_node = NULL; - axiom_element_t *all_ele = NULL; + /*axiom_element_t *all_ele = NULL;*/ axiom_namespace_t *policy_ns = NULL; axutil_array_list_t *components = NULL; axis2_status_t status = AXIS2_FAILURE; policy_ns = axiom_namespace_create(env, NEETHI_NAMESPACE, NEETHI_PREFIX); - all_ele = - axiom_element_create(env, parent, NEETHI_ALL, policy_ns, &all_node); + axiom_element_create(env, parent, NEETHI_ALL, policy_ns, &all_node); if (!all_node) { return AXIS2_FAILURE; --- a/neethi/src/assertion.c +++ b/neethi/src/assertion.c @@ -401,7 +401,7 @@ const axutil_env_t *env) { axiom_namespace_t *namespace = NULL; - axiom_element_t *element = NULL; + /*axiom_element_t *element = NULL;*/ axiom_node_t *node = NULL; axis2_char_t *localname = NULL; @@ -409,7 +409,7 @@ axiom_element_get_namespace(assertion->element, env, assertion->node); localname = axiom_element_get_localname(assertion->element, env); - element = axiom_element_create(env, parent, localname, namespace, &node); + axiom_element_create(env, parent, localname, namespace, &node); if (!node) { --- a/neethi/src/mtom_assertion_checker.c +++ b/neethi/src/mtom_assertion_checker.c @@ -36,7 +36,7 @@ neethi_operator_t *operator = NULL; neethi_assertion_t *assertion = NULL; neethi_assertion_type_t type; - void *value = NULL; + /*void *value = NULL;*/ int i = 0; normalized_policy = neethi_engine_get_normalize(env, AXIS2_FALSE, policy); @@ -58,7 +58,7 @@ i); assertion = (neethi_assertion_t *) neethi_operator_get_value(operator, env); - value = neethi_assertion_get_value(assertion, env); + neethi_assertion_get_value(assertion, env); type = neethi_assertion_get_type(assertion, env); /*if (value) --- a/neethi/src/secpolicy/builder/asymmetric_binding_builder.c +++ b/neethi/src/secpolicy/builder/asymmetric_binding_builder.c @@ -107,7 +107,7 @@ axutil_array_list_t *arraylist = NULL; neethi_assertion_t *assertion = NULL; neethi_assertion_type_t type; - void *value = NULL; + /*void *value = NULL;*/ rp_binding_commons_t *commons = NULL; rp_symmetric_asymmetric_binding_commons_t *as_commons = NULL; @@ -123,7 +123,7 @@ i); assertion = (neethi_assertion_t *) neethi_operator_get_value(operator, env); - value = neethi_assertion_get_value(assertion, env); + neethi_assertion_get_value(assertion, env); type = neethi_assertion_get_type(assertion, env); if (type == ASSERTION_TYPE_INITIATOR_TOKEN) --- a/neethi/src/secpolicy/builder/symmetric_binding_builder.c +++ b/neethi/src/secpolicy/builder/symmetric_binding_builder.c @@ -107,7 +107,7 @@ axutil_array_list_t *arraylist = NULL; neethi_assertion_t *assertion = NULL; neethi_assertion_type_t type; - void *value = NULL; + /*void *value = NULL;*/ rp_binding_commons_t *commons = NULL; rp_symmetric_asymmetric_binding_commons_t *as_commons = NULL; @@ -123,7 +123,7 @@ i); assertion = (neethi_assertion_t *) neethi_operator_get_value(operator, env); - value = neethi_assertion_get_value(assertion, env); + neethi_assertion_get_value(assertion, env); type = neethi_assertion_get_type(assertion, env); if (type == ASSERTION_TYPE_PROTECTION_TOKEN) --- a/neethi/src/secpolicy/builder/transport_binding_builder.c +++ b/neethi/src/secpolicy/builder/transport_binding_builder.c @@ -108,7 +108,7 @@ axutil_array_list_t *arraylist = NULL; neethi_assertion_t *assertion = NULL; neethi_assertion_type_t type; - void *value = NULL; + /*void *value = NULL; */ rp_binding_commons_t *commons = NULL; int i = 0; @@ -122,7 +122,7 @@ i); assertion = (neethi_assertion_t *) neethi_operator_get_value(operator, env); - value = neethi_assertion_get_value(assertion, env); + neethi_assertion_get_value(assertion, env); type = neethi_assertion_get_type(assertion, env); if (type == ASSERTION_TYPE_TRANSPORT_TOKEN) --- a/neethi/src/secpolicy/builder/trust10_builder.c +++ b/neethi/src/secpolicy/builder/trust10_builder.c @@ -104,7 +104,7 @@ axutil_array_list_t *arraylist = NULL; neethi_assertion_t *assertion = NULL; neethi_assertion_type_t type; - void *value = NULL; + /*void *value = NULL;*/ int i = 0; @@ -116,7 +116,7 @@ i); assertion = (neethi_assertion_t *) neethi_operator_get_value(operator, env); - value = neethi_assertion_get_value(assertion, env); + neethi_assertion_get_value(assertion, env); type = neethi_assertion_get_type(assertion, env); if (type == ASSERTION_TYPE_MUST_SUPPORT_CLIENT_CHALLENGE) --- a/neethi/src/secpolicy/builder/wss10_builder.c +++ b/neethi/src/secpolicy/builder/wss10_builder.c @@ -104,7 +104,7 @@ axutil_array_list_t *arraylist = NULL; neethi_assertion_t *assertion = NULL; neethi_assertion_type_t type; - void *value = NULL; + /*void *value = NULL;*/ int i = 0; @@ -116,7 +116,7 @@ i); assertion = (neethi_assertion_t *) neethi_operator_get_value(operator, env); - value = neethi_assertion_get_value(assertion, env); + neethi_assertion_get_value(assertion, env); type = neethi_assertion_get_type(assertion, env); if (type == ASSERTION_TYPE_MUST_SUPPORT_REF_KEY_IDENTIFIER) --- a/neethi/src/secpolicy/builder/wss11_builder.c +++ b/neethi/src/secpolicy/builder/wss11_builder.c @@ -104,7 +104,7 @@ axutil_array_list_t *arraylist = NULL; neethi_assertion_t *assertion = NULL; neethi_assertion_type_t type; - void *value = NULL; + /*void *value = NULL;*/ int i = 0; @@ -116,7 +116,7 @@ i); assertion = (neethi_assertion_t *) neethi_operator_get_value(operator, env); - value = neethi_assertion_get_value(assertion, env); + neethi_assertion_get_value(assertion, env); type = neethi_assertion_get_type(assertion, env); if (type == ASSERTION_TYPE_MUST_SUPPORT_REF_KEY_IDENTIFIER) --- a/neethi/test/test.c +++ b/neethi/test/test.c @@ -137,7 +137,7 @@ axiom_output_t *om_output = NULL; axiom_xml_writer_t *writer = NULL; - axis2_char_t *output_buffer = NULL; + /*axis2_char_t *output_buffer = NULL;*/ axis2_status_t status = AXIS2_FAILURE; writer = axiom_xml_writer_create_for_memory(env, NULL, AXIS2_TRUE, 0, @@ -155,7 +155,7 @@ /* end serializing stuff */ /*axiom_node_free_tree(node1, environment); */ - output_buffer = (axis2_char_t *) axiom_xml_writer_get_xml(writer, env); + axiom_xml_writer_get_xml(writer, env); printf("\nend test_om_serialize\n"); --- a/src/core/context/msg_ctx.c +++ b/src/core/context/msg_ctx.c @@ -842,8 +842,8 @@ if (soap_envelope) { - int soap_v = AXIOM_SOAP12; - soap_v = axiom_soap_envelope_get_soap_version(soap_envelope, env); + /*int soap_v = AXIOM_SOAP12;*/ + axiom_soap_envelope_get_soap_version(soap_envelope, env); msg_ctx->response_soap_envelope = soap_envelope; } else --- a/src/core/deployment/conf_builder.c +++ b/src/core/deployment/conf_builder.c @@ -431,7 +431,7 @@ } while (qname_itr_has_next) { - axiom_node_t *disp_node = NULL; + /*axiom_node_t *disp_node = NULL;*/ axiom_element_t *disp_element = NULL; axiom_attribute_t *disp_att = NULL; axis2_char_t *class_name = NULL; @@ -444,8 +444,7 @@ axis2_handler_t *handler = NULL; found_disp = AXIS2_TRUE; - disp_node = (axiom_node_t *) - axiom_children_qname_iterator_next(disps, env); + axiom_children_qname_iterator_next(disps, env); class_qname = axutil_qname_create(env, AXIS2_CLASSNAME, NULL, NULL); disp_att = axiom_element_get_attribute(disp_element, env, class_qname); axutil_qname_free(class_qname, env); --- a/src/core/deployment/desc_builder.c +++ b/src/core/deployment/desc_builder.c @@ -1200,10 +1200,10 @@ node = axiom_children_qname_iterator_next(iterator, env); if (node) { - axiom_element_t *element = NULL; + /*axiom_element_t *element = NULL;*/ neethi_reference_t *reference = NULL; - element = axiom_node_get_data_element(node, env); + axiom_node_get_data_element(node, env); /* TODO: add neethi_engine_get_policy_reference reference = neethi_engine_get_policy_reference(env, node, element); */ axis2_policy_include_add_policy_reference_element(policy_include, --- a/src/core/deployment/repos_listener.c +++ b/src/core/deployment/repos_listener.c @@ -330,9 +330,9 @@ folder_name); if (!current_info_list) { - axis2_status_t status_code = AXIS2_FAILURE; + /*axis2_status_t status_code = AXIS2_FAILURE;*/ - status_code = AXIS2_ERROR_GET_STATUS_CODE(env->error); + AXIS2_ERROR_GET_STATUS_CODE(env->error); if (AXIS2_SUCCESS != status) { return status; --- a/src/core/deployment/svc_builder.c +++ b/src/core/deployment/svc_builder.c @@ -168,13 +168,13 @@ axiom_node_t *desc_node = NULL; axiom_children_qname_iterator_t *module_refs = NULL; axiom_node_t *in_flow_node = NULL; - axiom_element_t *in_flow_element = NULL; + /*axiom_element_t *in_flow_element = NULL;*/ axiom_node_t *out_flow_node = NULL; - axiom_element_t *out_flow_element = NULL; + /*axiom_element_t *out_flow_element = NULL;*/ axiom_node_t *in_faultflow_node = NULL; - axiom_element_t *in_faultflow_element = NULL; + /*axiom_element_t *in_faultflow_element = NULL;*/ axiom_node_t *out_faultflow_node = NULL; - axiom_element_t *out_faultflow_element = NULL; + /*axiom_element_t *out_faultflow_element = NULL;*/ axiom_attribute_t *name_attr = NULL; axutil_array_list_t *ops = NULL; axis2_char_t *svc_name = NULL; @@ -241,11 +241,11 @@ qdesc = NULL; if (desc_element) { - axiom_element_t *desc_value_element = NULL; + /*axiom_element_t *desc_value_element = NULL;*/ axiom_node_t *desc_value_node = NULL; axis2_char_t *description_text = NULL; - desc_value_element = axiom_element_get_first_element(desc_element, + axiom_element_get_first_element(desc_element, env, desc_node, &desc_value_node); description_text = axiom_element_get_text(desc_element, env, desc_node); @@ -375,7 +375,7 @@ /* process IN_FLOW */ qinflowst = axutil_qname_create(env, AXIS2_IN_FLOW_START, NULL, NULL); - in_flow_element = axiom_element_get_first_child_with_qname(svc_element, + axiom_element_get_first_child_with_qname(svc_element, env, qinflowst, svc_node, &in_flow_node); @@ -383,7 +383,7 @@ qinflowst = NULL; qoutflowst = axutil_qname_create(env, AXIS2_OUT_FLOW_START, NULL, NULL); - out_flow_element = axiom_element_get_first_child_with_qname(svc_element, + axiom_element_get_first_child_with_qname(svc_element, env, qoutflowst, svc_node, &out_flow_node); @@ -391,7 +391,7 @@ qoutflowst = NULL; qin_faultflowst = axutil_qname_create(env, AXIS2_IN_FAILTFLOW, NULL, NULL); - in_faultflow_element = axiom_element_get_first_child_with_qname(svc_element, + axiom_element_get_first_child_with_qname(svc_element, env, qin_faultflowst, svc_node, @@ -401,8 +401,7 @@ qout_faultflowst = axutil_qname_create(env, AXIS2_OUT_FAILTFLOW, NULL, NULL); - out_faultflow_element = - axiom_element_get_first_child_with_qname(svc_element, env, qoutflowst, + axiom_element_get_first_child_with_qname(svc_element, env, qoutflowst, svc_node, &out_faultflow_node); axutil_qname_free(qout_faultflowst, env); qout_faultflowst = NULL; --- a/src/core/description/op.c +++ b/src/core/description/op.c @@ -660,7 +660,7 @@ pr = axis2_phase_resolver_create_with_config(env, conf); if (pr) { - axis2_module_t *module = NULL; + /*axis2_module_t *module = NULL;*/ axis2_status_t status = AXIS2_FAILURE; status = axis2_phase_resolver_engage_module_to_op(pr, env, op, moduleref); @@ -671,7 +671,7 @@ AXIS2_LOG_INFO(env->log, AXIS2_LOG_SI, "Engaging module %s to operaion %s failed. But ignore this.", modname, opname); } - module = axis2_module_desc_get_module(moduleref, env); + axis2_module_desc_get_module(moduleref, env); if (need_to_add) { --- a/src/core/description/svc_grp.c +++ b/src/core/description/svc_grp.c @@ -287,12 +287,12 @@ const axutil_env_t * env, const axutil_qname_t * svc_qname) { - axis2_svc_t *svc = NULL; + /*axis2_svc_t *svc = NULL;*/ axis2_char_t *svc_name = NULL; AXIS2_PARAM_CHECK(env->error, svc_name, AXIS2_FAILURE); - svc = axis2_svc_grp_get_svc(svc_grp, env, svc_qname); + axis2_svc_grp_get_svc(svc_grp, env, svc_qname); svc_name = axutil_qname_to_string((axutil_qname_t *) svc_qname, env); axutil_hash_set(svc_grp->svcs, svc_name, AXIS2_HASH_KEY_STRING, NULL); --- a/src/core/engine/conf.c +++ b/src/core/engine/conf.c @@ -579,7 +579,7 @@ axutil_hash_index_t *index_i = NULL; axis2_char_t *svc_name = NULL; const axis2_char_t *svc_grp_name = NULL; - int k = 0; + /*int k = 0;*/ AXIS2_PARAM_CHECK(env->error, svc_grp, AXIS2_FAILURE); @@ -594,7 +594,7 @@ } } - k = axutil_hash_count(svcs); + axutil_hash_count(svcs); index_i = axutil_hash_first(svcs, env); while (index_i) { --- a/src/core/engine/rest_disp.c +++ b/src/core/engine/rest_disp.c @@ -163,7 +163,7 @@ axis2_op_t *op = NULL; axiom_soap_envelope_t *soap_env = NULL; axiom_soap_body_t *soap_body = NULL; - axiom_element_t *body_child = NULL; + /*axiom_element_t *body_child = NULL;*/ axiom_node_t *body_child_node = NULL; axiom_node_t *body_element_node = NULL; axis2_bool_t soap_env_exists = AXIS2_TRUE; @@ -305,7 +305,7 @@ if (!body_child_node) { - body_child = axiom_element_create_with_qname(env, NULL, + axiom_element_create_with_qname(env, NULL, axis2_op_get_qname( op, env), &body_child_node); --- a/src/core/phaseresolver/phase_resolver.c +++ b/src/core/phaseresolver/phase_resolver.c @@ -692,7 +692,7 @@ int i = 0; int size = 0; int status = AXIS2_FAILURE; - axis2_char_t *flowname = NULL; + /*axis2_char_t *flowname = NULL;*/ axis2_phase_holder_t *phase_holder = NULL; axutil_array_list_t *engaged_module_list_for_parent_svc = NULL; @@ -811,7 +811,7 @@ phase_list = axis2_op_get_in_flow(op, env); phase_holder = axis2_phase_holder_create_with_phases(env, phase_list); - flowname = "in flow"; + /*flowname = "in flow";*/ break; } case AXIS2_OUT_FLOW: @@ -820,7 +820,7 @@ phase_list = axis2_op_get_out_flow(op, env); phase_holder = axis2_phase_holder_create_with_phases(env, phase_list); - flowname = "out flow"; + /*flowname = "out flow";*/ break; } case AXIS2_FAULT_IN_FLOW: @@ -829,7 +829,7 @@ phase_list = axis2_op_get_fault_in_flow(op, env); phase_holder = axis2_phase_holder_create_with_phases(env, phase_list); - flowname = "fault in flow"; + /*flowname = "fault in flow";*/ break; } case AXIS2_FAULT_OUT_FLOW: @@ -838,7 +838,7 @@ phase_list = axis2_op_get_fault_out_flow(op, env); phase_holder = axis2_phase_holder_create_with_phases(env, phase_list); - flowname = "fault out flow"; + /*flowname = "fault out flow";*/ break; } } @@ -1967,11 +1967,11 @@ axis2_flow_t *flow = NULL; axis2_char_t *flowname = NULL; const axutil_qname_t *opqname = NULL; - axis2_char_t *opname = NULL; + /*axis2_char_t *opname = NULL;*/ axis2_status_t status = AXIS2_FAILURE; opqname = axis2_op_get_qname(op, env); - opname = axutil_qname_get_localpart(opqname, env); + axutil_qname_get_localpart(opqname, env); switch (type) { --- a/src/core/receivers/raw_xml_in_out_msg_recv.c +++ b/src/core/receivers/raw_xml_in_out_msg_recv.c @@ -70,11 +70,11 @@ axis2_op_t *op_desc = NULL; const axis2_char_t *style = NULL; axiom_node_t *om_node = NULL; - axiom_element_t *om_element = NULL; + /*axiom_element_t *om_element = NULL;*/ axis2_char_t *local_name = NULL; axiom_node_t *result_node = NULL; axiom_node_t *body_content_node = NULL; - axiom_element_t *body_content_element = NULL; + /*axiom_element_t *body_content_element = NULL;*/ axiom_soap_envelope_t *default_envelope = NULL; axiom_soap_body_t *out_body = NULL; axiom_soap_header_t *out_header = NULL; @@ -132,7 +132,7 @@ envelope = axis2_msg_ctx_get_soap_envelope(msg_ctx, env); body = axiom_soap_envelope_get_body(envelope, env); om_node = axiom_soap_body_get_base_node(body, env); - om_element = axiom_node_get_data_element(om_node, env); + axiom_node_get_data_element(om_node, env); om_node = axiom_node_get_first_element(om_node, env); } else if (0 == axutil_strcmp(AXIS2_STYLE_RPC, style)) @@ -177,7 +177,7 @@ if (matches) { om_node = axiom_node_get_first_child(op_node, env); - om_element = axiom_node_get_data_element(om_node, env); + axiom_node_get_data_element(om_node, env); } else { @@ -224,8 +224,7 @@ } else { - body_content_element = - axiom_element_create(env, NULL, res_name, ns, &body_content_node); + axiom_element_create(env, NULL, res_name, ns, &body_content_node); axiom_node_add_child(body_content_node, env, result_node); } } --- a/src/core/transport/http/common/http_simple_response.c +++ b/src/core/transport/http/common/http_simple_response.c @@ -566,7 +566,7 @@ while (loop_state) { int read = 0; - int write = 0; + /*int write = 0;*/ char buf[AXIS2_HTTP_SIMPLE_RESPONSE_READ_SIZE]; read = @@ -576,7 +576,7 @@ { break; } - write = axutil_stream_write(tmp_stream, env, buf, read); + axutil_stream_write(tmp_stream, env, buf, read); if (read < (AXIS2_HTTP_SIMPLE_RESPONSE_READ_SIZE - 1)) { break; --- a/src/core/transport/http/common/http_worker.c +++ b/src/core/transport/http/common/http_worker.c @@ -2152,12 +2152,12 @@ axis2_conf_ctx_t * conf_ctx, axis2_http_simple_response_t * simple_response) { - axis2_conf_t *config = NULL; + /*axis2_conf_t *config = NULL;*/ AXIS2_PARAM_CHECK(env->error, conf_ctx, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, simple_response, AXIS2_FAILURE); - config = axis2_conf_ctx_get_conf(conf_ctx, env); + axis2_conf_ctx_get_conf(conf_ctx, env); return AXIS2_SUCCESS; } --- a/src/core/transport/http/sender/http_client.c +++ b/src/core/transport/http/sender/http_client.c @@ -417,7 +417,7 @@ if(client->doing_mtom) { - axis2_status_t status = AXIS2_SUCCESS; + /*axis2_status_t status = AXIS2_SUCCESS;*/ axutil_http_chunked_stream_t *chunked_stream = NULL; /* If the callback name is not there, then we will check whether there @@ -441,7 +441,7 @@ /* This method will write the Attachment + data to the wire */ - status = axis2_http_transport_utils_send_mtom_message(chunked_stream, env, + axis2_http_transport_utils_send_mtom_message(chunked_stream, env, client->mime_parts, client->mtom_sending_callback_name); axutil_http_chunked_stream_free(chunked_stream, env); --- a/src/core/transport/http/sender/http_sender.c +++ b/src/core/transport/http/sender/http_sender.c @@ -1475,7 +1475,7 @@ int *content_length = NULL; axutil_property_t *property = NULL; axis2_char_t *content_type = NULL; - int status_code = 0; + /*int status_code = 0;*/ AXIS2_PARAM_CHECK (env->error, msg_ctx, AXIS2_FAILURE); AXIS2_PARAM_CHECK (env->error, response, AXIS2_FAILURE); @@ -1577,7 +1577,7 @@ AXIS2_HTTP_HEADER_CONTENT_LENGTH, property); } - status_code = axis2_http_simple_response_get_status_code (response, env); + axis2_http_simple_response_get_status_code (response, env); return AXIS2_SUCCESS; } --- a/src/core/transport/http/server/apache2/apache2_worker.c +++ b/src/core/transport/http/server/apache2/apache2_worker.c @@ -1329,7 +1329,7 @@ while (loop_status) { int read = 0; - int write = 0; + /*int write = 0;*/ char buf[READ_SIZE]; read = axutil_stream_read(stream, env, buf, READ_SIZE); @@ -1337,7 +1337,7 @@ { break; } - write = axutil_stream_write(tmp_stream, env, buf, read); + axutil_stream_write(tmp_stream, env, buf, read); if (read < (READ_SIZE - 1)) { break; --- a/src/core/transport/http/server/simple_axis2_server/http_server_main.c +++ b/src/core/transport/http/server/simple_axis2_server/http_server_main.c @@ -77,14 +77,14 @@ axutil_env_t * env, int status) { - axutil_allocator_t *allocator = NULL; + /*axutil_allocator_t *allocator = NULL;*/ if (server) { axis2_transport_receiver_free(server, system_env); } if (env) { - allocator = env->allocator; + /*allocator = env->allocator;*/ axutil_env_free(env); } /*axutil_allocator_free(allocator); */ --- a/src/core/transport/http/util/http_transport_utils.c +++ b/src/core/transport/http/util/http_transport_utils.c @@ -2470,7 +2470,7 @@ { axiom_soap_envelope_t *soap_env = NULL; axiom_soap_body_t *soap_body = NULL; - axiom_element_t *body_child = NULL; + /*axiom_element_t *body_child = NULL;*/ axiom_node_t *body_child_node = NULL; axiom_node_t *body_element_node = NULL; @@ -2505,7 +2505,7 @@ { return NULL; } - body_child = axiom_element_create_with_qname(env, NULL, + axiom_element_create_with_qname(env, NULL, axis2_op_get_qname (axis2_msg_ctx_get_op (msg_ctx, env), env), @@ -3168,12 +3168,12 @@ { if (out_msg_ctx) { - int size = 0; + /*int size = 0;*/ axutil_array_list_t *output_header_list = NULL; output_header_list = axis2_msg_ctx_get_http_output_headers(out_msg_ctx, env); if (output_header_list) { - size = axutil_array_list_size(output_header_list, env); + axutil_array_list_size(output_header_list, env); response->output_headers = output_header_list; } @@ -3204,12 +3204,12 @@ { if (out_msg_ctx) { - int size = 0; + /*int size = 0;*/ axutil_array_list_t *output_header_list = NULL; output_header_list = axis2_msg_ctx_get_http_output_headers(out_msg_ctx, env); if (output_header_list) { - size = axutil_array_list_size(output_header_list, env); + axutil_array_list_size(output_header_list, env); response->output_headers = output_header_list; } if (axis2_msg_ctx_get_no_content(out_msg_ctx, env)) --- a/src/modules/mod_addr/addr_in_handler.c +++ b/src/modules/mod_addr/addr_in_handler.c @@ -472,18 +472,18 @@ axis2_char_t *address = NULL; axutil_qname_t *rqn = NULL; axiom_attribute_t *relationship_type = NULL; - const axis2_char_t *relationship_type_default_value = NULL; + /*const axis2_char_t *relationship_type_default_value = NULL;*/ const axis2_char_t *relationship_type_value = NULL; axis2_relates_to_t *relates_to = NULL; if (!axutil_strcmp(AXIS2_WSA_NAMESPACE_SUBMISSION, addr_ns_str)) { - relationship_type_default_value = - AXIS2_WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE_SUBMISSION; + /*relationship_type_default_value = + AXIS2_WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE_SUBMISSION;*/ } else { - relationship_type_default_value = - AXIS2_WSA_ANONYMOUS_URL_SUBMISSION; + /*relationship_type_default_value = + AXIS2_WSA_ANONYMOUS_URL_SUBMISSION;*/ } rqn = axutil_qname_create(env, AXIS2_WSA_RELATES_TO_RELATIONSHIP_TYPE, @@ -594,12 +594,10 @@ (ref_param_iter, env)) { axiom_node_t *om_node = NULL; - axiom_element_t *om_ele = NULL; + /*axiom_element_t *om_ele = NULL;*/ om_node = AXIOM_CHILD_ELEMENT_ITERATOR_NEXT(ref_param_iter, env); - om_ele = - (axiom_element_t *) axiom_node_get_data_element(om_node, - env); + axiom_node_get_data_element(om_node, env); axis2_endpoint_ref_add_ref_param(endpoint_ref, env, om_node); } } --- a/test/core/clientapi/test_clientapi.c +++ b/test/core/clientapi/test_clientapi.c @@ -93,7 +93,7 @@ const axis2_char_t * echo_text) { axiom_node_t *echo_om_node = NULL; - axiom_element_t *echo_om_ele = NULL; + /*axiom_element_t *echo_om_ele = NULL;*/ axiom_node_t *text_om_node = NULL; axiom_element_t *text_om_ele = NULL; axiom_namespace_t *ns1 = NULL; @@ -101,8 +101,7 @@ ns1 = axiom_namespace_create(env, "http://ws.apache.org/axis2/c/samples", "ns1"); - echo_om_ele = - axiom_element_create(env, NULL, "echoString", ns1, &echo_om_node); + axiom_element_create(env, NULL, "echoString", ns1, &echo_om_node); text_om_ele = axiom_element_create(env, echo_om_node, "text", NULL, &text_om_node); axiom_element_set_text(text_om_ele, env, echo_text, text_om_node); --- a/test/core/deployment/test_deployment.c +++ b/test/core/deployment/test_deployment.c @@ -174,16 +174,16 @@ { axutil_dll_desc_t *dll_desc = NULL; axis2_char_t *dll_name = NULL; - axis2_transport_sender_t *transport_sender = NULL; + /*axis2_transport_sender_t *transport_sender = NULL;*/ axutil_param_t *impl_info_param = NULL; axis2_char_t *axis2c_home = NULL; - axis2_msg_ctx_t *msg_ctx = NULL; + /*axis2_msg_ctx_t *msg_ctx = NULL;*/ printf("******************************************\n"); printf("testing axis2_transport_sender load\n"); printf("******************************************\n"); - msg_ctx = (axis2_msg_ctx_t *) AXIS2_MALLOC(env->allocator, 5); + AXIS2_MALLOC(env->allocator, 5); dll_desc = axutil_dll_desc_create(env); axis2c_home = AXIS2_GETENV("AXIS2C_HOME"); @@ -194,9 +194,7 @@ impl_info_param = axutil_param_create(env, NULL, NULL); axutil_param_set_value(impl_info_param, env, dll_desc); axutil_class_loader_init(env); - transport_sender = - (axis2_transport_sender_t *) axutil_class_loader_create_dll(env, - impl_info_param); + axutil_class_loader_create_dll(env,impl_info_param); AXIS2_FREE(env->allocator, dll_name); printf("transport sender load test successful\n"); --- a/test/core/description/test_description.c +++ b/test/core/description/test_description.c @@ -142,7 +142,7 @@ struct axutil_qname *qname = NULL; struct axutil_hash_t *ops = NULL; struct axis2_op *op = NULL; - axis2_status_t status = AXIS2_SUCCESS; + /*axis2_status_t status = AXIS2_SUCCESS;*/ printf("******************************************\n"); printf("testing axis2_svc_get_op\n"); @@ -155,11 +155,11 @@ qname = axutil_qname_create(env, "svc1", NULL, NULL); svc = axis2_svc_create_with_qname(env, qname); - status = axis2_svc_add_op(svc, env, op); + axis2_svc_add_op(svc, env, op); qname = axutil_qname_create(env, "op2", NULL, NULL); op = axis2_op_create_with_qname(env, qname); - status = axis2_svc_add_op(svc, env, op); + axis2_svc_add_op(svc, env, op); ops = axis2_svc_get_all_ops(svc, env); --- a/test/core/transport/http/test_http_transport.c +++ b/test/core/transport/http/test_http_transport.c @@ -135,7 +135,7 @@ axis2_http_simple_response_t *response = NULL; int status = 0; char *body_bytes = NULL; - int body_bytes_len = 0; + /*int body_bytes_len = 0;*/ printf("Starting http_client tests\n"); request_line = axis2_http_request_line_create(env, "GET", @@ -174,8 +174,7 @@ printf("Content Length :%d\n", axis2_http_simple_response_get_content_length(response, env)); printf("Status code :%d\n", status); - body_bytes_len = - axis2_http_simple_response_get_body_bytes(response, env, &body_bytes); + axis2_http_simple_response_get_body_bytes(response, env, &body_bytes); printf("body :%s\n", body_bytes); axis2_http_client_free(client, env); @@ -201,7 +200,7 @@ axis2_http_simple_response_t *response = NULL; int status = 0; char *body_bytes = NULL; - int body_bytes_len = 0; + /*int body_bytes_len = 0;*/ printf("Starting https_client tests\n"); request_line = axis2_http_request_line_create(env, "GET", "/", "HTTP/1.0"); @@ -246,8 +245,7 @@ printf("Content Length :%d\n", axis2_http_simple_response_get_content_length(response, env)); printf("Status code :%d\n", status); - body_bytes_len = - axis2_http_simple_response_get_body_bytes(response, env, &body_bytes); + axis2_http_simple_response_get_body_bytes(response, env, &body_bytes); axis2_http_client_free(client, env); axis2_http_simple_request_free(request, env); --- a/tools/tcpmon/src/util.c +++ b/tools/tcpmon/src/util.c @@ -55,7 +55,7 @@ int c; int tab_pos = 0; int has_value = 0; - int has_space = 0; + /*int has_space = 0;*/ int start_ele = 0; int prev_case = 0; int buffer_size = 0; @@ -145,7 +145,7 @@ prev_case = START_ELEMENT; has_value = 0; - has_space = 0; + /*has_space = 0;*/ if (start_ele != 0) tcpmon_util_strcat(out, "\n", &buffer_size, env); @@ -257,7 +257,7 @@ prev_case = EMPTY_ELEMENT; has_value = 0; - has_space = 0; + /*has_space = 0;*/ if (start_ele != 0) tcpmon_util_strcat(out, "\n", &buffer_size, env); @@ -570,7 +570,7 @@ axis2_char_t *body_ptr = NULL; int header_found = 0; int header_just_finished = 0; - int read = 0; + /*int read = 0;*/ int header_width = 0; int current_line_offset = 0; int mtom_optimized = 0; @@ -590,7 +590,7 @@ buffer = AXIS2_REALLOC(env->allocator, buffer, sizeof(axis2_char_t) * (read_size + 1)); *(buffer + read_size) = '\0'; - read = axutil_stream_read(stream, env, buffer + read_size, 1); + axutil_stream_read(stream, env, buffer + read_size, 1); if (header_just_finished) { --- a/neethi/src/exactlyone.c +++ b/neethi/src/exactlyone.c @@ -150,15 +150,14 @@ { axiom_node_t *exactlyone_node = NULL; - axiom_element_t *exactlyone_ele = NULL; + /*axiom_element_t *exactlyone_ele = NULL;*/ axiom_namespace_t *policy_ns = NULL; axutil_array_list_t *components = NULL; axis2_status_t status = AXIS2_FAILURE; policy_ns = axiom_namespace_create(env, NEETHI_NAMESPACE, NEETHI_PREFIX); - exactlyone_ele = - axiom_element_create(env, parent, NEETHI_EXACTLYONE, policy_ns, + axiom_element_create(env, parent, NEETHI_EXACTLYONE, policy_ns, &exactlyone_node); if (!exactlyone_node) { --- a/axiom/test/om/test_om.c +++ b/axiom/test/om/test_om.c @@ -289,7 +289,7 @@ int status; axiom_element_t *ele1 = NULL, *ele2 = NULL, - *ele3 = NULL, + /* *ele3 = NULL, */ *ele4 = NULL; axiom_node_t *node1 = NULL, *node2 = NULL, @@ -303,10 +303,10 @@ *attr2 = NULL; axiom_namespace_t *ns1 = NULL, *ns2 = NULL; - axiom_text_t *text1 = NULL; + /*axiom_text_t *text1 = NULL;*/ axiom_output_t *om_output = NULL; axiom_xml_writer_t *writer = NULL; - axis2_char_t *output_buffer = NULL; + /*axis2_char_t *output_buffer = NULL;*/ printf("\nstart test_om_serialize\n"); @@ -322,11 +322,11 @@ axiom_element_add_attribute(ele2, environment, attr1, node2); - text1 = axiom_text_create(environment, node2, "Axis2/C OM HOWTO", &node3); + axiom_text_create(environment, node2, "Axis2/C OM HOWTO", &node3); - ele3 = axiom_element_create(environment, node1, "number", ns2, &node4); + axiom_element_create(environment, node1, "number", ns2, &node4); - text1 = axiom_text_create(environment, node4, "1748491379", &node5); + axiom_text_create(environment, node4, "1748491379", &node5); ele4 = axiom_element_create(environment, node1, "author", ns1, &node6); @@ -366,8 +366,7 @@ /* end serializing stuff */ axiom_node_free_tree(node1, environment); - output_buffer = - (axis2_char_t *) axiom_xml_writer_get_xml(writer, environment); + axiom_xml_writer_get_xml(writer, environment); axiom_output_free(om_output, environment); /* if (output_buffer) */ --- a/src/modules/mod_addr/addr_out_handler.c +++ b/src/modules/mod_addr/addr_out_handler.c @@ -204,7 +204,7 @@ */ const axis2_char_t *action = NULL; const axis2_char_t *address = NULL; - const axis2_char_t *svc_group_context_id = NULL; + /*const axis2_char_t *svc_group_context_id = NULL;*/ const axis2_char_t *message_id = NULL; axis2_relates_to_t *relates_to = NULL; axiom_node_t *relates_to_header_node = NULL; @@ -409,8 +409,7 @@ } /* add the service group id as a reference parameter */ - svc_group_context_id = - axutil_string_get_buffer(axis2_msg_ctx_get_svc_grp_ctx_id + axutil_string_get_buffer(axis2_msg_ctx_get_svc_grp_ctx_id (msg_ctx, env), env); axis2_addr_out_handler_add_to_soap_header(env, epr_reply_to, @@ -637,7 +636,7 @@ axutil_array_list_t *meta_data_list = NULL; axutil_array_list_t *extension_list = NULL; axiom_node_t *header_block_node = NULL; - axiom_node_t *header_node = NULL; + /*axiom_node_t *header_node = NULL;*/ axiom_namespace_t *addr_ns_obj = NULL; int size = 0; @@ -645,7 +644,7 @@ AXIS2_PARAM_CHECK(env->error, type, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, soap_header, AXIS2_FAILURE); - header_node = axiom_soap_header_get_base_node(soap_header, env); + axiom_soap_header_get_base_node(soap_header, env); addr_ns_obj = axiom_namespace_create(env, addr_ns, AXIS2_WSA_DEFAULT_PREFIX); @@ -662,11 +661,11 @@ if (address && *address) { axiom_node_t *hb_node = NULL; - axiom_element_t *hb_ele = NULL; + /*axiom_element_t *hb_ele = NULL;*/ axiom_node_t *address_node = NULL; axiom_element_t *address_ele = NULL; hb_node = axiom_soap_header_block_get_base_node(header_block, env); - hb_ele = (axiom_element_t *) axiom_node_get_data_element(hb_node, env); + axiom_node_get_data_element(hb_node, env); addr_ns_obj = axiom_namespace_create(env, addr_ns, AXIS2_WSA_DEFAULT_PREFIX); @@ -676,9 +675,9 @@ &address_node); if (address_ele) { - axiom_namespace_t *dec_ns = NULL; + /*axiom_namespace_t *dec_ns = NULL;*/ axiom_element_set_text(address_ele, env, address, address_node); - dec_ns = axiom_element_find_declared_namespace(address_ele, env, + axiom_element_find_declared_namespace(address_ele, env, addr_ns, AXIS2_WSA_DEFAULT_PREFIX); } @@ -820,7 +819,7 @@ axiom_node_t *interface_node = NULL; axiom_element_t *interface_ele = NULL; const axis2_char_t *element_localname = NULL; - axis2_svc_name_t *service_name = NULL; + /*axis2_svc_name_t *service_name = NULL;*/ axiom_namespace_t *addr_ns_obj = NULL; AXIS2_PARAM_CHECK(env->error, epr, AXIS2_FAILURE); @@ -877,7 +876,7 @@ } - service_name = axis2_endpoint_ref_get_svc_name(epr, env); + axis2_endpoint_ref_get_svc_name(epr, env); return AXIS2_SUCCESS; } @@ -918,12 +917,11 @@ if (!axutil_strcmp(AXIS2_WSA_NAMESPACE, addr_ns)) { axiom_namespace_t *addr_ns_obj = NULL; - axiom_attribute_t *att = NULL; + /*axiom_attribute_t *att = NULL;*/ addr_ns_obj = axiom_namespace_create(env, addr_ns, AXIS2_WSA_DEFAULT_PREFIX); - att = - axiom_attribute_create(env, + axiom_attribute_create(env, AXIS2_WSA_IS_REFERENCE_PARAMETER_ATTRIBUTE, AXIS2_WSA_TYPE_ATTRIBUTE_VALUE, addr_ns_obj); --- a/util/src/network_handler.c +++ b/util/src/network_handler.c @@ -193,7 +193,7 @@ const axutil_env_t *env, axis2_socket_t socket) { - int i = 0; + /*int i = 0;*/ char buf[32]; AXIS2_ENV_CHECK(env, AXIS2_CRITICAL_FAILURE); if (socket < 0) @@ -203,7 +203,7 @@ } shutdown(socket, AXIS2_SHUT_WR); axutil_network_handler_set_sock_option(env, socket, SO_RCVTIMEO, 1); - i = recv(socket, buf, 32, 0); + recv(socket, buf, 32, 0); AXIS2_CLOSE_SOCKET(socket); return AXIS2_SUCCESS; } --- a/axiom/src/parser/libxml2/libxml2_writer_wrapper.c +++ b/axiom/src/parser/libxml2/libxml2_writer_wrapper.c @@ -1201,9 +1201,7 @@ const axutil_env_t * env, axis2_char_t * uri) { - axis2_libxml2_writer_wrapper_impl_t *writer_impl = NULL; AXIS2_PARAM_CHECK(env->error, uri, NULL); - writer_impl = AXIS2_INTF_TO_IMPL(writer); if (!uri || axutil_strcmp(uri, "") == 0) { return NULL; @@ -1218,15 +1216,12 @@ axis2_char_t * prefix, axis2_char_t * uri) { - axis2_libxml2_writer_wrapper_impl_t *writer_impl = NULL; - axis2_bool_t is_declared = AXIS2_FALSE; axis2_char_t key[1024]; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, prefix, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, uri, AXIS2_FAILURE); - writer_impl = AXIS2_INTF_TO_IMPL(writer); if (axutil_strcmp(uri, "") == 0) { return AXIS2_FAILURE; @@ -1273,10 +1268,8 @@ axis2_char_t * text, int in_attr) { - axis2_libxml2_writer_wrapper_impl_t *writer_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, text, AXIS2_FAILURE); - writer_impl = AXIS2_INTF_TO_IMPL(writer); return AXIS2_FAILURE; } @@ -1289,8 +1282,6 @@ writer_impl = AXIS2_INTF_TO_IMPL(writer); if (writer_impl->writer_type == AXIS2_XML_PARSER_TYPE_BUFFER) { - int output_bytes = 0; - output_bytes = xmlTextWriterFlush(writer_impl->xml_writer); return writer_impl->buffer->content; } else if (writer_impl->writer_type == AXIS2_XML_PARSER_TYPE_DOC) debian/control0000644000000000000000000001501112171334266010574 0ustar Source: axis2c Section: libs Priority: optional Maintainer: Brian Thomason Build-Depends: cdbs, debhelper (>= 7), autotools-dev, libapr1-dev, dh-apache2, apache2-dev, zlib1g-dev, libssl-dev, quilt Standards-Version: 3.9.4 Homepage: http://ws.apache.org/axis2/c/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-eucalyptus/axis2c/trunk/ Vcs-Svn: svn://svn.debian.org/pkg-eucalyptus/axis2c/trunk/ Package: libaxis2c0 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Apache web services engine - Runtime Apache Axis2/C is a Web services engine implemented in the C programming language. It is based on the extensible and flexible Axis2 architecture. Apache Axis2/C can be used to provide and consume WebServices. It has been implemented with portability and ability to embed in mind, hence could be used as a Web services enabler in other software. . Apache Axis2/C supports SOAP 1.1 and SOAP 1.2, as well as REST style of Webservices. A single service could be exposed both as a SOAP style as well as a REST style service simultaneously. It also has built in MTOM support, that can be used to exchange binary data. . Apache Axis2/C is efficient, modular and is designed with extensibility. The extensible design allows it to support the full WS-* stack with the concept of modules. Apache Axis2/C is the Web services engine that supports the most number of WS-* specification implementations in C, with guaranteed interoperability. This enables using C in Service Oriented Architecture (SOA) implementations, and would be very useful when integrating legacy systems into SOA. Package: libaxis2c-dev Architecture: any Depends: libaxis2c0 (= ${binary:Version}), libapr1-dev, ${shlibs:Depends}, ${misc:Depends} Section: libdevel Description: Apache web services engine - Development Apache Axis2/C is a Web services engine implemented in the C programming language. It is based on the extensible and flexible Axis2 architecture. Apache Axis2/C can be used to provide and consume WebServices. It has been implemented with portability and ability to embed in mind, hence could be used as a Web services enabler in other software. . Apache Axis2/C supports SOAP 1.1 and SOAP 1.2, as well as REST style of Webservices. A single service could be exposed both as a SOAP style as well as a REST style service simultaneously. It also has built in MTOM support, that can be used to exchange binary data. . Apache Axis2/C is efficient, modular and is designed with extensibility. The extensible design allows it to support the full WS-* stack with the concept of modules. Apache Axis2/C is the Web services engine that supports the most number of WS-* specification implementations in C, with guaranteed interoperability. This enables using C in Service Oriented Architecture (SOA) implementations, and would be very useful when integrating legacy systems into SOA. Package: libaxis2c-bin Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Apache web services engine - Misc. binaries Apache Axis2/C is a Web services engine implemented in the C programming language. It is based on the extensible and flexible Axis2 architecture. Apache Axis2/C can be used to provide and consume WebServices. It has been implemented with portability and ability to embed in mind, hence could be used as a Web services enabler in other software. . Apache Axis2/C supports SOAP 1.1 and SOAP 1.2, as well as REST style of Webservices. A single service could be exposed both as a SOAP style as well as a REST style service simultaneously. It also has built in MTOM support, that can be used to exchange binary data. . Apache Axis2/C is efficient, modular and is designed with extensibility. The extensible design allows it to support the full WS-* stack with the concept of modules. Apache Axis2/C is the Web services engine that supports the most number of WS-* specification implementations in C, with guaranteed interoperability. This enables using C in Service Oriented Architecture (SOA) implementations, and would be very useful when integrating legacy systems into SOA. Package: libaxis2c-doc Architecture: all Section: doc Depends: ${misc:Depends} Description: Apache web services engine - Documentation Apache Axis2/C is a Web services engine implemented in the C programming language. It is based on the extensible and flexible Axis2 architecture. Apache Axis2/C can be used to provide and consume WebServices. It has been implemented with portability and ability to embed in mind, hence could be used as a Web services enabler in other software. . Apache Axis2/C supports SOAP 1.1 and SOAP 1.2, as well as REST style of Webservices. A single service could be exposed both as a SOAP style as well as a REST style service simultaneously. It also has built in MTOM support, that can be used to exchange binary data. . Apache Axis2/C is efficient, modular and is designed with extensibility. The extensible design allows it to support the full WS-* stack with the concept of modules. Apache Axis2/C is the Web services engine that supports the most number of WS-* specification implementations in C, with guaranteed interoperability. This enables using C in Service Oriented Architecture (SOA) implementations, and would be very useful when integrating legacy systems into SOA. Package: libapache2-mod-axis2c Architecture: any Section: web Depends: ${shlibs:Depends}, ${misc:Depends} Description: Apache web services engine - apache module Apache Axis2/C is a Web services engine implemented in the C programming language. It is based on the extensible and flexible Axis2 architecture. Apache Axis2/C can be used to provide and consume WebServices. It has been implemented with portability and ability to embed in mind, hence could be used as a Web services enabler in other software. . Apache Axis2/C supports SOAP 1.1 and SOAP 1.2, as well as REST style of Webservices. A single service could be exposed both as a SOAP style as well as a REST style service simultaneously. It also has built in MTOM support, that can be used to exchange binary data. . Apache Axis2/C is efficient, modular and is designed with extensibility. The extensible design allows it to support the full WS-* stack with the concept of modules. Apache Axis2/C is the Web services engine that supports the most number of WS-* specification implementations in C, with guaranteed interoperability. This enables using C in Service Oriented Architecture (SOA) implementations, and would be very useful when integrating legacy systems into SOA. debian/source/0000755000000000000000000000000011736420515010472 5ustar debian/source/format0000644000000000000000000000001411732374121011675 0ustar 3.0 (quilt)