--- opensaml-1.1a.orig/debian/patches/stable-fixes +++ opensaml-1.1a/debian/patches/stable-fixes @@ -0,0 +1,231 @@ +Various patches from the stable branch in upstream CVS, pulled from the +source RPM distributed upstream. Primarily this lets OpenSAML build +properly with g++ 4.1. + +Index: opensaml/saml/Iterator.cpp +=================================================================== +--- opensaml.orig/saml/Iterator.cpp 2006-05-17 16:02:15.000000000 -0700 ++++ opensaml/saml/Iterator.cpp 2006-09-19 10:22:45.000000000 -0700 +@@ -30,8 +30,6 @@ + #endif + #include "internal.h" + +-using namespace saml; +- + #define SIMPLECLONE(T) \ + template<> SAML_EXPORTS std::vector Iterator::clone() const { return m_vector; } + +@@ -44,6 +42,8 @@ using namespace saml; + return copy; \ + } \ + ++namespace saml { ++ + #ifdef HAVE_GOOD_STL + SIMPLECLONE(xstring) + #endif +@@ -58,3 +58,5 @@ SAMLCLONE(SAMLAssertion*) + SAMLCLONE(SAMLCondition*) + SAMLCLONE(SAMLAuthorityBinding*) + SAMLCLONE(SAMLAction*) ++ ++}; +Index: opensaml/saml/SAMLAction.cpp +=================================================================== +--- opensaml.orig/saml/SAMLAction.cpp 2006-05-17 16:02:15.000000000 -0700 ++++ opensaml/saml/SAMLAction.cpp 2006-09-19 10:22:45.000000000 -0700 +@@ -35,13 +35,13 @@ SAMLAction::SAMLAction(const XMLCh* data + RTTI(SAMLAction); + } + +-SAMLAction::SAMLAction(DOMElement* e) : m_data(NULL), m_namespace(NULL) ++SAMLAction::SAMLAction(DOMElement* e) : m_namespace(NULL), m_data(NULL) + { + RTTI(SAMLAction); + fromDOM(e); + } + +-SAMLAction::SAMLAction(std::istream& in) : SAMLObject(in), m_data(NULL), m_namespace(NULL) ++SAMLAction::SAMLAction(std::istream& in) : SAMLObject(in), m_namespace(NULL), m_data(NULL) + { + RTTI(SAMLAction); + fromDOM(m_document->getDocumentElement()); +Index: opensaml/saml/SAMLArtifact.cpp +=================================================================== +--- opensaml.orig/saml/SAMLArtifact.cpp 2006-05-17 16:02:15.000000000 -0700 ++++ opensaml/saml/SAMLArtifact.cpp 2006-09-19 10:22:45.000000000 -0700 +@@ -107,8 +107,8 @@ string SAMLArtifact::encode() const + return string(); + } + +-const int SAMLArtifactType0001::SOURCEID_LENGTH = 20; +-const int SAMLArtifactType0001::HANDLE_LENGTH = 20; ++const unsigned int SAMLArtifactType0001::SOURCEID_LENGTH = 20; ++const unsigned int SAMLArtifactType0001::HANDLE_LENGTH = 20; + + string SAMLArtifactType0001::generateSourceId(const char* s) + { +@@ -119,7 +119,7 @@ string SAMLArtifactType0001::generateSou + hasher->hash(reinterpret_cast(dup.get()),strlen(dup.get())); + if (hasher->finish(buf,SOURCEID_LENGTH)==SOURCEID_LENGTH) { + string ret; +- for (int i=0; i& bindings +- ) : SAMLSubjectStatement(subject), m_authMethod(XML::assign(authMethod)), +- m_subjectIP(XML::assign(subjectIP)), m_subjectDNS(XML::assign(subjectDNS)) ++ ) : SAMLSubjectStatement(subject), m_subjectIP(XML::assign(subjectIP)), m_subjectDNS(XML::assign(subjectDNS)), ++ m_authMethod(XML::assign(authMethod)), m_authInstant(NULL) + { + RTTI(SAMLAuthenticationStatement); + if (authInstant) { +@@ -101,7 +101,7 @@ void SAMLAuthenticationStatement::fromDO + m_authInstant=new SAMLDateTime(e->getAttributeNS(NULL,L(AuthenticationInstant))); + m_authInstant->parseDateTime(); + +- DOMElement* n=XML::getNextSiblingElement(m_subject->toDOM()); ++ DOMElement* n=XML::getNextSiblingElement(m_subject->toDOM(NULL,false)); + if (n && XML::isElementNamed(n,XML::SAML_NS,L(SubjectLocality))) { + m_subjectIP=const_cast(n->getAttributeNS(NULL,L(IPAddress))); + m_subjectDNS=const_cast(n->getAttributeNS(NULL,L(DNSAddress))); +Index: opensaml/saml/SAMLException.cpp +=================================================================== +--- opensaml.orig/saml/SAMLException.cpp 2006-05-17 16:02:15.000000000 -0700 ++++ opensaml/saml/SAMLException.cpp 2006-09-19 10:22:45.000000000 -0700 +@@ -227,7 +227,7 @@ SAMLException::SAMLException(HRESULT cod + } + + SAMLException::SAMLException(const SAMLException& src) +- : m_hr(src.m_hr), m_msg(src.m_msg), m_processedmsg(src.m_processedmsg), m_codes(src.m_codes), m_params(src.m_params), ++ : m_hr(src.m_hr), m_codes(src.m_codes), m_params(src.m_params), m_msg(src.m_msg), m_processedmsg(src.m_processedmsg), + m_detail(NULL), m_scratch(NULL) + { + m_classname=src.m_classname; +@@ -552,7 +552,7 @@ DOMNode* SAMLException::toDOM(DOMDocumen + m_detail->removeChild(hr); + if (m_hr!=E_FAIL) { + char hexbuf[16]; +- sprintf(hexbuf,"0x%.8X",m_hr); ++ sprintf(hexbuf,"0x%.8lX",m_hr); + hexbuf[10]=0; + auto_ptr_XMLCh hexstr(hexbuf); + hr=doc->createElementNS(XML::OPENSAML_NS,L_QNAME(opensaml,Code)); +Index: opensaml/saml/SAMLResponse.cpp +=================================================================== +--- opensaml.orig/saml/SAMLResponse.cpp 2006-05-17 16:02:15.000000000 -0700 ++++ opensaml/saml/SAMLResponse.cpp 2006-09-19 10:22:45.000000000 -0700 +@@ -302,7 +302,10 @@ DOMNode* SAMLResponse::toDOM(DOMDocument + DOMElement* status=doc->createElementNS(XML::SAMLP_NS,L(Status)); + r->appendChild(status); + DOMElement* code=doc->createElementNS(XML::SAMLP_NS,L(StatusCode)); +- code->setAttributeNS(NULL,L(Value),L(Success)); ++ static const XMLCh samlp_Success[]= ++ { chLatin_s, chLatin_a, chLatin_m, chLatin_l, chLatin_p, chColon, ++ chLatin_S, chLatin_u, chLatin_c, chLatin_c, chLatin_e, chLatin_s, chLatin_s, chNull }; ++ code->setAttributeNS(NULL,L(Value),samlp_Success); + status->appendChild(code); + } + +Index: opensaml/saml/SAMLSOAPHTTPBinding.cpp +=================================================================== +--- opensaml.orig/saml/SAMLSOAPHTTPBinding.cpp 2006-05-17 16:02:15.000000000 -0700 ++++ opensaml/saml/SAMLSOAPHTTPBinding.cpp 2006-09-19 10:22:45.000000000 -0700 +@@ -129,7 +129,7 @@ int curl_debug_hook(CURL* handle, curl_i + // *ptr is actually a logging object + if (!ptr) return 0; + CategoryStream log=reinterpret_cast(ptr)->debugStream(); +- for (char* ch=data; len && isprint(*ch); len--) ++ for (char* ch=data; len && (isprint(*ch) || isspace(*ch)); len--) + log << *ch++; + log << CategoryStream::ENDLINE; + return 0; +Index: opensaml/saml/internal.h +=================================================================== +--- opensaml.orig/saml/internal.h 2006-05-17 16:02:15.000000000 -0700 ++++ opensaml/saml/internal.h 2006-09-19 10:22:45.000000000 -0700 +@@ -60,8 +60,8 @@ namespace saml + class SAMLInternalConfig : public SAMLConfig + { + public: +- SAMLInternalConfig() : m_pool(NULL), m_compat_pool(NULL), m_lock(NULL), m_log(NULL), +- wide_schema_dir(NULL), wide_inclusive_namespace_prefixes(NULL) {} ++ SAMLInternalConfig() : wide_schema_dir(NULL), wide_inclusive_namespace_prefixes(NULL), ++ m_lock(NULL), m_pool(NULL), m_compat_pool(NULL), m_log(NULL), m_xsec(NULL) {} + + // global per-process setup and shutdown of runtime + bool init(); +Index: opensaml/saml/saml.h +=================================================================== +--- opensaml.orig/saml/saml.h 2006-05-17 16:02:15.000000000 -0700 ++++ opensaml/saml/saml.h 2006-09-19 10:22:45.000000000 -0700 +@@ -603,8 +603,8 @@ namespace saml + std::string getSourceID() const {return m_raw.substr(2,20);} // bytes 3-22 + std::string getAssertionHandle() const {return m_raw.substr(22,20);} // bytes 23-42 + +- static const int SOURCEID_LENGTH; +- static const int HANDLE_LENGTH; ++ static const unsigned int SOURCEID_LENGTH; ++ static const unsigned int HANDLE_LENGTH; + + // Hashes the input string into a 20-byte SourceID value. + static std::string generateSourceId(const char* s); +@@ -628,7 +628,7 @@ namespace saml + std::string getAssertionHandle() const {return m_raw.substr(2,20);} // bytes 3-22 + const char* getSourceLocation() const {return m_raw.c_str() + 22;} // bytes 23-terminating null + +- static const int HANDLE_LENGTH; ++ static const unsigned int HANDLE_LENGTH; + }; + + // Most of the rest of the classes implement SAML constructs. The root +@@ -654,9 +654,8 @@ namespace saml + SAMLObject(); + SAMLObject(std::istream& in); + SAMLObject(std::istream& in, int minor); +- SAMLObject(const SAMLObject& src) : m_classname(src.m_classname), +- m_root(NULL), m_document(NULL), m_parent(NULL), +- m_bDirty(true), m_bOwnStrings(true), m_log(NULL) {} ++ SAMLObject(const SAMLObject& src) : m_root(NULL), m_document(NULL), m_parent(NULL), ++ m_bDirty(true), m_bOwnStrings(true), m_log(NULL), m_classname(src.m_classname) {} + SAMLObject& operator=(const SAMLObject&) { return *this; } + + virtual void setDirty(); +@@ -2062,6 +2061,7 @@ namespace saml + { + public: + SAMLConfig() : compatibility_mode(false), strict_dom_checking(true), clock_skew_secs(300), conn_pool_max(256) {} ++ virtual ~SAMLConfig() {} + + // enables runtime and clients to access global configuration object + static SAMLConfig& getConfig(); --- opensaml-1.1a.orig/debian/patches/gcc-4.3 +++ opensaml-1.1a/debian/patches/gcc-4.3 @@ -0,0 +1,22 @@ +(Note to upstream: I put the #include in the header file rather than +in individual .cpp files because many files make use of auto_ptr) + +--- opensaml/saml/saml.h~ 2007-04-02 20:06:39.000000000 +0000 ++++ opensaml/saml/saml.h 2007-04-02 20:06:57.000000000 +0000 +@@ -58,6 +58,7 @@ + + // STL headers + #include ++#include + #include + #include + #include +--- opensaml/saml/SAMLAudienceRestrictionCondition.cpp~ 2007-04-02 20:09:15.000000000 +0000 ++++ opensaml/saml/SAMLAudienceRestrictionCondition.cpp 2007-04-02 20:09:17.000000000 +0000 +@@ -200,4 +200,4 @@ + } + return false; + } +-#endif +\ No newline at end of file ++#endif --- opensaml-1.1a.orig/debian/patches/series +++ opensaml-1.1a/debian/patches/series @@ -0,0 +1,2 @@ +stable-fixes +gcc-4.3 --- opensaml-1.1a.orig/debian/rules +++ opensaml-1.1a/debian/rules @@ -0,0 +1,99 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Use quilt to manage patches. +include /usr/share/quilt/quilt.make + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + DEBUG = --enable-debug +else + DEBUG = +endif + +# Tell Autoconf the correct system types. +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + SYSTEM = --build $(DEB_HOST_GNU_TYPE) +else + SYSTEM = --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +configure: configure-stamp +configure-stamp: patch + dh_testdir + cp /usr/share/misc/config.guess ./ + cp /usr/share/misc/config.sub ./ + CFLAGS="$(CFLAGS)" ./configure --prefix=/usr \ + --mandir=\$${prefix}/share/man --with-curl=/usr \ + --with-log4cpp=/usr --enable-static $(SYSTEM) $(DEBUG) + touch configure-stamp + +build: build-arch build-indep +build-arch: configure-stamp build-stamp +build-indep: +build-stamp: + dh_testdir + $(MAKE) + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f configure-stamp build-stamp + [ ! -f src/Makefile ] || $(MAKE) distclean + dh_clean + +install: build-stamp + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + +binary: binary-arch binary-indep +binary-arch: DH_OPTIONS=-a +binary-arch: install + dh_testdir + dh_testroot + dh_install --sourcedir=debian/tmp + dh_installchangelogs doc/NEWS.txt + dh_installdocs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: DH_OPTIONS=-i +binary-indep: install + dh_testdir + dh_testroot + dh_install --sourcedir=debian/tmp + dh_installchangelogs doc/NEWS.txt + dh_installdocs + dh_link + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +.PHONY: binary binary-arch binary-indep build build-arch build-indep clean +.PHONY: install --- opensaml-1.1a.orig/debian/libsaml5.docs +++ opensaml-1.1a/debian/libsaml5.docs @@ -0,0 +1 @@ +doc/NOTICE.txt --- opensaml-1.1a.orig/debian/libsaml-dev.docs +++ opensaml-1.1a/debian/libsaml-dev.docs @@ -0,0 +1,3 @@ +doc/NOTICE.txt +doc/README.txt +doc/TODO.txt --- opensaml-1.1a.orig/debian/copyright +++ opensaml-1.1a/debian/copyright @@ -0,0 +1,305 @@ +Original packaging by Quanah Gibson-Mount 2006-03-30 +Packaged for Debian unstable by Russ Allbery 2006-09-19 + +It was downloaded from: + + + +Upstream Author: + + Internet2 + +Debian packaging copyright: + + All additions and changes by Quanah Gibson-Mount and Russ Allbery are + covered by the following copyright and license: + + Copyright 2006, 2007 Board of Trustees, Leland Stanford Jr. University + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Copyright: + + Copyright 2001-2005 Internet2 + + This product includes software developed by the Apache Software + Foundation (http://www.apache.org/). + + This product includes software developed by the OpenSSL Project for + use in the OpenSSL Toolkit. (http://www.openssl.org/). + + This project uses libraries covered by the Lesser GNU Public License. + Source code for these libraries is available on request. + + We also thank Parthenon Computing (http://www.parthcomp.com) for + contributing the C++ AuthorizationDecision classes and test suites, + and Tom Scavo for donating the original SAML artifact implementation. + +License: + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + +Patent Status: + + RSA Security Inc. holds patents that they assert cover the OpenSAML + 1.0 and 1.1 protocols implemented in this library. They have released + the following statement concerning enforcement of those patents + (from ): + + To: OASIS Executive Director + From: Robert P. Nault, Senior Vice President and General Counsel, RSA + Security Inc. + Date: April 27, 2006 + Subject: Intellectual Property Rights Statement + + In previous correspondence dated December 6, 2004, January 20, 2003 + and April 22, 2002, RSA Security Inc. ("RSA") disclosed that it is the + assignee of U.S. Patent Nos. 6,085,320 and 6,189,098, both entitled + "Client/Server Protocol for Proving Authenticity" and U.S. Patent + Nos. 5,922,074 and 6,249,873, both entitled "Method of and Apparatus + for Providing Secure Distributed Directory Services and Public Key + Infrastructure" (collectively, the "RSA Patents"). At that time, RSA + believed that these four patents could be relevant to practicing + certain operational modes of the OASIS Security Assertion Markup + Language ("SAML") specifications. In the correspondence, RSA offered + to grant non-exclusive, royalty-free licenses on a non-discriminatory + basis for the RSA Patents. + + In the interest of encouraging deployment of SAML-based technologies, + RSA hereby covenants, free of any royalty, that it will not assert any + claims in the RSA Patents which may be essential to the SAML standard + v1.0, 1.1 and 2.0 (hereinafter "NECESSARY CLAIMS") against any other + entity with respect to any implementation conforming to the SAML + standard v1.0, 1.1 and/or 2.0. This covenant shall become null and + void with respect to any entity that asserts, either directly or + indirectly (e.g. through an affiliate), any patent claims or threatens + or initiates any patent infringement suit against RSA and/or its + subsidiaries or affiliates. The revocation of the covenant shall + extend to all prior use by the entity asserting the claim. + + RSA will continue to honor existing license agreements for the RSA + Patents and will continue to offer as an option to interested third + parties the same licensing arrangement described in our previous + correspondence. (The license agreement, along with instructions for + obtaining and completing the license, are available on RSA's website + www.rsasecurity.com.) + + RSA welcomes comments on this statement and looks forward to further + collaboration with OASIS. --- opensaml-1.1a.orig/debian/libsaml-dev.install +++ opensaml-1.1a/debian/libsaml-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so --- opensaml-1.1a.orig/debian/opensaml-schemas.install +++ opensaml-1.1a/debian/opensaml-schemas.install @@ -0,0 +1 @@ +usr/share/xml --- opensaml-1.1a.orig/debian/control +++ opensaml-1.1a/debian/control @@ -0,0 +1,62 @@ +Source: opensaml +Priority: optional +Maintainer: Quanah Gibson-Mount +Uploaders: Russ Allbery +Build-Depends: debhelper (>= 5), quilt (>= 0.40), autotools-dev, + liblog4cpp4-dev, libcurl3-openssl-dev, libxerces27-dev, + libxml-security-c-dev +Standards-Version: 3.7.2 +Section: libs + +Package: libsaml5 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: opensaml-schemas +Description: C++ library for Security Assertion Markup Language (runtime) + OpenSAML is an open source toolkit for implementing the SAML 1.0 + and 1.1 specifications. SAML (Security Assertion Markup Language) is an + XML-based framework for communicating user authentication, entitlement, + and attribute information. SAML allows entities to make assertions + regarding the identity, attributes, and entitlements of a subject (an + entity that is often a human user) to other entities, such as a partner + organization or another application. + . + This package contains the files necessary for running applications that + use the OpenSAML library. + . + Homepage: http://www.opensaml.org/ + +Package: libsaml-dev +Section: libdevel +Priority: extra +Architecture: any +Depends: libsaml5 (= ${binary:Version}) +Description: C++ library for Security Assertion Markup Language (development) + OpenSAML is an open source toolkit for implementing the SAML 1.0 + and 1.1 specifications. SAML (Security Assertion Markup Language) is an + XML-based framework for communicating user authentication, entitlement, + and attribute information. SAML allows entities to make assertions + regarding the identity, attributes, and entitlements of a subject (an + entity that is often a human user) to other entities, such as a partner + organization or another application. + . + This package contains the OpenSAML development files. + . + Homepage: http://www.opensaml.org/ + +Package: opensaml-schemas +Section: text +Architecture: all +Description: XML schemas for OpenSAML + OpenSAML is an open source toolkit for implementing the SAML 1.0 + and 1.1 specifications. SAML (Security Assertion Markup Language) is an + XML-based framework for communicating user authentication, entitlement, + and attribute information. SAML allows entities to make assertions + regarding the identity, attributes, and entitlements of a subject (an + entity that is often a human user) to other entities, such as a partner + organization or another application. + . + This package contains the SAML schema files used by the OpenSAML + library. + . + Homepage: http://www.opensaml.org/ --- opensaml-1.1a.orig/debian/libsaml5.install +++ opensaml-1.1a/debian/libsaml5.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- opensaml-1.1a.orig/debian/opensaml-schemas.docs +++ opensaml-1.1a/debian/opensaml-schemas.docs @@ -0,0 +1,3 @@ +doc/NOTICE.txt +doc/README.txt +doc/TODO.txt --- opensaml-1.1a.orig/debian/changelog +++ opensaml-1.1a/debian/changelog @@ -0,0 +1,39 @@ +opensaml (1.1a-3) unstable; urgency=low + + * Fix C++ sloppiness that fails to compile with gcc 4.3. Thanks, Martin + Michlmayr. (Closes: #417464) + * The -dev package should be priority extra. + * Update debhelper compatibility level to V5. + + -- Russ Allbery Wed, 11 Apr 2007 20:03:21 -0700 + +opensaml (1.1a-2) unstable; urgency=low + + * Initial upload to Debian. (Closes: #388324) + * Rename the binary package names to match the library SONAMEs. + * Use quilt to manage patches. + * Add the upstream patch for compilation against g++ 4.1 and other + miscellaneous stable fixes. + * Also build an opensaml-schemas package containing the SAML schemas + provided by upstream. These aren't required to use the library, but + the library does contain functions to load them. + * Improve the package long descriptions. + * Depend on autotools-dev and copy config.{sub,guess} unconditionally. + * Depend on libcurl3-openssl-dev to match unstable. + * Install upstream documentation and changelog. + * Use a better method of optionally running make distclean. + * Remove unneccessary code from debian/rules. + * Update debian/copyright to include an explicit copyright statement, a + license for the Debian packaging, the upstream contact information, + and the RSA patent statement. + * Update standards version to 3.7.2 (no changes required). + * Add myself as an uploader. + + -- Russ Allbery Wed, 20 Sep 2006 12:07:38 -0700 + +opensaml (1.1a-1) stable; urgency=low + + * Initial Release. + + -- Quanah Gibson-Mount Fri, 31 Mar 2006 15:30:06 -0800 + --- opensaml-1.1a.orig/debian/compat +++ opensaml-1.1a/debian/compat @@ -0,0 +1 @@ +5 --- opensaml-1.1a.orig/debian/watch +++ opensaml-1.1a/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://shibboleth.internet2.edu/downloads/opensaml-(.*)\.tar\.gz