--- opensaml-1.1.1.orig/configure.ac +++ opensaml-1.1.1/configure.ac @@ -58,6 +58,7 @@ AC_FUNC_STRFTIME AC_CHECK_FUNCS([strchr strdup strstr gmtime_r timegm]) AC_CHECK_HEADERS([dlfcn.h]) +AC_SEARCH_LIBS([dlopen], [dl]) # OpenSSL settings AC_PATH_PROG(PKG_CONFIG, pkg-config) --- opensaml-1.1.1.orig/saml/SAMLException.cpp +++ opensaml-1.1.1/saml/SAMLException.cpp @@ -23,6 +23,7 @@ */ #include "internal.h" +#include using namespace saml; using namespace std; --- opensaml-1.1.1.orig/debian/changelog +++ opensaml-1.1.1/debian/changelog @@ -0,0 +1,107 @@ +opensaml (1.1.1-3) unstable; urgency=low + + * Add ${misc:Depends} to the dependencies of all packages. + * Add information in debian/copyright for the copyright and license of + build system files. + + -- Russ Allbery Tue, 17 Feb 2009 09:54:12 -0800 + +opensaml (1.1.1-2) unstable; urgency=low + + * Link the library against libdl since it uses dlopen and friends + directly. Thanks, Bastian Blank. (Closes: #485015) + * Improve and reformat debian/copyright: + - Add an explicit copyright and license for W3C schemas. + - Add copyright statements for the Apache Software Foundation and + Parthenon Computing. + - Reference Apache 2.0 from common-licenses instead of including it. + - Use the new proposed copyright format. + * Update standards version to 3.8.0. + + -- Russ Allbery Sat, 07 Jun 2008 13:44:03 -0700 + +opensaml (1.1.1-1) unstable; urgency=low + + * New upstream release incorporating most Debian changes. + * Maintainer is now the Debian Shib Team. Move myself to Uploaders. + * Build against libxerces-c2-dev. (Closes: #479191) + * Stop using quilt and instead apply the patches directly. + * Force an update of libtool to fix stray RPATHs on AMD64. + * Remove all files modified by the build in debian/rules clean. + * Fix the watch file for upstream's reorganization of their download + area. + * Add Vcs-Git and Vcs-Browser control headers. + * Update standards version to 3.7.3 (no changes required). + + -- Russ Allbery Sat, 24 May 2008 10:21:27 -0700 + +opensaml (1.1b-3) unstable; urgency=low + + * Build-depend on the current log4cpp dev package. (Closes: #451653) + * Move the Homepage pseudo-headers into a regular control header. + + -- Russ Allbery Sat, 17 Nov 2007 19:35:35 -0800 + +opensaml (1.1b-2) unstable; urgency=low + + * log4cpp 1.0 dropped the ENDLINE enum from CategoryStream. Patch the + OpenSAML source with the same change as the log4cpp test cases, which + will hopefully work. (Closes: #445757) + + -- Russ Allbery Mon, 08 Oct 2007 21:25:37 -0700 + +opensaml (1.1b-1) unstable; urgency=low + + * New upstream release. + - Documentation updates. + - Build fixes for gcc 4.1 incorporated upstream. + * The upstream source contains .svn directories and unfortunately has to + be repackaged for svn-buildpackage to be able to deal with it. + * Apply additional patch for g++ 4.3's header reorganizations. Thanks, + Martin Michlmayr. (Closes: #421128) + * Fix the clean rule to actually do something. (Closes: #424368) + * Depend on libcurl4-openssl-dev instead of libcurl3-openssl-dev. + * Fix the watch file to not match the Java version of the package. + * Remove Quanah from maintainers at his request. + + -- Russ Allbery Mon, 18 Jun 2007 07:22:41 -0700 + +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.1.1.orig/debian/compat +++ opensaml-1.1.1/debian/compat @@ -0,0 +1 @@ +5 --- opensaml-1.1.1.orig/debian/control +++ opensaml-1.1.1/debian/control @@ -0,0 +1,60 @@ +Source: opensaml +Priority: optional +Maintainer: Debian Shib Team +Uploaders: Russ Allbery +Build-Depends: debhelper (>= 5), autotools-dev, autoconf, automake, + libtool, liblog4cpp5-dev, libcurl4-openssl-dev, libxerces-c2-dev, + libxml-security-c-dev +Standards-Version: 3.8.0 +Section: libs +Homepage: http://www.opensaml.org/ +Vcs-Git: git://git.debian.org/git/pkg-shibboleth/opensaml.git +Vcs-Browser: http://git.debian.org/?p=pkg-shibboleth/opensaml.git + +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. + +Package: libsaml-dev +Section: libdevel +Priority: extra +Architecture: any +Depends: libsaml5 (= ${binary:Version}), ${misc:Depends} +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. + +Package: opensaml-schemas +Section: text +Architecture: all +Depends: ${misc:Depends} +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. --- opensaml-1.1.1.orig/debian/copyright +++ opensaml-1.1.1/debian/copyright @@ -0,0 +1,255 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Upstream-Author: Internet2 +Packaged-By: Quanah Gibson-Mount +Packaged-Date: Fri, 31 Mar 2006 15:30:06 -0800 +Original-Source-Location: http://shibboleth.internet2.edu/downloads/ + +Files: * +Copyright: 2001-2005 Internet2 +License: Apache-2.0 + +Files: */Makefile.in +Copyright: 2001-2005 Internet2 + 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 + Free Software Foundation, Inc. +License: other + This Makefile.in is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. + +Files: ./aclocal.m4 +Copyright: 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 + Free Software Foundation, Inc. +License: other + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. + +Files: ./acx_pthread.m4 +Copyright: 2006 Steven G. Johnson +License: GPL-2+ | other + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + . + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General + Public License for more details. + . + The full text of the GNU General Public License version 2 is available on + Debian systems in /usr/share/common-licenses/GPL-2. + . + As a special exception, the respective Autoconf Macro's copyright owner + gives unlimited permission to copy, distribute and modify the configure + scripts that are the output of Autoconf when processing the Macro. You + need not follow the terms of the GNU General Public License when using or + distributing such scripts, even though portions of the text of the Macro + appear in them. The GNU General Public License (GPL) does govern all + other use of the material that constitutes the Autoconf Macro. + . + This special exception to the GPL applies to versions of the Autoconf + Macro released by the Autoconf Macro Archive. When you make and + distribute a modified version of the Autoconf Macro, you may extend this + special exception to the GPL to apply to your modified version as well. + +Files: ./config.guess, ./config.sub, ./depcomp, ./libtool.m4, ./ltmain.sh + ./missing +Copyright: 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, + 2002, 2003, 2004 Free Software Foundation, Inc. +License: GPL-2+ | other + This file is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + . + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General + Public License for more details. + . + The full text of the GNU General Public License version 2 is available on + Debian systems in /usr/share/common-licenses/GPL-2. + . + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a configuration + script generated by Autoconf, you may include it under the same + distribution terms that you use for the rest of that program. + +Files: ./configure +Copyright: 2003 Free Software Foundation, Inc. +License: other + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + +Files: debian/* +Copyright: 2006, 2007, 2008 Board of Trustees, Leland Stanford Jr. + University +License: Expat + +Files: ./install-sh +Copyright: (C) 1994 X Consortium +License: Expat + +Files: saml/SAMLAction.cpp saml/SAMLAuthorization* saml/SAMLDecision.cpp + saml/SAMLEvidence.cpp +Copyright: 2001-2005 Internet2 + 2001-2005 Parthenon Computing +License: Apache-2.0 + +Files: saml/SAMLDateTime.* +Copyright: 2001-2004 The Apache Software Foundation +License: Apache-2.0 + +Files: schemas/soap-envelope.xsd +Copyright: 2001 Martin Gudgin, Developmentor + 2001 W3C (Massachusetts Institute of Technology, Institut National de + Recherche en Informatique et en Automatique, Keio University) All Rights + Reserved. http://www.w3.org/Consortium/Legal/ +License: W3C-Software + +Files: schemas/xml.xsd schemas/xmldsig-core-schema.xsd +Copyright: 2001 W3C (Massachusetts Institute of Technology, Institut + National de Recherche en Informatique et en Automatique, Keio University) + All Rights Reserved. http://www.w3.org/Consortium/Legal/ +License: W3C-Software + +License: Expat + 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. + +License: Apache-2.0 + 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 Debian systems, the complete text of the Apache 2.0 license can be + found in the file /usr/share/common-licenses/Apache-2.0. + +License: W3C-Software + This W3C work (including software, documents, or other related items) is + being provided by the copyright holders under the following license. By + obtaining, using and/or copying this work, you (the licensee) agree that + you have read, understood, and will comply with the following terms and + conditions: + . + Permission to use, copy, modify, and distribute this software and its + documentation, with or without modification, for any purpose and without + fee or royalty is hereby granted, provided that you include the following + on ALL copies of the software and documentation or portions thereof, + including modifications, that you make: + . + 1. The full text of this NOTICE in a location viewable to users of the + redistributed or derivative work. + . + 2. Any pre-existing intellectual property disclaimers, notices, or terms + and conditions. If none exist, a short notice of the following form + (hypertext is preferred, text is permitted) should be used within the + body of any redistributed or derivative code: "Copyright © + [$date-of-software] World Wide Web Consortium, (Massachusetts + Institute of Technology, Institut National de Recherche en + Informatique et en Automatique, Keio University). All Rights Reserved. + http://www.w3.org/Consortium/Legal/" + . + 3. Notice of any changes or modifications to the W3C files, including the + date changes were made. (We recommend you provide URIs to the location + from which the code is derived.) + . + THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT + HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR + DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, + TRADEMARKS OR OTHER RIGHTS. + . + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR + CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR + DOCUMENTATION. + . + The name and trademarks of copyright holders may NOT be used in + advertising or publicity pertaining to the software without specific, + written prior permission. Title to copyright in this software and any + associated documentation will at all times remain with copyright holders. + +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.1.1.orig/debian/libsaml-dev.docs +++ opensaml-1.1.1/debian/libsaml-dev.docs @@ -0,0 +1,2 @@ +doc/NOTICE.txt +doc/README.txt --- opensaml-1.1.1.orig/debian/libsaml-dev.install +++ opensaml-1.1.1/debian/libsaml-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so --- opensaml-1.1.1.orig/debian/libsaml5.docs +++ opensaml-1.1.1/debian/libsaml5.docs @@ -0,0 +1 @@ +doc/NOTICE.txt --- opensaml-1.1.1.orig/debian/libsaml5.install +++ opensaml-1.1.1/debian/libsaml5.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- opensaml-1.1.1.orig/debian/opensaml-schemas.docs +++ opensaml-1.1.1/debian/opensaml-schemas.docs @@ -0,0 +1,2 @@ +doc/NOTICE.txt +doc/README.txt --- opensaml-1.1.1.orig/debian/opensaml-schemas.install +++ opensaml-1.1.1/debian/opensaml-schemas.install @@ -0,0 +1 @@ +usr/share/xml --- opensaml-1.1.1.orig/debian/rules +++ opensaml-1.1.1/debian/rules @@ -0,0 +1,100 @@ +#!/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. + +# 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: + dh_testdir + rm -f libtool.m4 + libtoolize --force + autoreconf --force + rm -rf autom4te.cache + 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: + dh_testdir + dh_testroot + rm -f configure-stamp build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + find . -name Makefile.in -print0 | xargs -0 rm + dh_clean aclocal.m4 config.guess config.h.in config.sub configure \ + ltmain.sh + +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.1.1.orig/debian/watch +++ opensaml-1.1.1/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://shibboleth.internet2.edu/downloads/opensaml/cpp/(1[\d.]+)/ \ + opensaml-([\d.]+)\.tar\.gz