--- libtasn1-3-0.3.4.orig/debian/compat +++ libtasn1-3-0.3.4/debian/compat @@ -0,0 +1 @@ +4 --- libtasn1-3-0.3.4.orig/debian/libtasn1-3-dev.doc-base +++ libtasn1-3-0.3.4/debian/libtasn1-3-dev.doc-base @@ -0,0 +1,13 @@ +Document: libtasn1 +Title: Manual for Libtasn1 +Author: Fabio Fiorina, Simon Josefsson +Abstract: This manual is for Libtasn1, which is a library for Abstract + Syntax Notation One (ASN.1) and Distinguish Encoding Rules (DER) manipulation. +Section: Apps/Net + +Format: PDF +Files: /usr/share/doc/libtasn1-3-dev/libtasn1.pdf + +Format: info +Index: /usr/share/info/libtasn1.info.gz +Files: /usr/share/info/libtasn1.info* --- libtasn1-3-0.3.4.orig/debian/rules +++ libtasn1-3-0.3.4/debian/rules @@ -0,0 +1,50 @@ +#! /usr/bin/make -f +# Build the libtasn1 packages for Debian. + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_CONFIGURE_EXTRA_FLAGS = --enable-ld-version-script +DEB_MAKE_CHECK_TARGET = check +DEB_DH_STRIP_ARGS = --dbg-package libtasn1-3 +DEB_DH_INSTALL_SOURCEDIR = debian/tmp +DEB_DH_MAKESHLIBS_ARGS_ALL := -V 'libtasn1-3 (>=0.3.4)' +DEB_COMPRESS_EXCLUDE := libtasn1.pdf +DEB_INSTALL_MANPAGES_libtasn1-3-dev := debian/libtasn1-config.1 + +clean:: + -rm -f doc/libtasn1.ps lib/ASN1.c doc/asn1.dvi doc/asn1.aux doc/asn1.log + -rm -f doc/asn1.toc lib/asn1-api.tex + + -$(MAKE) distclean + +# if test -f gl/Makefile.am ; then : ; else \ +# mkdir -p gl; \ +# gnulib-tool --import --source-base=gl --m4-base=gl/m4 \ +# --dir=. --lib=libgnu --lgpl --aux-dir=. --macro-prefix=gl \ +# memmove; \ +# fi + + mkdir -p m4 + if test -f gtk-doc.make ; then touch gtk-doc.make; else gtkdocize --copy; fi + if test -f ltmain.sh ; then touch ltmain.sh; else libtoolize -c -f --automake; fi + if test -f aclocal.m4 ; then touch aclocal.m4; else aclocal-1.9 -I m4 -I gl/m4 ; fi + if test -f config.h.in ; then touch config.h.in; else autoheader; fi + if test -f Makefile.in ; then find . -name Makefile.in -exec touch {} \; ;\ + else automake-1.9 -f --copy --add-missing; fi + + if test -f configure ; then touch configure; else autoconf; fi + rm -rf autom4te.cache + +build/libtasn1-3-dev:: + cd $(DEB_SRCDIR)/doc && $(MAKE) libtasn1.pdf + +build/libtasn1-3:: + cd $(DEB_SRCDIR)/src && $(MAKE) asn1Parser asn1Coding asn1Decoding + install -m 755 -d $(CURDIR)/debian/tmp/usr/bin/ + cd $(DEB_SRCDIR)/src && \ + for e in asn1Parser asn1Coding asn1Decoding ; do \ + /bin/sh ../libtool --mode=install /usr/bin/install -c $$e $(CURDIR)/debian/tmp/usr/bin/ ; \ + done + --- libtasn1-3-0.3.4.orig/debian/libtasn1-3-dev.install +++ libtasn1-3-0.3.4/debian/libtasn1-3-dev.install @@ -0,0 +1,11 @@ +../../doc/libtasn1.pdf usr/share/doc/libtasn1-3-dev +../../doc/fdl.texi usr/share/doc/libtasn1-3-dev +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.la +usr/lib/lib*.so +usr/share/doc/* +usr/share/info/* +usr/share/man/man3/* +usr/bin/*-config +usr/share/aclocal/libtasn1.m4 --- libtasn1-3-0.3.4.orig/debian/control +++ libtasn1-3-0.3.4/debian/control @@ -0,0 +1,81 @@ +Source: libtasn1-3 +Section: libs +Maintainer: Debian GnuTLS Maintainers +Uploaders: Andreas Metzler , Eric Dorland , James Westby +Build-Depends: debhelper (>> 4.1), cdbs, bison, gtk-doc-tools, texinfo, autotools-dev +Standards-Version: 3.7.2 +Priority: important + +Package: libtasn1-3-dev +Section: libdevel +Architecture: any +Depends: libtasn1-3 (= ${Source-Version}) +Conflicts: libgnutls-dev (<< 0.5.1-4), libtasn1-dev +Provides: libtasn1-dev +Priority: optional +Description: Manage ASN.1 structures (development) + Manage ASN1 (Abstract Syntax Notation One) structures. + The main features of this library are: + * on-line ASN1 structure management that doesn't require any C code + file generation. + * off-line ASN1 structure management with C code file generation + containing an array. + * DER (Distinguish Encoding Rules) encoding + * no limits for INTEGER and ENUMERATED values + . + This package contains header files and libraries for static linking. + +Package: libtasn1-3-dbg +Section: devel +Architecture: any +Depends: libtasn1-3 (= ${Source-Version}) +Priority: extra +Description: Manage ASN.1 structures (development) + Manage ASN1 (Abstract Syntax Notation One) structures. + The main features of this library are: + * on-line ASN1 structure management that doesn't require any C code + file generation. + * off-line ASN1 structure management with C code file generation + containing an array. + * DER (Distinguish Encoding Rules) encoding + * no limits for INTEGER and ENUMERATED values + . + This package contains symbol files for debugging. + +Package: libtasn1-3 +Section: libs +Priority: important +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: libtasn1-2 (= 0.3.1-1) +Recommends: libtasn1-3-bin +Description: Manage ASN.1 structures (runtime) + Manage ASN1 (Abstract Syntax Notation One) structures. + The main features of this library are: + * on-line ASN1 structure management that doesn't require any C code + file generation. + * off-line ASN1 structure management with C code file generation + containing an array. + * DER (Distinguish Encoding Rules) encoding + * no limits for INTEGER and ENUMERATED values + . + This package contains runtime libraries. + +Package: libtasn1-3-bin +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: libtasn1-2-bin +Replaces: libtasn1-2-bin +Description: Manage ASN.1 structures (binaries) + Manage ASN1 (Abstract Syntax Notation One) structures. + The main features of this library are: + * on-line ASN1 structure management that doesn't require any C code + file generation. + * off-line ASN1 structure management with C code file generation + containing an array. + * DER (Distinguish Encoding Rules) encoding + * no limits for INTEGER and ENUMERATED values + . + This package contains programs to encode, decode and parse asn1 data + structures. --- libtasn1-3-0.3.4.orig/debian/changelog +++ libtasn1-3-0.3.4/debian/changelog @@ -0,0 +1,234 @@ +libtasn1-3 (0.3.4-2) unstable; urgency=low + + [ Andreas Metzler ] + * Set maintainer to alioth mailinglist. + * Drop code for updating config.guess/config.sub from debian/rules, as cdbs + handles this. Build-Depend on autotools-dev. + * Use cdbs' simple-patchsys.mk. + - add debian/README.source_and_patches + - add patches/20_asnparser.diff + * Do not gzip pdf documentation. + * Register library manual with doc-base. + * Standards version 3.7.2, no changes required. + + [ James Westby ] + * Added debian/patches/30_man_hyphen* to fix a lintain warning about use of + "-" as a minus sign. + * Added a man-page for libtasn1-config in libtasn1-3-dev. + + -- Andreas Metzler Wed, 7 Jun 2006 20:14:52 +0200 + +libtasn1-3 (0.3.4-1) experimental; urgency=low + + * New maintainer team. Thanks, Matthias for all the work you did. + * New upstream version, based on Bastian's NMU. (closes: #356694) + Replacing libtasn1-2 with this version is going to fix grave bug #352182. + * clean packaging against upstream tarball. + - Set DEB_CONFIGURE_EXTRA_FLAGS = --enable-ld-version-script + to force versioning of symbols, instead of patching ./configure.in. + - Disable invocation of gnulib-tool in debian/rules. + - Upstream tarball does not contain ansn1.tex and fdl.tex. Ignore the + former and use fdl.texi for the latter. + - stop removing doc/libtasn1.ps on clean and drop build-dependency on + tetex-bin, tetex-extra. - The file is part of the upstream tarball, no + need to regenerate it unless we patch the sources. + - ship libtasn1.pdf instead of libtasn1.pdf. + - drop build-depency on binutils (>= 2.14.90.0.7), even sarge has 2.15-6. + - use dh_install instead of dh_move and manual instal -m... commands, + simplifiying debian/rules. + - remove debian/*.dirs. + - drop Debian-specific stub manpage for asn1Decoding.1 asn1Parser.1 + asn1Coding.1 and use the upstream one instead. + * libtasn1-3-bin conflicts/replaces libtasn1-2-bin (closes: #362245) + * Set DEB_MAKE_CHECK_TARGET = check to run included testsuite. + * Copy a complete copyright statement into debian/copyright. + + -- Andreas Metzler Thu, 1 Jun 2006 17:07:51 +0000 + +libtasn1-2 (0.3.1-1.1) unstable; urgency=high + + * Non-maintainer upload. + * Fix name of binary packages. (closes: #361890) + - Remove spurious conflicts. + + -- Bastian Blank Tue, 11 Apr 2006 07:41:21 +0000 + +libtasn1-2 (0.3.1-1) unstable; urgency=high + + * New Upstream release. + - Fixes a buffer overrun: Closes:#352182 + - Yes, I know, this release is *late*. Sorry about that. + + -- Matthias Urlichs Sat, 18 Mar 2006 03:21:11 +0100 + +libtasn1-2 (0.2.17-1) unstable; urgency=low + + * New Upstream version. + * Build-Depend on texinfo. Closes:#332563 + * Split off binaries into a tasn1-2-bin packages. Closes:#330739 + - Also added stub manpages for them. + * Fix autotools call in "make clean" rule. + * Use current gnulib. + + -- Matthias Urlichs Tue, 25 Oct 2005 11:57:41 +0200 + +libtasn1-2 (0.2.13-2) unstable; urgency=low + + * Changed the Copyright statement. + Closes: #290209: Improper copyright file + * Added missing Priority: statements to debian/control. + Closes: #294706: changes file is missing priority + * Added missing AC_PROG_LIBTOOL to configure.in. + * Updated Standards-Version: to 3.6.2; no changes. + + -- Matthias Urlichs Thu, 14 Jul 2005 05:43:49 +0200 + +libtasn1-2 (0.2.13-1) unstable; urgency=low + + * Merged Upstream release. + * Upstream removed symbol versioning and replaced it with a simple + export-visibility rule. Restored -- we can't go back. + Besides, versioning is a Good Thing. + * The previous upload Closes: #301575: New upstream version available. + * Switched to autoconf 1.9. + + -- Matthias Urlichs Mon, 4 Jul 2005 16:07:13 +0200 + +libtasn1-2 (0.2.10-5) unstable; urgency=low + + * Closes: #264032: debian/rules clean doesn't undo all build effects + * Re-enable libtasn1-2-dbg. + + -- Matthias Urlichs Wed, 15 Sep 2004 22:24:20 +0200 + +libtasn1-2 (0.2.10-4) unstable; urgency=medium + + * Updated shlib deps (new function) + + -- Matthias Urlichs Fri, 13 Aug 2004 11:45:01 +0200 + +libtasn1-2 (0.2.10-3) unstable; urgency=low + + * Depend on binutils (>= 2.14.90.0.7). + - Closes: #262267: libtasn1-2: Change Build-Depends + Thanks to Dirk Prösdorf . + + -- Matthias Urlichs Fri, 30 Jul 2004 14:29:58 +0200 + +libtasn1-2 (0.2.10-2) unstable; urgency=low + + * Priority: Important -- only for the library package please. + + -- Matthias Urlichs Thu, 29 Jul 2004 14:10:38 +0200 + +libtasn1-2 (0.2.10-1) unstable; urgency=high + + * Merged to current Upstream version + * Didn't install libtasn1-config. + * Didn't install libtasn1.m4. + + -- Matthias Urlichs Thu, 29 Jul 2004 12:58:01 +0200 + +libtasn1-2 (0.2.7.0-2) unstable; urgency=medium + + * The binary package ended up empty due to a local bug. Sorry. + + -- Matthias Urlichs Wed, 14 Jul 2004 13:45:04 +0200 + +libtasn1-2 (0.2.7.0-1) unstable; urgency=low + + * Use the original .orig.tgz file; the old one is broken. + + -- Matthias Urlichs Mon, 12 Jul 2004 19:25:22 +0200 + +libtasn1-2 (0.2.7-3) unstable; urgency=low + + * New maintainer. + * Use the included test scripts. + * Don't use the included generated files: Upstream CVS doesn't have them. + - Depend on tetex-bin and bison. + + -- Matthias Urlichs Sun, 11 Jul 2004 13:40:13 +0200 + +libtasn1-2 (0.2.7-2) unstable; urgency=HIGH + + * patches/001_decoding_bof_0.2.7.diff: patch to fix DER parsing routines + vulnerability registered as CAN-2004-0401. + + -- Ivo Timmermans Mon, 10 May 2004 11:39:23 +0200 + +libtasn1-2 (0.2.7-1) unstable; urgency=low + + * Thanks to Andreas Metzler for preparing this package. + * New upstream release, which introduces versioned symbols. + * debian/control: Added conflict with libtasn1-1. (Closes: #228204) + + -- Ivo Timmermans Tue, 23 Mar 2004 19:39:04 +0100 + +libtasn1-2 (0.2.6-1) unstable; urgency=low + + * New upstream release; package renamed to libtasn1-2. + * debian/rules: Moved to cdbs. + * debian/control: + * updated Standards-Version; + * tightened debhelper build dependency; + * added auto* to the build dependencies. + + -- Ivo Timmermans Sat, 6 Dec 2003 21:02:25 +0100 + +libtasn1-1 (0.2.4-3) unstable; urgency=low + + * debian/rules: Use libtool rather than install to install the stuff in + src. + + -- Ivo Timmermans Thu, 8 May 2003 22:35:35 +0200 + +libtasn1-1 (0.2.4-2) unstable; urgency=low + + * debian/rules, debian/libtasn1-1.{dirs,files}: Install asn1Coding, + asn1Decoding, asn1Parser from src in /usr/bin. (Closes: #192465) + * debian/control: Update Standards-Version. + + -- Ivo Timmermans Thu, 8 May 2003 21:37:19 +0200 + +libtasn1-1 (0.2.4-1) unstable; urgency=low + + * New upstream release. (Closes: #187398) + + -- Ivo Timmermans Thu, 3 Apr 2003 11:19:03 +0200 + +libtasn1-1 (0.2.1-1) unstable; urgency=low + + * New upstream release. + - Fixed tests. (Closes: #164612) + * Made it a separate source package. + + -- Ivo Timmermans Fri, 14 Feb 2003 21:42:10 +0100 + +libtasn1 (0.1.2-1) unstable; urgency=low + + * New upstream release + + -- Ivo Timmermans Fri, 11 Oct 2002 17:37:51 +0200 + +libtasn1 (0.1.1-3) unstable; urgency=low + + * debian/control: Conflict with the versions of libgnutls that included + a libtasn1.{la,a,so}. (Closes: #156765) + * debian/libtasn1-dev.files: Include libtasn1.la. + + -- Ivo Timmermans Tue, 20 Aug 2002 18:17:28 +0200 + +libtasn1 (0.1.1-2) unstable; urgency=low + + * debian/libtasn1-0.shlibs: Changed so version from 0.1.1 to 0; + remove upper version limit; set lower limit to 0.1.1-2 (current). + + -- Ivo Timmermans Wed, 14 Aug 2002 16:49:15 +0200 + +libtasn1 (0.1.1-1) unstable; urgency=low + + * Initial Release. (Closes: #150106) + + -- Ivo Timmermans Sat, 10 Aug 2002 22:02:49 +0200 + --- libtasn1-3-0.3.4.orig/debian/README.source_and_patches +++ libtasn1-3-0.3.4/debian/README.source_and_patches @@ -0,0 +1,10 @@ +Uses cdbs with simple-patchsys.mk. + +Patches in debian/patches (i.e. *diff *patch) are applied automatically in +alphanumeric order. + +Use +debian/rules apply-patches +to see the patched source. + +See cdbs-edit-patch for a useful way to make modifications. --- libtasn1-3-0.3.4.orig/debian/copyright +++ libtasn1-3-0.3.4/debian/copyright @@ -0,0 +1,47 @@ +This package was debianized by Ivo Timmermans on +Sat, 15 Jun 2002 23:37:29 +0200. +Matthias Urlichs . + +It is now maintained by Andreas Metzler , Eric Dorland + and James Westby + +It was downloaded from ftp://ftp.gnutls.org/pub/crypto/gnutls/libtasn1/ + +Upstream Author: Fabio Fiorina + +Copyright: +/* + * Copyright (C) 2004, 2006 Free Software Foundation + * Copyright (C) 2002 Fabio Fiorina + * + * This file is part of LIBTASN1. + * + * The LIBTASN1 library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA + */ + +On Debian GNU/Linux systems, the complete text of the GNU Lesser +General Public License can be found in +`/usr/share/common-licenses/LGPL'. + +The documentation is distributed under the terms of the GNU Free +Documentation License (FDL): + + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation License, + Version 1.1 or any later version published by the Free Software + Foundation; with no Invariant Sections, no Front-Cover Texts and + no Back-Cover Texts. A copy of the license is included in the + chapter entitled "GNU Free Documentation License". --- libtasn1-3-0.3.4.orig/debian/libtasn1-config.1 +++ libtasn1-3-0.3.4/debian/libtasn1-config.1 @@ -0,0 +1,24 @@ +.TH "LIBTASN1\(hyCONFIG" 1 +.SH NAME +libtasn1\(hyconfig \- Get information about the installed location of libtasn1 +.SH SYNOPSIS +.B libtasn1\(hyconfig +libtasn1\(hyconfig [\-\-prefix[=path]] [\-\-exec\(hyprefix[=path]] [\-\-version] [\-\-cflags] [\-\-libs] +.SH DESCRIPTION +This program provides information about the installed version of libtasn1, it's location and it's compile time options. +.SH OPTIONS +.TP +.B \-\-prefix +If provided with no path then it prints the prefix that libtasn1 was installed to. If a path is provided then this is the prefix that is used in the output. +.TP +.B \-\-exec\(hyprefix +If provided with no path then it prints the exec\(hyprefix that libtasn was installed to. If a path is provided then that is the exec\(hyprefix used in the output. +.TP +.B \-\-cflags +Prints the cflags that libtasn1 was compiled with. +.TP +.B \-\-libs +Prints command line arguments suitable for passing to the compiler for liking against libtasn1 +.TP +.B \-\-version +Prints the version of libtasn1 installed. --- libtasn1-3-0.3.4.orig/debian/libtasn1-3-dev.examples +++ libtasn1-3-0.3.4/debian/libtasn1-3-dev.examples @@ -0,0 +1 @@ +src/*.c --- libtasn1-3-0.3.4.orig/debian/libtasn1-3-bin.install +++ libtasn1-3-0.3.4/debian/libtasn1-3-bin.install @@ -0,0 +1,4 @@ +usr/bin/asn1Coding +usr/bin/asn1Parser +usr/bin/asn1Decoding +usr/share/man/man1/* --- libtasn1-3-0.3.4.orig/debian/libtasn1-3.install +++ libtasn1-3-0.3.4/debian/libtasn1-3.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- libtasn1-3-0.3.4.orig/debian/patches/30_man_hyphen_read_value.diff +++ libtasn1-3-0.3.4/debian/patches/30_man_hyphen_read_value.diff @@ -0,0 +1,11 @@ +--- libtasn1-3-0.3.4.orig/doc/man/asn1_read_value.3 2006-06-06 01:49:00.000000000 +0100 ++++ libtasn1-3-0.3.4/doc/man/asn1_read_value.3 2006-06-06 01:50:18.000000000 +0100 +@@ -28,7 +28,7 @@ + .SH "INTEGER" + VALUE will contain a two's complement form integer. + +-integer=-1 -> value[0]=0xFF , len=1. ++integer=\-1 -> value[0]=0xFF , len=1. + integer=1 -> value[0]=0x01 , len=1. + .SH "ENUMERATED" + As INTEGER (but only with not negative numbers). --- libtasn1-3-0.3.4.orig/debian/patches/20_asnparser.diff +++ libtasn1-3-0.3.4/debian/patches/20_asnparser.diff @@ -0,0 +1,12 @@ +--- libtasn1-3-0.3.4.orig/src/asn1Parser.c ++++ libtasn1-3-0.3.4/src/asn1Parser.c +@@ -33,7 +33,9 @@ + #include + #include + #include ++#ifdef HAVE_UNISTD_H + #include ++#endif + + #ifdef HAVE_GETOPT_H + #include --- libtasn1-3-0.3.4.orig/debian/patches/30_man_hyphen_write_value.diff +++ libtasn1-3-0.3.4/debian/patches/30_man_hyphen_write_value.diff @@ -0,0 +1,13 @@ +--- libtasn1-3-0.3.4.orig/doc/man/asn1_write_value.3 2006-06-06 01:49:00.000000000 +0100 ++++ libtasn1-3-0.3.4/doc/man/asn1_write_value.3 2006-06-06 01:50:37.000000000 +0100 +@@ -30,8 +30,8 @@ + .SH "INTEGER" + VALUE must contain a two's complement form integer. + +-value[0]=0xFF , len=1 -> integer=-1. +-value[0]=0xFF value[1]=0xFF , len=2 -> integer=-1. ++value[0]=0xFF , len=1 -> integer=\-1. ++value[0]=0xFF value[1]=0xFF , len=2 -> integer=\-1. + value[0]=0x01 , len=1 -> integer= 1. + value[0]=0x00 value[1]=0x01 , len=2 -> integer= 1. + value="123" , len=0 -> integer= 123. --- libtasn1-3-0.3.4.orig/debian/patches/30_man_hyphen_get_length.diff +++ libtasn1-3-0.3.4/debian/patches/30_man_hyphen_get_length.diff @@ -0,0 +1,13 @@ +--- libtasn1-3-0.3.4.orig/doc/man/asn1_get_length_der.3 2006-06-06 01:49:00.000000000 +0100 ++++ libtasn1-3-0.3.4/doc/man/asn1_get_length_der.3 2006-06-06 01:49:43.000000000 +0100 +@@ -16,8 +16,8 @@ + .SH "DESCRIPTION" + Extract a length field from DER data. + .SH "RETURN VALUE" +-Return the decoded length value, or -1 on indefinite +-length, or -2 when the value was too big. ++Return the decoded length value, or \-1 on indefinite ++length, or \-2 when the value was too big. + .SH COPYRIGHT + Copyright \(co 2001, 2002, 2003 Fabio Fiorina. + .br