SHA256
8
0
forked from pool/uriparser

37 Commits

Author SHA256 Message Date
794b093b53 Accepting request 1285443 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1285443
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uriparser?expand=0&rev=14
2025-06-13 16:47:31 +00:00
940acfbfac - Use Qt6's qhelpgenerator instead of Qt5's and fix its usage since
Qt5 was being BuildRequired but qch docs weren't being generated.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=35
2025-06-13 11:04:16 +00:00
84210a4e53 Accepting request 1177507 from devel:libraries:c_c++
- enable unit tests

OBS-URL: https://build.opensuse.org/request/show/1177507
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uriparser?expand=0&rev=13
2024-05-29 17:36:21 +00:00
9d470c8d4a - enable unit tests
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=33
2024-05-29 09:00:04 +00:00
6fdb3cd32b Accepting request 1173614 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1173614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uriparser?expand=0&rev=12
2024-05-13 15:58:27 +00:00
4f87ad310b Accepting request 1172103 from home:gkenion:branches:devel:libraries:c_c++
Update to 0.9.8 (bsc#1223887, CVE-2024-34402), (bsc#1223888, CVE-2024-34403)

OBS-URL: https://build.opensuse.org/request/show/1172103
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=31
2024-05-13 09:26:40 +00:00
dd7c616f75 Accepting request 1029671 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1029671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uriparser?expand=0&rev=11
2022-10-18 10:45:41 +00:00
3b729c5953 Accepting request 1012079 from home:dirkmueller:Factory
- update to 0.9.7:
  * Fixed: Multiple issues with IPv6 and IPvFuture literal parsing
      (GitHub #146, GitHub #150)
      Thanks to Scallop Ye for the report and the pull request!
  * Fixed: Fix symbol visibility for -DBUILD_SHARED_LIBS=OFF (GitHub #139,
      GitHub #141); thanks to Mariusz Zaborski for the report!
  * Fixed: For MinGW, use size_t for inet_ntop declaration and fix macro
      checks for both MinGW and mingw-w64 (GitHub #131)
  * Fixed: Compiler warnings (GitHub #132, GitHub #152)
  * Improved: Use name UriConfig.h rather than generic config.h for the
      config header file to avoid name clashes and also include it through
      "UriConfig.h" with quotes rather than <UriConfig.h> so that it is found
      in quote path locations (GitHub #149)
      Thanks to Gaspard Petit for bringing this up!
  * Improved: Document need for UriConfig.h in UriMemory.c (GitHub #136)
  * Infrastructure: Add (support for) Visual Studio 17/2022 (GitHub #152)
  * Infrastructure: Drop (support for) Visual Studio <=14/2015 (GitHub #152)
  * Infrastructure: Update Clang from 13 to 15 (GitHub #143, GitHub #151)
  * Infrastructure: Make MinGW with 32bit Wine on Ubuntu 20.04 possible
      (GitHub #142, GitHub #144, GitHub #145)
  * Soname: 1:30:0 — see https://verbump.de/ for what these numbers do

OBS-URL: https://build.opensuse.org/request/show/1012079
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=29
2022-10-18 08:15:52 +00:00
2f18860b20 Accepting request 978053 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/978053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uriparser?expand=0&rev=10
2022-05-19 20:49:36 +00:00
440f4759f4 Accepting request 977627 from home:adaugherity:branches:devel:libraries:c_c++
- fix cmake build (incorrect line continuation - %make_jobs is not part of the
  %cmake call; it only worked in distros where it printed a deprecation
  warning before invoking make, but broke the build on SLE_12_SP5)
  - replace deprecated %make_jobs macro with %cmake_build
- fix building docs: need graphviz-gd to produce PNG files and 
  ghostscript-fonts-std for the fonts used
  - this was the error in the build log:
/usr/bin/doxygen Doxyfile
Format: "png" not recognized. Use one of: canon cmap cmapx cmapx_np dot dot_json eps fig gv imap imap_np ismap json json0 mp pic plain plain-ext pov ps ps2 svg svgz tk vml vmlz xdot xdot1.2 xdot1.4 xdot_json
WARNING: error: Problems running dot: exit code=1, command='dot', arguments='"/home/abuild/rpmbuild/BUILD/uriparser-0.9.6/build/doc/./html/dir_24c5c890457908cb185130461432a4ab_dep.dot" -Tpng -o "/home/abuild/rpmbuild/BUILD/uriparser-0.9.6/build/doc/./html/dir_24c5c890457908cb185130461432a4ab_dep.png" -Tcmapx -o "/home/abuild/rpmbuild/BUILD/uriparser-0.9.6/build/doc/./html/dir_24c5c890457908cb185130461432a4ab_dep.map"'

OBS-URL: https://build.opensuse.org/request/show/977627
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=27
2022-05-19 06:24:15 +00:00
c6c9d96c6e Accepting request 945308 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/945308
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uriparser?expand=0&rev=9
2022-01-10 22:53:35 +00:00
3e7f7580c9 Accepting request 945156 from home:dirkmueller:Factory
- update to 0.9.6 (bsc#1194365, bsc#1194364):
  * Fixed: [CVE-2021-46141]
      Fix a bug affecting both uriNormalizeSyntax* and uriMakeOwner*
      functions where the text range in .hostText would not be duped using
      malloc but remain unchanged (and hence "not owned") for URIs with
      an IPv4 or IPv6 address hostname; depending on how an application
      uses uriparser, this could lead the application into a use-after-free
      situation.
      As the second half, fix uriFreeUriMembers* functions that would not
      free .hostText memory for URIs with an IPv4 or IPv6 address host;
      also, calling uriFreeUriMembers* multiple times on a URI of this
      very nature would result in trying to free pointers to stack
      (rather than heap) memory (GitHub #121, GitHub #124)
      Commit 987b046e41f407d17c622e580fc82a5e834b4329
      Commit b1a34743bc1472e055d886e29e9b53f670eb3282
  * Fixed: [CVE-2021-46142]
      Fix functions uriNormalizeSyntax* for out-of-memory situations
      (i.e. malloc returning NULL) for URIs containing empty segments
      (any of user info, host text, query, or fragment) where previously
      pointers to stack (rather than heap) memory were freed (GitHub #122,
      GitHub #124)

OBS-URL: https://build.opensuse.org/request/show/945156
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=26
2022-01-10 12:44:03 +00:00
b8e3ecf255 Accepting request 896650 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/896650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uriparser?expand=0&rev=8
2021-06-05 21:30:54 +00:00
66431d555b Accepting request 893493 from home:dirkmueller:Factory
- update to 0.9.5:
  * Fixed: Fix a bug regarding section "5.2.4. Remove Dot Segments"
      of RFC 3986 that affected both normalization and reference resolution
      with regard to trailing slashes (GitHub #92, #97)
      Thanks to Dan Pape for the report!
  * Fixed: MinGW: Fix name of static library (GitHub #90)
      Thanks to SpaceIm for the patch and Sandro Mani for review!
  * Fixed: Use correct inline marker "__forceinline" for Intel C++ Compiler
      (GitHub #93)
      Thanks to jensenrichardson for the patch!
  * Fixed: Link against pthreads for (default) -DURIPARSER_BUILD_TESTS=ON
      (GitHub #99, #100)
  * Fixed: When integrated using CMake function add_subdirectory, installation
      could fail due to lack of prefix ${CMAKE_CURRENT_SOURCE_DIR} (GitHub #98)
      Thanks for the patch to Shehzan Mohammed!
  * Fixed: Addressed MSVC compile warning about lack of /EHsc when compiling
      the C++ test suite code (GitHub #102)
  * Fixed: Stopped misadvertising wide characters as Unicode support
      (GitHub #104)
  * Added: CMake option URIPARSER_WARNINGS_AS_ERRORS=(ON|OFF)
      to turn compile warnings into errors, defaults to "OFF" (GitHub #102)
  * Improved: pkg-config: Use ${prefix} and ${exec_prefix} to ease
      overriding variables using --define-variable=NAME=VALUE,
      e.g. as done on OpenWRT (GitHub #91)
      Thanks to Karel Kočí for the pull request!
  * Improved: Auto-detection of the qhelpgenerator command based on CMake
      package "Qt5Help" when available.  CMake option "QHG_LOCATION" can still
      be used to enforce a specific location (GitHub #103)
      Thanks for his help to Andreas Sturmlechner!
  * Improved: Make documentation use pkg-config in example on how to

OBS-URL: https://build.opensuse.org/request/show/893493
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=24
2021-06-01 10:32:46 +00:00
d3a1890ab0 Accepting request 825273 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/825273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uriparser?expand=0&rev=7
2020-08-12 08:56:35 +00:00
ff2a1559f9 Accepting request 823104 from home:mrey:branches:devel:libraries:c_c++
- Update to version 0.9.4
  * Fixed: testrunner: No longer crashes when compiled with NDEBUG
    (GitHub #67)
  * Fixed: CMake: Support GTest 1.8.0 (GitHub #68)
      Thanks to Ryan Schmidt for the related report!
  * Fixed: CMake: Use variable GTEST_INCLUDE_DIRS (with plural "S")
    rather than GTEST_INCLUDE_DIR (GitHub #79, #81)
      Thanks to Wouter Beek for the related report!
  * Improved: CMake: Send config summary to stdout, not stderr
    (GitHub #72)
      Thanks to Scott Donelan for the patch!
  * Improved: Make -DURIPARSER_BUILD_TESTS=OFF unlock compilation
    without a C++ compiler; thanks to Fabrice Fontaine for the
    patch! (GitHub #69)
  * Added: Functions to make UriUri[AW] instances independent of
    the original URI string (GitHub #77 and #78)
    New functions:
      uriMakeOwner[AW]
      uriMakeOwnerMm[AW]
  * Added: CMake option URIPARSER_ENABLE_INSTALL to toggle
    installation of files, defaults to "ON" (GitHub #74, #75)
      Thanks to Scott Donelan for the patch!
  * Soname: 1:26:0

OBS-URL: https://build.opensuse.org/request/show/823104
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=22
2020-08-10 08:05:36 +00:00
97e895aff1 Accepting request 718134 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/718134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uriparser?expand=0&rev=6
2019-07-28 08:20:14 +00:00
90c9948e24 Accepting request 717681 from home:TheBlackCat:branches:science
- Update to version 0.9.3
  * Fixed: pkg-config: Fix version line in liburiparser.pc (GitHub #65)
  * Changed: MinGW: Add library version suffix to DLL name
      Thanks to Sandro Mani for the patch! (GitHub #63, #64)
  * Soname: 1:26:0
- Update to version 0.9.2
  * Fixed: Add missing extern "C" wrapper to UriIp4.h for use from C++
  * Fixed: Linking error for symbol defaultMemoryManager from mixing C and C++
      Thanks to Jørgen Ibsen for the report! (GitHub #52)
  * Fixed: Link errors on Haiku regarding function inet_ntop (GitHub #45)
      Thanks to Schrijvers Luc for the patch!
  * Fixed: Mark API functions with __declspec(dllexport) and
      __declspec(dllimport) in *.h files for Visual Studio (GitHub #60)
  * Improved: Use -fvisibility=hidden by default with supporting compilers,
       e.g. GCC and Clang (GitHub #60)
  * Changed: Migrated from GNU Autotools to CMake (GitHub #17, #47, #56, #59)
      Thanks for their support with the CMake migration to:
      - David Demelier
      - Jørgen Ibsen
      - KangLin
      - Kouhei Sutou
      - myd7349
      - Richard Hodges
      - Zachary Lund
  * Removed: All Windows-related build systems other than CMake
  * Soname: 1:25:0
- Switch to cmake build
- Split docs into own subpackage

OBS-URL: https://build.opensuse.org/request/show/717681
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=20
2019-07-24 08:43:08 +00:00
e7728ae62a Accepting request 666491 from devel:libraries:c_c++
- Update to version 0.9.1
  * Fixed Out-of-bounds read in uriParse*Ex* for incomplete URIs
    with IPv6 addresses with embedded IPv4 address, e.g. "//[::44.1"
    mitigated if passed parameter <afterLast> points to readable
    memory containing a '\0' byte. (bsc#1122193, CVE-2018-20721)
  * Fixed: When parsing a malformed URI with an IPvFuture address
    (e.g. "http://[vA.123456" missing "]"), errorPos would point
    to the first character after "v" than the actual position of the
    error (here: the end of the string)
  * Fixed: uriToStringCharsRequired* reported 1 more byte than
    needed for IPv4 address URIs (GitHub #41);
  * Improved: For parse errors, waterproof errorPos <= afterLast
  * Soname: 1:24:0

OBS-URL: https://build.opensuse.org/request/show/666491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uriparser?expand=0&rev=5
2019-01-25 21:41:36 +00:00
a76fec2a2e - Update to version 0.9.1
* Fixed Out-of-bounds read in uriParse*Ex* for incomplete URIs
    with IPv6 addresses with embedded IPv4 address, e.g. "//[::44.1"
    mitigated if passed parameter <afterLast> points to readable
    memory containing a '\0' byte. (bsc#1122193, CVE-2018-20721)
  * Fixed: When parsing a malformed URI with an IPvFuture address
    (e.g. "http://[vA.123456" missing "]"), errorPos would point
    to the first character after "v" than the actual position of the
    error (here: the end of the string)
  * Fixed: uriToStringCharsRequired* reported 1 more byte than
    needed for IPv4 address URIs (GitHub #41);
  * Improved: For parse errors, waterproof errorPos <= afterLast
  * Soname: 1:24:0

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=18
2019-01-16 14:08:15 +00:00
04a3b103c7 Accepting request 649645 from devel:libraries:c_c++
- Update to version 0.9.0
  * Fixed: Out-of-bounds write in uriComposeQuery* and
    uriComposeQueryEx* (bsc#1115722, CVE-2018-19198)
  * Fixed: Detect integer overflow in uriComposeQuery* and
    uriComposeQueryEx* (bsc#1115723, CVE-2018-19199)
  * Fixed: Protect uriResetUri* against acting on NULL input
    (bsc#1115724, CVE-2018-19200)
  * Changed: Marked as deprecated:
      Deprecated functions:
        uriNormalizeSyntaxMaskRequired[AW]
        uriParseUri[AW]
        uriParseUriEx[AW]
    Added: Add convenience functions to ease user code to parse a single URI
      New functions:
        uriParseSingleUri[AW]
        uriParseSingleUriEx[AW]
        uriParseSingleUriExMm[AW]
    Added: Support for custom memory managers (GitHub #26, #35), see Doxygen
      New functions (as extension of existing ones):
        uriAddBaseUriExMm[AW]
        uriComposeQueryMallocExMm[AW]
        uriDissectQueryMallocExMm[AW]
        uriFreeQueryListMm[AW]
        uriFreeUriMembersMm[AW]
        uriNormalizeSyntaxExMm[AW]
        uriParseSingleUriExMm[AW]
        uriRemoveBaseUriMm[AW]
      New functions (for convenience):
        uriCompleteMemoryManager
        uriEmulateCalloc

OBS-URL: https://build.opensuse.org/request/show/649645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uriparser?expand=0&rev=4
2018-11-20 21:25:55 +00:00
1d68f50584 - uriparser-doxygen.patch: dropped, not needed
- package documentation

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=16
2018-11-16 17:15:49 +00:00
269493e5ee Fix Source URL
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=15
2018-11-16 15:00:56 +00:00
bf5cc028e2 - Update to version 0.9.0
* Fixed: Out-of-bounds write in uriComposeQuery* and
    uriComposeQueryEx* (bsc#1115722, CVE-2018-19198)
  * Fixed: Detect integer overflow in uriComposeQuery* and
    uriComposeQueryEx* (bsc#1115723, CVE-2018-19199)
  * Fixed: Protect uriResetUri* against acting on NULL input
    (bsc#1115724, CVE-2018-19200)
  * Changed: Marked as deprecated:
      Deprecated functions:
        uriNormalizeSyntaxMaskRequired[AW]
        uriParseUri[AW]
        uriParseUriEx[AW]
    Added: Add convenience functions to ease user code to parse a single URI
      New functions:
        uriParseSingleUri[AW]
        uriParseSingleUriEx[AW]
        uriParseSingleUriExMm[AW]
    Added: Support for custom memory managers (GitHub #26, #35), see Doxygen
      New functions (as extension of existing ones):
        uriAddBaseUriExMm[AW]
        uriComposeQueryMallocExMm[AW]
        uriDissectQueryMallocExMm[AW]
        uriFreeQueryListMm[AW]
        uriFreeUriMembersMm[AW]
        uriNormalizeSyntaxExMm[AW]
        uriParseSingleUriExMm[AW]
        uriRemoveBaseUriMm[AW]
      New functions (for convenience):
        uriCompleteMemoryManager
        uriEmulateCalloc

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=14
2018-11-16 14:13:06 +00:00
0decd5f24f Accepting request 582544 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/582544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uriparser?expand=0&rev=3
2018-03-07 09:30:57 +00:00
418b66b131 Accepting request 581664 from home:adamm:branches:devel:libraries:c_c++
- Fix unit test building when cpptest is available.

OBS-URL: https://build.opensuse.org/request/show/581664
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=12
2018-03-05 08:53:11 +00:00
35a7df8f54 Accepting request 580496 from devel:libraries:c_c++
- Fix License - the source code contains LGPL licensed test suite.
  The library itself is licensed under BSD license. Use SPDX v3
- Test suite requires cpptest, which we don't have at the moment.
- spec-cleaner cleanup.

OBS-URL: https://build.opensuse.org/request/show/580496
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uriparser?expand=0&rev=2
2018-03-01 11:06:22 +00:00
543d7a36cd The library itself is licensed under BSD license. Use SPDX v3
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=10
2018-02-27 07:43:39 +00:00
c34afa4c01 - Fix License - the source code contains LGPL licensed test suite.
The library itself is licensed under BSD license.
- Test suite requires cpptest, which we don't have at the moment.
- spec-cleaner cleanup.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=9
2018-02-26 08:36:16 +00:00
8bd8d84ab1 Accepting request 578668 from devel:libraries:c_c++
Use %license instead of %doc for the license copy

OBS-URL: https://build.opensuse.org/request/show/578668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uriparser?expand=0&rev=1
2018-02-22 13:59:19 +00:00
33cf903726 Use %license instead of %doc for the license
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=7
2018-02-21 11:24:37 +00:00
efe54d316c - Package COPYING and other basic documentation
- Drop HTML documentation, for now, since it has no content.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=6
2018-02-21 09:05:07 +00:00
56bc3a7707 - Fix Group of the library subpackage
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=5
2018-02-21 08:33:20 +00:00
191ed08191 Accepting request 578331 from home:jengelh:branches:devel:libraries:c_c++
this is not required by the guideline-mandated rename,
but it might be a nice-to-have, following the
general idiom that devel subpackages inherit the main
package name.

OBS-URL: https://build.opensuse.org/request/show/578331
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=4
2018-02-21 06:29:54 +00:00
7ebe130964 Package library in correct subpackage
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=3
2018-02-20 08:31:18 +00:00
6e4c0127f1 - Rename package to comply with openSUSE packaging guidelines
(bnc#1081686, sr#577196)
- Rename changes and spec file and drop usage of pkg_name

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=2
2018-02-20 08:20:44 +00:00
cbb03a5b9d Accepting request 577196 from devel:libraries:c_c++
step 1 of package rename

OBS-URL: https://build.opensuse.org/request/show/577196
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/uriparser?expand=0&rev=1
2018-02-20 08:15:18 +00:00