Date: Sat, 17 Dec 2016 10:43:58 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428710 - head/www/nghttp2 Message-ID: <201612171043.uBHAhwPZ022795@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.post.mk> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612171043.uBHAhwPZ022795>