Date: Sun, 28 Mar 2021 21:12:06 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r569415 - head/net/uriparser Message-ID: <202103282112.12SLC6gb005458@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: riggs Date: Sun Mar 28 21:12:06 2021 New Revision: 569415 URL: https://svnweb.freebsd.org/changeset/ports/569415 Log: Update to upstream version 0.9.5. Details: - Update 0.9.1 -> 0.9.5 Changes: https://github.com/uriparser/uriparser/blob/uriparser-0.9.5/ChangeLog - Fetch distfiles from GitHub - Use non-standard way to fetch tarbals from github, cf PR#221634: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221634 Case related to this port is called "H-tarball" there. - Follow upstream's switch to cmake and bash - Add optional build and run of googletest tests - Add optional build and install of fancy docs in many formats - Request maintainership as Ed Schouten is absent for 6+ years, see: https://svnweb.freebsd.org/ports/head/net/uriparser/Makefile?view=log PR: 247459 Submitted by: svysh.fbsd@gmail.com (new maintainer) Approved by: previous maintainer timeout Modified: head/net/uriparser/Makefile head/net/uriparser/distinfo head/net/uriparser/pkg-descr head/net/uriparser/pkg-plist Modified: head/net/uriparser/Makefile ============================================================================== --- head/net/uriparser/Makefile Sun Mar 28 21:09:43 2021 (r569414) +++ head/net/uriparser/Makefile Sun Mar 28 21:12:06 2021 (r569415) @@ -2,24 +2,45 @@ # $FreeBSD$ PORTNAME= uriparser -DISTVERSION= 0.9.1 +DISTVERSION= 0.9.5 CATEGORIES= net -MASTER_SITES= SF/${PORTNAME}/Sources/${PORTVERSION} +MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTNAME}-${PORTVERSION}/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -MAINTAINER= ed@FreeBSD.org +MAINTAINER= svysh.fbsd@gmail.com COMMENT= URI parsing library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -USES= libtool pathfix tar:bz2 +BUILD_DEPENDS= bash:shells/bash +USES= pathfix cmake:noninja tar:xz USE_LDCONFIG= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-doc --disable-test -INSTALL_TARGET= install-strip +CMAKE_OFF= URIPARSER_BUILD_DOCS # will fetch prebuilds from the upstream, if DOCS is selected -MAKE_JOBS_UNSAFE=yes +TEST_TARGET= test + +PLIST_SUB= DISTVERSION=${DISTVERSION} +PORTDOCS= * + +OPTIONS_DEFINE= DOCS TEST +DOCS_DISTFILES= ${_DISTDOCSFILE} ${DISTNAME}.qch +DOCS_EXTRACT_ONLY= ${_DISTDOCSFILE} +TEST_BUILD_DEPENDS= googletest>=1.10.0:devel/googletest +TEST_CMAKE_BOOL= URIPARSER_BUILD_TESTS + +_DISTDOCSFILE= ${_DISTDOCSNAME}.zip +_DISTDOCSNAME= ${DISTNAME}-doc + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR}/qch + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/../${_DISTDOCSNAME} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${DISTDIR}/${DISTNAME}.qch ${STAGEDIR}${DOCSDIR}/qch + ( ${ECHO} "QCH file is a QT Compressed Help file, generated by doxygen, cf:"; \ + ${ECHO} "https://doc.qt.io/qt-5/assistant-details.html"; ) > ${STAGEDIR}${DOCSDIR}/qch/readme-qch .include <bsd.port.mk> Modified: head/net/uriparser/distinfo ============================================================================== --- head/net/uriparser/distinfo Sun Mar 28 21:09:43 2021 (r569414) +++ head/net/uriparser/distinfo Sun Mar 28 21:12:06 2021 (r569415) @@ -1,3 +1,7 @@ -TIMESTAMP = 1546801487 -SHA256 (uriparser-0.9.1.tar.bz2) = 75248f3de3b7b13c8c9735ff7b86ebe72cbb8ad043291517d7d53488e0893abe -SIZE (uriparser-0.9.1.tar.bz2) = 372722 +TIMESTAMP = 1616332822 +SHA256 (uriparser-0.9.5.tar.xz) = 9af8f87ed762ebac333fd42b6c38b62d217be8ba290d050f40aef43b9267651e +SIZE (uriparser-0.9.5.tar.xz) = 169220 +SHA256 (uriparser-0.9.5-doc.zip) = eae0766ef2548c7d041c00c6898f9e114f6cb88c9fb02d02a9825734f29a814f +SIZE (uriparser-0.9.5-doc.zip) = 260868 +SHA256 (uriparser-0.9.5.qch) = 3b38380996a346301359a15ae75887d68234828cef8f717f688223c5c7016cad +SIZE (uriparser-0.9.5.qch) = 303104 Modified: head/net/uriparser/pkg-descr ============================================================================== --- head/net/uriparser/pkg-descr Sun Mar 28 21:09:43 2021 (r569414) +++ head/net/uriparser/pkg-descr Sun Mar 28 21:12:06 2021 (r569415) @@ -1,3 +1,3 @@ uriparser is an RFC 3986 URI parsing library written in C++. -WWW: http://uriparser.sourceforge.net/ +WWW: https://github.com/uriparser/uriparser Modified: head/net/uriparser/pkg-plist ============================================================================== --- head/net/uriparser/pkg-plist Sun Mar 28 21:09:43 2021 (r569414) +++ head/net/uriparser/pkg-plist Sun Mar 28 21:12:06 2021 (r569415) @@ -5,8 +5,11 @@ include/uriparser/UriDefsAnsi.h include/uriparser/UriDefsConfig.h include/uriparser/UriDefsUnicode.h include/uriparser/UriIp4.h -lib/liburiparser.a lib/liburiparser.so lib/liburiparser.so.1 -lib/liburiparser.so.1.0.24 +lib/liburiparser.so.1.0.28 +lib/cmake/uriparser-%%DISTVERSION%%/uriparser-config-version.cmake +lib/cmake/uriparser-%%DISTVERSION%%/uriparser-config.cmake +lib/cmake/uriparser-%%DISTVERSION%%/uriparser-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/uriparser-%%DISTVERSION%%/uriparser.cmake libdata/pkgconfig/liburiparser.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103282112.12SLC6gb005458>