Graft in debian from debian repo
authorSam Hartman <hartmans@debian.org>
Thu, 28 Oct 2010 22:19:23 +0000 (18:19 -0400)
committerSam Hartman <hartmans@debian.org>
Thu, 28 Oct 2010 22:19:23 +0000 (18:19 -0400)
14 files changed:
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/libsaml2-dev.install [new file with mode: 0644]
debian/libsaml2-doc.doc-base [new file with mode: 0644]
debian/libsaml2-doc.install [new file with mode: 0644]
debian/libsaml6.install [new file with mode: 0644]
debian/opensaml2-schemas.install [new file with mode: 0644]
debian/opensaml2-tools.install [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/samlsign.1 [new file with mode: 0644]
debian/source/format [new file with mode: 0644]
debian/watch [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..2cd1ed4
--- /dev/null
@@ -0,0 +1,93 @@
+opensaml2 (2.3-2) unstable; urgency=low
+
+  * Force source format 1.0 for now since it makes backporting easier.
+  * Add ${misc:Depends} to all package dependencies.
+  * Update debhelper compatibility level to V7.
+    - Use dh_prep instead of dh_clean -k.
+  * Update standards version to 3.8.4 (no changes required).
+
+ -- Russ Allbery <rra@debian.org>  Thu, 13 May 2010 10:21:12 -0700
+
+opensaml2 (2.3-1) unstable; urgency=high
+
+  * Urgency set to high for security fix.
+  * New upstream release.
+    - SECURITY: Partial fix for improper handling of URLs that could be
+      abused for script injection and other cross-site scripting attacks.
+      The complete fix also requires newer xmltooling and shibboleth-sp2
+      packages.  (CVE-2009-3300)
+    - Fix crash on assertions with missing SubjectConfirmation.
+    - Remove inline functions except for templates or RAII patterns.
+    - Remove xml from the inclusive prefix list to avoid bugs in Apache
+      Java xmlsec.
+    - Honor digest algorithm in whole document signing with empty URI.
+  * Rename library package for upstream SONAME bump.
+  * Build-depend on libxmltooling-dev 1.3 or later and make libsaml2-dev
+    depend on libxmltooling-dev 1.3 or later for the fixes for URL
+    sanitization.
+  * Build-depend on libxml-security-c-dev 1.5 or later to ensure
+    that all builds are consistent.
+
+ -- Russ Allbery <rra@debian.org>  Fri, 06 Nov 2009 15:09:04 -0800
+
+opensaml2 (2.2.1-1) unstable; urgency=low
+
+  * New upstream release.
+    - Fix crash when generating unsigned ECP AuthnRequest.
+    - Correct check of key usage against KeyDescriptor use.
+  * Remove temporary build-depend on libicu-dev and tighten the build
+    dependency on libxerces-c-dev to require the fixed version.
+
+ -- Russ Allbery <rra@debian.org>  Mon, 07 Sep 2009 18:35:47 -0700
+
+opensaml2 (2.2-1) unstable; urgency=low
+
+  * New upstream release.
+    - Use CRLs in the metadata signature during PKIX path validation.
+    - Fix cacheDuration handling in metadata parsing.
+    - Set HTTP no-cache headers when redirecting client to IdP via POST.
+    - Allow verbs for GET-based bindings to be overridden.
+  * Rename library package for upstream SONAME bump.
+  * Build against Xerces-C 3.0.
+  * Build-depend and depend on xmltooling 1.2 or later.
+  * Temporarily add libicu-dev to Build-Depends to work around Bug#540964
+    in libxerces-c-dev.
+  * Update standards version to 3.8.3 (no changes required).
+
+ -- Russ Allbery <rra@debian.org>  Tue, 18 Aug 2009 16:36:16 -0700
+
+opensaml2 (2.1-1) unstable; urgency=low
+
+  [ Russ Allbery ]
+  * New upstream bug-fix release.
+  * Bump SONAME of libsaml following upstream's versioning.  The names of
+    libsaml2-dev and libsaml2-doc have not changed; the "2" in those names
+    refers to the major version of the package, not to the SONAME of the
+    library.
+  * Build-depend on libxmtooling-dev >= 1.1 following the upstream spec
+    file.
+  * Flesh out debian/copyright with entries for build system files and
+    convert to the latest draft of the copyright format proposal.
+  * Remove duplicated Section header in the libsaml3 control stanza.
+
+  [ Ferenc Wagner ]
+  * Fix watch file for upstream directory structure.
+
+ -- Russ Allbery <rra@debian.org>  Sun, 22 Feb 2009 13:16:05 -0800
+
+opensaml2 (2.0-2) unstable; urgency=low
+
+  * Include fix for https://bugs.internet2.edu/jira/browse/CPPOST-7
+    (Metadata with EncryptionMethod elements fails to load)
+  * Include fix for https://bugs.internet2.edu/jira/browse/CPPOST-11
+    (SignatureMetadataFilter fails to validate signed EntityDescriptor)
+
+ -- Ferenc Wagner <wferi@niif.hu>  Wed, 21 Jan 2009 16:30:46 +0100
+
+opensaml2 (2.0-1) unstable; urgency=low
+
+  [ Ferenc Wagner ]
+  * Initial release (Closes: #480289)
+
+ -- Russ Allbery <rra@debian.org>  Mon, 16 Jun 2008 21:28:28 -0700
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..1d0b600
--- /dev/null
@@ -0,0 +1,74 @@
+Source: opensaml2
+Section: libs
+Priority: extra
+Maintainer: Debian Shib Team <pkg-shibboleth-devel@lists.alioth.debian.org>
+Uploaders: Russ Allbery <rra@debian.org>, Ferenc Wagner <wferi@niif.hu>
+Build-Depends: debhelper (>= 7), autotools-dev, doxygen, liblog4cpp5-dev,
+ libssl-dev, libxerces-c-dev (>= 3.0.1-2~), libxml-security-c-dev (>= 1.5),
+ libxmltooling-dev (>= 1.3)
+Standards-Version: 3.8.4
+Homepage: https://spaces.internet2.edu/display/OpenSAML/Home
+Vcs-Git: git://git.debian.org/git/pkg-shibboleth/opensaml2.git
+Vcs-Browser: http://git.debian.org/?p=pkg-shibboleth/opensaml2.git
+
+Package: libsaml6
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Security Assertion Markup Language library (runtime)
+ OpenSAML is an open source implementation of the OASIS Security Assertion
+ Markup Language Specification. It contains a set of open source C++ classes
+ that support the SAML 1.0, 1.1, and 2.0 specifications.
+ .
+ This package contains the files necessary for running applications that
+ use the OpenSAML library.
+
+Package: libsaml2-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, libsaml6 (= ${binary:Version}),
+ libxmltooling-dev (>= 1.3)
+Suggests: libsaml2-doc (= ${source:Version})
+Conflicts: libsaml-dev
+Description: Security Assertion Markup Language library (development)
+ OpenSAML is an open source implementation of the OASIS Security Assertion
+ Markup Language Specification. It contains a set of open source C++ classes
+ that support the SAML 1.0, 1.1, and 2.0 specifications.
+ .
+ This package contains the headers and other necessary files to build
+ applications or libraries that use or extend the OpenSAML library.
+
+Package: opensaml2-tools
+Section: text
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Security Assertion Markup Language command-line tools
+ OpenSAML is an open source implementation of the OASIS Security Assertion
+ Markup Language Specification. It contains a set of open source C++ classes
+ that support the SAML 1.0, 1.1, and 2.0 specifications.
+ .
+ This package contains samlsign, a command-line tool for signing and
+ verifying SAML assertions. 
+
+Package: opensaml2-schemas
+Section: text
+Architecture: all
+Depends: ${misc:Depends}
+Conflicts: opensaml-schemas
+Description: Security Assertion Markup Language library (XML schemas)
+ OpenSAML is an open source implementation of the OASIS Security Assertion
+ Markup Language Specification. It contains a set of open source C++ classes
+ that support the SAML 1.0, 1.1, and 2.0 specifications.
+ .
+ This package contains the XML schema files used by the OpenSAML library.
+
+Package: libsaml2-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: Security Assertion Markup Language library (API docs)
+ OpenSAML is an open source implementation of the OASIS Security Assertion
+ Markup Language Specification. It contains a set of open source C++ classes
+ that support the SAML 1.0, 1.1, and 2.0 specifications.
+ .
+ This package contains the OpenSAML library API documentation generated
+ by Doxygen.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..20c6a02
--- /dev/null
@@ -0,0 +1,189 @@
+Format-Specification:
+ http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=409
+Upstream-Name: opensaml
+Upstream-Source:
+ http://shibboleth.internet2.edu/downloads/opensaml/cpp/2.1/
+
+Files: *
+Copyright: 2001-2009 Internet2
+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.
+
+Files: */Makefile.in
+Copyright: 2001-2008 Internet2
+ 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+   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, 2005
+ 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 <stevenj@alum.mit.edu>
+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, 2005 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: 2008 Ferenc Wágner <wferi@niif.hu>
+           2008 Russ Allbery <rra@debian.org>
+License: other
+ 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.
+
+Files: ./doxygen.{am,m4}
+Copyright: 2004 Oren Ben-Kiki
+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: ./install-sh
+Copyright: (C) 1994 X Consortium
+License: other
+ 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
+ X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+ TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ .
+ Except as contained in this notice, the name of the X Consortium shall not
+ be used in advertising or otherwise to promote the sale, use or other deal-
+ ings in this Software without prior written authorization from the X Consor-
+ tium.
+ .
+ FSF changes to this file are in the public domain.
+
+Files: ./saml/zlib/*
+Copyright: 1995-2005 Jean-loup Gailly and Mark Adler
+License: other
+ 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.
diff --git a/debian/libsaml2-dev.install b/debian/libsaml2-dev.install
new file mode 100644 (file)
index 0000000..90a4881
--- /dev/null
@@ -0,0 +1,2 @@
+debian/tmp/usr/include/*
+debian/tmp/usr/lib/lib*.so
diff --git a/debian/libsaml2-doc.doc-base b/debian/libsaml2-doc.doc-base
new file mode 100644 (file)
index 0000000..383d9b3
--- /dev/null
@@ -0,0 +1,13 @@
+Document: libsaml2-doc
+Title: OpenSAML2 API documentation
+Author: Scott Cantor
+Abstract: Doxygen generated HTML documentation of the OpenSAML2
+ library.
+Section: Programming/C++
+
+Format: HTML
+Index: /usr/share/doc/libsaml2-doc/html/index.html
+Files: /usr/share/doc/libsaml2-doc/html/*.html
+ /usr/share/doc/libsaml2-doc/html/*.png
+ /usr/share/doc/libsaml2-doc/html/*.gif
+ /usr/share/doc/libsaml2-doc/html/*.css
diff --git a/debian/libsaml2-doc.install b/debian/libsaml2-doc.install
new file mode 100644 (file)
index 0000000..2a35a1e
--- /dev/null
@@ -0,0 +1 @@
+doc/api/* usr/share/doc/libsaml2-doc
diff --git a/debian/libsaml6.install b/debian/libsaml6.install
new file mode 100644 (file)
index 0000000..c45ebcf
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/lib/lib*.so.*
diff --git a/debian/opensaml2-schemas.install b/debian/opensaml2-schemas.install
new file mode 100644 (file)
index 0000000..de460b2
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/share/xml/opensaml
diff --git a/debian/opensaml2-tools.install b/debian/opensaml2-tools.install
new file mode 100644 (file)
index 0000000..45c484b
--- /dev/null
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/*
+debian/samlsign.1 usr/share/man/man1
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..c6b488b
--- /dev/null
@@ -0,0 +1,101 @@
+#!/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.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets  by Bill Allombert 2001
+
+# 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
+       cp /usr/share/misc/config.guess config.guess
+       cp /usr/share/misc/config.sub config.sub
+       CFLAGS="$(CFLAGS)" ./configure --prefix=/usr \
+           --disable-dependency-tracking $(SYSTEM) $(DEBUG)
+       touch $@
+
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep:
+build-stamp: configure-stamp
+       dh_testdir
+       $(MAKE)
+       touch $@
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f configure-stamp build-stamp install-stamp
+       [ ! -f Makefile ] || $(MAKE) distclean
+       dh_clean config.guess config.sub
+
+install: install-stamp
+install-stamp:
+       dh_testdir
+       dh_testroot
+       dh_prep
+       $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+       rm -r $(CURDIR)/debian/tmp/usr/share/doc/opensaml*
+       dh_install -s -i --fail-missing
+       touch $@
+
+binary: binary-arch binary-indep
+binary-arch: DH_OPTIONS=-a
+binary-arch: install-stamp
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs
+       dh_installdocs -A doc/NOTICE.txt
+       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-stamp
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs
+       dh_installdocs -A doc/NOTICE.txt
+       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
diff --git a/debian/samlsign.1 b/debian/samlsign.1
new file mode 100644 (file)
index 0000000..b6689ea
--- /dev/null
@@ -0,0 +1,150 @@
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+.TH SAMLSIGN 1 "2008 Jun 16" Internet2 "OpenSAML manual"
+.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.if n .ad l
+.nh
+.SH NAME
+samlsign \- sign and verify XML documents
+.SH SYNOPSIS
+.B samlsign
+.RI < options >
+.SH DESCRIPTION
+.B samlsign
+signs or verifies signed XML documents.
+To sign a document, use
+.BR \-s .
+To verify a document, omit
+.BR \-s .
+One of the
+.BR \-c ,
+.BR \-R ,
+or
+.B \-T
+options are required when verifying.
+Either
+.B \-k
+or
+.B \-R
+is required when signing.
+.PP
+By default,
+.B samlsign
+signs or verifies standard input.  Pass
+.B \-u
+or
+.B \-f
+to retrieve the document from a URL or file path.
+Signed documents are always printed to standard output.
+.SH OPTIONS
+.TP
+.BI \-u " URL"
+The URL of the document to sign or verify.
+.TP
+.BI \-f " PATH"
+The full path of the document to sign or verify.
+.TP
+.BI \-id " ID"
+Rather than acting on the entire document, only act on the object with the
+specified
+.IR ID .
+Only that object (with its new signature) will be printed to standard
+output.
+.TP
+.B \-s
+Sign, rather than the default action of verify.
+.TP
+.BI \-k " KEY"
+Specifies the full path to the key to use for signing.
+.TP
+.BI \-c " CERT"
+Specifies the full path to the certificate to use for verification.
+.TP
+.BI \-R " RESOLVER"
+Specifies a credential resolver to use for either signing or verification.
+.TP
+.BI \-T " TRUST"
+Specifies the trust engine for TrustEngine-based verification.
+.TP 
+.BI \-M " METADATA"
+Specifies the metadata for TrustEngine-based verification.
+.TP
+.BI \-i " ISSUER"
+Specifies the issuer for verification.
+.TP
+.BI \-p " PROT"
+Specifies the protocol for TrustEngine-based verification.
+This option allows specification of an arbitrary protocol by name, but
+more commonly one would use one of the options listed below for standard
+protocol names.
+.TP
+.BI \-r " RNAME"
+Specifies the resource name for TrustEngine-based verification.
+This option allows specification of an arbitrary resource name by name,
+but more commonly one would use one of the options listed below for
+standard resource names.
+.TP
+.BI \-ns " RNS"
+Specifies the namespace for TrustEngine-based verification.  If not given,
+the default is SAML20MD_NS.
+.TP
+.B \-saml10
+Use the SAML1.0 protocol for TrustEngine-based verification.
+.TP
+.B \-saml11
+use the SAML1.1 protocol for TrustEngine-based verification.
+.TP
+.B \-saml2
+use the SAML2.0 P NS protocol for TrustEngine-based verification.
+.TP
+.B \-idp
+Set the resouce name to IDPSSODescriptor for TrustEngine-based
+verification.
+.TP
+.B \-aa
+Set the resource name to AttributeAuthorityDescriptor for
+TrustEngine-based verification.
+.TP
+.B \-pdp
+Set the resource name to PDPDescriptor for TrustEngine-based
+verification.
+.TP
+.B \-sp
+Set the resource name to SPSSODescriptor for TrustEngine-based
+verification.
+.SH "EXIT STATUS"
+.TP
+0
+Success.
+.TP
+\-1
+An error in how
+.B samlsign
+was called (incorrect arguments, for example).
+.TP
+\-2
+An error occurred when initializing the configuration.
+.TP
+\-10
+An exception was caught.
+.SH EXAMPLES
+To sign SAML 2.0 metadata, use:
+.PP
+.Vb 1
+\&    samlsign \-k /path/to/key \-c /path/to/cert \-f /path/to/metadata
+.Ve
+.SH AUTHOR
+This manpage were written by Ferenc Wágner and Russ Allbery for Debian
+GNU/Linux.
+.SH COPYRIGHT
+Copyleft (C) 2008 Ferenc Wágner
+.br
+This is free software in the public domain.
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..d3827e7
--- /dev/null
@@ -0,0 +1 @@
+1.0
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..9320437
--- /dev/null
@@ -0,0 +1,2 @@
+version=3
+http://shibboleth.internet2.edu/downloads/opensaml/cpp/latest/opensaml-(.*)\.tar\.gz