From owner-svn-ports-head@freebsd.org Mon Jan 18 23:21:22 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B34F94D8763; Mon, 18 Jan 2021 23:21:22 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DKSTZ4YMMz3PKC; Mon, 18 Jan 2021 23:21:22 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8F5F41C596; Mon, 18 Jan 2021 23:21:22 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10INLMUJ084710; Mon, 18 Jan 2021 23:21:22 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10INLMVS084708; Mon, 18 Jan 2021 23:21:22 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202101182321.10INLMVS084708@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 18 Jan 2021 23:21:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561982 - head/www/cpp-httplib X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/www/cpp-httplib X-SVN-Commit-Revision: 561982 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2021 23:21:22 -0000 Author: yuri Date: Mon Jan 18 23:21:21 2021 New Revision: 561982 URL: https://svnweb.freebsd.org/changeset/ports/561982 Log: www/cpp-httplib: Update 0.8.0 -> 0.8.1 cpp-httplib now installs cmake files, and allows to work with SSL and use Brotli compression. Modified: head/www/cpp-httplib/Makefile head/www/cpp-httplib/distinfo Modified: head/www/cpp-httplib/Makefile ============================================================================== --- head/www/cpp-httplib/Makefile Mon Jan 18 22:49:28 2021 (r561981) +++ head/www/cpp-httplib/Makefile Mon Jan 18 23:21:21 2021 (r561982) @@ -2,7 +2,7 @@ PORTNAME= cpp-httplib DISTVERSIONPREFIX= v -DISTVERSION= 0.8.0 +DISTVERSION= 0.8.1 CATEGORIES= www devel MAINTAINER= yuri@FreeBSD.org @@ -11,16 +11,30 @@ COMMENT= C++ header-only HTTP/HTTPS server and client LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +USES= cmake + USE_GITHUB= yes GH_ACCOUNT= yhirose +CMAKE_ON= HTTPLIB_REQUIRE_ZLIB + NO_ARCH= yes -NO_BUILD= yes -PLIST_FILES= include/httplib/httplib.h +PLIST_FILES= include/httplib.h \ + lib/cmake/httplib/FindBrotli.cmake \ + lib/cmake/httplib/httplibConfig.cmake \ + lib/cmake/httplib/httplibConfigVersion.cmake \ + lib/cmake/httplib/httplibTargets.cmake -do-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/include/httplib - ${INSTALL_DATA} ${WRKSRC}/httplib.h ${STAGEDIR}${PREFIX}/include/httplib +OPTIONS_DEFINE= BROTLI SSL +OPTIONS_DEFAULT= BROTLI SSL + +BROTLI_USES= pkgconfig +BROTLI_CMAKE_BOOL= HTTPLIB_REQUIRE_BROTLI HTTPLIB_USE_BROTLI_IF_AVAILABLE +BROTLI_BUILD_DEPENDS= brotli>0:archivers/brotli +BROTLI_RUN_DEPENDS= brotli>0:archivers/brotli + +SSL_USES= ssl +SSL_CMAKE_BOOL= HTTPLIB_REQUIRE_OPENSSL HTTPLIB_USE_OPENSSL_IF_AVAILABLE .include Modified: head/www/cpp-httplib/distinfo ============================================================================== --- head/www/cpp-httplib/distinfo Mon Jan 18 22:49:28 2021 (r561981) +++ head/www/cpp-httplib/distinfo Mon Jan 18 23:21:21 2021 (r561982) @@ -1,3 +1,3 @@ -TIMESTAMP = 1610507315 -SHA256 (yhirose-cpp-httplib-v0.8.0_GH0.tar.gz) = c553ad74043ad2fb47bf329edd9aa451bd0a74b69f4e7a165042a67a9daaf469 -SIZE (yhirose-cpp-httplib-v0.8.0_GH0.tar.gz) = 573587 +TIMESTAMP = 1611011030 +SHA256 (yhirose-cpp-httplib-v0.8.1_GH0.tar.gz) = b58f5f8ac00ebb74019e8cf7a87a55bb436a5861df406861abb74ed87c2af718 +SIZE (yhirose-cpp-httplib-v0.8.1_GH0.tar.gz) = 573619