--- rampart-1.3.0.orig/debian/copyright +++ rampart-1.3.0/debian/copyright @@ -0,0 +1,58 @@ +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. --- rampart-1.3.0.orig/debian/librampart-dev.install +++ rampart-1.3.0/debian/librampart-dev.install @@ -0,0 +1,3 @@ +usr/lib/axis2/lib/*.so +usr/lib/axis2/include/* usr/include +#usr/lib/axis2/lib/include/* usr/include --- rampart-1.3.0.orig/debian/changelog +++ rampart-1.3.0/debian/changelog @@ -0,0 +1,41 @@ +rampart (1.3.0-0ubuntu5) karmic; urgency=low + + * Depend on newer libaxis2c0 so that /usr/lib/axis2/lib is no longer a + symlink and upgrade from 1.2 is handled in the right order (LP: #426752) + + -- Thierry Carrez Mon, 12 Oct 2009 11:17:02 +0200 + +rampart (1.3.0-0ubuntu4) karmic; urgency=low + + * Also add file symlinks to the axis2 include dir. + + -- Soren Hansen Fri, 11 Sep 2009 00:02:53 +0200 + +rampart (1.3.0-0ubuntu3) karmic; urgency=low + + * Fixed problem where null check was being made but checked variable + was being referenced later, causing a segfault. + + -- Daniel Nurmi Thu, 03 Sep 2009 12:39:37 -0700 + +rampart (1.3.0-0ubuntu2) karmic; urgency=low + + * Consolidate patches (a.k.a. only apply each change once, a.k.a. + don't break the build). + * Use quilt. + + -- Soren Hansen Fri, 28 Aug 2009 23:09:01 +0000 + +rampart (1.3.0-0ubuntu1) karmic; urgency=low + + * New upstream release (FFe: LP: #420644) + * Add symlinks to please projects that expect the native Axis2/C+Rampart + directory layout (we've made it more FHS friendly in Ubuntu). + + -- Soren Hansen Wed, 19 Aug 2009 16:26:34 +0000 + +rampart (1.2.0-0ubuntu1) jaunty; urgency=low + + * Initial release. Big thanks to Michael Vogt for helping with this! + + -- Soren Hansen Wed, 11 Feb 2009 02:41:39 +0200 --- rampart-1.3.0.orig/debian/compat +++ rampart-1.3.0/debian/compat @@ -0,0 +1 @@ +7 --- rampart-1.3.0.orig/debian/rules +++ rampart-1.3.0/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/class/autotools.mk + +export AXIS2C_HOME=/usr/lib/axis2 +DEB_CONFIGURE_EXTRA_FLAGS := --with-openssl --with-axis2 --prefix=/usr/lib/axis2 + +binary-install/librampart-dev:: + mkdir -p debian/$(cdbs_curpkg)/usr/include/axis2-1.6.0 + mkdir -p debian/$(cdbs_curpkg)/usr/lib/axis2/include/axis2-1.6.0 + cd debian/$(cdbs_curpkg)/usr/lib/axis2/include/axis2-1.6.0 ; for x in ../../../../include/rampart-1.3.0/*; do ln -s $$x; done + cd debian/$(cdbs_curpkg)/usr/include/axis2-1.6.0; for x in ../rampart-1.3.0/*; do ln -s $$x; done + cd debian/$(cdbs_curpkg)/usr/lib/axis2/lib ; for x in ../modules/rampart/libmod_rampart.so; do ln -s $$x; done + +binary-install/librampart0:: + cd debian/$(cdbs_curpkg)/usr/lib/axis2/lib ; for x in ../modules/rampart/libmod_rampart.so.*; do ln -s $$x; done + +clean:: + find test -name Makefile -print0 | xargs -0 rm || /bin/true --- rampart-1.3.0.orig/debian/watch +++ rampart-1.3.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://archive.apache.org/dist/ws/rampart/c/([\d_]+)/rampartc-src-([\d\.]+)\.tar\.gz \ No newline at end of file --- rampart-1.3.0.orig/debian/control +++ rampart-1.3.0/debian/control @@ -0,0 +1,47 @@ +Source: rampart +Section: libs +Priority: extra +Maintainer: Michael Vogt +Build-Depends: cdbs, debhelper (>= 7), autotools-dev, libxml2-dev, libapr1-dev, apache2-threaded-dev, libaxis2c-dev, quilt +Standards-Version: 3.8.0 +Homepage: http://ws.apache.org/rampart/c/ + +Package: librampart0 +Architecture: any +Depends: libaxis2c0 (>= 1.6.0-0ubuntu7), ${shlibs:Depends} +Description: Apache web services security engine - Runtime + Apache Rampart/C is the security module for Apache Axis2/C. It + features in many ways to protect SOAP messages exchanged. This + includes SOAP message encryption and signature as specified in + WS-Security Specification. In addition Apache Rampart/C + configurations are based on security policy assertions as per + WS-Security Policy specificatoin + . + This package contains the runtime library files. + +Package: librampart-dev +Architecture: any +Section: libdevel +Depends: librampart0 (= ${binary:Version}) +Description: Apache web services security engine - Development + Apache Rampart/C is the security module for Apache Axis2/C. It + features in many ways to protect SOAP messages exchanged. This + includes SOAP message encryption and signature as specified in + WS-Security Specification. In addition Apache Rampart/C + configurations are based on security policy assertions as per + WS-Security Policy specificatoin + . + This package contains the development files. + +Package: librampart-doc +Architecture: any +Section: doc +Description: Apache web services security engine - Documentation + Apache Rampart/C is the security module for Apache Axis2/C. It + features in many ways to protect SOAP messages exchanged. This + includes SOAP message encryption and signature as specified in + WS-Security Specification. In addition Apache Rampart/C + configurations are based on security policy assertions as per + WS-Security Policy specificatoin + . + This package contains the documentation files. --- rampart-1.3.0.orig/debian/librampart-doc.docs +++ rampart-1.3.0/debian/librampart-doc.docs @@ -0,0 +1 @@ +debian/tmp/usr/lib/axis2/docs --- rampart-1.3.0.orig/debian/librampart0.install +++ rampart-1.3.0/debian/librampart0.install @@ -0,0 +1,2 @@ +usr/lib/axis2/lib/*.so.* +usr/lib/axis2/modules --- rampart-1.3.0.orig/debian/patches/01-destdir.patch +++ rampart-1.3.0/debian/patches/01-destdir.patch @@ -0,0 +1,20 @@ +--- rampart-1.3.0.orig/src/rahas/Makefile.am ++++ rampart-1.3.0/src/rahas/Makefile.am +@@ -24,5 +24,5 @@ + @AXIOMINC@ + + install-data-hook: +- mv $(prefix)/modules/rahas/rahas_module.xml $(prefix)/modules/rahas/module.xml ++ mv $(DESTDIR)$(prefix)/modules/rahas/rahas_module.xml $(DESTDIR)$(prefix)/modules/rahas/module.xml + +--- rampart-1.3.0.orig/src/rahas/Makefile.in ++++ rampart-1.3.0/src/rahas/Makefile.in +@@ -592,7 +592,7 @@ + + + install-data-hook: +- mv $(prefix)/modules/rahas/rahas_module.xml $(prefix)/modules/rahas/module.xml ++ mv $(DESTDIR)$(prefix)/modules/rahas/rahas_module.xml $(DESTDIR)$(prefix)/modules/rahas/module.xml + # 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: --- rampart-1.3.0.orig/debian/patches/token-processor-segfault.patch +++ rampart-1.3.0/debian/patches/token-processor-segfault.patch @@ -0,0 +1,22 @@ +Index: rampart-1.3.0/src/util/rampart_token_processor.c +=================================================================== +--- rampart-1.3.0.orig/src/util/rampart_token_processor.c 2009-09-03 15:26:00.443799473 -0500 ++++ rampart-1.3.0/src/util/rampart_token_processor.c 2009-09-03 15:26:05.863778753 -0500 +@@ -113,6 +113,8 @@ + if(_cert) + { + status = AXIS2_SUCCESS; ++ oxs_x509_cert_copy_to(_cert, env, cert); ++ oxs_x509_cert_free(_cert, env); + } + else + { +@@ -121,8 +123,6 @@ + status = AXIS2_FAILURE; + } + +- oxs_x509_cert_copy_to(_cert, env, cert); +- oxs_x509_cert_free(_cert, env); + _cert = NULL; + + return status; --- rampart-1.3.0.orig/debian/patches/02-autoconf-quoting.patch +++ rampart-1.3.0/debian/patches/02-autoconf-quoting.patch @@ -0,0 +1,26 @@ +--- rampart-1.3.0.orig/configure.ac ++++ rampart-1.3.0/configure.ac +@@ -80,8 +80,8 @@ + if test -d $withval; then + axis2inc="-I$withval" + dnl else find the axis2inc include dir in $(AXIS2C_HOME)/include +- elif test -d '$(AXIS2C_HOME)/include/axis2-1.6.0'; then +- axis2inc="-I$(AXIS2C_HOME)/include/axis2-1.6.0" ++ elif test -d "${AXIS2C_HOME}/include/axis2-1.6.0"; then ++ axis2inc='-I$(AXIS2C_HOME)/include/axis2-1.6.0' + else + AC_MSG_ERROR(could not find axis2inc. stop) + fi +--- rampart-1.3.0.orig/configure ++++ rampart-1.3.0/configure +@@ -20495,8 +20495,8 @@ + echo "${ECHO_T}$withval" >&6; } + if test -d $withval; then + axis2inc="-I$withval" +- elif test -d '$(AXIS2C_HOME)/include/axis2-1.6.0'; then +- axis2inc="-I$(AXIS2C_HOME)/include/axis2-1.6.0" ++ elif test -d "${AXIS2C_HOME}/include/axis2-1.6.0"; then ++ axis2inc='-I$(AXIS2C_HOME)/include/axis2-1.6.0' + else + { { echo "$as_me:$LINENO: error: could not find axis2inc. stop" >&5 + echo "$as_me: error: could not find axis2inc. stop" >&2;} --- rampart-1.3.0.orig/debian/patches/series +++ rampart-1.3.0/debian/patches/series @@ -0,0 +1,3 @@ +01-destdir.patch +02-autoconf-quoting.patch +token-processor-segfault.patch