8b5cc13d75
>>>>>>>>>>>>> SECURITY >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> * 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. Thanks to Joergen Ibsen for the report! >>>>>>>>>>>>> SECURITY >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> * 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 actually needed for IPv4 address URIs (GitHub #41); Thanks to @gyh007 for the patch! * Fixed: Compilation with MinGW Thanks to Sandro Mani for the patch! * Fixed: Drop use of asprintf from the test suite for MinGW (GitHub #40) * Improved: For parse errors, waterproof errorPos <= afterLast * Soname: 1:24:0 Via email from Sebastian Pipping.
33 lines
750 B
Makefile
33 lines
750 B
Makefile
# $NetBSD: Makefile,v 1.12 2019/01/06 13:47:19 bsiegert Exp $
|
|
|
|
DISTNAME= uriparser-0.9.1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=uriparser/}
|
|
GITHUB_RELEASE= ${DISTNAME}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://uriparser.github.io/
|
|
COMMENT= URI parsing library
|
|
LICENSE= modified-bsd
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --disable-doc
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake
|
|
USE_FEATURES= snprintf
|
|
PKGCONFIG_OVERRIDE+= liburiparser.pc.in
|
|
TEST_TARGET= check
|
|
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
# needs "libcpptest" for test
|
|
#.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
|
|
#USE_LANGUAGES= c c++
|
|
#.else
|
|
CONFIGURE_ARGS+= --disable-test
|
|
#.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|