From owner-svn-ports-head@freebsd.org Sat Dec 17 10:43:59 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5262CC83CA4; Sat, 17 Dec 2016 10:43:59 +0000 (UTC) (envelope-from sunpoet@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 mx1.freebsd.org (Postfix) with ESMTPS id 2CC951FCF; Sat, 17 Dec 2016 10:43:59 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBHAhwd0022797; Sat, 17 Dec 2016 10:43:58 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBHAhwPZ022795; Sat, 17 Dec 2016 10:43:58 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201612171043.uBHAhwPZ022795@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 17 Dec 2016 10:43:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428710 - head/www/nghttp2 X-SVN-Group: ports-head 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.23 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: Sat, 17 Dec 2016 10:43:59 -0000 Author: sunpoet Date: Sat Dec 17 10:43:58 2016 New Revision: 428710 URL: https://svnweb.freebsd.org/changeset/ports/428710 Log: - Add EXAMPLES option - Update pkg-descr - Bump PORTREVISION for package change Modified: head/www/nghttp2/Makefile head/www/nghttp2/pkg-descr Modified: head/www/nghttp2/Makefile ============================================================================== --- head/www/nghttp2/Makefile Sat Dec 17 10:42:15 2016 (r428709) +++ head/www/nghttp2/Makefile Sat Dec 17 10:43:58 2016 (r428710) @@ -4,6 +4,7 @@ PORTNAME= nghttp2 PORTVERSION= 1.17.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= www net MAINTAINER= sunpoet@FreeBSD.org @@ -12,15 +13,14 @@ COMMENT= HTTP/2.0 C Library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING -OPTIONS_DEFINE= APP ASIO DOCS HPACK SPDY +OPTIONS_DEFINE= APP ASIO DOCS EXAMPLES HPACK SPDY OPTIONS_DEFAULT=APP HPACK SPDY OPTIONS_SUB= yes APP_DESC= Build h2load, nghttp, nghttpd and nghttpx SPDY_DESC= Enable SPDY in h2load and nghttpx SPDY_IMPLIES= APP -CONFIGURE_ARGS= --disable-python-bindings \ - --disable-examples +CONFIGURE_ARGS= --disable-python-bindings CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ ZLIB_CFLAGS="-I${INCLUDEDIR}" \ @@ -34,19 +34,22 @@ USES= autoreconf compiler:c++11-lib gma PORTDATA= fetch-ocsp-response PORTDOCS= * +PORTEXAMPLES= * USE_GITHUB= yes APP_BUILD_DEPENDS= libev>=4.11:devel/libev -APP_CONFIGURE_OFF= --without-libxml2 APP_CONFIGURE_ENABLE= app +APP_CONFIGURE_OFF= --without-libxml2 APP_LIB_DEPENDS= libev.so:devel/libev APP_USE= GNOME=libxml2 +APP_USES= gnome ASIO_BUILD_DEPENDS= boost-libs>=1.54.0:devel/boost-libs ASIO_CONFIGURE_OFF= --with-boost=no ASIO_CONFIGURE_ON= --enable-asio-lib --with-boost-asio --with-boost-system --with-boost-thread ASIO_LIB_DEPENDS= libboost_thread.so:devel/boost-libs ASIO_RUN_DEPENDS= boost-libs>=1.54.0:devel/boost-libs +EXAMPLES_CONFIGURE_ENABLE= examples HPACK_BUILD_DEPENDS= jansson>=2.5:devel/jansson HPACK_CONFIGURE_ENABLE= hpack-tools HPACK_LIB_DEPENDS= libjansson.so:devel/jansson @@ -72,7 +75,12 @@ CONFIGURE_ARGS+=--with-jemalloc .endif post-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/nghttpx + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/nghttpx/ ${INSTALL_DATA} ${FILESDIR}/nghttpx.conf.sample ${STAGEDIR}${PREFIX}/etc/nghttpx/nghttpx.conf.sample +post-install-examples-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ + ${INSTALL_DATA} ${WRKSRC}/examples/*.c* ${STAGEDIR}${EXAMPLESDIR}/ + ${INSTALL_PROGRAM} ${WRKSRC}/examples/.libs/* ${STAGEDIR}${EXAMPLESDIR}/ + .include Modified: head/www/nghttp2/pkg-descr ============================================================================== --- head/www/nghttp2/pkg-descr Sat Dec 17 10:42:15 2016 (r428709) +++ head/www/nghttp2/pkg-descr Sat Dec 17 10:43:58 2016 (r428710) @@ -1,6 +1,8 @@ -nghttp2 - HTTP/2.0 C Library +nghttp2 is an implementation of HTTP/2 and its header compression algorithm +HPACK in C. -This is an experimental implementation of Hypertext Transfer Protocol version -2.0. +The framing layer of HTTP/2 is implemented as a form of reusable C library. On +top of that, we have implemented HTTP/2 client, server and proxy. We have also +developed load test and benchmarking tool for HTTP/2 and SPDY. WWW: https://nghttp2.org/