diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-libs/tinyxml | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'dev-libs/tinyxml')
| -rw-r--r-- | dev-libs/tinyxml/Manifest | 1 | ||||
| -rw-r--r-- | dev-libs/tinyxml/files/Makefile-3 | 44 | ||||
| -rw-r--r-- | dev-libs/tinyxml/files/tinyxml-2.6.1-entity.patch | 64 | ||||
| -rw-r--r-- | dev-libs/tinyxml/files/tinyxml-2.6.2-CVE-2021-42260.patch | 23 | ||||
| -rw-r--r-- | dev-libs/tinyxml/files/tinyxml-2.6.2-defineSTL.patch | 12 | ||||
| -rw-r--r-- | dev-libs/tinyxml/files/tinyxml.pc.patch | 14 | ||||
| -rw-r--r-- | dev-libs/tinyxml/metadata.xml | 14 | ||||
| -rw-r--r-- | dev-libs/tinyxml/tinyxml-2.6.2-r5.ebuild | 68 |
8 files changed, 0 insertions, 240 deletions
diff --git a/dev-libs/tinyxml/Manifest b/dev-libs/tinyxml/Manifest deleted file mode 100644 index 9738434bac7d..000000000000 --- a/dev-libs/tinyxml/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST tinyxml_2_6_2.tar.gz 210124 BLAKE2B 84d4ad0174eb38583a4488523410105928b9797f09a2ef84b41156580a40cc11d1d09e28e67512494bd02d7a7e0b208aa6c1ce3383bec12de606491214c16a77 SHA512 133b5db06131a90ad0c2b39b0063f1c8e65e67288a7e5d67e1f7d9ba32af10dc5dfa0462f9723985ee27debe8f09a10a25d4b5a5aaff2ede979b1cebe8e59d56 diff --git a/dev-libs/tinyxml/files/Makefile-3 b/dev-libs/tinyxml/files/Makefile-3 deleted file mode 100644 index 40ad4fe7e9ce..000000000000 --- a/dev-libs/tinyxml/files/Makefile-3 +++ /dev/null @@ -1,44 +0,0 @@ -AR ?= ar -CXX ?= g++ -CXXFLAGS += -Wall -RANLIB ?= ranlib -LIBDIR ?= /usr/lib - -name = libtinyxml -major = @MAJOR_V@ -minor = @MINOR_V@ -version = $(major).$(minor) - -src = tinyxml.cpp tinyxmlparser.cpp tinyxmlerror.cpp tinystr.cpp -lo = $(addsuffix .lo,$(basename ${src})) -o = $(addsuffix .o,$(basename ${src})) - -lib = so -ifeq ($(shell uname),Darwin) - lib = dylib -endif - -all: $(name).a $(name).$(lib) - -%.o: %.cpp - $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $< -o $@ - -$(name).a: $(o) - $(AR) rc $(name).a $(o) - $(RANLIB) $(name).a - -%.lo: %.cpp - $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) -fPIC $< -o $@ - -$(name).so: $(lo) - $(CXX) $(LDFLAGS) -fPIC -shared $(lo) -Wl,-soname,$(name).so.$(major) -o $(name).so.$(version) - ln -s $(name).so.$(version) $(name).so.$(major) - ln -s $(name).so.$(version) $(name).so - -$(name).dylib: $(lo) - $(CXX) $(LDFLAGS) -fPIC -dynamiclib $(lo) -install_name $(LIBDIR)/$(name).$(major).dylib -o $(name).$(version).dylib - ln -s $(name).$(version).dylib $(name).$(major).dylib - ln -s $(name).$(version).dylib $(name).dylib - -clean: - -rm -f *.o *.lo *.so* *.a diff --git a/dev-libs/tinyxml/files/tinyxml-2.6.1-entity.patch b/dev-libs/tinyxml/files/tinyxml-2.6.1-entity.patch deleted file mode 100644 index 66d89a61743d..000000000000 --- a/dev-libs/tinyxml/files/tinyxml-2.6.1-entity.patch +++ /dev/null @@ -1,64 +0,0 @@ -? entity.patch -Index: tinyxml.cpp -=================================================================== -RCS file: /cvsroot/tinyxml/tinyxml/tinyxml.cpp,v -retrieving revision 1.105 -diff -u -r1.105 tinyxml.cpp ---- tinyxml.cpp 5 Jun 2010 19:06:57 -0000 1.105 -+++ tinyxml.cpp 19 Jul 2010 21:24:16 -0000 -@@ -57,30 +57,7 @@ - { - unsigned char c = (unsigned char) str[i]; - -- if ( c == '&' -- && i < ( (int)str.length() - 2 ) -- && str[i+1] == '#' -- && str[i+2] == 'x' ) -- { -- // Hexadecimal character reference. -- // Pass through unchanged. -- // © -- copyright symbol, for example. -- // -- // The -1 is a bug fix from Rob Laveaux. It keeps -- // an overflow from happening if there is no ';'. -- // There are actually 2 ways to exit this loop - -- // while fails (error case) and break (semicolon found). -- // However, there is no mechanism (currently) for -- // this function to return an error. -- while ( i<(int)str.length()-1 ) -- { -- outString->append( str.c_str() + i, 1 ); -- ++i; -- if ( str[i] == ';' ) -- break; -- } -- } -- else if ( c == '&' ) -+ if ( c == '&' ) - { - outString->append( entity[0].str, entity[0].strLength ); - ++i; -Index: xmltest.cpp -=================================================================== -RCS file: /cvsroot/tinyxml/tinyxml/xmltest.cpp,v -retrieving revision 1.89 -diff -u -r1.89 xmltest.cpp ---- xmltest.cpp 5 Jun 2010 17:41:52 -0000 1.89 -+++ xmltest.cpp 19 Jul 2010 21:24:16 -0000 -@@ -1340,6 +1340,16 @@ - }*/ - } - -+ #ifdef TIXML_USE_STL -+ { -+ TiXmlDocument xml; -+ xml.Parse("<foo>foo&#xa+bar</foo>"); -+ std::string str; -+ str << xml; -+ XmlTest( "Entity escaping", "<foo>foo&#xa+bar</foo>", str.c_str() ); -+ } -+ #endif -+ - /* 1417717 experiment - { - TiXmlDocument xml; diff --git a/dev-libs/tinyxml/files/tinyxml-2.6.2-CVE-2021-42260.patch b/dev-libs/tinyxml/files/tinyxml-2.6.2-CVE-2021-42260.patch deleted file mode 100644 index d9eeb45c73b5..000000000000 --- a/dev-libs/tinyxml/files/tinyxml-2.6.2-CVE-2021-42260.patch +++ /dev/null @@ -1,23 +0,0 @@ -Description: In stamp always advance the pointer if *p= 0xef - . - The current implementation only advanced if 0xef is followed - by two non-zero bytes. In case of malformed input (0xef should be - the start byte of a three byte character) this leads to an infinite - loop. (CVE-2021-42260) -Origin: https://sourceforge.net/p/tinyxml/git/merge-requests/1/ - ---- a/tinyxmlparser.cpp -+++ b/tinyxmlparser.cpp -@@ -274,6 +274,12 @@ void TiXmlParsingData::Stamp( const char* now, TiXmlEncoding encoding ) - else - { p +=3; ++col; } // A normal character. - } -+ else -+ { -+ // TIXML_UTF_LEAD_0 (239) is the start character of a 3 byte sequence, so -+ // there is something wrong here. Just advance the pointer to evade infinite loops -+ ++p; -+ } - } - else - { diff --git a/dev-libs/tinyxml/files/tinyxml-2.6.2-defineSTL.patch b/dev-libs/tinyxml/files/tinyxml-2.6.2-defineSTL.patch deleted file mode 100644 index 7bcde59ff946..000000000000 --- a/dev-libs/tinyxml/files/tinyxml-2.6.2-defineSTL.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up tinyxml/tinyxml.h~ tinyxml/tinyxml.h ---- tinyxml/tinyxml.h~ 2007-11-30 22:39:36.000000000 +0100 -+++ tinyxml/tinyxml.h 2007-11-30 22:39:36.000000000 +0100 -@@ -26,6 +26,8 @@ distribution. - #ifndef TINYXML_INCLUDED - #define TINYXML_INCLUDED - -+#define TIXML_USE_STL 1 -+ - #ifdef _MSC_VER - #pragma warning( push ) - #pragma warning( disable : 4530 ) diff --git a/dev-libs/tinyxml/files/tinyxml.pc.patch b/dev-libs/tinyxml/files/tinyxml.pc.patch deleted file mode 100644 index 74cb8042b491..000000000000 --- a/dev-libs/tinyxml/files/tinyxml.pc.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Naur old/tinyxml.pc new/tinyxml.pc ---- /dev/null 1970-01-01 03:00:00.000000000 +0300 -+++ tinyxml.pc 2018-05-07 01:46:25.000000000 +0300 -@@ -0,0 +1,10 @@ -+prefix=/usr -+exec_prefix=${prefix} -+libdir=${exec_prefix}/lib -+includedir=${prefix}/include -+ -+Name: TinyXml -+Description: simple, small, C++ XML parser -+Version: 2.6.2 -+Libs: -L${libdir} -ltinyxml -+Cflags: -I${includedir} diff --git a/dev-libs/tinyxml/metadata.xml b/dev-libs/tinyxml/metadata.xml deleted file mode 100644 index 03f8c60dad19..000000000000 --- a/dev-libs/tinyxml/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>voyageur@gentoo.org</email> - <name>Bernard Cafarelli</name> - </maintainer> - <use> - <flag name="stl">Compile with TIXML_USE_STL support</flag> - </use> - <upstream> - <remote-id type="sourceforge">tinyxml</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-libs/tinyxml/tinyxml-2.6.2-r5.ebuild b/dev-libs/tinyxml/tinyxml-2.6.2-r5.ebuild deleted file mode 100644 index 9f5c5026f779..000000000000 --- a/dev-libs/tinyxml/tinyxml-2.6.2-r5.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs multilib - -DESCRIPTION="Simple and small C++ XML parser" -HOMEPAGE="http://www.grinninglizard.com/tinyxml/index.html" -SRC_URI="https://downloads.sourceforge.net/${PN}/${PN}_${PV//./_}.tar.gz" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" -IUSE="debug doc static-libs +stl" - -BDEPEND="doc? ( app-text/doxygen )" - -S="${WORKDIR}/${PN}" - -DOCS=( "changes.txt" "readme.txt" ) - -src_prepare() { - local major_v=$(ver_cut 1) - local minor_v=$(ver_cut 2-3) - - sed -e "s:@MAJOR_V@:$major_v:" \ - -e "s:@MINOR_V@:$minor_v:" \ - "${FILESDIR}"/Makefile-3 > Makefile || die - - eapply -p0 "${FILESDIR}"/${PN}-2.6.1-entity.patch - eapply -p0 "${FILESDIR}"/${PN}.pc.patch - eapply "${FILESDIR}"/${P}-CVE-2021-42260.patch - - use debug && append-cppflags -DDEBUG - use stl && eapply "${FILESDIR}"/${P}-defineSTL.patch - - sed -e "s:/lib:/$(get_libdir):g" -i tinyxml.pc || die # bug 738948 - if use stl; then - sed -e "s/Cflags: -I\${includedir}/Cflags: -I\${includedir} -DTIXML_USE_STL=YES/g" -i tinyxml.pc || die - fi - - if ! use static-libs; then - sed -e "/^all:/s/\$(name).a //" -i Makefile || die - fi - - tc-export AR CXX RANLIB - - [[ ${CHOST} == *-darwin* ]] && export LIBDIR="${EPREFIX}"/usr/$(get_libdir) - eapply_user -} - -src_install() { - dolib.so *$(get_libname)* - - insinto /usr/include - doins *.h - - insinto /usr/share/pkgconfig - doins tinyxml.pc - - einstalldocs - - if use doc ; then - docinto html - dodoc -r docs/* - fi -} |
