--- axis2c-1.5.0.orig/samples/server/axis2.xml +++ axis2c-1.5.0/samples/server/axis2.xml @@ -108,7 +108,7 @@ - + --- axis2c-1.5.0.orig/debian/axis2.conf +++ axis2c-1.5.0/debian/axis2.conf @@ -0,0 +1,4 @@ + + Axis2RepoPath /usr/lib/axis2 + Axis2LogFile /var/log/axis2.log + --- axis2c-1.5.0.orig/debian/axis2.load +++ axis2c-1.5.0/debian/axis2.load @@ -0,0 +1 @@ +LoadModule axis2_module /usr/lib/apache2/modules/mod_axis2.so \ No newline at end of file --- axis2c-1.5.0.orig/debian/changelog +++ axis2c-1.5.0/debian/changelog @@ -0,0 +1,13 @@ +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 libaxis2c 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 --- axis2c-1.5.0.orig/debian/compat +++ axis2c-1.5.0/debian/compat @@ -0,0 +1 @@ +7 --- axis2c-1.5.0.orig/debian/control +++ axis2c-1.5.0/debian/control @@ -0,0 +1,129 @@ +Source: axis2c +Section: libs +Priority: extra +Maintainer: Soren Hansen +Build-Depends: cdbs, debhelper (>= 7), autotools-dev, libxml2-dev, libapr1-dev, apache2-threaded-dev +Standards-Version: 3.8.0 +Homepage: http://ws.apache.org/axis2/c/ + +Package: libaxis2c0 +Architecture: any +Depends: ${shlibs: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}), libxml2-dev, libapr1-dev +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} +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 +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: apache2.2-common, ${shlibs: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. --- axis2c-1.5.0.orig/debian/copyright +++ axis2c-1.5.0/debian/copyright @@ -0,0 +1,57 @@ +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_5_0/ + +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 licensed under the GPL, see `/usr/share/common-licenses/GPL'. + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. --- axis2c-1.5.0.orig/debian/libapache2-mod-axis2c.dirs +++ axis2c-1.5.0/debian/libapache2-mod-axis2c.dirs @@ -0,0 +1 @@ +usr/lib/apache2/modules \ No newline at end of file --- axis2c-1.5.0.orig/debian/libapache2-mod-axis2c.install +++ axis2c-1.5.0/debian/libapache2-mod-axis2c.install @@ -0,0 +1 @@ +usr/lib/apache2/modules/ \ No newline at end of file --- axis2c-1.5.0.orig/debian/libaxis2c-bin.links +++ axis2c-1.5.0/debian/libaxis2c-bin.links @@ -0,0 +1 @@ +etc/axis2.xml usr/lib/axis2/axis2.xml \ No newline at end of file --- axis2c-1.5.0.orig/debian/libaxis2c-dev.install +++ axis2c-1.5.0/debian/libaxis2c-dev.install @@ -0,0 +1,6 @@ +usr/lib/libaxis*.so +usr/lib/libguththila*.so +usr/lib/libaxutil*.so +usr/lib/libneethi*.so +usr/lib/pkgconfig +usr/include --- axis2c-1.5.0.orig/debian/libaxis2c-doc.docs +++ axis2c-1.5.0/debian/libaxis2c-doc.docs @@ -0,0 +1 @@ +debian/tmp/usr/docs/ --- axis2c-1.5.0.orig/debian/libaxis2c0.links +++ axis2c-1.5.0/debian/libaxis2c0.links @@ -0,0 +1 @@ +usr/lib usr/lib/axis2/lib --- axis2c-1.5.0.orig/debian/watch +++ axis2c-1.5.0/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://archive.apache.org/dist/ws/axis2/c/([\d_]+)/axis2c-src-([\d\.]+)\.tar\.gz \ No newline at end of file --- axis2c-1.5.0.orig/debian/rules +++ axis2c-1.5.0/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_CONFIGURE_EXTRA_FLAGS := --with-apache2=/usr/include/apache2 --with-apr=/usr/include/apr-1.0 --enable-openssl + +install/libaxis2c0:: + mkdir -p debian/tmp/usr/lib/axis2 + cp -ar debian/tmp/usr/modules debian/tmp/usr/lib/axis2 + cd debian/tmp/usr/lib/ ; for a in libaxis*.0; do ln -s $$a `basename $$a .0`; done + +install/libaxis2c-dev:: + mv debian/tmp/usr/include/axis2-1.5.0 debian/tmp/usr/include/axis2 + mv debian/tmp/usr/bin/tools/wsdl2c/WSDL2C.sh debian/libaxis2c-dev/usr/lib/axis2/WSDL2C.sh + +install/libapache2-mod-axis2c:: + mkdir -p debian/tmp/usr/lib/apache2/modules + cp debian/tmp/usr/lib/libmod_axis2.so.0.5.0 debian/tmp/usr/lib/apache2/modules/libmod_axis2.so + +clean:: + find . -name .deps -print0 | xargs -0 rm -r || /bin/true + find . -name Makefile -print0 | xargs -0 rm || /bin/true + --- axis2c-1.5.0.orig/debian/libaxis2c-dev.dirs +++ axis2c-1.5.0/debian/libaxis2c-dev.dirs @@ -0,0 +1 @@ +usr/lib/axis2/include --- axis2c-1.5.0.orig/debian/libaxis2c-bin.install +++ axis2c-1.5.0/debian/libaxis2c-bin.install @@ -0,0 +1 @@ +usr/bin/axis2_http_server --- axis2c-1.5.0.orig/debian/libaxis2c-dev.links +++ axis2c-1.5.0/debian/libaxis2c-dev.links @@ -0,0 +1 @@ +usr/include/axis2 usr/lib/axis2/include/axis2 --- axis2c-1.5.0.orig/debian/libaxis2c0.install +++ axis2c-1.5.0/debian/libaxis2c0.install @@ -0,0 +1,6 @@ +usr/lib/libaxis*.so.* +usr/lib/libguththila*.so.* +usr/lib/libaxutil*.so.* +usr/lib/libneethi*.so.* +usr/lib/axis2 +usr/axis2.xml etc/ --- axis2c-1.5.0.orig/debian/patches/01_util_Werror.patch +++ axis2c-1.5.0/debian/patches/01_util_Werror.patch @@ -0,0 +1,38 @@ +--- axis2c-1.5.0.orig/util/src/dir_handler.c ++++ axis2c-1.5.0/util/src/dir_handler.c +@@ -190,6 +190,7 @@ + int i = 0; + struct dirent **files = NULL; + char cwd[500]; ++ int dummy; + + /**FIXME: + * This magic number 500 was selected as a temperary solution. It has to be +@@ -204,13 +205,13 @@ + exit(1); + + /* pathname is path of services directory or modules directory. */ +- AXIS2_CHDIR(pathname); ++ dummy = AXIS2_CHDIR(pathname); + #ifdef AXIS2_ARCHIVE_ENABLED + axis2_archive_extract(); + #endif + + count = AXIS2_SCANDIR(pathname, &files, dir_select, AXIS2_ALPHASORT); +- AXIS2_CHDIR(cwd); ++ dummy = AXIS2_CHDIR(cwd); + + /* If no files found, make a non-selectable menu item */ + if (count <= 0) +--- axis2c-1.5.0.orig/tools/tcpmon/src/tcpmon.c ++++ axis2c-1.5.0/tools/tcpmon/src/tcpmon.c +@@ -655,7 +655,8 @@ + seek_len = (int)(tmp2 - buffer) + offset - read_len; + if (seek_len > 0) + { +- fread(buffer, sizeof(char), seek_len, file); ++ int dummy; ++ dummy = fread(buffer, sizeof(char), seek_len, file); + } + seek_len = 0; + } --- axis2c-1.5.0.orig/debian/patches/02_fix_doc_dir.patch +++ axis2c-1.5.0/debian/patches/02_fix_doc_dir.patch @@ -0,0 +1,29 @@ +--- 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: