Compare commits
66 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d434040f6e | ||
|
|
28345a4717 | ||
|
|
e6897d555c | ||
|
|
45db8f21a8 | ||
|
|
3d004fe992 | ||
|
|
f1a31df583 | ||
|
|
d51a3bd967 | ||
|
|
98d1996b59 | ||
|
|
2d84f4f62d | ||
|
|
2957a091d4 | ||
|
|
1ba8b0210b | ||
|
|
48c222fb07 | ||
|
|
6633b1b61e | ||
|
|
dde5bd5bc8 | ||
|
|
f348c88612 | ||
|
|
eb9d53da97 | ||
|
|
09eba891f5 | ||
|
|
b1c5603abf | ||
|
|
c210f86730 | ||
|
|
86c45b831d | ||
|
|
34d83bad8f | ||
| c2100ba91a | |||
|
|
7203f113be | ||
|
|
11751f3d1d | ||
|
|
69c6e60db1 | ||
|
271be5206b |
|||
| 19fd6284d4 | |||
|
|
75fbd791c4 | ||
|
|
4976dc1636 | ||
|
|
986578e124 | ||
|
|
53d4a6abdf | ||
|
|
6348ce016b | ||
|
|
15a181171e | ||
|
|
97e589fe22 | ||
|
|
6d5c843a5f | ||
| 8490ff6304 | |||
|
|
d63c193569 | ||
|
|
33cac082e3 | ||
|
|
af4d283b34 | ||
|
|
42d04b7f5b | ||
|
|
b3730ca072 | ||
|
|
24650f31ac | ||
|
|
d87b68c06b | ||
|
|
3075a7d8ca | ||
|
|
444435e0e5 | ||
|
|
2d806c4216 | ||
|
|
d22fa51c07 | ||
|
|
c51950c718 | ||
|
|
3cd96fdfde | ||
|
|
b80d49ad1d | ||
|
|
421d8bc783 | ||
|
|
ef54c37c12 | ||
|
|
1b45c0b57c | ||
|
|
2b48b34bd8 | ||
|
|
c3186c7578 | ||
|
|
8ad1aeac67 | ||
|
|
4150c3da21 | ||
|
|
a03a18f667 | ||
|
|
75dbd54b60 | ||
|
|
e0d2d50ee0 | ||
|
|
40f234e5d9 | ||
|
|
fceb4fc80d | ||
|
|
803aaaedce | ||
|
|
ec04e05cbe | ||
|
|
19b5dd73d2 | ||
|
|
4cf0096d56 |
10 changed files with 289 additions and 977 deletions
|
|
@ -1 +0,0 @@
|
|||
xmlstarlet-1.0.1.tar.gz
|
||||
14
.gitignore
vendored
Normal file
14
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
xmlstarlet-1.0.1.tar.gz
|
||||
/xmlstarlet-1.0.2.tar.gz
|
||||
/xmlstarlet-1.0.3.tar.gz
|
||||
/xmlstarlet-1.0.4.tar.gz
|
||||
/xmlstarlet-1.0.5.tar.gz
|
||||
/xmlstarlet-1.0.6.tar.gz
|
||||
/xmlstarlet-1.1.0.tar.gz
|
||||
/xmlstarlet-1.2.1.tar.gz
|
||||
/xmlstarlet-1.3.0.tar.gz
|
||||
/xmlstarlet-1.3.1.tar.gz
|
||||
/xmlstarlet-1.4.2.tar.gz
|
||||
/xmlstarlet-1.5.0.tar.gz
|
||||
/xmlstarlet-1.6.0.tar.gz
|
||||
/xmlstarlet-1.6.1.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: xmlstarlet
|
||||
# $Id$
|
||||
NAME := xmlstarlet
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
8deb71834bcdfb4443c258a1f0042fce xmlstarlet-1.0.1.tar.gz
|
||||
f3c5dfa3b1a2ee06cd57c255cc8b70a0 xmlstarlet-1.6.1.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,192 +0,0 @@
|
|||
Index: xmlstarlet.spec.in
|
||||
===================================================================
|
||||
RCS file: /cvsroot/xmlstar/xmlstarlet/xmlstarlet.spec.in,v
|
||||
retrieving revision 1.9
|
||||
diff -u -p -r1.9 xmlstarlet.spec.in
|
||||
--- old/xmlstarlet.spec.in 1 Feb 2004 23:21:25 -0000 1.9
|
||||
+++ new/xmlstarlet.spec.in 21 Nov 2005 18:20:42 -0000
|
||||
@@ -43,6 +43,6 @@ rm -fr %{buildroot}
|
||||
%doc AUTHORS ChangeLog NEWS README Copyright TODO doc/xmlstarlet.txt doc/xmlstarlet.pdf
|
||||
%doc %{_mandir}/man1/xmlstarlet.1*
|
||||
|
||||
-%{prefix}/bin/xml
|
||||
+%{prefix}/bin/xmlstarlet
|
||||
%changelog
|
||||
|
||||
Index: src/Makefile.am
|
||||
===================================================================
|
||||
RCS file: /cvsroot/xmlstar/xmlstarlet/src/Makefile.am,v
|
||||
retrieving revision 1.21
|
||||
diff -u -p -r1.21 Makefile.am
|
||||
--- old/src/Makefile.am 21 Nov 2004 20:18:49 -0000 1.21
|
||||
+++ new/src/Makefile.am 21 Nov 2005 18:20:42 -0000
|
||||
@@ -2,12 +2,12 @@ INCLUDES = -I. -I$(top_srcdir) -I$(top_s
|
||||
-I$(top_builddir) -I$(top_builddir)/src \
|
||||
$(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS) $(LIBICONV_CFLAGS) $(CFLAGS)
|
||||
|
||||
-bin_PROGRAMS = xml
|
||||
+bin_PROGRAMS = xmlstarlet
|
||||
|
||||
-xml_SOURCES = xml.c xml_edit.c xml_ls.c xml_escape.c xml_pyx.c xml_depyx.c xml_select.c xml_trans.c xml_validate.c xml_format.c xml_elem.c xml_C14N.c trans.c binsert.c stack.c binsert.h stack.h trans.h escape.h strdup.h strdup.c
|
||||
-xml_LDFLAGS =
|
||||
-xml_DEPENDENCIES = $(DEPS)
|
||||
-xml_LDADD = $(LDADDS)
|
||||
+xmlstarlet_SOURCES = xml.c xml_edit.c xml_ls.c xml_escape.c xml_pyx.c xml_depyx.c xml_select.c xml_trans.c xml_validate.c xml_format.c xml_elem.c xml_C14N.c trans.c binsert.c stack.c binsert.h stack.h trans.h escape.h strdup.h strdup.c
|
||||
+xmlstarlet_LDFLAGS =
|
||||
+xmlstarlet_DEPENDENCIES = $(DEPS)
|
||||
+xmlstarlet_LDADD = $(LDADDS)
|
||||
|
||||
EXTRA_DIST = xml.c xml_edit.c xml_ls.c xml_escape.c xml_pyx.c xml_depyx.c xml_select.c xml_trans.c xml_validate.c xml_format.c xml_elem.c xml_C14N.c trans.c binsert.c stack.c binsert.h stack.h trans.h escape.h strdup.h strdup.c
|
||||
|
||||
--- xmlstarlet-1.0.1-original/src/xml.c 2004-11-10 22:39:34.000000000 -0500
|
||||
+++ xmlstarlet-1.0.1/src/xml.c 2005-11-22 18:29:58.000000000 -0500
|
||||
@@ -49,7 +49,7 @@
|
||||
*/
|
||||
static const char usage_str_1[] =
|
||||
"XMLStarlet Toolkit: Command line utilities for XML\n"
|
||||
-"Usage: xml [<options>] <command> [<cmd-options>]\n";
|
||||
+"Usage: xmlstarlet [<options>] <command> [<cmd-options>]\n";
|
||||
|
||||
static const char usage_str_2[] =
|
||||
"where <command> is one of:\n"
|
||||
@@ -74,7 +74,7 @@
|
||||
" --help - show help\n"
|
||||
"Wherever file name mentioned in command help it is assumed\n"
|
||||
"that URL can be used instead as well.\n\n"
|
||||
-"Type: xml <command> --help <ENTER> for command help\n\n";
|
||||
+"Type: xmlstarlet <command> --help <ENTER> for command help\n\n";
|
||||
|
||||
|
||||
|
||||
--- xmlstarlet-1.0.1-original/src/xml_C14N.c 2004-11-23 22:00:10.000000000 -0500
|
||||
+++ xmlstarlet-1.0.1/src/xml_C14N.c 2005-11-22 18:32:14.000000000 -0500
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
static const char c14n_usage_str_1[] =
|
||||
"XMLStarlet Toolkit: XML canonicalization\n"
|
||||
-"Usage: xml c14n <mode> <xml-file> [<xpath-file>] [<inclusive-ns-list>]\n"
|
||||
+"Usage: xmlstarlet c14n <mode> <xml-file> [<xpath-file>] [<inclusive-ns-list>]\n"
|
||||
"where\n"
|
||||
" <xml-file> - input XML document file name (stdin is used if '-')\n"
|
||||
" <xpath-file> - XML file containing XPath expression for\n"
|
||||
--- xmlstarlet-1.0.1-original/src/xml_depyx.c 2005-03-11 22:24:23.000000000 -0500
|
||||
+++ xmlstarlet-1.0.1/src/xml_depyx.c 2005-11-22 18:32:24.000000000 -0500
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
static const char depyx_usage_str[] =
|
||||
"XMLStarlet Toolkit: Convert PYX into XML\n"
|
||||
-"Usage: xml p2x [<pyx-file>]\n"
|
||||
+"Usage: xmlstarlet p2x [<pyx-file>]\n"
|
||||
"where\n"
|
||||
" <pyx-file> - input PYX document file name (stdin is used if missing)\n\n"
|
||||
"The PYX format is a line-oriented representation of\n"
|
||||
--- xmlstarlet-1.0.1-original/src/xml_edit.c 2005-01-07 19:07:03.000000000 -0500
|
||||
+++ xmlstarlet-1.0.1/src/xml_edit.c 2005-11-22 18:32:36.000000000 -0500
|
||||
@@ -108,7 +108,7 @@
|
||||
*/
|
||||
static const char edit_usage_str_1[] =
|
||||
"XMLStarlet Toolkit: Edit XML document(s)\n"
|
||||
-"Usage: xml ed <global-options> {<action>} [ <xml-file-or-uri> ... ]\n"
|
||||
+"Usage: xmlstarlet ed <global-options> {<action>} [ <xml-file-or-uri> ... ]\n"
|
||||
"where\n"
|
||||
" <global-options> - global options for editing\n"
|
||||
" <xml-file-or-uri> - input XML document file name/uri (stdin otherwise)\n\n";
|
||||
--- xmlstarlet-1.0.1-original/src/xml_elem.c 2004-11-21 18:40:40.000000000 -0500
|
||||
+++ xmlstarlet-1.0.1/src/xml_elem.c 2005-11-22 18:32:45.000000000 -0500
|
||||
@@ -67,7 +67,7 @@
|
||||
|
||||
static const char elem_usage_str[] =
|
||||
"XMLStarlet Toolkit: Display element structure of XML document\n"
|
||||
-"Usage: xml el [<options>] <xml-file>\n"
|
||||
+"Usage: xmlstarlet el [<options>] <xml-file>\n"
|
||||
"where\n"
|
||||
" <xml-file> - input XML document file name (stdin is used if missing)\n"
|
||||
" <options> is one of:\n"
|
||||
--- xmlstarlet-1.0.1-original/src/xml_escape.c 2004-11-21 18:40:40.000000000 -0500
|
||||
+++ xmlstarlet-1.0.1/src/xml_escape.c 2005-11-22 18:32:52.000000000 -0500
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
static const char escape_usage_str[] =
|
||||
"XMLStarlet Toolkit: %s special XML characters\n"
|
||||
-"Usage: xml %s [<options>] [<string>]\n"
|
||||
+"Usage: xmlstarlet %s [<options>] [<string>]\n"
|
||||
"where <options> are\n"
|
||||
" --help - print usage\n"
|
||||
" (TODO: more to be added in future)\n"
|
||||
--- xmlstarlet-1.0.1-original/src/xml_format.c 2005-01-06 21:33:40.000000000 -0500
|
||||
+++ xmlstarlet-1.0.1/src/xml_format.c 2005-11-22 18:32:59.000000000 -0500
|
||||
@@ -72,7 +72,7 @@
|
||||
*/
|
||||
static const char format_usage_str_1[] =
|
||||
"XMLStarlet Toolkit: Format XML document\n"
|
||||
-"Usage: xml fo [<options>] <xml-file>\n"
|
||||
+"Usage: xmlstarlet fo [<options>] <xml-file>\n"
|
||||
"where <options> are\n"
|
||||
" -n or --noindent - do not indent\n"
|
||||
" -t or --indent-tab - indent output with tabulation\n"
|
||||
--- xmlstarlet-1.0.1-original/src/xml_ls.c 2005-03-11 22:49:41.000000000 -0500
|
||||
+++ xmlstarlet-1.0.1/src/xml_ls.c 2005-11-22 18:33:07.000000000 -0500
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
static const char ls_usage_str[] =
|
||||
"XMLStarlet Toolkit: List directory as XML\n"
|
||||
-"Usage: xml ls\n"
|
||||
+"Usage: xmlstarlet ls\n"
|
||||
"Lists current directory in XML format.\n"
|
||||
"Time is shown per ISO 8601 spec.\n"
|
||||
"\n";
|
||||
--- xmlstarlet-1.0.1-original/src/xml_pyx.c 2005-03-11 22:24:23.000000000 -0500
|
||||
+++ xmlstarlet-1.0.1/src/xml_pyx.c 2005-11-22 18:33:13.000000000 -0500
|
||||
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
static const char pyx_usage_str_1[] =
|
||||
"XMLStarlet Toolkit: Convert XML into PYX format (based on ESIS - ISO 8879)\n"
|
||||
-"Usage: xml pyx {<xml-file>}\n"
|
||||
+"Usage: xmlstarlet pyx {<xml-file>}\n"
|
||||
"where\n"
|
||||
" <xml-file> - input XML document file name (stdin is used if missing)\n\n";
|
||||
|
||||
--- xmlstarlet-1.0.1-original/src/xml_select.c 2005-01-06 21:02:13.000000000 -0500
|
||||
+++ xmlstarlet-1.0.1/src/xml_select.c 2005-11-22 18:39:29.000000000 -0500
|
||||
@@ -65,7 +65,7 @@
|
||||
*/
|
||||
static const char select_usage_str_1[] =
|
||||
"XMLStarlet Toolkit: Select from XML document(s)\n"
|
||||
-"Usage: xml sel <global-options> {<template>} [ <xml-file> ... ]\n"
|
||||
+"Usage: xmlstarlet sel <global-options> {<template>} [ <xml-file> ... ]\n"
|
||||
"where\n"
|
||||
" <global-options> - global options for selecting\n"
|
||||
" <xml-file> - input XML document file name/uri (stdin is used if missing)\n"
|
||||
@@ -119,8 +119,8 @@
|
||||
"in a single template. The effect of applying command line templates\n"
|
||||
"can be illustrated with the following XSLT analogue\n\n"
|
||||
|
||||
-"xml sel -t -c \"xpath0\" -m \"xpath1\" -m \"xpath2\" -v \"xpath3\" \\\n"
|
||||
-" -t -m \"xpath4\" -c \"xpath5\"\n\n"
|
||||
+"xmlstarlet sel -t -c \"xpath0\" -m \"xpath1\" -m \"xpath2\" -v \"xpath3\" \\\n"
|
||||
+" -t -m \"xpath4\" -c \"xpath5\"\n\n"
|
||||
|
||||
"is equivalent to applying the following XSLT\n\n";
|
||||
|
||||
--- xmlstarlet-1.0.1-original/src/xml_trans.c 2005-01-06 21:40:59.000000000 -0500
|
||||
+++ xmlstarlet-1.0.1/src/xml_trans.c 2005-11-22 18:33:29.000000000 -0500
|
||||
@@ -47,7 +47,7 @@
|
||||
*/
|
||||
static const char trans_usage_str_1[] =
|
||||
"XMLStarlet Toolkit: Transform XML document(s) using XSLT\n"
|
||||
-"Usage: xml tr [<options>] <xsl-file> {-p|-s <name>=<value>} [<xml-file>...]\n"
|
||||
+"Usage: xmlstarlet tr [<options>] <xsl-file> {-p|-s <name>=<value>} [<xml-file>...]\n"
|
||||
"where\n"
|
||||
" <xsl-file> - main XSLT stylesheet for transformation\n"
|
||||
" <xml-file> - input XML document file/URL (stdin is used if missing)\n";
|
||||
--- xmlstarlet-1.0.1-original/src/xml_validate.c 2005-01-06 20:52:43.000000000 -0500
|
||||
+++ xmlstarlet-1.0.1/src/xml_validate.c 2005-11-22 18:33:37.000000000 -0500
|
||||
@@ -68,7 +68,7 @@
|
||||
*/
|
||||
static const char validate_usage_str_1[] =
|
||||
"XMLStarlet Toolkit: Validate XML document(s)\n"
|
||||
-"Usage: xml val <options> [ <xml-file-or-uri> ... ]\n"
|
||||
+"Usage: xmlstarlet val <options> [ <xml-file-or-uri> ... ]\n"
|
||||
"where <options>\n"
|
||||
" -w or --well-formed - validate well-formedness only (default)\n"
|
||||
" -d or --dtd <dtd-file> - validate against DTD\n";
|
||||
|
|
@ -1,661 +0,0 @@
|
|||
diff -uNr xmlstarlet-1.0.1-original/doc/gen-doc xmlstarlet-1.0.1/doc/gen-doc
|
||||
--- xmlstarlet-1.0.1-original/doc/gen-doc 2003-06-11 21:55:14.000000000 -0400
|
||||
+++ xmlstarlet-1.0.1/doc/gen-doc 2005-11-22 18:20:09.000000000 -0500
|
||||
@@ -14,8 +14,8 @@
|
||||
echo "1. BASIC COMMAND LINE OPTIONS"
|
||||
echo "===================================================="
|
||||
echo ""
|
||||
-echo "xml"
|
||||
-../src/xml 2>&1
|
||||
+echo "xmlstarlet"
|
||||
+../src/xmlstarlet 2>&1
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
@@ -23,8 +23,8 @@
|
||||
echo "2. Select/Query XML documents"
|
||||
echo "===================================================="
|
||||
echo ""
|
||||
-echo "xml sel --help"
|
||||
-../src/xml sel --help 2>&1
|
||||
+echo "xmlstarlet sel --help"
|
||||
+../src/xmlstarlet sel --help 2>&1
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
@@ -32,8 +32,8 @@
|
||||
echo "3. Editing XML documents"
|
||||
echo "===================================================="
|
||||
echo ""
|
||||
-echo "xml ed --help"
|
||||
-../src/xml ed --help 2>&1
|
||||
+echo "xmlstarlet ed --help"
|
||||
+../src/xmlstarlet ed --help 2>&1
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
@@ -41,8 +41,8 @@
|
||||
echo "4. Using XSLT to transform XML documents"
|
||||
echo "===================================================="
|
||||
echo ""
|
||||
-echo "xml tr --help"
|
||||
-../src/xml tr --help 2>&1
|
||||
+echo "xmlstarlet tr --help"
|
||||
+../src/xmlstarlet tr --help 2>&1
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
@@ -50,8 +50,8 @@
|
||||
echo "5. Formatting XML documents"
|
||||
echo "===================================================="
|
||||
echo ""
|
||||
-echo "xml fo --help"
|
||||
-../src/xml fo --help 2>&1
|
||||
+echo "xmlstarlet fo --help"
|
||||
+../src/xmlstarlet fo --help 2>&1
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
@@ -59,8 +59,8 @@
|
||||
echo "6. Validating XML documents"
|
||||
echo "===================================================="
|
||||
echo ""
|
||||
-echo "xml val --help"
|
||||
-../src/xml val --help 2>&1
|
||||
+echo "xmlstarlet val --help"
|
||||
+../src/xmlstarlet val --help 2>&1
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
@@ -68,8 +68,8 @@
|
||||
echo "7. Displaying structure of XML documents"
|
||||
echo "===================================================="
|
||||
echo ""
|
||||
-echo "xml el --help"
|
||||
-../src/xml el --help 2>&1
|
||||
+echo "xmlstarlet el --help"
|
||||
+../src/xmlstarlet el --help 2>&1
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
@@ -78,8 +78,8 @@
|
||||
echo "8. Escape/Unescape special XML characters"
|
||||
echo "===================================================="
|
||||
echo ""
|
||||
-echo "xml esc --help"
|
||||
-../src/xml esc --help 2>&1
|
||||
+echo "xmlstarlet esc --help"
|
||||
+../src/xmlstarlet esc --help 2>&1
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
@@ -88,8 +88,8 @@
|
||||
echo "9. List directory as XML"
|
||||
echo "===================================================="
|
||||
echo ""
|
||||
-echo "xml ls --help"
|
||||
-../src/xml ls --help 2>&1
|
||||
+echo "xmlstarlet ls --help"
|
||||
+../src/xmlstarlet ls --help 2>&1
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
@@ -98,8 +98,8 @@
|
||||
echo "10. XML canonicalization"
|
||||
echo "===================================================="
|
||||
echo ""
|
||||
-echo "xml c14n --help"
|
||||
-../src/xml c14n --help 2>&1
|
||||
+echo "xmlstarlet c14n --help"
|
||||
+../src/xmlstarlet c14n --help 2>&1
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
@@ -108,8 +108,8 @@
|
||||
echo "11. Convert XML into PYX format (based on ESIS - ISO 8879)"
|
||||
echo "===================================================="
|
||||
echo ""
|
||||
-echo "xml pyx --help"
|
||||
-../src/xml pyx --help 2>&1
|
||||
+echo "xmlstarlet pyx --help"
|
||||
+../src/xmlstarlet pyx --help 2>&1
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
@@ -178,6 +178,6 @@
|
||||
done
|
||||
|
||||
echo ""
|
||||
-} | sed -e "s#./xmlstarlet#xml#g"
|
||||
+}
|
||||
|
||||
|
||||
diff -uNr xmlstarlet-1.0.1-original/doc/xmlstarlet-man.xml xmlstarlet-1.0.1/doc/xmlstarlet-man.xml
|
||||
--- xmlstarlet-1.0.1-original/doc/xmlstarlet-man.xml 2004-02-21 17:20:42.000000000 -0500
|
||||
+++ xmlstarlet-1.0.1/doc/xmlstarlet-man.xml 2005-11-22 18:17:38.000000000 -0500
|
||||
@@ -84,7 +84,7 @@
|
||||
<refsect1 id="shell">
|
||||
<title>Commands</title>
|
||||
|
||||
- <para>Type: xml <command> --help <ENTER> for command
|
||||
+ <para>Type: xmlstarlet <command> --help <ENTER> for command
|
||||
help</para>
|
||||
|
||||
<para>Available commands include:</para>
|
||||
diff -uNr xmlstarlet-1.0.1-original/doc/xmlstarlet-ug.xml xmlstarlet-1.0.1/doc/xmlstarlet-ug.xml
|
||||
--- xmlstarlet-1.0.1-original/doc/xmlstarlet-ug.xml 2005-01-07 00:11:39.000000000 -0500
|
||||
+++ xmlstarlet-1.0.1/doc/xmlstarlet-ug.xml 2005-11-22 18:16:11.000000000 -0500
|
||||
@@ -1,6 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
||||
-"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
||||
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
|
||||
+<!ENTITY XMLSTARLET "xmlstarlet">
|
||||
+]>
|
||||
<book lang="en">
|
||||
<title>XmlStarlet Command Line XML Toolkit User's Guide</title>
|
||||
|
||||
@@ -298,7 +300,7 @@
|
||||
|
||||
<para>Basic command line syntax: <programlisting>bash-2.03$ xml
|
||||
XMLStarlet Toolkit: Command line utilities for XML
|
||||
-Usage: xml [<options>] <command> [<cmd-options>]
|
||||
+Usage: &XMLSTARLET; [<options>] <command> [<cmd-options>]
|
||||
where <command> is one of:
|
||||
ed (or edit) - Edit/Update XML document(s)
|
||||
sel (or select) - Select data or query XML document(s) (XPATH, etc)
|
||||
@@ -318,7 +320,7 @@
|
||||
Wherever file name mentioned in command help it is assumed
|
||||
that URL can be used instead as well.
|
||||
|
||||
-Type: xml <command> --help <ENTER> for command help
|
||||
+Type: &XMLSTARLET; <command> --help <ENTER> for command help
|
||||
|
||||
XMLStarlet is a command line toolkit to query/edit/check/transform
|
||||
XML documents (for more information see http://xmlstar.sourceforge.net/)</programlisting></para>
|
||||
@@ -350,7 +352,7 @@
|
||||
</table>
|
||||
</xml></programlisting>
|
||||
|
||||
- <programlisting>xml el table.xml</programlisting>
|
||||
+ <programlisting>&XMLSTARLET; el table.xml</programlisting>
|
||||
|
||||
<para>would produce the following output.</para>
|
||||
|
||||
@@ -379,7 +381,7 @@
|
||||
|
||||
<para>EXAMPLE:</para>
|
||||
|
||||
- <programlisting>xml el -u table.xml</programlisting>
|
||||
+ <programlisting>&XMLSTARLET; el -u table.xml</programlisting>
|
||||
|
||||
<para>Output:</para>
|
||||
|
||||
@@ -396,7 +398,7 @@
|
||||
|
||||
<para>EXAMPLE:</para>
|
||||
|
||||
- <programlisting>xml el -a table.xml</programlisting>
|
||||
+ <programlisting>&XMLSTARLET; el -a table.xml</programlisting>
|
||||
|
||||
<para>Output:</para>
|
||||
|
||||
@@ -421,7 +423,7 @@
|
||||
|
||||
<para>EXAMPLE:</para>
|
||||
|
||||
- <programlisting>xml el -v table.xml</programlisting>
|
||||
+ <programlisting>&XMLSTARLET; el -v table.xml</programlisting>
|
||||
|
||||
<para>Output:</para>
|
||||
|
||||
@@ -448,10 +450,10 @@
|
||||
<title>Querying XML documents</title>
|
||||
|
||||
<para>XmlStarlet 'select' or 'sel' option can be used to query or search
|
||||
- XML documents. Here is synopsis for 'xml sel' command:</para>
|
||||
+ XML documents. Here is synopsis for '&XMLSTARLET; sel' command:</para>
|
||||
|
||||
<programlisting>XMLStarlet Toolkit: Select from XML document(s)
|
||||
-Usage: xml sel <global-options> {<template>} [ <xml-file> ... ]
|
||||
+Usage: &XMLSTARLET; sel <global-options> {<template>} [ <xml-file> ... ]
|
||||
where
|
||||
<global-options> - global options for selecting
|
||||
<xml-file> - input XML document file name/uri (stdin is used if missing)
|
||||
@@ -495,7 +497,7 @@
|
||||
in a single template. The effect of applying command line templates
|
||||
can be illustrated with the following XSLT analogue
|
||||
|
||||
-xml sel -t -c "xpath0" -m "xpath1" -m "xpath2" -v "xpath3" \
|
||||
+&XMLSTARLET; sel -t -c "xpath0" -m "xpath1" -m "xpath2" -v "xpath3" \
|
||||
-t -m "xpath4" -c "xpath5"
|
||||
|
||||
is equivalent to applying the following XSLT
|
||||
@@ -549,7 +551,7 @@
|
||||
|
||||
<para></para>
|
||||
|
||||
- <programlisting>xml sel -t -v "count(/xml/table/rec/numField)" table.xml</programlisting>
|
||||
+ <programlisting>&XMLSTARLET; sel -t -v "count(/xml/table/rec/numField)" table.xml</programlisting>
|
||||
|
||||
<para>Input (table.xml):</para>
|
||||
|
||||
@@ -578,7 +580,7 @@
|
||||
<para>Let's take a close look what it did internally. For that we will
|
||||
use '-C' option</para>
|
||||
|
||||
- <programlisting>$ xml sel -C -t -v "count(/xml/table/rec/numField)"
|
||||
+ <programlisting>$ &XMLSTARLET; sel -C -t -v "count(/xml/table/rec/numField)"
|
||||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:exslt="http://exslt.org/common"
|
||||
@@ -668,7 +670,7 @@
|
||||
<para>Count all nodes in XML documents. Print input name and node count
|
||||
after it.</para>
|
||||
|
||||
- <programlisting>xml sel -t -f -o " " -v "count(//node())" xml/table.xml xml/tab-obj.xml</programlisting>
|
||||
+ <programlisting>&XMLSTARLET; sel -t -f -o " " -v "count(//node())" xml/table.xml xml/tab-obj.xml</programlisting>
|
||||
|
||||
<para>Output:</para>
|
||||
|
||||
@@ -682,7 +684,7 @@
|
||||
<para>Find XML files matching XPath expression (containing 'object'
|
||||
element)</para>
|
||||
|
||||
- <programlisting>xml sel -t -m //object -f xml/table.xml xml/tab-obj.xml</programlisting>
|
||||
+ <programlisting>&XMLSTARLET; sel -t -m //object -f xml/table.xml xml/tab-obj.xml</programlisting>
|
||||
|
||||
<para>Result output:</para>
|
||||
|
||||
@@ -694,7 +696,7 @@
|
||||
|
||||
<para>Calculate EXSLT (XSLT extentions) XPath value</para>
|
||||
|
||||
- <programlisting>echo "<x/>" | xml sel -t -v "math:abs(-1000)"</programlisting>
|
||||
+ <programlisting>echo "<x/>" | &XMLSTARLET; sel -t -v "math:abs(-1000)"</programlisting>
|
||||
|
||||
<para>Result output:</para>
|
||||
|
||||
@@ -704,9 +706,9 @@
|
||||
|
||||
<para>EXAMPLE</para>
|
||||
|
||||
- <para>Adding elements and attributes using command line 'xml sel'</para>
|
||||
+ <para>Adding elements and attributes using command line '&XMLSTARLET; sel'</para>
|
||||
|
||||
- <programlisting>echo "<x/>" | xml sel -t -m / -e xml -e child -a data -o value</programlisting>
|
||||
+ <programlisting>echo "<x/>" | &XMLSTARLET; sel -t -m / -e xml -e child -a data -o value</programlisting>
|
||||
|
||||
<para>Result Output:</para>
|
||||
|
||||
@@ -718,7 +720,7 @@
|
||||
|
||||
<para>Query XML document and produce sorted text table</para>
|
||||
|
||||
- <programlisting>xml sel -T -t -m /xml/table/rec -s D:N:- "@id" \
|
||||
+ <programlisting>&XMLSTARLET; sel -T -t -m /xml/table/rec -s D:N:- "@id" \
|
||||
-v "concat(@id,'|',numField,'|',stringField)" -n xml/table.xml</programlisting>
|
||||
|
||||
<para>Result Output:</para>
|
||||
@@ -751,7 +753,7 @@
|
||||
|
||||
<para>Predefine namespaces for XPath expressions</para>
|
||||
|
||||
- <programlisting>xml sel -N xsql=urn:oracle-xsql -t -v /xsql:query xsql/jobserve.xsql</programlisting>
|
||||
+ <programlisting>&XMLSTARLET; sel -N xsql=urn:oracle-xsql -t -v /xsql:query xsql/jobserve.xsql</programlisting>
|
||||
|
||||
<para>Input (xsql/jobserve.xsql)</para>
|
||||
|
||||
@@ -777,10 +779,10 @@
|
||||
|
||||
<para>EXAMPLE</para>
|
||||
|
||||
- <para>Print structure of XML element using xml sel (advanced XPath
|
||||
- expressions and xml sel command usage)</para>
|
||||
+ <para>Print structure of XML element using &XMLSTARLET; sel (advanced XPath
|
||||
+ expressions and &XMLSTARLET; sel command usage)</para>
|
||||
|
||||
- <programlisting>xml sel -T -t -m '//*' \
|
||||
+ <programlisting>&XMLSTARLET; sel -T -t -m '//*' \
|
||||
-m 'ancestor-or-self::*' -v 'name()' -i 'not(position()=last())' -o . -b -b -n \
|
||||
xml/structure.xml</programlisting>
|
||||
|
||||
@@ -843,7 +845,7 @@
|
||||
|
||||
<para>Print all links of xhtml document</para>
|
||||
|
||||
- <programlisting>xml sel --net --html -T -t -m "//*[local-name()='a']" \
|
||||
+ <programlisting>&XMLSTARLET; sel --net --html -T -t -m "//*[local-name()='a']" \
|
||||
-o 'NAME: ' -v "translate(. , '&#10;', ' ')" -n \
|
||||
-o 'LINK: ' -v @href -n -n \
|
||||
http://xmlstar.sourceforge.net/</programlisting>
|
||||
@@ -872,10 +874,10 @@
|
||||
<sect1>
|
||||
<title>Transforming XML documents</title>
|
||||
|
||||
- <para>Here is synopsis for 'xml tr' command:</para>
|
||||
+ <para>Here is synopsis for '&XMLSTARLET; tr' command:</para>
|
||||
|
||||
<programlisting>XMLStarlet Toolkit: Transform XML document(s) using XSLT
|
||||
-Usage: xml tr [<options>] <xsl-file> {-p|-s <name>=<value>} [ <xml-file-or-uri> ... ]
|
||||
+Usage: &XMLSTARLET; tr [<options>] <xsl-file> {-p|-s <name>=<value>} [ <xml-file-or-uri> ... ]
|
||||
where
|
||||
<xsl-file> - main XSLT stylesheet for transformation
|
||||
<xml-file> - input XML document file name (stdin is used if missing)
|
||||
@@ -904,7 +906,7 @@
|
||||
<para>EXAMPLE:</para>
|
||||
|
||||
<programlisting># Transform passing parameters to XSLT stylesheet
|
||||
-xml tr xsl/param1.xsl -p Count='count(/xml/table/rec)' -s Text="Count=" xml/table.xml
|
||||
+&XMLSTARLET; tr xsl/param1.xsl -p Count='count(/xml/table/rec)' -s Text="Count=" xml/table.xml
|
||||
</programlisting>
|
||||
|
||||
<para>Input xsl/params1.xsl</para>
|
||||
@@ -934,10 +936,10 @@
|
||||
<sect1>
|
||||
<title>Editing XML documents</title>
|
||||
|
||||
- <para>Here is the synopsis for 'xml ed' command:</para>
|
||||
+ <para>Here is the synopsis for '&XMLSTARLET; ed' command:</para>
|
||||
|
||||
<programlisting>XMLStarlet Toolkit: Edit XML document(s)
|
||||
-Usage: xml ed <global-options> {<action>} [ <xml-file-or-uri> ... ]
|
||||
+Usage: &XMLSTARLET; ed <global-options> {<action>} [ <xml-file-or-uri> ... ]
|
||||
where
|
||||
<global-options> - global options for editing
|
||||
<xml-file-or-uri> - input XML document file name/uri (stdin is used if missing)
|
||||
@@ -969,7 +971,7 @@
|
||||
<para>EXAMPLE:</para>
|
||||
|
||||
<programlisting># Delete elements matching XPath expression
|
||||
-xml ed -d "/xml/table/rec[@id='2']" xml/table.xml
|
||||
+&XMLSTARLET; ed -d "/xml/table/rec[@id='2']" xml/table.xml
|
||||
</programlisting>
|
||||
|
||||
<para>Input</para>
|
||||
@@ -1011,7 +1013,7 @@
|
||||
<para>EXAMPLE</para>
|
||||
|
||||
<programlisting># Move element node
|
||||
-echo '<x id="1"><a/><b/></x>' | xml ed -m "//b" "//a"
|
||||
+echo '<x id="1"><a/><b/></x>' | &XMLSTARLET; ed -m "//b" "//a"
|
||||
</programlisting>
|
||||
|
||||
<para>Output</para>
|
||||
@@ -1026,7 +1028,7 @@
|
||||
<para>EXAMPLE</para>
|
||||
|
||||
<programlisting># Rename attributes
|
||||
-xml ed -r "//*/@id" -v ID xml/tab-obj.xml
|
||||
+&XMLSTARLET; ed -r "//*/@id" -v ID xml/tab-obj.xml
|
||||
</programlisting>
|
||||
|
||||
<para>Output:</para>
|
||||
@@ -1056,7 +1058,7 @@
|
||||
<para>EXAMPLE</para>
|
||||
|
||||
<programlisting># Rename elements
|
||||
-xml ed -r "/xml/table/rec" -v record xml/tab-obj.xml
|
||||
+&XMLSTARLET; ed -r "/xml/table/rec" -v record xml/tab-obj.xml
|
||||
</programlisting>
|
||||
|
||||
<para>Output:</para>
|
||||
@@ -1086,7 +1088,7 @@
|
||||
<para>EXAMPLE</para>
|
||||
|
||||
<programlisting># Update value of an attribute
|
||||
-xml ed -u "/xml/table/rec[@id=3]/@id" -v 5 xml/tab-obj.xml
|
||||
+&XMLSTARLET; ed -u "/xml/table/rec[@id=3]/@id" -v 5 xml/tab-obj.xml
|
||||
</programlisting>
|
||||
|
||||
<para>Output:</para>
|
||||
@@ -1116,7 +1118,7 @@
|
||||
<para>EXAMPLE</para>
|
||||
|
||||
<programlisting># Update value of an element
|
||||
-xml ed -u "/xml/table/rec[@id=1]/numField" -v 0 xml/tab-obj.xml
|
||||
+&XMLSTARLET; ed -u "/xml/table/rec[@id=1]/numField" -v 0 xml/tab-obj.xml
|
||||
</programlisting>
|
||||
|
||||
<para>Output:</para>
|
||||
@@ -1147,10 +1149,10 @@
|
||||
<sect1>
|
||||
<title>Validating XML documents</title>
|
||||
|
||||
- <para>Here is synopsis for 'xml val' command:</para>
|
||||
+ <para>Here is synopsis for '&XMLSTARLET; val' command:</para>
|
||||
|
||||
<programlisting>XMLStarlet Toolkit: Validate XML document(s)
|
||||
-Usage: xml val <options> [ <xml-file-or-uri> ... ]
|
||||
+Usage: &XMLSTARLET; val <options> [ <xml-file-or-uri> ... ]
|
||||
where <options>
|
||||
-w or --well-formed - validate well-formedness only (default)
|
||||
-d or --dtd <dtd-file> - validate against DTD
|
||||
@@ -1171,7 +1173,7 @@
|
||||
<para>EXAMPLE</para>
|
||||
|
||||
<programlisting># Validate XML document against DTD
|
||||
-xml val --dtd dtd/table.dtd xml/tab-obj.xml >/dev/null 2>&1; echo $?
|
||||
+&XMLSTARLET; val --dtd dtd/table.dtd xml/tab-obj.xml >/dev/null 2>&1; echo $?
|
||||
</programlisting>
|
||||
|
||||
<para>Output:</para>
|
||||
@@ -1182,7 +1184,7 @@
|
||||
<para>EXAMPLE</para>
|
||||
|
||||
<programlisting># Validate against XSD schema
|
||||
-xml val -b -s xsd/table.xsd xml/table.xml xml/tab-obj.xml 2>/dev/null; echo $?
|
||||
+&XMLSTARLET; val -b -s xsd/table.xsd xml/table.xml xml/tab-obj.xml 2>/dev/null; echo $?
|
||||
</programlisting>
|
||||
|
||||
<para>Output:</para>
|
||||
@@ -1195,10 +1197,10 @@
|
||||
<sect1>
|
||||
<title>Formatting XML documents</title>
|
||||
|
||||
- <para>Here is synopsis for 'xml fo' command:</para>
|
||||
+ <para>Here is synopsis for '&XMLSTARLET; fo' command:</para>
|
||||
|
||||
<programlisting>XMLStarlet Toolkit: Format XML document
|
||||
-Usage: xml fo [<options>] <xml-file>
|
||||
+Usage: &XMLSTARLET; fo [<options>] <xml-file>
|
||||
where <options> are
|
||||
-n or --noindent - do not indent
|
||||
-t or --indent-tab - indent output with tabulation
|
||||
@@ -1219,7 +1221,7 @@
|
||||
<para>EXAMPLE</para>
|
||||
|
||||
<programlisting># Format XML document disabling indent
|
||||
-cat xml/tab-obj.xml | xml fo --noindent
|
||||
+cat xml/tab-obj.xml | &XMLSTARLET; fo --noindent
|
||||
</programlisting>
|
||||
|
||||
<para>Output:</para>
|
||||
@@ -1249,7 +1251,7 @@
|
||||
<para>EXAMPLE</para>
|
||||
|
||||
<programlisting># Recover malformed XML document
|
||||
-xml fo -R xml/malformed.xml 2>/dev/null
|
||||
+&XMLSTARLET; fo -R xml/malformed.xml 2>/dev/null
|
||||
</programlisting>
|
||||
|
||||
<para>Input:</para>
|
||||
@@ -1272,10 +1274,10 @@
|
||||
<sect1>
|
||||
<title>Canonicalization of XML documents</title>
|
||||
|
||||
- <para>Here is synopsis for 'xml c14n' command:</para>
|
||||
+ <para>Here is synopsis for '&XMLSTARLET; c14n' command:</para>
|
||||
|
||||
<programlisting>XMLStarlet Toolkit: XML canonicalization
|
||||
-Usage: xml c14n <mode> <xml-file> [<xpath-file>] [<inclusive-ns-list>]
|
||||
+Usage: &XMLSTARLET; c14n <mode> <xml-file> [<xpath-file>] [<inclusive-ns-list>]
|
||||
where
|
||||
<xml-file> - input XML document file name (stdin is used if '-')
|
||||
<xpath-file> - XML file containing XPath expression for
|
||||
@@ -1303,7 +1305,7 @@
|
||||
<para>EXAMPLE</para>
|
||||
|
||||
<programlisting># XML canonicalization
|
||||
-xml c14n --with-comments ../examples/xml/structure.xml ; echo $?
|
||||
+&XMLSTARLET; c14n --with-comments ../examples/xml/structure.xml ; echo $?
|
||||
</programlisting>
|
||||
|
||||
<para>Input ../examples/xml/structure.xml</para>
|
||||
@@ -1345,7 +1347,7 @@
|
||||
<para>EXAMPLE</para>
|
||||
|
||||
<programlisting># XML exclusive canonicalization
|
||||
-xml c14n --exc-with-comments ../examples/xml/c14n.xml ../examples/xml/c14n.xpath
|
||||
+&XMLSTARLET; c14n --exc-with-comments ../examples/xml/c14n.xml ../examples/xml/c14n.xpath
|
||||
</programlisting>
|
||||
|
||||
<para>Input</para>
|
||||
@@ -1377,10 +1379,10 @@
|
||||
<sect1>
|
||||
<title>XML and PYX format</title>
|
||||
|
||||
- <para>Here is synopsis for 'xml pyx' command:</para>
|
||||
+ <para>Here is synopsis for '&XMLSTARLET; pyx' command:</para>
|
||||
|
||||
<programlisting>XMLStarlet Toolkit: Convert XML into PYX format (based on ESIS - ISO 8879)
|
||||
-Usage: xml pyx {<xml-file>}
|
||||
+Usage: &XMLSTARLET; pyx {<xml-file>}
|
||||
where
|
||||
<xml-file> - input XML document file name (stdin is used if missing)
|
||||
|
||||
@@ -1399,7 +1401,7 @@
|
||||
|
||||
<para>EXAMPLE</para>
|
||||
|
||||
- <programlisting>xml pyx input.xml
|
||||
+ <programlisting>&XMLSTARLET; pyx input.xml
|
||||
</programlisting>
|
||||
|
||||
<para>Input (input.xml)</para>
|
||||
@@ -1446,7 +1448,7 @@
|
||||
<para>EXAMPLE (Delete all attributes). This should work really fast for
|
||||
very large XML documents.</para>
|
||||
|
||||
- <programlisting>xml pyx input.xml | grep -v "^A" | xml depyx</programlisting>
|
||||
+ <programlisting>&XMLSTARLET; pyx input.xml | grep -v "^A" | &XMLSTARLET; depyx</programlisting>
|
||||
|
||||
<para>Output</para>
|
||||
|
||||
@@ -1466,11 +1468,11 @@
|
||||
<sect1>
|
||||
<title>Escape/Unescape special XML characters</title>
|
||||
|
||||
- <para>Here is synopsis for 'xml esc' command:</para>
|
||||
+ <para>Here is synopsis for '&XMLSTARLET; esc' command:</para>
|
||||
|
||||
- <programlisting>xml esc --help
|
||||
+ <programlisting>&XMLSTARLET; esc --help
|
||||
XMLStarlet Toolkit: Escape special XML characters
|
||||
-Usage: xml esc [<options>] [<string>]
|
||||
+Usage: &XMLSTARLET; esc [<options>] [<string>]
|
||||
where <options> are
|
||||
--help - print usage
|
||||
(TODO: more to be added in future)
|
||||
@@ -1483,7 +1485,7 @@
|
||||
<para>EXAMPLE</para>
|
||||
|
||||
<programlisting># Escape special XML characters
|
||||
-cat xml/structure.xml | xml esc
|
||||
+cat xml/structure.xml | &XMLSTARLET; esc
|
||||
</programlisting>
|
||||
|
||||
<para>Input</para>
|
||||
@@ -1525,10 +1527,10 @@
|
||||
<sect1>
|
||||
<title>List directory as XML</title>
|
||||
|
||||
- <para>Here is synopsis for 'xml ls' command:</para>
|
||||
+ <para>Here is synopsis for '&XMLSTARLET; ls' command:</para>
|
||||
|
||||
<programlisting>XMLStarlet Toolkit: List directory as XML
|
||||
-Usage: xml ls
|
||||
+Usage: &XMLSTARLET; ls
|
||||
Lists current directory in XML format.
|
||||
|
||||
XMLStarlet is a command line toolkit to query/edit/check/transform
|
||||
@@ -1537,7 +1539,7 @@
|
||||
|
||||
<para>EXAMPLE</para>
|
||||
|
||||
- <programlisting>xml ls
|
||||
+ <programlisting>&XMLSTARLET; ls
|
||||
</programlisting>
|
||||
|
||||
<para>Output</para>
|
||||
@@ -1583,7 +1585,7 @@
|
||||
<para>And the following (initially looking correct) query to print all
|
||||
links</para>
|
||||
|
||||
- <para><programlisting>xml sel -t -m "//a" -c . -n </programlisting></para>
|
||||
+ <para><programlisting>&XMLSTARLET; sel -t -m "//a" -c . -n </programlisting></para>
|
||||
|
||||
<para>would return nothing. The issue with this query is that it is not
|
||||
addressing element <a> in the right namespace. XPath requires all
|
||||
@@ -1593,7 +1595,7 @@
|
||||
detail: namespace equivalency is determined not by namespace prefix, but
|
||||
by URI. See query below, which would return expected result</para>
|
||||
|
||||
- <para><programlisting>xml sel -N x="http://www.w3.org/1999/xhtml" -t -m "//x:a" -c . -n</programlisting></para>
|
||||
+ <para><programlisting>&XMLSTARLET; sel -N x="http://www.w3.org/1999/xhtml" -t -m "//x:a" -c . -n</programlisting></para>
|
||||
|
||||
<para>Example of deleting namespace declarations.</para>
|
||||
|
||||
@@ -1608,7 +1610,7 @@
|
||||
</doc>
|
||||
</programlisting></para>
|
||||
|
||||
- <para>Command:<programlisting>xml ed -N N="http://www.c.com/xyz" -d '//N:*' ns2.xml | \
|
||||
+ <para>Command:<programlisting>&XMLSTARLET; ed -N N="http://www.c.com/xyz" -d '//N:*' ns2.xml | \
|
||||
sed -e 's/ xmlns.*=".*"//g'</programlisting></para>
|
||||
|
||||
<para>Output<programlisting><doc>
|
||||
@@ -1629,29 +1631,29 @@
|
||||
executed by shell and shell does substitutions of its special characters
|
||||
too. So for example, one may ask:</para>
|
||||
|
||||
- <para>"Why does the following query return nothing?"<programlisting>echo '<X name="foo">EEE</X>' | xml sel -t -m /X[@name='foo'] -v .</programlisting></para>
|
||||
+ <para>"Why does the following query return nothing?"<programlisting>echo '<X name="foo">EEE</X>' | &XMLSTARLET; sel -t -m /X[@name='foo'] -v .</programlisting></para>
|
||||
|
||||
<para>The answer lies in the way shell substitues 'foo', which simply
|
||||
becomes foo before the command is run. So the correct way to write that
|
||||
would be</para>
|
||||
|
||||
- <para><programlisting>echo '<X name="foo">EEE</X>' | xml sel -t -m "/X[@name='foo']" -v .</programlisting></para>
|
||||
+ <para><programlisting>echo '<X name="foo">EEE</X>' | &XMLSTARLET; sel -t -m "/X[@name='foo']" -v .</programlisting></para>
|
||||
|
||||
<para>Another example involves XML special characters. Question: How to
|
||||
search for &apos; in text nodes?</para>
|
||||
|
||||
- <para>The following should help<programlisting>xml sel -t -m "//line[contains(text(),&quot;'&quot;)]" -c .
|
||||
+ <para>The following should help<programlisting>&XMLSTARLET; sel -t -m "//line[contains(text(),&quot;'&quot;)]" -c .
|
||||
</programlisting></para>
|
||||
</sect1>
|
||||
|
||||
<sect1>
|
||||
<title id="s.5.3">Sorting</title>
|
||||
|
||||
- <para>Let's take a look at XSLT produced by the following 'xml sel'
|
||||
+ <para>Let's take a look at XSLT produced by the following '&XMLSTARLET; sel'
|
||||
command:</para>
|
||||
|
||||
<para><programlisting># Query XML document and produce sorted text table
|
||||
-xml sel -T -t -m /xml/table/rec -s D:N:- "@id" \
|
||||
+&XMLSTARLET; sel -T -t -m /xml/table/rec -s D:N:- "@id" \
|
||||
-v "concat(@id,'|',numField,'|',stringField)" -n xml/table.xml
|
||||
</programlisting></para>
|
||||
|
||||
@@ -1672,7 +1674,7 @@
|
||||
</xsl:stylesheet>
|
||||
</programlisting></para>
|
||||
|
||||
- <para>-s option of 'xml sel' command controls 'order', 'data-type', and
|
||||
+ <para>-s option of '&XMLSTARLET; sel' command controls 'order', 'data-type', and
|
||||
'case-order' attributes of <xsl:sort/> element .</para>
|
||||
</sect1>
|
||||
|
||||
|
|
@ -1,75 +0,0 @@
|
|||
Index: configure.in
|
||||
===================================================================
|
||||
RCS file: /cvsroot/xmlstar/xmlstarlet/configure.in,v
|
||||
retrieving revision 1.58
|
||||
diff -u -p -r1.58 configure.in
|
||||
--- old/configure.in 19 Mar 2005 01:55:22 -0000 1.58
|
||||
+++ new/configure.in 21 Nov 2005 18:20:42 -0000
|
||||
@@ -31,7 +31,7 @@ AC_ARG_WITH(libxml-prefix,
|
||||
[ --with-libxml-prefix=[PFX] Specify location of libxml],
|
||||
LIBXML_PREFIX=$withval
|
||||
LIBXML_CFLAGS="-I$withval/include/libxml2 -I$withval/include/libxml"
|
||||
- LIBXML_LIBS="$withval/lib/libxml2.a -lz -lm -lpthread -ldl"
|
||||
+ LIBXML_LIBS="-L$withval/lib -lxml2 -lz -lm -ldl"
|
||||
)
|
||||
|
||||
AC_ARG_WITH(libxml-include-prefix,
|
||||
@@ -41,13 +41,13 @@ AC_ARG_WITH(libxml-include-prefix,
|
||||
|
||||
AC_ARG_WITH(libxml-libs-prefix,
|
||||
[ --with-libxml-libs-prefix=[PFX] Specify location of libxml libs],
|
||||
- LIBXML_LIBS="$withval/libxml2.a -lz -lm -lpthread -ldl"
|
||||
+ LIBXML_LIBS="-L$withval -lxml2 -lz -lm -ldl"
|
||||
)
|
||||
|
||||
AC_ARG_WITH(libxml-src,
|
||||
[ --with-libxml-src=[DIR] For libxml thats not installed yet (sets all three above)],
|
||||
LIBXML_SRC="$withval"
|
||||
- LIBXML_LIBS="$withval/.libs/libxml2.a -lz -lm -lpthread"
|
||||
+ LIBXML_LIBS="-L$withval/.libs -lxml2 -lz -lm"
|
||||
LIBXML_CFLAGS="-I$withval/include/libxml2 -I$withval/include/libxml -I$withval/include"
|
||||
)
|
||||
|
||||
@@ -74,7 +74,7 @@ AC_ARG_WITH(libxslt-prefix,
|
||||
[ --with-libxslt-prefix=[PFX] Specify location of libxslt],
|
||||
LIBXSLT_PREFIX=$withval
|
||||
LIBXSLT_CFLAGS="-I$withval/include/libxslt -I$withval/include/libexslt"
|
||||
- LIBXSLT_LIBS="$withval/lib/libxslt.a $withval/lib/libexslt.a -lz -lm -lpthread"
|
||||
+ LIBXSLT_LIBS="-L$withval/lib -lxslt -L$withval/lib -lexslt -lz -lm"
|
||||
)
|
||||
|
||||
AC_ARG_WITH(libxslt-include-prefix,
|
||||
@@ -84,13 +84,13 @@ AC_ARG_WITH(libxslt-include-prefix,
|
||||
|
||||
AC_ARG_WITH(libxslt-libs-prefix,
|
||||
[ --with-libxslt-libs-prefix=[PFX] Specify location of libxslt libs],
|
||||
- LIBXSLT_LIBS="$withval/libxslt.a $withval/libexslt.a -lz -lm -lpthread"
|
||||
+ LIBXSLT_LIBS="-L$withval -lxslt -L$withval -lexslt -lz -lm"
|
||||
)
|
||||
|
||||
AC_ARG_WITH(libxslt-src,
|
||||
[ --with-libxslt-src=[DIR] For libxslt thats not installed yet (sets all three above)],
|
||||
LIBXSLT_SRC="$withval"
|
||||
- LIBXSLT_LIBS="$withval/libxslt/.libs/libxslt.a $withval/libexslt/.libs/libexslt.a -lz -lm -lpthread"
|
||||
+ LIBXSLT_LIBS="-L$withval/libxslt/.libs -lxslt -L$withval/libexslt/.libs -lexslt -lz -lm"
|
||||
LIBXSLT_CFLAGS="-I$withval/libxslt -I$withval/libexslt -I$withval"
|
||||
)
|
||||
|
||||
@@ -236,7 +236,7 @@ dnl Set LIBXML libraries location
|
||||
dnl
|
||||
if test "x$LIBXML_LIBS" = "x"
|
||||
then
|
||||
- LIBXML_LIBS="${LIBXML_PREFIX}/lib/libxml2.a -lz -lm -lpthread -ldl"
|
||||
+ LIBXML_LIBS="-L${LIBXML_PREFIX}/lib -lxml2 -lz -lm -ldl"
|
||||
fi
|
||||
|
||||
dnl
|
||||
@@ -252,7 +252,7 @@ dnl Set LIBXSLT libraries location
|
||||
dnl
|
||||
if test "x$LIBXSLT_LIBS" = "x"
|
||||
then
|
||||
- LIBXSLT_LIBS="${LIBXSLT_PREFIX}/lib/libxslt.a ${LIBXSLT_PREFIX}/lib/libexslt.a -lz -lm -lpthread"
|
||||
+ LIBXSLT_LIBS="-L${LIBXSLT_PREFIX}/lib -lxslt -L${LIBXSLT_PREFIX}/lib -lexslt -lz -lm"
|
||||
fi
|
||||
|
||||
dnl
|
||||
62
xmlstarlet-1.6.1-fix-xxe.patch
Normal file
62
xmlstarlet-1.6.1-fix-xxe.patch
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
diff -Naur xmlstarlet-1.6.1.orig/examples/tests.mk xmlstarlet-1.6.1/examples/tests.mk
|
||||
--- xmlstarlet-1.6.1.orig/examples/tests.mk 2013-06-22 17:36:56.000000000 +0200
|
||||
+++ xmlstarlet-1.6.1/examples/tests.mk 2026-05-26 13:31:13.886894244 +0200
|
||||
@@ -98,7 +98,13 @@
|
||||
|
||||
XFAIL_TESTS =\
|
||||
examples/bigxml-dtd\
|
||||
-examples/ed-namespace
|
||||
+examples/ed-namespace\
|
||||
+examples/external-entity\
|
||||
+examples/bigxml-embed-ref\
|
||||
+examples/bigxml-embed\
|
||||
+examples/bigxml-relaxng\
|
||||
+examples/bigxml-well-formed\
|
||||
+examples/bigxml-xsd
|
||||
|
||||
if !HAVE_EXSLT_XPATH_REGISTER
|
||||
XFAIL_TESTS += examples/exslt-ed
|
||||
diff -Naur xmlstarlet-1.6.1.orig/src/trans.c xmlstarlet-1.6.1/src/trans.c
|
||||
--- xmlstarlet-1.6.1.orig/src/trans.c 2012-08-12 17:18:59.000000000 +0200
|
||||
+++ xmlstarlet-1.6.1/src/trans.c 2026-05-26 13:31:20.240064967 +0200
|
||||
@@ -174,7 +174,10 @@
|
||||
int i, options = 0;
|
||||
|
||||
options = XSLT_PARSE_OPTIONS;
|
||||
-
|
||||
+ /* Disable entity expansion to prevent XXE attacks */
|
||||
+ options &= ~XML_PARSE_NOENT;
|
||||
+ options |= XML_PARSE_NONET;
|
||||
+
|
||||
/*
|
||||
* Compile XSLT Sylesheet
|
||||
*/
|
||||
diff -Naur xmlstarlet-1.6.1.orig/src/xml_C14N.c xmlstarlet-1.6.1/src/xml_C14N.c
|
||||
--- xmlstarlet-1.6.1.orig/src/xml_C14N.c 2012-08-12 17:18:59.000000000 +0200
|
||||
+++ xmlstarlet-1.6.1/src/xml_C14N.c 2026-05-26 13:31:20.240173256 +0200
|
||||
@@ -62,8 +62,8 @@
|
||||
*/
|
||||
|
||||
doc = xmlReadFile(xml_filename, NULL,
|
||||
- XML_PARSE_NOENT | XML_PARSE_DTDLOAD |
|
||||
- XML_PARSE_DTDATTR | (nonet? XML_PARSE_NONET:0));
|
||||
+ XML_PARSE_DTDLOAD |
|
||||
+ XML_PARSE_DTDATTR | XML_PARSE_NONET);
|
||||
if (doc == NULL) {
|
||||
fprintf(stderr, "Error: unable to parse file \"%s\"\n", xml_filename);
|
||||
return(EXIT_BAD_FILE);
|
||||
diff -Naur xmlstarlet-1.6.1.orig/src/xml_select.c xmlstarlet-1.6.1/src/xml_select.c
|
||||
--- xmlstarlet-1.6.1.orig/src/xml_select.c 2014-03-03 01:15:08.000000000 +0100
|
||||
+++ xmlstarlet-1.6.1/src/xml_select.c 2026-05-26 13:31:20.240276580 +0200
|
||||
@@ -708,9 +708,9 @@
|
||||
selInitOptions(&ops);
|
||||
xsltInitOptions(&xsltOps);
|
||||
start = selParseOptions(&ops, argc, argv);
|
||||
- xml_options |= XML_PARSE_NOENT; /* substitute entities */
|
||||
+ /* XML_PARSE_NOENT removed to prevent XXE attacks */
|
||||
xml_options |= XML_PARSE_DTDATTR; /* use default attrib values */
|
||||
- xml_options |= ops.nonet? XML_PARSE_NONET : 0;
|
||||
+ xml_options |= XML_PARSE_NONET;
|
||||
xsltOps.nonet = ops.nonet;
|
||||
xsltOps.noblanks = ops.noblanks;
|
||||
xsltInitLibXml(&xsltOps);
|
||||
10
xmlstarlet-1.6.1-nogit.patch
Normal file
10
xmlstarlet-1.6.1-nogit.patch
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
diff -uNr xmlstarlet-1.6.1-orig/configure.ac xmlstarlet-1.6.1/configure.ac
|
||||
--- xmlstarlet-1.6.1-orig/configure.ac 2013-12-22 17:00:28.000000000 -0500
|
||||
+++ xmlstarlet-1.6.1/configure.ac 2014-12-08 17:12:47.836499274 -0500
|
||||
@@ -1,5 +1,5 @@
|
||||
AC_PREREQ([2.62])
|
||||
-AC_INIT([XMLStarlet], [m4_esyscmd_s([git describe --tags --dirty])],
|
||||
+AC_INIT([XMLStarlet], [m4_esyscmd_s([if test -d .git ; then git describe --tags --dirty ; fi])],
|
||||
[http://sourceforge.net/projects/xmlstar/support],
|
||||
[],
|
||||
[http://xmlstar.sourceforge.net/])
|
||||
228
xmlstarlet.spec
228
xmlstarlet.spec
|
|
@ -1,17 +1,23 @@
|
|||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||
|
||||
Name: xmlstarlet
|
||||
Version: 1.0.1
|
||||
Release: 4%{?dist}
|
||||
Version: 1.6.1
|
||||
Release: 31%{?dist}
|
||||
Summary: Command Line XML Toolkit
|
||||
Group: Applications/Text
|
||||
License: MIT
|
||||
URL: http://xmlstar.sourceforge.net/
|
||||
Source0: http://dl.sourceforge.net/xmlstar/%{name}-%{version}.tar.gz
|
||||
Patch0: xmlstarlet-1.0.1-nostatic.patch
|
||||
Patch1: xmlstarlet-1.0.1-cmdname.patch
|
||||
Patch2: xmlstarlet-1.0.1-docs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Source0: http://downloads.sourceforge.net/xmlstar/%{name}-%{version}.tar.gz
|
||||
# https://sourceforge.net/p/xmlstar/bugs/109/
|
||||
Patch0: xmlstarlet-1.6.1-nogit.patch
|
||||
# http://sourceforge.net/tracker/?func=detail&aid=3266898&group_id=66612&atid=515106
|
||||
# Fix for XXE (XML External Entity) vulnerability
|
||||
Patch1: xmlstarlet-1.6.1-fix-xxe.patch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: xmlto automake autoconf libxslt-devel
|
||||
BuildRequires: libxml2-devel >= 2.6.23
|
||||
|
||||
BuildRequires: xmlto automake autoconf libxml2-devel libxslt-devel
|
||||
|
||||
%description
|
||||
XMLStarlet is a set of command line utilities which can be used
|
||||
|
|
@ -21,39 +27,209 @@ plain text files using UNIX grep, sed, awk, diff, patch, join, etc
|
|||
commands.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
# cope with inconsistent naming
|
||||
%patch0 -p1 -b .nostatic
|
||||
%patch1 -p1 -b .cmdname
|
||||
%patch2 -p1 -b .docs
|
||||
%autosetup -p1
|
||||
|
||||
|
||||
%build
|
||||
autoreconf -i
|
||||
%configure
|
||||
make
|
||||
cd $RPM_BUILD_DIR/%{name}-%{version}/doc
|
||||
xmlto man xmlstarlet-man.xml
|
||||
xmlto html-nochunks xmlstarlet-ug.xml
|
||||
./gen-doc > xmlstarlet.txt
|
||||
%configure --disable-static-libs --with-libxml-include-prefix=%{_includedir}/libxml2 --docdir=%{_pkgdocdir} # --libdir=%{_libdir}
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
rm -fr %{buildroot}
|
||||
%make_install
|
||||
# Avoid name kludging in autotools
|
||||
mv %{buildroot}%{_bindir}/xml %{buildroot}%{_bindir}/xmlstarlet
|
||||
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
rm -fr %{buildroot}
|
||||
%check
|
||||
make check
|
||||
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc AUTHORS ChangeLog NEWS README Copyright TODO doc/xmlstarlet.txt doc/xmlstarlet-ug.html
|
||||
%doc AUTHORS ChangeLog NEWS README Copyright TODO
|
||||
%doc %{_pkgdocdir}/*
|
||||
%{_mandir}/man1/xmlstarlet.1*
|
||||
%{_bindir}/xmlstarlet
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-31
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Wed May 27 2026 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.6.1-30
|
||||
- Fix XXE (XML External Entity) vulnerability
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-29
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Fri Nov 29 2024 Paul W. Frields <stickster@gmail.com> - 1.6.1-26
|
||||
- Remove docbook5-schemas BR due to deprecation
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-25
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Mon Jun 05 2023 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.6.1-22
|
||||
- SPDX migration
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu Mar 17 2022 Neal Gompa <ngompa@datto.com> - 1.6.1-19
|
||||
- Minor spec improvements
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Tue Mar 01 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 1.6.1-6
|
||||
- Mark installed documentation as %%doc (#1308255)
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Dec 8 2014 Paul W. Frields <stickster@gmail.com> - 1.6.1-3
|
||||
- Fix noisy git related spew (#1171864)
|
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Wed Aug 13 2014 Paul W. Frields <stickster@gmail.com> - 1.6.1-1
|
||||
- Update to upstream 1.6.1 (#1129106)
|
||||
|
||||
* Mon Jun 16 2014 Paul W. Frields <stickster@gmail.com> - 1.6.0-1
|
||||
- Update to upstream 1.6.0 (#1037400, #1107292)
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat Jul 27 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.5.0-2
|
||||
- Install docs to %%{_pkgdocdir} where available.
|
||||
|
||||
* Wed Jul 10 2013 Paul W. Frields <stickster@gmail.com> - 1.5.0-1
|
||||
- Update to upstream 1.5.0 (#983025)
|
||||
- Fix man page rendering (#981050)
|
||||
- Use standard docdir
|
||||
|
||||
* Mon Mar 25 2013 Paul W. Frields <stickster@gmail.com> - 1.4.2-1
|
||||
- Update to upstream 1.4.2 (#851880)
|
||||
|
||||
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Wed Feb 15 2012 Paul W. Frields <stickster@gmail.com> - 1.3.1-2
|
||||
- Fix build with configure flag
|
||||
|
||||
* Wed Feb 15 2012 Paul W. Frields <stickster@gmail.com> - 1.3.1-1
|
||||
- Update to upstream 1.3.1 (#782066)
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Mon Oct 3 2011 Paul W. Frields <stickster@gmail.com> - 1.3.0-1
|
||||
- Update to upstream 1.3.0
|
||||
|
||||
* Fri Aug 26 2011 Paul W. Frields <stickster@gmail.com> - 1.2.1-1
|
||||
- Update to upstream 1.2.1
|
||||
|
||||
* Sun Apr 10 2011 Paul W. Frields <stickster@gmail.com> - 1.1.0-1
|
||||
- Update to upstream 1.1.0
|
||||
|
||||
* Thu Apr 07 2011 Dan Horák <dan[at]danny.cz> - 1.0.6-2
|
||||
- fix build on 64-bit big-endians
|
||||
|
||||
* Sat Mar 26 2011 Paul W. Frields <stickster@gmail.com> - 1.0.6-1
|
||||
- Update to upstream 1.0.6
|
||||
- Drop obsolete patch
|
||||
|
||||
* Thu Feb 17 2011 Paul W. Frields <stickster@gmail.com> - 1.0.5-1
|
||||
- Update to upstream 1.0.5
|
||||
- Update libxml2 requirement
|
||||
- Drop unnecessary patch, naming issue fixed upstream
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Wed Jan 19 2011 Paul W. Frields <stickster@gmail.com> - 1.0.4-1
|
||||
- Update to new upstream 1.0.4
|
||||
- Drop patches for fixed upstream issues
|
||||
|
||||
* Fri Dec 17 2010 Paul W. Frields <stickster@gmail.com> - 1.0.3-1
|
||||
- Update to new upstream 1.0.3
|
||||
- Add %%check section for validation testing
|
||||
|
||||
* Mon Nov 1 2010 Paul W. Frields <stickster@gmail.com> - 1.0.2-1
|
||||
- Update to new upstream 1.0.2
|
||||
|
||||
* Sun Jan 10 2010 Paul W. Frields <stickster@gmail.com> - 1.0.1-9
|
||||
- Correct source URL
|
||||
|
||||
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Fri Mar 21 2008 Paul W. Frields <stickster@gmail.com> - 1.0.1-6
|
||||
- Rebuild to use FORTIFY_SOURCE correctly
|
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.1-5
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Sat Sep 2 2006 Paul W. Frields <stickster@gmail.com> - 1.0.1-4
|
||||
- Bump release for FC6 mass rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue