[xml/sgml-commit] [xmlsec1] 02/32: Imported Debian patch 1.2.6-1

Rene Engelhard rene at moszumanska.debian.org
Sun Jun 25 17:46:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

rene pushed a commit to branch experimental
in repository xmlsec1.

commit cca5185ba9f4fca1db26cb444906bab0faa3b7c3
Author: John V. Belmonte <jbelmonte at debian.org>
Date:   Thu Aug 26 15:07:52 2004 -0400

    Imported Debian patch 1.2.6-1
---
 debian/README.Debian              |  42 ++++++++++++++++
 debian/TODO.Debian                |   7 +++
 debian/changelog                  |  97 ++++++++++++++++++++++++++++++++++++
 debian/compat                     |   1 +
 debian/control                    |  75 ++++++++++++++++++++++++++++
 debian/copyright                  |  29 +++++++++++
 debian/libxmlsec1-dev.docs        |   1 +
 debian/libxmlsec1-dev.install     |   6 +++
 debian/libxmlsec1-dev.manpages    |   1 +
 debian/libxmlsec1-gnutls.install  |   1 +
 debian/libxmlsec1-nss.install     |   1 +
 debian/libxmlsec1-openssl.install |   1 +
 debian/libxmlsec1.install         |   1 +
 debian/rules                      | 100 ++++++++++++++++++++++++++++++++++++++
 debian/shlibs.local               |   3 ++
 debian/watch                      |   3 ++
 debian/xmlsec1.install            |   1 +
 debian/xmlsec1.manpages           |   1 +
 18 files changed, 371 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..1ae5b20
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,42 @@
+xmlsec and libxmlsec for Debian
+-------------------------------
+
+The upstream documentation is included with the libxmlsec1-dev package and
+located at /usr/share/doc/libxmlsec1-dev.
+
+When developing with the xmlsec library, you have a choice of openssl,
+gnutls, or nss crypto engines.  By using "pkg-config xmlsec1-<engine>" or
+"xmlsec1-config --crypto=<engine>", you can get the necessary compiler
+command-line switches for enabling a certain engine.
+
+If you want to license your application that uses the xmlsec library under
+the GNU GPL, or want your library that uses the xmlsec library to be GPL-
+compatible, I suggest using the gnutls engine.  Use of the nss crypto engine
+may also be compatible with the GPL, but see bugs #207024 and #207026.
+Regarding openssl, there is a bit of controversy about whether it can be
+considered part of the OS and therefore make use of a loophole in the GPL.
+(See the xmlsec FAQ in the documentation.)  More specifically, debian-legal
+takes a hard line and does not allow GPL'd packages that link to openssl to
+exist in main.  In the future, support for PGP key types may be added, which
+would become another reason to go with the gnutls engine.
+
+Note that the library has a dynamic crypto engine loading feature, but I
+have not yet enabled it.
+
+Regarding nss crypto engine support, beware that there are a number of
+packaging issues with depending on libnss and libnspr (part of the mozilla
+source package) which may cause trouble down the road (see bugs #200877,
+#200878, #207008, #207009, and #48208).
+
+Note that a number of the examples included with the -dev package will
+not compile successfuly under the gnutls engine (due to lack of features
+compared to openssl), and will fail under both the gnutls and nss engines
+(due to lack of pem file support, etc.).
+
+Upstream has promised that they will increment the number in the library name
+name (for example, xmlsec1 -> xmlsec2) whenever a binary incompatibility is
+introduced, and that it will always match the soname number.  For this
+reason I chose to omit the soname number from package names.
+
+
+ -- John V. Belmonte <jvb at prairienet.org>
diff --git a/debian/TODO.Debian b/debian/TODO.Debian
new file mode 100644
index 0000000..53c7193
--- /dev/null
+++ b/debian/TODO.Debian
@@ -0,0 +1,7 @@
+xmlsec and libxmlsec for Debian
+-------------------------------
+
+    * set up doc-base
+
+
+ -- John V. Belmonte <jvb at prairienet.org>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..40b0f36
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,97 @@
+xmlsec1 (1.2.6-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- John V. Belmonte <jbelmonte at debian.org>  Thu, 26 Aug 2004 15:07:52 -0400
+
+xmlsec1 (1.2.4-3) unstable; urgency=low
+
+  * Adjust gnutls dependency (Closes: #263626)
+  * Add debian/watch
+
+ -- John V. Belmonte <jbelmonte at debian.org>  Thu, 5 Aug 2004 12:09:42 -0400
+
+xmlsec1 (1.2.4-2) unstable; urgency=low
+
+  * Change maintainer address
+  * Adjust libxslt dependency (Closes: #261831)
+
+ -- John V. Belmonte <jbelmonte at debian.org>  Mon, 2 Aug 2004 10:05:04 -0400
+
+xmlsec1 (1.2.4-1) unstable; urgency=low
+
+  * New upstream release (Closes: #228531)
+  * Add binary for nss crypto engine
+  * Upgrade gnutls dependency to gnutls10
+
+ -- John V. Belmonte <jvb at prairienet.org>  Tue, 27 Jan 2004 12:49:49 -0500
+
+xmlsec1 (1.1.1-2) unstable; urgency=low
+
+  * Upgrade to Debian standards 3.6.1
+  * In debian/rules:
+    * remove unused "nostrip" logic
+    * replace use of $CURDIR with `pwd`
+    * remove unused debhelper calls
+    * convert from dh_movefiles to dh_install
+    * omit makefiles and SGML files from HTML docs
+
+ -- John V. Belmonte <jvb at prairienet.org>  Mon, 13 Oct 2003 15:43:41 -0400
+
+xmlsec1 (1.1.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Add soname number to build/-dev depends for libgnutls
+  * Add version to build/-dev depends for libssl since no
+    libssl<soname_number>-dev is available
+  * In README.Debian, clarify restriction on use of openssl crypto engine
+    by GPL'd official Debian packages
+  * In README.Debian, more about the yet unpackaged nss crypto engine
+
+ -- John V. Belmonte <jvb at prairienet.org>  Sun, 24 Aug 2003 06:39:56 -0400
+
+xmlsec1 (1.1.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Add pkg-config files (Closes: #203376)
+  * Downplay xmlsec1-config in README.Debian, package descriptions
+  * Remove some upstream workarounds from debian/rules
+
+ -- John V. Belmonte <jvb at prairienet.org>  Mon, 11 Aug 2003 10:05:06 -0400
+
+xmlsec1 (1.0.4-2) unstable; urgency=low
+
+  * No change, except this time my sponsor won't accidentally mutilate the
+    package before uploading :-)
+
+ -- John V. Belmonte <jvb at prairienet.org>  Fri, 18 Jul 2003 01:11:45 -0400
+
+xmlsec1 (1.0.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Update README.Debian regarding nss engine support
+  * Fix typo in libxmlsec1 description
+  * Remove some upstream workarounds from debian/rules
+
+ -- John V. Belmonte <jvb at prairienet.org>  Tue, 15 Jul 2003 21:23:11 -0400
+
+xmlsec1 (1.0.3-1) unstable; urgency=low
+
+  * New upstream release (Closes: #194270)
+  * change source name for xmlsec1 series
+  * change dev package section to libdevel
+
+ -- John V. Belmonte <jvb at prairienet.org>  Tue, 17 Jun 2003 23:19:17 -0400
+
+xmlsec (0.0.14-1) unstable; urgency=low
+
+  * New upstream release
+  * upgrade to Debian standards 3.5.9
+
+ -- John V. Belmonte <jvb at prairienet.org>  Fri, 28 Mar 2003 14:21:10 -0500
+
+xmlsec (0.0.12-1) unstable; urgency=low
+
+  * Initial Release (Closes: #152605)
+
+ -- John V. Belmonte <jvb at prairienet.org>  Tue, 11 Feb 2003 14:58:00 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6efe598
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,75 @@
+Source: xmlsec1
+Section: text
+Priority: optional
+Maintainer: John V. Belmonte <jbelmonte at debian.org>
+Build-Depends: debhelper (>> 4.0.0), autotools-dev, libxml2-dev, libxslt1-dev, libssl-dev (>= 0.9.7), libgnutls11-dev, libnss-dev (>= 2:1.4)
+Standards-Version: 3.6.1
+
+Package: libxmlsec1-dev
+Section: libdevel
+Architecture: any
+Depends: libxmlsec1 (= ${Source-Version}), libc6-dev, libxml2-dev, libxslt1-dev, libssl-dev (>= 0.9.7), libgnutls11-dev, libnss-dev (>= 2:1.4)
+Description: Development files for the XML security library
+ The XML Security Library is a C library that implements these XML standards:
+ .
+    * XML Signature
+    * XML Encryption
+ .
+ This package provides development files including documentation, examples,
+ headers, static libraries, and configuration support.
+
+Package: libxmlsec1
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: XML security library
+ The XML Security Library implements standards related to secure handling
+ of XML data.
+ .
+ This package provides dynamic libraries for use by applications.
+ Specifically, it provides all XML security library functionality
+ except for the cryptography engine.
+
+Package: libxmlsec1-openssl
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Openssl engine for the XML security library
+ The XML Security Library implements standards related to secure handling
+ of XML data.
+ .
+ This package provides dynamic libraries for use by applications.
+ Specifically, it provides the openssl implementation of the XML security
+ library cryptography functions.
+
+Package: libxmlsec1-gnutls
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Gnutls engine for the XML security library
+ The XML Security Library implements standards related to secure handling
+ of XML data.
+ .
+ This package provides dynamic libraries for use by applications.
+ Specifically, it provides the gnutls implementation of the XML security
+ library cryptography functions.
+
+Package: libxmlsec1-nss
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, libnss3 (>= 2:1.4), libnspr4 (>= 2:1.4)
+Description: Nss engine for the XML security library
+ The XML Security Library implements standards related to secure handling
+ of XML data.
+ .
+ This package provides dynamic libraries for use by applications.
+ Specifically, it provides the nss implementation of the XML security
+ library cryptography functions.
+
+Package: xmlsec1
+Section: text
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: XML security command line processor
+ Xmlsec is a command line tool for signature and encryption transformations
+ of XML data.  It is part of the XML Security Library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3113e47
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+This package was debianized by John V. Belmonte <jbelmonte at debian.org> on
+Tue, 11 Feb 2003 14:58:00 -0500.
+
+It was downloaded from ftp://ftp.aleksey.com/pub/xmlsec/releases/
+
+Upstream Author: Aleksey Sanin <aleksey at aleksey.com>
+
+Copyright (C) 2002 Aleksey Sanin.  All Rights Reserved.
+
+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 fur-
+nished 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, FIT-
+NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
+NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of Aleksey Sanin 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 him.
diff --git a/debian/libxmlsec1-dev.docs b/debian/libxmlsec1-dev.docs
new file mode 100644
index 0000000..097cdcf
--- /dev/null
+++ b/debian/libxmlsec1-dev.docs
@@ -0,0 +1 @@
+debian/tmp/usr/share/doc/xmlsec1/html/
diff --git a/debian/libxmlsec1-dev.install b/debian/libxmlsec1-dev.install
new file mode 100644
index 0000000..99ee547
--- /dev/null
+++ b/debian/libxmlsec1-dev.install
@@ -0,0 +1,6 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/lib*.la
+usr/lib/pkgconfig/*
+usr/bin/xmlsec1-config
diff --git a/debian/libxmlsec1-dev.manpages b/debian/libxmlsec1-dev.manpages
new file mode 100644
index 0000000..9dbb1c7
--- /dev/null
+++ b/debian/libxmlsec1-dev.manpages
@@ -0,0 +1 @@
+man/xmlsec1-config.1
diff --git a/debian/libxmlsec1-gnutls.install b/debian/libxmlsec1-gnutls.install
new file mode 100644
index 0000000..c674abd
--- /dev/null
+++ b/debian/libxmlsec1-gnutls.install
@@ -0,0 +1 @@
+usr/lib/libxmlsec1-gnutls.so.*
diff --git a/debian/libxmlsec1-nss.install b/debian/libxmlsec1-nss.install
new file mode 100644
index 0000000..e9c6c52
--- /dev/null
+++ b/debian/libxmlsec1-nss.install
@@ -0,0 +1 @@
+usr/lib/libxmlsec1-nss.so.*
diff --git a/debian/libxmlsec1-openssl.install b/debian/libxmlsec1-openssl.install
new file mode 100644
index 0000000..12f7b70
--- /dev/null
+++ b/debian/libxmlsec1-openssl.install
@@ -0,0 +1 @@
+usr/lib/libxmlsec1-openssl.so.*
diff --git a/debian/libxmlsec1.install b/debian/libxmlsec1.install
new file mode 100644
index 0000000..88c4e4e
--- /dev/null
+++ b/debian/libxmlsec1.install
@@ -0,0 +1 @@
+usr/lib/libxmlsec1.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..382ef69
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,100 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+
+# shared library versions, option 1
+#version=2.0.5
+#major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+version=`ls src/.libs/lib*.so.* | \
+	awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+major=`ls src/.libs/lib*.so.* | \
+	awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	-test -r /usr/share/misc/config.sub && \
+		cp -f /usr/share/misc/config.sub config.sub
+	-test -r /usr/share/misc/config.guess && \
+		cp -f /usr/share/misc/config.guess config.guess
+	./configure \
+		--host=$(DEB_HOST_GNU_TYPE) \
+		--build=$(DEB_BUILD_GNU_TYPE) \
+		--prefix=/usr \
+		--mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info \
+		--with-html-dir=\$${prefix}/share/doc/xmlsec1/html \
+		--enable-dynamic \
+		--disable-crypto-dl \
+		--disable-apps-crypto-dl
+
+
+build: build-stamp
+build-stamp: config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) distclean
+
+	dh_clean COPYING config.log config.cache config.status config.sub \
+		config.guess
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	$(MAKE) install prefix=`pwd`/debian/tmp/usr
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+
+	dh_install -X.cvsignore --sourcedir=debian/tmp
+	dh_installexamples -X.cvsignore examples/*
+	dh_installdocs -X.sgml --all README debian/README.Debian debian/TODO.Debian
+	dh_installman
+	dh_installchangelogs ChangeLog
+	dh_strip
+	dh_compress -Xexamples/
+	dh_fixperms
+	dh_makeshlibs -V
+	dh_installdeb
+	dh_shlibdeps -l $(PWD)/debian/libxmlsec1/usr/lib
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/shlibs.local b/debian/shlibs.local
new file mode 100644
index 0000000..24724a5
--- /dev/null
+++ b/debian/shlibs.local
@@ -0,0 +1,3 @@
+libxslt 1 libxslt1.1 (>= 1.0.20)
+libxml2 2 libxml2 (>= 2.4.24)
+libgnutls 11 libgnutls11 (>= 1.0.0)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..49dd00f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=2
+ftp://ftp.aleksey.com/pub/xmlsec/releases/xmlsec1-([\d\.]+)\.tar\.gz \
+    debian uupdate
diff --git a/debian/xmlsec1.install b/debian/xmlsec1.install
new file mode 100644
index 0000000..cfe97f6
--- /dev/null
+++ b/debian/xmlsec1.install
@@ -0,0 +1 @@
+usr/bin/xmlsec1
diff --git a/debian/xmlsec1.manpages b/debian/xmlsec1.manpages
new file mode 100644
index 0000000..5f08ccc
--- /dev/null
+++ b/debian/xmlsec1.manpages
@@ -0,0 +1 @@
+man/xmlsec1.1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-xml-sgml/xmlsec1.git



More information about the debian-xml-sgml-commit mailing list