aboutsummaryrefslogtreecommitdiff
path: root/libxml2
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
commit93a354611e38a6949add5c2e5ccc93ef79b9755f (patch)
tree7fee41752b1047d74c59f8ee046cd62735e7e934 /libxml2
parent35912580b66e9439f91ea441938828ad8aa33b0d (diff)
downloadalicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz
alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'libxml2')
-rw-r--r--libxml2/.checksum2
-rw-r--r--libxml2/.files136
-rw-r--r--libxml2/abuild7
-rw-r--r--libxml2/depends1
-rw-r--r--libxml2/overflow.patch95
5 files changed, 241 insertions, 0 deletions
diff --git a/libxml2/.checksum b/libxml2/.checksum
new file mode 100644
index 00000000..f346bf4a
--- /dev/null
+++ b/libxml2/.checksum
@@ -0,0 +1,2 @@
+8fddb31bbf31ad06abcf363ee554bd575975899b7d5c311d2dd7187852407ad7 libxml2-2.14.3.tar.xz
+4de7d0ba62928f5b885071df954120f083d99a663d64dd0ad4cdbad4d29733b8 overflow.patch
diff --git a/libxml2/.files b/libxml2/.files
new file mode 100644
index 00000000..de2ad524
--- /dev/null
+++ b/libxml2/.files
@@ -0,0 +1,136 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/xml2-config
+-rwxr-xr-x root/root usr/bin/xmlcatalog
+-rwxr-xr-x root/root usr/bin/xmllint
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/libxml2/
+drwxr-xr-x root/root usr/include/libxml2/libxml/
+-rw-r--r-- root/root usr/include/libxml2/libxml/HTMLparser.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/HTMLtree.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/SAX.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/SAX2.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/c14n.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/catalog.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/chvalid.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/debugXML.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/dict.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/encoding.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/entities.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/globals.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/hash.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/list.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/nanoftp.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/nanohttp.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/parser.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/parserInternals.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/pattern.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/relaxng.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/schemasInternals.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/schematron.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/threads.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/tree.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/uri.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/valid.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xinclude.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xlink.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xmlIO.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xmlautomata.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xmlerror.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xmlexports.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xmlmemory.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xmlmodule.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xmlreader.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xmlregexp.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xmlsave.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xmlschemas.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xmlschemastypes.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xmlstring.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xmlunicode.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xmlversion.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xmlwriter.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xpath.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xpathInternals.h
+-rw-r--r-- root/root usr/include/libxml2/libxml/xpointer.h
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/cmake/
+drwxr-xr-x root/root usr/lib/cmake/libxml2/
+-rw-r--r-- root/root usr/lib/cmake/libxml2/libxml2-config.cmake
+lrwxrwxrwx root/root usr/lib/libxml2.so -> libxml2.so.16.0.3
+lrwxrwxrwx root/root usr/lib/libxml2.so.16 -> libxml2.so.16.0.3
+-rwxr-xr-x root/root usr/lib/libxml2.so.16.0.3
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/libxml-2.0.pc
+drwxr-xr-x root/root usr/lib/python3.13/
+drwxr-xr-x root/root usr/lib/python3.13/site-packages/
+drwxr-xr-x root/root usr/lib/python3.13/site-packages/__pycache__/
+-rw-r--r-- root/root usr/lib/python3.13/site-packages/__pycache__/drv_libxml2.cpython-313.opt-1.pyc
+-rw-r--r-- root/root usr/lib/python3.13/site-packages/__pycache__/drv_libxml2.cpython-313.pyc
+-rw-r--r-- root/root usr/lib/python3.13/site-packages/__pycache__/libxml2.cpython-313.opt-1.pyc
+-rw-r--r-- root/root usr/lib/python3.13/site-packages/__pycache__/libxml2.cpython-313.pyc
+-rw-r--r-- root/root usr/lib/python3.13/site-packages/drv_libxml2.py
+-rw-r--r-- root/root usr/lib/python3.13/site-packages/libxml2.py
+-rwxr-xr-x root/root usr/lib/python3.13/site-packages/libxml2mod.so
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/gtk-doc/
+drwxr-xr-x root/root usr/share/gtk-doc/html/
+drwxr-xr-x root/root usr/share/gtk-doc/html/libxml2/
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/general.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/home.png
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/index.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/left.png
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-SAX.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-SAX2.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-c14n.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-catalog.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-chvalid.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-debugXML.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-dict.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-encoding.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-entities.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-globals.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-hash.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-list.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-nanoftp.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-nanohttp.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-parser.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-parserInternals.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-pattern.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-relaxng.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-schematron.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-threads.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-tree.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-uri.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-valid.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xinclude.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xlink.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlIO.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlerror.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlexports.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlreader.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlsave.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlstring.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlversion.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xpath.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xpointer.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2.devhelp2
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/right.png
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/style.css
+-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/up.png
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/xml2-config.1.gz
+-rw-r--r-- root/root usr/share/man/man1/xmlcatalog.1.gz
+-rw-r--r-- root/root usr/share/man/man1/xmllint.1.gz
diff --git a/libxml2/abuild b/libxml2/abuild
new file mode 100644
index 00000000..a7125ecb
--- /dev/null
+++ b/libxml2/abuild
@@ -0,0 +1,7 @@
+name=libxml2
+version=2.14.3
+release=1
+source="https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz
+ overflow.patch"
+build_type=configure_build
+build_opt="--with-icu"
diff --git a/libxml2/depends b/libxml2/depends
new file mode 100644
index 00000000..31cb45dd
--- /dev/null
+++ b/libxml2/depends
@@ -0,0 +1 @@
+icu
diff --git a/libxml2/overflow.patch b/libxml2/overflow.patch
new file mode 100644
index 00000000..c7d82ed0
--- /dev/null
+++ b/libxml2/overflow.patch
@@ -0,0 +1,95 @@
+The line count may overflow. It's a signed integer in public api
+so there is nothing that can be done but at least the usage should
+be harmless since it's just a line number.
+
+--- a/parser.c
++++ b/parser.c
+@@ -2323,7 +2323,7 @@ static int spacePop(xmlParserCtxtPtr ctxt) {
+ int skipl; \
+ for(skipl=0; skipl<val; skipl++) { \
+ if (*(ctxt->input->cur) == '\n') { \
+- ctxt->input->line++; ctxt->input->col = 1; \
++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1; \
+ } else ctxt->input->col++; \
+ ctxt->input->cur++; \
+ } \
+@@ -2357,7 +2357,7 @@ static int spacePop(xmlParserCtxtPtr ctxt) {
+
+ #define NEXTL(l) do { \
+ if (*(ctxt->input->cur) == '\n') { \
+- ctxt->input->line++; ctxt->input->col = 1; \
++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1; \
+ } else ctxt->input->col++; \
+ ctxt->input->cur += l; \
+ } while (0)
+@@ -2391,7 +2391,7 @@ xmlSkipBlankChars(xmlParserCtxtPtr ctxt) {
+ cur = ctxt->input->cur;
+ while (IS_BLANK_CH(*cur)) {
+ if (*cur == '\n') {
+- ctxt->input->line++; ctxt->input->col = 1;
++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1;
+ } else {
+ ctxt->input->col++;
+ }
+@@ -4790,7 +4790,7 @@ get_more_space:
+ while (*in == 0x20) { in++; ctxt->input->col++; }
+ if (*in == 0xA) {
+ do {
+- ctxt->input->line++; ctxt->input->col = 1;
++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1;
+ in++;
+ } while (*in == 0xA);
+ goto get_more_space;
+@@ -4835,7 +4835,7 @@ get_more:
+ ctxt->input->col = ccol;
+ if (*in == 0xA) {
+ do {
+- ctxt->input->line++; ctxt->input->col = 1;
++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1;
+ in++;
+ } while (*in == 0xA);
+ goto get_more;
+@@ -4888,7 +4888,7 @@ get_more:
+ if (*in == 0xA) {
+ ctxt->input->cur = in;
+ in++;
+- ctxt->input->line++; ctxt->input->col = 1;
++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1;
+ continue; /* while */
+ }
+ in--;
+@@ -5251,7 +5251,7 @@ xmlParseComment(xmlParserCtxtPtr ctxt) {
+ do {
+ if (*in == 0xA) {
+ do {
+- ctxt->input->line++; ctxt->input->col = 1;
++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1;
+ in++;
+ } while (*in == 0xA);
+ }
+@@ -5266,7 +5266,7 @@ get_more:
+ ctxt->input->col = ccol;
+ if (*in == 0xA) {
+ do {
+- ctxt->input->line++; ctxt->input->col = 1;
++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1;
+ in++;
+ } while (*in == 0xA);
+ goto get_more;
+@@ -5311,14 +5311,14 @@ get_more:
+ ctxt->input->cur = in;
+ if (*in == 0xA) {
+ in++;
+- ctxt->input->line++; ctxt->input->col = 1;
++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1;
+ }
+ if (*in == 0xD) {
+ in++;
+ if (*in == 0xA) {
+ ctxt->input->cur = in;
+ in++;
+- ctxt->input->line++; ctxt->input->col = 1;
++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1;
+ goto get_more;
+ }
+ in--;