From ece82b426d5f35ca2274f4861af7661aaa8e34b8 Mon Sep 17 00:00:00 2001 From: OSS-QM autoimport Date: Wed, 1 Sep 2010 10:44:31 +0200 Subject: [PATCH] (Debian) dpkg control files --- debian/TODO | 31 +++ debian/changelog | 451 +++++++++++++++++++++++++++++++++++++++++ debian/compat | 1 + debian/control | 82 ++++++++ debian/copyright | 29 +++ debian/expat.install | 1 + debian/lib64expat1-dev.install | 2 + debian/lib64expat1.install | 1 + debian/lib64expat1.shlibs | 2 + debian/libexpat1-dev.doc-base | 9 + debian/libexpat1-dev.docs | 1 + debian/libexpat1-dev.examples | 1 + debian/libexpat1-dev.install | 6 + debian/libexpat1-dev.links | 1 + debian/libexpat1-udeb.install | 1 + debian/libexpat1.install | 1 + debian/libexpat1.shlibs | 3 + debian/rules | 123 +++++++++++ debian/watch | 2 + 19 files changed, 748 insertions(+) create mode 100644 debian/TODO create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/expat.install create mode 100644 debian/lib64expat1-dev.install create mode 100644 debian/lib64expat1.install create mode 100644 debian/lib64expat1.shlibs create mode 100644 debian/libexpat1-dev.doc-base create mode 100644 debian/libexpat1-dev.docs create mode 100644 debian/libexpat1-dev.examples create mode 100644 debian/libexpat1-dev.install create mode 100644 debian/libexpat1-dev.links create mode 100644 debian/libexpat1-udeb.install create mode 100644 debian/libexpat1.install create mode 100644 debian/libexpat1.shlibs create mode 100644 debian/rules create mode 100644 debian/watch diff --git a/debian/TODO b/debian/TODO new file mode 100644 index 0000000..f7a122d --- /dev/null +++ b/debian/TODO @@ -0,0 +1,31 @@ +------------------------------------------------------------------------------ +To do list for expat +------------------------------------------------------------------------------ + +IMPORTANT: + +Transition must be made for the removal of the libexpat.so.0 symlink +(post-lenny, for the moment in experimental?). + + +BUGS: +------------------------------------------------------------------------------ +Number Description +------------------------------------------------------------------------------ +245840 incorrect pointer adjustments on buffer reallocation +------------------------------------------------------------------------------ + +WISHLIST: +------------------------------------------------------------------------------ +Number Description Adressed +------------------------------------------------------------------------------ +230856 please build libexpat1-pic package for library reduction wontfix +277133 Request for XML_UNICODE support 2.0.1-1 +429175 New upstream version 2.0.1 2.0.1-1 + +- add pkgconfig support wontfix? +- add expat.m4 to /usr/share/aclocal instead 2.0.1-1 +- build -Os +------------------------------------------------------------------------------ + + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6dcae15 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,451 @@ +expat (2.0.1-4+lenny3) stable-security; urgency=low + + * Upload to stable to fix regressions in last security fix. + * debian/patches/560901_CVE_2009_3560.dpatch: Adjusted. + - lib/xmlparse.c (doProlog): Revised patch for CVE-2009-3560 after + regressions have been detected (closes: #561658, #562381). Many thanks + to Niko Tyni and Karl Waclawek for their help and the fix. + + -- Daniel Leidert (dale) Tue, 29 Dec 2009 22:29:18 +0100 + +expat (2.0.1-4+lenny2) stable-security; urgency=medium + + * Upload to stable to fix security issues. + * debian/patches/560901_CVE_2009_3560.dpatch: Added. + - lib/xmlparse.c (doProlog): Fix DoS vulnerability CVE-2009-3560 (closes: + #560901). + * debian/patches/00list: Adjusted. + + -- Daniel Leidert (dale) Sun, 13 Dec 2009 12:01:05 +0100 + +expat (2.0.1-4+lenny1) stable-security; urgency=medium + + * Upload to stable to fix security issues. + * debian/patches/551936_CVE_2009_2625.dpatch: Added. + - lib/xmltok_impl.c (updatePosition): Fix DoS vulnerability CVE-2009-2625 + and CVE-2009-3720 (closes: #551936). + * debian/patches/00list: Adjusted. + + -- Daniel Leidert (dale) Mon, 26 Oct 2009 15:13:25 +0100 + +expat (2.0.1-4) unstable; urgency=low + + * debian/libexpat1-dev.install: Install the libtool .la files again and drop + them after Lenny (closes: #485460). + + -- Daniel Leidert (dale) Mon, 09 Jun 2008 20:48:30 +0200 + +expat (2.0.1-3) unstable; urgency=low + + * debian/patches/485129_fix_underquotation_in_m4.dpatch: Added. + - conftools/expat.m4: Fixed underquotation in AC_DEFUN (closes: #485129). + * debian/patches/00list: Adjusted. + + -- Daniel Leidert (dale) Sun, 08 Jun 2008 20:15:58 +0200 + +expat (2.0.1-2) unstable; urgency=low + + * debian/rules: Set correct host flags to prevent FTBFS on architectures, + where we build the lib64expat* packages. + (build-stamp, install): Fixed a stupid mistake leading to an FTBFS on the + architectures, where we don't build the lib64expat* packages. + + -- Daniel Leidert (dale) Sat, 07 Jun 2008 20:35:04 +0200 + +expat (2.0.1-1) unstable; urgency=low + + * New upstream release 2.0.1 (closes: #429175). + + [ Matthias Klose ] + * debian/control: Added 64bit libraries. + (Build-Depends): Added gcc-multilib. + * debian/lib64expat1-dev.install: Added. + * debian/lib64expat1.install: Ditto. + * debian/lib64expat1.shlibs: Ditto. + * debian/libexpat1.links: Remove the old libexpat.so.0 symlink. + * debian/libexpat1-udeb.links: Ditto. + * debian/libexpat1.shlibs: Removed libexpat.so.0. + + [ Daniel Leidert ] + * Removed Debian-written autotools stuff. + * debian/control: Added Homepage and Vcs* fields. Added conflicts with wink + package version, relying on the compat symlink. + (Standards-Version): Increased to 3.7.3. + (Build-Depends): Added dpatch and docbook-to-man. + (Uploaders): Added myself. + (Depends): lib64expat1-dev should depend on libexpat1-dev. + * debian/copyright: Added missing copyright of the last years. + * debian/expat.install: Do not copy the upstream manpage (see debian/rules). + * debian/libexpat1-dev.install: Install the expat.m4 macro file. Do not + install the libtool .la files. + * debian/lib64expat1-dev.install: Do not install the libtool .la files + either. + * debian/libexpat1-dev.examples: Only install the C sources. + * debian/libexpat1-udeb.install: Make sure, only libexpat is installed (for + the moment). + * debian/libexpat1.shlibs: Adjusted for libexpatw. + * debian/lib64expat1.shlibs: Ditto. + * debian/rules: Rewritten to make it shorter (yeah sorry, I removed the + comments too). + - Added dpatch stuff. + - Create the manpage xmlwf.1 on-the-fly (there is doc/xmlwf.1, but it has + issues and gets patched, so we recreate it). + - Build and install libexpatw with XML_UNICODE support enabled (closes: + #277133). + * debian/patches/82763_xmlwf_error_out_2.dpatch: Added (#82763). + * debian/patches/302191_install_expat_config_h.dpatch: Added (#302191). + * debian/patches/342684_libtoolize.dpatch: Added (#342684). + - Further update configure (closes: #439127). + * debian/patches/412786_xmlwf_man_standard_fix.dpatch: Added (#412786). + * debian/patches/00list: Added. + + -- Daniel Leidert (dale) Sat, 07 Jun 2008 14:54:30 +0200 + +expat (2.0.1-0ubuntu1) hardy; urgency=low + + * New upstream version. LP: #133808. + * Remove the old libexpat.so.0 symlink; this bug predates Ubuntu (was + fixed in version 1.95.5-1). + * Drop the extra build files in bcb5/. + + -- Matthias Klose Wed, 05 Dec 2007 17:37:50 +0100 + +expat (1.95.8-4ubuntu1) gutsy; urgency=low + + * Build 64bit packages. + + -- Matthias Klose Sat, 22 Sep 2007 10:00:04 +0200 + +expat (1.95.8-4) unstable; urgency=low + + * Acknowledged NMUs 1.95.8-3.1 - 1.95.8-3.4 + ( closes: Bug#355937, Bug#354244, Bug#342684) + * lib/expat.h: removed trailing comma from enum XML_Status + (closes: Bug#344298) + * debian/control: removed 'Provides' from libexpat1-udeb stanza + (closes: Bug#419606) + * xmlwf/xmlwf.1: removed incorrect statement on well-formedness + (closes: Bug#412786 + * debian/TODO: updated + * debian/control: upgraded to Debian Policy 3.7.2 (no changes) + (thanks Bryan Donlan !) + * debian/rules: replaced $(PWD) by $(CURDIR) + * debian/control: replaced ${Source-Version} by ${Source-Version} + (thanks Bryan Donlan !) + + -- Ardo van Rangelrooij Sun, 22 Jul 2007 17:59:57 -0500 + +expat (1.95.8-3.4) unstable; urgency=low + + * Porter NMU. + * Libtool update (closes: bug#342684). + + -- Aurelien Jarno Sun, 10 Dec 2006 20:04:23 +0100 + +expat (1.95.8-3.3) unstable; urgency=low + + * NMU + * Use fixed watch file from Bart Martens. closes: #354244. + + -- Clint Adams Thu, 7 Sep 2006 22:04:05 -0400 + +expat (1.95.8-3.2) unstable; urgency=low + + * Non Maintainer Upload + * Correct mistake in patch for #355937 so that udeb: lines in shlibs file + actually refer to the udeb package + + -- Frans Pop Tue, 28 Mar 2006 22:09:52 +0200 + +expat (1.95.8-3.1) unstable; urgency=low + + * Non Maintainer Upload (closes: #355937) + * Add support for udeb dependency resolution in shlibs file + * Simplify debian/rules by making use of udeb support in debhelper + * Update debhelper compatibility to level 5 + + -- Frans Pop Sat, 18 Mar 2006 01:21:09 +0100 + +expat (1.95.8-3) unstable; urgency=low + + * Makefile.in: added $(srcdir)/expat_config.h to APIHEADER + (closes: Bug#302191) + * rebuild against latest libtool for kfreebsd-gnu + (closes: Bug#295825) + + -- Ardo van Rangelrooij Tue, 19 Apr 2005 21:50:50 -0500 + +expat (1.95.8-2) unstable; urgency=low + + * rebuild against latest libtool for kfreebsd-gnu + + -- Ardo van Rangelrooij Sat, 19 Feb 2005 13:45:36 -0600 + +expat (1.95.8-1) unstable; urgency=low + + * New upstream release + (closes: Bug#263858) + * debian/rules: added '-pthread -D_REENTRANT' to 'CFLAGS' + * Added debian/watch + + -- Ardo van Rangelrooij Tue, 19 Oct 2004 19:31:03 -0500 + +expat (1.95.6-8) unstable; urgency=low + + * debian/control: fixed typo in maintainer's email address + + -- Ardo van Rangelrooij Sun, 29 Feb 2004 11:01:15 -0600 + +expat (1.95.6-7) unstable; urgency=low + + * debian/control: upgraded to Debian Policy 3.6.1 (no changes) + * debian/control: changed 'Maintainer' to 'Debian XML/SGML Group + ' and added current + maintainer as 'Uploader' + + -- Ardo van Rangelrooij Sun, 29 Feb 2004 10:51:47 -0600 + +expat (1.95.6-6) unstable; urgency=low + + * debian/control: changed section of 'libexpat1-dev' from 'devel' + to 'libdevel' to align with override + * debian/control: changed priority of 'libexpat1-udeb' from 'optional' + to 'extra' to aliagn with override + + -- Ardo van Rangelrooij Tue, 29 Jul 2003 19:53:02 -0500 + +expat (1.95.6-5) unstable; urgency=low + + * debian/control: changed build dependency on 'debhelper' to '(>= 4.1)' + * debian/control: upgraded to Debian Policy 3.6.0 (no changes) + + -- Ardo van Rangelrooij Mon, 28 Jul 2003 22:45:43 -0500 + +expat (1.95.6-4) unstable; urgency=low + + * Added support to generate a 'libexpat1-udeb' package for the upcoming + gtk frontend for the new debian installer + (closes: Bug#183830) + * debian/rules: moved debhelper compatibility level setting to + 'debian/compat' per latest debhelper best practices + + -- Ardo van Rangelrooij Sun, 9 Mar 2003 20:42:31 -0600 + +expat (1.95.6-3) unstable; urgency=low + + * lib/expat.h: moved declaration of 'enum XML_Status' up + (closes: Bug#179914) + + -- Ardo van Rangelrooij Mon, 17 Feb 2003 19:28:14 -0600 + +expat (1.95.6-2) unstable; urgency=low + + * debian/libexpat1.shlibs: changed to 1.95.6 (oops!) + + -- Ardo van Rangelrooij Sun, 2 Feb 2003 18:24:54 -0600 + +expat (1.95.6-1) unstable; urgency=low + + * New upstream release + - fixes frequent segfault on nontrivial documents using namespaces + (closes: Bug#179462) + + -- Ardo van Rangelrooij Sun, 2 Feb 2003 14:53:04 -0600 + +expat (1.95.5-1) unstable; urgency=low + + * New upstream release + (closes: Bug#164202) + * debian/control: changed dependency for package 'libexpat1-dev' on the + C library from 'libc6-dev' to 'libc6-dev | libc-dev' + * debian/libexpat1.shlibs: added to provide info about libexpat.so.0 + (which is a symlink to libexpat.so.1 due to an NMU mishap, see below) + (closes: Bug#147751) + + -- Ardo van Rangelrooij Wed, 25 Dec 2002 14:46:32 -0600 + +expat (1.95.2-10) unstable; urgency=low + + * autogen.sh: upgraded to 'automake1.7' + * debian/rules: removed 'autotools' target as its function is now handled + by 'autogen.sh' + * debian/control: removed obsolete build dependency on 'autotools-dev' + * debian/control: added 'Provides' and 'Conflicts' with 'libexpat-dev' + for package 'libexpat1-dev' + * debian/control: upgraded to Debian Policy 3.5.8 + + -- Ardo van Rangelrooij Sat, 21 Dec 2002 23:33:34 -0600 + +expat (1.95.2-9) unstable; urgency=low + + * debian/rules: migrated documentation installation handling to debhelper + + -- Ardo van Rangelrooij Sun, 6 Oct 2002 22:52:54 -0500 + +expat (1.95.2-8) unstable; urgency=low + + * debian/rules: migrated to autoconf 2.52 and above + + -- Ardo van Rangelrooij Sun, 6 Oct 2002 15:37:04 -0500 + +expat (1.95.2-7) unstable; urgency=low + + * debian/rules: upgraded to debhelper v4 + * debian/control: changed build dependency on debhelper accordingly + * debian/rules: migrated from 'dh_movefiles' to 'dh_install' + * debian/rules: split off 'install' target from 'binary-arch' target + + -- Ardo van Rangelrooij Sat, 10 Aug 2002 11:02:25 -0500 + +expat (1.95.2-6) unstable; urgency=low + + * debian/control: removed unnecessary build dependency on 'autoconf' + + -- Ardo van Rangelrooij Sun, 9 Dec 2001 12:19:40 -0600 + +expat (1.95.2-5) unstable; urgency=low + + * Added man page for 'xmlwf' + (closes: Bug#39461) + * Converted to autotools-dev + * debian/control: added build dependency on 'autotools-dev' + * debian/control: removed build dependency on 'automake' and 'libtool' + + -- Ardo van Rangelrooij Fri, 7 Dec 2001 23:35:47 -0600 + +expat (1.95.2-4) unstable; urgency=low + + * Removed explicit 'dhelp' support since 'doc-base' now takes care of this + * debian/control: upgraded to Debian Policy 3.5.6 + + -- Ardo van Rangelrooij Sun, 4 Nov 2001 11:22:19 -0600 + +expat (1.95.2-3) unstable; urgency=high + + * Includes NMU 1.95.2-2.1 + (closes: Bug#111957) + * Added symlink from libexpat.so.0 to libexpat.so.1 to handle the + problems caused by the library soname change introduced by this NMU + (closes: Bug#116724, Bug#116727) + + -- Ardo van Rangelrooij Wed, 31 Oct 2001 11:09:47 -0600 + +expat (1.95.2-2.1) unstable; urgency=low + + * NMU. + * Added call to aclocal before call to autoconf in Makefile.in. + Closes: #111957. + * Ran 'libtoolize --force --copy' to update libtool info. This + works around problem with libtool version skew during build. + Should this be done in Makefile.in? + + -- Jeff Licquia Wed, 17 Oct 2001 10:35:46 -0600 + +expat (1.95.2-2) unstable; urgency=low + + * debian/control: added build dependency on 'libtool' + (closes: Bug#111693) + + -- Ardo van Rangelrooij Sat, 8 Sep 2001 14:29:55 -0500 + +expat (1.95.2-1) unstable; urgency=low + + * New upstream release + * debian/copyright: updated + + -- Ardo van Rangelrooij Thu, 6 Sep 2001 20:26:55 -0500 + +expat (1.95.1-6) unstable; urgency=low + + * debian/rules: fixed doc directory handling + (closes: Bug#104460) + * debian/control: upgraded to Debian Policy 3.5.5 + * xmlwf/xmlwf.c: changed to return error code 2 upon the first + processing error + (closes: Bug#82763) + + -- Ardo van Rangelrooij Sun, 15 Jul 2001 10:10:05 -0500 + +expat (1.95.1-5) unstable; urgency=low + + * conftools/config.*: updated to latest version + (closes: Bug#94772) + + -- Ardo van Rangelrooij Tue, 1 May 2001 21:49:55 -0500 + +expat (1.95.1-4) unstable; urgency=low + + * debian/control: added build dependency on 'autoconf' and 'automake' + (closes: Bug#95296) + + -- Ardo van Rangelrooij Thu, 26 Apr 2001 11:25:16 -0500 + +expat (1.95.1-3) unstable; urgency=low + + * debian/control: updated debhelper dependency to remove 'dh_testversion' + * debian/control: upgraded to Debian Policy 3.5.2 + + -- Ardo van Rangelrooij Tue, 24 Apr 2001 20:56:35 -0500 + +expat (1.95.1-2) unstable; urgency=low + + * debian/control: fixed section override disparity + + -- Ardo van Rangelrooij Mon, 29 Jan 2001 19:31:30 -0600 + +expat (1.95.1-1) unstable; urgency=low + + * New upstream release + (closes: Bug#74383, Bug#81866) + * Added doc-base and dhelp support + + -- Ardo van Rangelrooij Sun, 28 Jan 2001 09:02:53 -0600 + +expat (1.1-3) unstable; urgency=low + + * New maintainer + + -- Ardo van Rangelrooij Sat, 7 Oct 2000 13:40:57 -0500 + +expat (1.1-2) unstable; urgency=low + + * debian/rules: more debhelperification and use more FHS stuff + * debian/control: standards bumped to 3.2.1 (closes: Bug#70336) + + -- Adam Di Carlo Wed, 27 Sep 2000 00:56:10 -0400 + +expat (1.1-1) unstable; urgency=low + + * new upstream version + * debian/rules: aesthetic cleanups, use a bit more debhelper stuff to + reduce complexity + + -- Adam Di Carlo Tue, 1 Jun 1999 22:36:29 -0400 + +expat (1.0.2-1) unstable; urgency=low + + * new upstream version + * maintainer name change + * standards-version: bumped to 2.5.0 (no changes required) + + -- Adam Di Carlo Wed, 13 Jan 1999 18:35:53 -0500 + +expat (1.0-2) unstable; urgency=low + + * debian/rules: fix symlink for docdir of libxmltok1-dev + + -- Adam P. Harris Sun, 23 Aug 1998 15:51:43 -0400 + +expat (1.0-1) unstable; urgency=low + + * Initial release. + * Makefile: added MPL notice as required by license, modifications to + enable building of xmltok and xmlparse as shared and static + libraries. + * xmltok/Makefile: created to enable building libxmltok.a and + libxmltok.so + * xmlparse/Makefile: created to enable building libxmlparse.a and and + libxmlparse.so + * debian/*: Debian-specific files + + -- Adam P. Harris Mon, 17 Aug 1998 01:12:09 -0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..de47222 --- /dev/null +++ b/debian/control @@ -0,0 +1,82 @@ +Source: expat +Section: text +Priority: optional +Maintainer: Debian XML/SGML Group +Uploaders: Ardo van Rangelrooij , + Daniel Leidert (dale) +Standards-Version: 3.7.3 +Build-Depends: debhelper (>= 5.0.22), dpatch, docbook-to-man, + gcc-multilib [i386 powerpc sparc s390] +Homepage: http://expat.sourceforge.net +Vcs-Browser: http://svn.debian.org/wsvn/debian-xml-sgml/packages/expat/trunk/ +Vcs-Svn: svn://svn.debian.org/svn/debian-xml-sgml/packages/expat/trunk/ +DM-Upload-Allowed: yes + +Package: lib64expat1-dev +Section: libdevel +Priority: optional +Architecture: i386 powerpc sparc s390 +Depends: lib64expat1 (= ${binary:Version}), libexpat1-dev, gcc-multilib +Description: XML parsing C library - development kit (64bit) + This package contains the header file and development libraries of + expat, the C library for parsing XML. Expat is a stream oriented XML + parser. This means that you register handlers with the parser prior + to starting the parse. These handlers are called when the parser + discovers the associated structures in the document being parsed. A + start tag is an example of the kind of structures for which you may + register handlers. + +Package: lib64expat1 +Section: libs +Priority: optional +Architecture: i386 powerpc sparc s390 +Depends: ${shlibs:Depends} +Description: XML parsing C library - runtime library (64bit) + This package contains the runtime, shared library of expat, the C + library for parsing XML. + +Package: libexpat1-dev +Section: libdevel +Priority: optional +Architecture: any +Provides: libexpat-dev +Conflicts: libexpat-dev +Depends: libexpat1 (= ${binary:Version}), libc6-dev | libc-dev +Description: XML parsing C library - development kit + This package contains the header file and development libraries of + expat, the C library for parsing XML. Expat is a stream oriented XML + parser. This means that you register handlers with the parser prior + to starting the parse. These handlers are called when the parser + discovers the associated structures in the document being parsed. A + start tag is an example of the kind of structures for which you may + register handlers. + +Package: libexpat1 +Section: libs +Priority: optional +Architecture: any +Conflicts: wink (<= 1.5.1060-4) +Depends: ${shlibs:Depends} +Description: XML parsing C library - runtime library + This package contains the runtime, shared library of expat, the C + library for parsing XML. + +Package: libexpat1-udeb +XC-Package-Type: udeb +Section: debian-installer +Priority: extra +Architecture: any +Depends: ${shlibs:Depends} +Description: XML parsing C library - runtime library + This package contains the runtime, shared library of expat, the C + library for parsing XML. + +Package: expat +Section: text +Priority: optional +Architecture: any +Depends: ${shlibs:Depends} +Description: XML parsing C library - example application + This package contains xmlwf, an example application of expat, the C + library for parsing XML. The arguments to xmlwf are one or more + files which are each to be checked for XML well-formedness. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..716e374 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,29 @@ +This is the Debian package of expat, the C library for parsing XML. + +The source package was downloaded from . + +The original packager is Adam Di Carlo . The current +maintainer is Ardo van Rangelrooij . + +Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd + and Clark Cooper +Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers. + +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. diff --git a/debian/expat.install b/debian/expat.install new file mode 100644 index 0000000..e772481 --- /dev/null +++ b/debian/expat.install @@ -0,0 +1 @@ +usr/bin diff --git a/debian/lib64expat1-dev.install b/debian/lib64expat1-dev.install new file mode 100644 index 0000000..34c5ecb --- /dev/null +++ b/debian/lib64expat1-dev.install @@ -0,0 +1,2 @@ +usr/lib64/*.a +usr/lib64/*.so diff --git a/debian/lib64expat1.install b/debian/lib64expat1.install new file mode 100644 index 0000000..2c53d54 --- /dev/null +++ b/debian/lib64expat1.install @@ -0,0 +1 @@ +usr/lib64/*.so.* diff --git a/debian/lib64expat1.shlibs b/debian/lib64expat1.shlibs new file mode 100644 index 0000000..ed55770 --- /dev/null +++ b/debian/lib64expat1.shlibs @@ -0,0 +1,2 @@ +libexpat 1 lib64expat1 (>= 2.0.1) +libexpatw 1 lib64expat1 (>= 2.0.1) diff --git a/debian/libexpat1-dev.doc-base b/debian/libexpat1-dev.doc-base new file mode 100644 index 0000000..ae75bd5 --- /dev/null +++ b/debian/libexpat1-dev.doc-base @@ -0,0 +1,9 @@ +Document: expat +Title: Expat XML Parser +Author: Clark Cooper +Abstract: This manual describes the Expat XML Parser library. +Section: Text + +Format: HTML +Index: /usr/share/doc/libexpat1-dev/expat.html/index.html +Files: /usr/share/doc/libexpat1-dev/expat.html/*.html diff --git a/debian/libexpat1-dev.docs b/debian/libexpat1-dev.docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/debian/libexpat1-dev.docs @@ -0,0 +1 @@ +README diff --git a/debian/libexpat1-dev.examples b/debian/libexpat1-dev.examples new file mode 100644 index 0000000..43ec862 --- /dev/null +++ b/debian/libexpat1-dev.examples @@ -0,0 +1 @@ +examples/*.c diff --git a/debian/libexpat1-dev.install b/debian/libexpat1-dev.install new file mode 100644 index 0000000..06dcb06 --- /dev/null +++ b/debian/libexpat1-dev.install @@ -0,0 +1,6 @@ +usr/include +usr/lib/*.a +usr/lib/*.la +usr/lib/*.so +../../doc/* usr/share/doc/libexpat1-dev/expat.html/ +../../conftools/expat.m4 usr/share/aclocal/ diff --git a/debian/libexpat1-dev.links b/debian/libexpat1-dev.links new file mode 100644 index 0000000..d2ee18f --- /dev/null +++ b/debian/libexpat1-dev.links @@ -0,0 +1 @@ +usr/share/doc/libexpat1-dev/expat.html/reference.html usr/share/doc/libexpat1-dev/expat.html/index.html diff --git a/debian/libexpat1-udeb.install b/debian/libexpat1-udeb.install new file mode 100644 index 0000000..8586f67 --- /dev/null +++ b/debian/libexpat1-udeb.install @@ -0,0 +1 @@ +usr/lib/libexpat.so.* diff --git a/debian/libexpat1.install b/debian/libexpat1.install new file mode 100644 index 0000000..093956b --- /dev/null +++ b/debian/libexpat1.install @@ -0,0 +1 @@ +usr/lib/*.so.* diff --git a/debian/libexpat1.shlibs b/debian/libexpat1.shlibs new file mode 100644 index 0000000..b7b20d3 --- /dev/null +++ b/debian/libexpat1.shlibs @@ -0,0 +1,3 @@ +libexpat 1 libexpat1 (>= 1.95.8) +libexpatw 1 libexpat1 (>= 2.0.1) +udeb: libexpat 1 libexpat1-udeb (>= 1.95.8) diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..1c79692 --- /dev/null +++ b/debian/rules @@ -0,0 +1,123 @@ +#!/usr/bin/make -f +## ---------------------------------------------------------------------- +## debian/rules : package script for expat +## ---------------------------------------------------------------------- + +## uncomment this to turn on verbose mode +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) + +BUILD64 = $(filter $(DEB_HOST_ARCH), i386 powerpc sparc s390) + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + CONFFLAGS = --build=$(DEB_HOST_GNU_TYPE) +else + CONFFLAGS = --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) +endif + +ifeq ($(DEB_HOST_ARCH),i386) + HOST64FLAG = --host=x86_64-linux-gnu +endif +ifeq ($(DEB_HOST_ARCH),powerpc) + HOST64FLAG = --host=ppc64-linux-gnu +endif +ifeq ($(DEB_HOST_ARCH),sparc) + HOST64FLAG = --host=sparc64-linux-gnu +endif +ifeq ($(DEB_HOST_ARCH),s390) + HOST64FLAG = --host=s390x-linux-gnu +endif + +CFLAGS = -Wall -g -pthread -D_REENTRANT +LDFLAGS = -Wl,-Bsymbolic-functions +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +UPACKAGE = $(shell dh_listpackages | grep -- -udeb$$) + +build/config.status: configure + dh_testdir + (mkdir -p $(@D); cd $(@D); CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + ../configure $(CONFFLAGS) --prefix=/usr --mandir=\$${prefix}/share/man) + +buildw/config.status: configure + dh_testdir + (mkdir -p $(@D); cd $(@D); CFLAGS="$(CFLAGS) -DXML_UNICODE" LDFLAGS="$(LDFLAGS)" \ + ../configure $(CONFFLAGS) --prefix=/usr --mandir=\$${prefix}/share/man) + +build64/config.status: configure + dh_testdir + (mkdir -p $(@D); cd $(@D); CFLAGS="-m64 $(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + ../configure $(CONFFLAGS) $(HOST64FLAG) --prefix=/usr --mandir=\$${prefix}/share/man \ + --libdir=\$${prefix}/lib64) + +buildw64/config.status: configure + dh_testdir + (mkdir -p $(@D); cd $(@D); CFLAGS="-m64 $(CFLAGS) -DXML_UNICODE" LDFLAGS="$(LDFLAGS)" \ + ../configure $(CONFFLAGS) $(HOST64FLAG) --prefix=/usr --mandir=\$${prefix}/share/man \ + --libdir=\$${prefix}/lib64) + +clean: unpatch + dh_testdir + dh_testroot + rm -rf build/ build64/ buildw/ buildw64/ + rm -rf debian/tmp/ + dh_clean build-stamp patch-stamp debian/xmlwf.1 + +build: build-stamp +build-stamp: patch-stamp build/config.status buildw/config.status $(if $(BUILD64), build64/config.status buildw64/config.status) + dh_testdir + $(MAKE) -C build/ + $(MAKE) -C buildw/ buildlib LIBRARY=libexpatw.la +ifneq ($(BUILD64),) + $(MAKE) -C build64/ buildlib + $(MAKE) -C buildw64/ buildlib LIBRARY=libexpatw.la +endif + docbook-to-man doc/xmlwf.sgml > debian/xmlwf.1 + touch $@ + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) -C build/ install DESTDIR=$(CURDIR)/debian/tmp + $(MAKE) -C buildw/ installlib LIBRARY=libexpatw.la DESTDIR=$(CURDIR)/debian/tmp APIHEADER= +ifneq ($(BUILD64),) + $(MAKE) -C build64/ installlib DESTDIR=$(CURDIR)/debian/tmp + $(MAKE) -C buildw64/ installlib LIBRARY=libexpatw.la DESTDIR=$(CURDIR)/debian/tmp APIHEADER= +endif + +binary-indep: build install +binary-arch: build install + dh_testdir + dh_testroot + dh_install -s --sourcedir=debian/tmp + dh_installdocs -s + dh_installman -pexpat debian/xmlwf.1 + dh_installexamples -s + dh_installchangelogs -s Changes + dh_link -s + dh_strip -s + dh_compress -s + dh_fixperms -s + chmod 644 $(CURDIR)/debian/libexpat1-dev/usr/share/doc/libexpat1-dev/examples/* \ + $(CURDIR)/debian/libexpat1-dev/usr/share/aclocal/* + dh_makeshlibs -s -V --add-udeb=$(UPACKAGE) + dh_installdeb -s + dh_shlibdeps -s -l $(CURDIR)/debian/libexpat1/usr/lib:$(CURDIR)/debian/lib64expat1/usr/lib64 + dh_gencontrol -s + dh_md5sums -s + dh_builddeb -s + +binary: binary-indep binary-arch + +.PHONY: clean build install binary-indep binary-arch binary diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..f8bc9ef --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/expat/expat-(.*)\.tar\.gz debian uupdate -- 2.11.4.GIT