debian/0000755000000000000000000000000012170565167007200 5ustar debian/changelog0000644000000000000000000002441612170564660011056 0ustar xmlstarlet (1.5.0-1) unstable; urgency=low * New upstream release. * Remove debian/patches/30-fix-stray-in-program.patch: fix usage2c.awk for mawk in upstream. * Remove debian/patches/50-fix-ftbfs-tests.patch: it is applied upstream. * Add debian/patches/50-fix-format-security.patch: fix format string literals. * Add debian/patches/60-avoid-silent-rules.patch: don't hide the real compiler flags to allow automatic checks for missing (hardening) flags via blhc. -- Mònica Ramírez Arceda Sun, 14 Jul 2013 20:10:29 +0200 xmlstarlet (1.4.2-3) unstable; urgency=low * debian/patches/50-fix-ftbfs-tests.patch: move tests environment variables to AM_TESTS_ENVIRONMENT to avoid FTBFS. (Closes: #713385) * debian/control: use the canonical URI in VCS-* fields. * debian/rules: do not install .trs files. -- Mònica Ramírez Arceda Tue, 25 Jun 2013 21:10:32 +0200 xmlstarlet (1.4.2-2) unstable; urgency=low * Upload to unstable. -- Mònica Ramírez Arceda Tue, 14 May 2013 14:26:40 +0200 xmlstarlet (1.4.2-1) experimental; urgency=low * New upstream release. * Remove patch 10-add-xmlstar-fodoc-style.xsl.patch: it is not needed any more, xmlstar-fodoc-style.xsl is now included in upstream tarball. * Remove patch 20-automake-needs-pkg-tarname.patch: fixed in new release. * debian/rules: exclude test log files generated during build time from examples directory. -- Mònica Ramírez Arceda Mon, 11 Feb 2013 17:08:46 +0100 xmlstarlet (1.4.0-1) experimental; urgency=low * New upstream release. * Remove patch fix_inconsistency_man_page.patch: it's not needed anymore. * debian/docs: remove doc/callouts. This dir doesn't exist anymore. * Generate documentation. (Closes: #621755) - debian/rules: add --enable-build-docs option to configure to generate documentation. - debian/clean: remove upstream documentation to generate documentation again. - debian/patches/10-add-xmlstar-fodoc-style.xsl.patch: add xmlstar-fodoc-style.xsl to be able to generate documentation. * debian/patches/20-automake-needs-pkg-tarname.patch: Install documentation in /usr/share/doc/xmlstarlet, instead of /usr/share/doc/. * Update debian/xmlstarlet.doc-base. * Add xsltproc, gawk, docbook-xsl-ns, fop and ghostscript as build dependencies. * debian/patches/30-fix-stray-in-program.patch: Force usage2c.awk to use gawk. * debian/patches/40-use-debian-docbook-xsl.patch: use docbook stylesheets from docbook-xsl-ns package. * Bump to Standards-Version 3.9.4. No changes required. -- Mònica Ramírez Arceda Thu, 25 Oct 2012 11:23:36 +0200 xmlstarlet (1.3.1-3) unstable; urgency=low * Remove debian/menu file: xmlstarlet does not do anything useful if invoked without arguments. (Closes: #673716) -- Mònica Ramírez Arceda Sat, 23 Jun 2012 17:58:15 +0200 xmlstarlet (1.3.1-2) unstable; urgency=low * Update Maintainer field with Debian email. * Update compatibility level to 9. * debian/rules: Enable security hardening build flags. * debian/copyright: update format field and manitainer's email. * Bump to Standards-Version 3.9.3. No changes required. -- Mònica Ramírez Arceda Sun, 01 Apr 2012 16:33:04 +0200 xmlstarlet (1.3.1-1) unstable; urgency=low * New upstream release. - Substitute external entities. (Closes: #653666) -- Mònica Ramírez Arceda Sat, 21 Jan 2012 19:02:58 +0100 xmlstarlet (1.3.0-1) unstable; urgency=low * New upstream release. - Work around libxml bug that passes bogus data to error handler (Closes: #642523) -- Mònica Ramírez Arceda Thu, 06 Oct 2011 11:22:27 +0200 xmlstarlet (1.2.1-1) unstable; urgency=low * New upstream release. * Fix a comment in debian/rules: static libs are disabled by default. -- Mònica Ramírez Arceda Sat, 09 Jul 2011 11:34:55 +0200 xmlstarlet (1.2.0-1) unstable; urgency=low * New upstream release. - Restore input context (lost in version 1.0.3) to error messages. (Closes: #627158) * Bump to Standards-Version 3.9.2. No changes required. * fix_inconsistency_man_page.patch: update patch header to fix minor spelling. -- Mònica Ramírez Arceda Sun, 05 Jun 2011 20:22:47 +0200 xmlstarlet (1.1.0-1) unstable; urgency=low * New upstream release. * Remove add.shellscript.mark.patch: fixed in upstream. * Remove --disable-static-libs configure option in debian/rules: static libs are disabled in upstream by default. * Change the way of renaming xml to xmlstarlet in debian/rules. Thanks to Vincent Lefevre. (See bug #621755). * Fix inconsistency of names (rename xml to xmlstarlet) in man page (fix_inconsistency_man_page.patch). (See bug #621755). * Update debian/control: add automake version dependency to avoid build errors with older versions. See: https://buildd.debian.org/status/fetch.php?pkg=xmlstarlet&arch=hurd-i386&ver=1.0.6-1&stamp=1300571888 * Update debian/copyright to DEP-5. -- Mònica Ramírez Arceda Sun, 10 Apr 2011 11:32:53 +0200 xmlstarlet (1.0.6-1) unstable; urgency=low * New upstream release. * Update add.shellscript.mark.patch to add examples/c14n-newlines. * debian/rules: Remove override_dh_auto_build. After applying clean target, version.h is regenerated. -- Mònica Ramírez Arceda Thu, 17 Mar 2011 12:38:02 +0100 xmlstarlet (1.0.5-1) unstable; urgency=low * New upstream release. - Use XSLT_PARSE_OPTIONS, else CDATA nodes can cause corruption. (Closes: #583113) * Remove upstream.version.without.git.patch: new release realizes if we are using a git repository or not. * Remove fix.spelling.errors.patch: spelling error solved in new upstream release. * Remove fix.wrong.documentation.patch: in new upstream release usage strings use argv[0] as program name. * debian/rules: Make sure version.h exists. After applying clean target, version.h is removed and the next builds fail. * Add Vcs-Git, Vcs-Browser fields in debian/control. -- Mònica Ramírez Arceda Thu, 17 Feb 2011 11:44:34 +0100 xmlstarlet (1.0.4-1) unstable; urgency=low * New upstream release. - Fix some bugs (Closes: #311505, #539573, #609783, #444215) * Update upstream.version.without.git.patch to upgrade to version 1.0.4. * Update add.shellscript.mark.patch to add new examples. * Delete disable.static.libs.patch. Solved in upstream. -- Mònica Ramírez Arceda Wed, 19 Jan 2011 10:05:09 +0100 xmlstarlet (1.0.3-1) unstable; urgency=low * Adopt the package. (Closes: #571643) * New upstream release. * Update debhelper compatibility level to 8. No changes required further changing version in debian/compat and debian/control files. * Change debian/rules to use dh command. * Bump to Standards-Version 3.9.1. No changes required. * Add Debian menu entry. * Update watch file to version 3. * Patch configure.ac to build the package with shared libixml2 and libxslt. This patch is based in an upstream commit. See commit number 7e46365a274e1c0e5276423391a46e65b76336e9 in upstream repository: http://xmlstar.git.sourceforge.net/ Hopefully, it will be included in next version. * Patch configure.ac version to avoid getting version from git repository. * configure.in file disappeared and therefore the Debian patch applied to it. * Delete pkg-config dependency: pkg-config was used in the patch of old configure.in. * Fix wrong documentation in --help options. Patch fix.wrong.documentation. (Closes: #373167) * Add #!/bin/sh line to examples. Patch add.shellscript.mark.patch. * Fix spelling error: diplay -> display in src/xml_trans.c. Patch fix.spelling.errors.patch. * Update information about where was the source downloaded from in debian/copyright and removed duplicated information. -- Mònica Ramírez Arceda Sun, 02 Jan 2011 20:49:38 +0100 xmlstarlet (1.0.2-1) unstable; urgency=low * QA upload. * New upstream release. Includes prevention of -N options getting dropped for command-line (Closes: #540842) (LP: #209982) * Migrate to 3.0 (quilt) for upstream changes. * Build-depend on autotools-dev and dh-autoreconf to update the autotools information. Replaces outdated config.{sub,guess} (Closes: #535723) -- Neil Williams Sun, 20 Jun 2010 20:48:59 +0100 xmlstarlet (1.0.1-2) unstable; urgency=low * Add missing build-depends created by one of the applied patches. D'oh! (closes: #369704, #369722) -- Alex Mauer Wed, 31 May 2006 19:14:16 -0500 xmlstarlet (1.0.1-1) unstable; urgency=low * New upstream release (closes: #367855) * Added examples (closes: #312307) and graphics for the documentation (closes: #312308) * Binary name is now xmlstarlet on all arches, not just i386 (closes: #312932) -- Alex Mauer Thu, 18 May 2006 11:56:07 -0500 xmlstarlet (1.0.0-1) unstable; urgency=low * New upstream release -- Alex Mauer Tue, 8 Feb 2005 10:22:07 -0600 xmlstarlet (0.9.3-5) unstable; urgency=low * Added graphics for the html docs to the doc/callouts directory -- Alex Mauer Sun, 2 Jan 2005 20:56:17 -0600 xmlstarlet (0.9.3-4) unstable; urgency=low * applied patch for hppa systems (closes: #283039) -- Alex Mauer Mon, 27 Dec 2004 11:55:45 -0600 xmlstarlet (0.9.3-3) unstable; urgency=low * Fixed the description so it's formatted better (closes: #281132) * Actually moved docs into doc subdir, so that it installs even if doc-base is installed. (closes: #281137) * Dynamically linked so that it takes up 69K instead of ~1.3M (Closes: #281684) -- Alex Mauer Wed, 17 Nov 2004 14:10:23 -0600 xmlstarlet (0.9.3-2) unstable; urgency=low * Fixed debian/watch so uscan can find new versions of xmlstarlet -- Alex Mauer Tue, 12 Oct 2004 15:40:14 -0500 xmlstarlet (0.9.3-1) unstable; urgency=low * Initial Release. * First package for me! -- Alex Mauer Tue, 28 Sep 2004 17:10:28 -0500 debian/source/0000755000000000000000000000000012170513325010465 5ustar debian/source/format0000644000000000000000000000001412170513325011673 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212170513325010363 0ustar 9 debian/watch0000644000000000000000000000007112170513325010214 0ustar version=3 http://sf.net/xmlstar/xmlstarlet-(.*)\.tar\.gz debian/clean0000644000000000000000000000014612170513325010173 0ustar doc/xmlstarlet.1 doc/xmlstarlet.txt doc/xmlstarlet-ug.html doc/xmlstarlet-ug.pdf doc/xmlstarlet-ug.ps debian/xmlstarlet.doc-base0000644000000000000000000000073612170513325012771 0ustar Document: xmlstarlet Title: xmlstarlet Manual Author: Mikhail Grushinskiy Abstract: This manual describes the xmlstarlet XML processing tool. Section: File Management Format: PostScript Files: /usr/share/doc/xmlstarlet/xmlstarlet-ug.ps.gz Format: PDF Files: /usr/share/doc/xmlstarlet/xmlstarlet-ug.pdf.gz Format: text Files: /usr/share/doc/xmlstarlet/xmlstarlet.txt.gz Format: HTML Index: /usr/share/doc/xmlstarlet/xmlstarlet-ug.html Files: /usr/share/doc/xmlstarlet/*.html debian/rules0000755000000000000000000000110412170513325010241 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # Use hardening options to build the package export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ --with autoreconf # Rename the binary xml -> xmlstarlet override_dh_auto_configure: dh_auto_configure -- --program-transform-name=s/xml$$/xmlstarlet/ --enable-build-docs override_dh_fixperms: dh_fixperms chmod 644 $(CURDIR)/debian/xmlstarlet/usr/share/doc/xmlstarlet/examples/xml/xmlstarlet-xsa.xml override_dh_installexamples: dh_installexamples --exclude=log --exclude=trs examples/* debian/control0000644000000000000000000000400412170513325010566 0ustar Source: xmlstarlet Section: text Priority: optional Maintainer: Mònica Ramírez Arceda Build-Depends: debhelper (>= 9), dh-autoreconf, autotools-dev, libxml2-dev, libxslt1-dev (>=1.1.9), automake (>=1.11), xsltproc, gawk, docbook-xsl-ns, fop, ghostscript Standards-Version: 3.9.4 Homepage: http://xmlstar.sourceforge.net/ Vcs-Git: git://anonscm.debian.org/collab-maint/xmlstarlet.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/xmlstarlet.git Package: xmlstarlet Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: command line XML toolkit XMLStarlet is a set of command line utilities (tools) which can be used to transform, query, validate, and edit XML documents and files using simple set of shell commands in similar way it is done for plain text files using UNIX grep, sed, awk, diff, patch, join, etc commands. . This set of command line utilities can be used by those who deal with many XML documents on UNIX shell command prompt as well as for automated XML processing with shell scripts. . The toolkit's feature set includes options to: Check or validate XML files (simple well-formedness check, DTD, XSD, RelaxNG) Calculate values of XPath expressions on XML files (such as running sums, etc) Search XML files for matches to given XPath expressions Apply XSLT stylesheets to XML documents (including EXSLT support, and passing parameters to stylesheets) Query XML documents (ex. query for value of some elements of attributes, sorting, etc) Modify or edit XML documents (ex. delete some elements) Format or "beautify" XML documents (as changing indentation, etc) Fetch XML documents using http:// or ftp:// URLs Browse tree structure of XML documents (in similar way to 'ls' command for directories) Include one XML document into another using XInclude XML c14n canonicalization Escape/unescape special XML characters in input text Print directory as XML document Convert XML into PYX format (based on ESIS - ISO 8879), and vice versa debian/copyright0000644000000000000000000000460112170513325011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstrem-Name: XMLStarlet Command Line XML Toolkit Upstream-Contact: Mikhail Grushinskiy Dagobert Michelsen Source: http://xmlstar.sourceforge.net/ Files: * Copyright: Copyright (c) 2002-2004 Mikhail Grushinskiy. All Rights Reserved. License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: 2011 Mònica Ramírez Arceda 2004 Alex Mauer License: GPL-2+ 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. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/patches/0000755000000000000000000000000012170563421010616 5ustar debian/patches/series0000644000000000000000000000013112170563136012031 0ustar 40-use-debian-docbook-xsl.patch 50-fix-format-security.patch 60-avoid-silent-rules.patch debian/patches/50-fix-format-security.patch0000644000000000000000000000153412170560041016000 0ustar Description: Fix format string literals and avoid gcc error: "format not a string literal and no format arguments [-Werror=format-security]" Author: Mònica Ramírez Arceda Last-Update: 2013-07-14 --- a/src/xml_edit.c +++ b/src/xml_edit.c @@ -588,7 +588,7 @@ xmlFreeDoc(doc); if (!op_applied && ops_count > 0 && default_ns && !globalOptions.quiet) { - fprintf(stderr, DEFAULT_NS_FAIL_MESSAGE); + fprintf(stderr, "%s", DEFAULT_NS_FAIL_MESSAGE); } } --- a/src/xml_select.c +++ b/src/xml_select.c @@ -740,7 +740,7 @@ do_file("-", style_tree, xml_options, &ops, &xsltOps, &status); if (status != EXIT_SUCCESS && default_ns && !ops.quiet) { - fprintf(stderr, DEFAULT_NS_FAIL_MESSAGE); + fprintf(stderr, "%s", DEFAULT_NS_FAIL_MESSAGE); } /* debian/patches/60-avoid-silent-rules.patch0000644000000000000000000000104412170562023015604 0ustar Description: Don't hide the real compiler flags to allow automatic checks for missing (hardening) flags via blhc. It avoids buildd log scanner tag W-compiler-flags-hidden. Author: Mònica Ramírez Arceda Last-Update: 2013-07-14 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,6 @@ AC_REVISION(AC_PACKAGE_VERSION) AM_INIT_AUTOMAKE([1.11 foreign -Wall subdir-objects no-define std-options parallel-tests color-tests]) -AM_SILENT_RULES([yes]) AM_MAINTAINER_MODE [LIBXML_REQUIRED_VERSION=2.6.27] debian/patches/40-use-debian-docbook-xsl.patch0000644000000000000000000000142112170513325016312 0ustar Description: Use stylesheets from docbook-xsl-ns package. Author: Mònica Ramírez Arceda Last-Update: 2012-10-28 --- a/doc/doc.mk +++ b/doc/doc.mk @@ -25,7 +25,7 @@ .xml.html: $(V_DOCBOOK)$(EDIT_XML) $< | $(XSLTPROC) $(DOCBOOK_PARAMS) \ --stringparam html.stylesheet html.css \ - http://docbook.sourceforge.net/release/xsl-ns/current/html/docbook.xsl \ + /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/html/docbook.xsl \ - > $@ .xml.fo: @@ -44,7 +44,7 @@ $(manpage): $(manpage_src) $(V_DOCBOOK)$(EDIT_XML) $< | $(XSLTPROC) -o $@ \ - http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl \ + /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/manpages/docbook.xsl \ - $(txtguide): $(txtguide_src) $(usage_texts) debian/docs0000644000000000000000000000010312170513325010032 0ustar NEWS README TODO doc/*.html doc/*.css doc/*.xml doc/*.ps doc/*.txt