./textproc/uriparser, URI parsing library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 0.9.6, Package name: uriparser-0.9.6, Maintainer: pkgsrc-users

Uriparser is a strictly RFC 3986 compliant URI parsing library. uriparser
is cross-platform, fast, supports Unicode and is licensed under the New
BSD license.

Required to build:

Master sites:

Filesize: 167.246 KB

Version history: (Expand)

CVS history: (Expand)

   2023-07-20 11:46:34 by Nia Alarie | Files touched by this commit (14)
Log message:
*: Convert some remaining usage of GCC_REQD.
   2023-07-11 07:55:10 by Nia Alarie | Files touched by this commit (2)
Log message:
uriparser: Option-ify building tests, which are not installed anyway.

Should help building this on systems with older compilers.
   2022-01-07 13:40:08 by Niclas Rosenvik | Files touched by this commit (3)
Log message:
Update uriparser to version 0.9.6

changes from changelog:

2022-01-06 -- 0.9.6

>>>>>>>>>>>>> SECURITY \ 
>>>>>>>>>>>>>>>>>>>> \ 
>>>>>>>>>>>>>>>>>>>> \ 
  * 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
      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)
      Commit c0483990e6b5b454f7c8752b36760cfcb0d093f5
>>>>>>>>>>>>> SECURITY \ 
>>>>>>>>>>>>>>>>>>>> \ 
>>>>>>>>>>>>>>>>>>>> \ 
  * Fixed: CMake: Call "enable_language(CXX)" prior to tinkering with
      CMAKE_CXX_* variables (GitHub #110)
      Thanks to Alexander Richardson for the patch (originally at libexpat)
  * Fixed: CMake: Support absolute paths for both CMAKE_INSTALL_LIBDIR
      and CMAKE_INSTALL_INCLUDEDIR (GitHub #114)
      Thanks to Rafael Fontenelle for bringing this up (originally at libexpat)
  * Fixed: Windows: Address MSVC compiler warnings (GitHub #111, GitHub #113)
  * Fixed: Documentation: Space requirements for uriUriStringToUnixFilename
      did not take into account short form "file:/bin/bash" of RFC \ 
8089 of 2017
      (with prefix "file:/" rather than "file:///") that \ 
uriparser supports
      since release 0.8.6 in 2018 (GitHub #118, GitHub #119)
  * Fixed: Compile error with MinGW GCC 9 related to a mismatched prototype
      for function inet_ntop (GitHub #117, GitHub #120)
      Thanks to Sandro Mani for the report!
  * Fixed: Compile warnings in test suite code (GitHub #120)
  * Improved: Respect variable ${CPP} in doc/preprocess.sh (GitHub #115)
  * Added: Test suite invocation for MinGW using Wine (GitHub #120)
  * Soname: 1:29:0 see https://verbump.de/ for what these numbers do
   2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161)
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
   2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162)
Log message:
textproc: Remove SHA1 hashes for distfiles
   2021-03-21 16:18:54 by Takahiro Kambe | Files touched by this commit (4) | Package updated
Log message:
textproc/uriparser: update to 0.9.5

2021-03-18 -- 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)
      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
      check for uriparser from within configure.ac (GNU Autoconf)
      (GitHub #37, #106)
  * Improved: In testing code, add a missing 'extern "C"' (GitHub #109)
      Thanks to Jørgen Ibsen for the patch!
  * Soname: 1:28:0 — see https://verbump.de/ for what these numbers do
   2020-06-02 11:59:45 by Nia Alarie | Files touched by this commit (3)
Log message:
uriparser: Update to 0.9.4

2020-05-31 -- 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:
  * 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
   2020-03-22 14:51:23 by Tobias Nygren | Files touched by this commit (2)
Log message:
uriparser: fix build of test suite on Linux