summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-05-20 07:44:59 +0000
committeradam <adam@pkgsrc.org>2019-05-20 07:44:59 +0000
commitaf7d4d4628c1c148a058262c5334bc10b300dc65 (patch)
treeaa8b2a06792a7474663c609dc13488dfcd5fc8f5
parent1408af34ed148be698e367abc88fc270e33c45a8 (diff)
downloadpkgsrc-af7d4d4628c1c148a058262c5334bc10b300dc65.tar.gz
uriparser: updated to 0.9.3
0.9.3: * Fixed: pkg-config: Fix version line in liburiparser.pc * Changed: MinGW: Add library version suffix to DLL name * Soname: 1:26:0 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++ * Fixed: Link errors on Haiku regarding function inet_ntop * Fixed: Mark API functions with __declspec(dllexport) and __declspec(dllimport) in *.h files for Visual Studio * Improved: Use -fvisibility=hidden by default with supporting compilers, e.g. GCC and Clang * Changed: Migrated from GNU Autotools to CMake * Removed: All Windows-related build systems other than CMake * Soname: 1:25:0
-rw-r--r--textproc/uriparser/Makefile30
-rw-r--r--textproc/uriparser/PLIST10
-rw-r--r--textproc/uriparser/distinfo12
-rw-r--r--textproc/uriparser/patches/patch-include_uriparser_UriBase.h (renamed from textproc/uriparser/patches/patch-aa)2
4 files changed, 26 insertions, 28 deletions
diff --git a/textproc/uriparser/Makefile b/textproc/uriparser/Makefile
index 11ebfc83886..9e91e98d2b3 100644
--- a/textproc/uriparser/Makefile
+++ b/textproc/uriparser/Makefile
@@ -1,33 +1,25 @@
-# $NetBSD: Makefile,v 1.12 2019/01/06 13:47:19 bsiegert Exp $
+# $NetBSD: Makefile,v 1.13 2019/05/20 07:44:59 adam Exp $
-DISTNAME= uriparser-0.9.1
+DISTNAME= uriparser-0.9.3
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=uriparser/}
GITHUB_RELEASE= ${DISTNAME}
-EXTRACT_SUFX= .tar.bz2
+EXTRACT_SUFX= .tar.xz
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
+USE_CMAKE= yes
+USE_FEATURES= snprintf
+USE_LANGUAGES= c c++
+PKGCONFIG_OVERRIDE+= liburiparser.pc.in
+TEST_TARGET= test
-LDFLAGS.SunOS+= -lsocket -lnsl
+CMAKE_ARGS+= -DURIPARSER_BUILD_DOCS=OFF
-.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
+LDFLAGS.SunOS+= -lsocket -lnsl
+.include "../../devel/googletest/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/uriparser/PLIST b/textproc/uriparser/PLIST
index 58eb7ea282d..a7ae70412f7 100644
--- a/textproc/uriparser/PLIST
+++ b/textproc/uriparser/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2018/02/23 16:41:34 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2019/05/20 07:44:59 adam Exp $
bin/uriparse
include/uriparser/Uri.h
include/uriparser/UriBase.h
@@ -6,5 +6,11 @@ include/uriparser/UriDefsAnsi.h
include/uriparser/UriDefsConfig.h
include/uriparser/UriDefsUnicode.h
include/uriparser/UriIp4.h
-lib/liburiparser.la
+lib/cmake/uriparser-0.9.3/uriparser-config-version.cmake
+lib/cmake/uriparser-0.9.3/uriparser-config.cmake
+lib/cmake/uriparser-0.9.3/uriparser-noconfig.cmake
+lib/cmake/uriparser-0.9.3/uriparser.cmake
+lib/liburiparser.so
+lib/liburiparser.so.1
+lib/liburiparser.so.1.0.26
lib/pkgconfig/liburiparser.pc
diff --git a/textproc/uriparser/distinfo b/textproc/uriparser/distinfo
index 23bf47eb219..ca0b5b24c33 100644
--- a/textproc/uriparser/distinfo
+++ b/textproc/uriparser/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.10 2019/01/06 13:47:19 bsiegert Exp $
+$NetBSD: distinfo,v 1.11 2019/05/20 07:44:59 adam Exp $
-SHA1 (uriparser-0.9.1.tar.bz2) = 35b0f326bad6749c6a08da854e8ad0638d2fd198
-RMD160 (uriparser-0.9.1.tar.bz2) = 894281bcd38afd582e8f277f08346f9dc3d24ec6
-SHA512 (uriparser-0.9.1.tar.bz2) = c6a4f3b737d4c53ba14148a5be363d93947c8c32755b369726ccdd6e01e8a2293d2c94d448700fc97bb56092696b67965646ae07c9ef31be253e2279d0bc3821
-Size (uriparser-0.9.1.tar.bz2) = 372722 bytes
-SHA1 (patch-aa) = 71f3582a2988c6c35a1a2b1995d50f47f22939bd
+SHA1 (uriparser-0.9.3.tar.xz) = b9b424a3e16d32fadfc603de3f5f4a9d5dbe7c76
+RMD160 (uriparser-0.9.3.tar.xz) = a8b4b08a42c1dca7404a2bc592f928437aa44157
+SHA512 (uriparser-0.9.3.tar.xz) = fd821c5b441c5bbf9477ec9e3abfb4b3bf3789e1d874905ac8ba23b4a301a586a5fa03328dc62bc2b261d3b99b5c7c44f84b8faf57377bc2275ce0b78b58887b
+Size (uriparser-0.9.3.tar.xz) = 166328 bytes
+SHA1 (patch-include_uriparser_UriBase.h) = 71f3582a2988c6c35a1a2b1995d50f47f22939bd
diff --git a/textproc/uriparser/patches/patch-aa b/textproc/uriparser/patches/patch-include_uriparser_UriBase.h
index e7ebe47e2cb..0e9cf456d61 100644
--- a/textproc/uriparser/patches/patch-aa
+++ b/textproc/uriparser/patches/patch-include_uriparser_UriBase.h
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2007/11/08 18:36:14 bjs Exp $
+$NetBSD: patch-include_uriparser_UriBase.h,v 1.1 2019/05/20 07:44:59 adam Exp $
--- include/uriparser/UriBase.h.orig 2007-09-18 23:10:11.000000000 -0400
+++ include/uriparser/UriBase.h