svn commit: r345740 - in head/www: . nghttp2
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Feb 23 15:44:07 UTC 2014
Author: sunpoet
Date: Sun Feb 23 15:44:05 2014
New Revision: 345740
URL: http://svnweb.freebsd.org/changeset/ports/345740
QAT: https://qat.redports.org/buildarchive/r345740/
Log:
- Add nghttp2 0.3.1
nghttp2 - HTTP/2.0 C Library
This is an experimental implementation of Hypertext Transfer Protocol version
2.0.
WWW: http://tatsuhiro-t.github.io/nghttp2/
Added:
head/www/nghttp2/
head/www/nghttp2/Makefile (contents, props changed)
head/www/nghttp2/distinfo (contents, props changed)
head/www/nghttp2/pkg-descr (contents, props changed)
head/www/nghttp2/pkg-plist (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Sun Feb 23 15:35:06 2014 (r345739)
+++ head/www/Makefile Sun Feb 23 15:44:05 2014 (r345740)
@@ -566,6 +566,7 @@
SUBDIR += netstiff
SUBDIR += netsurf
SUBDIR += newsbeuter
+ SUBDIR += nghttp2
SUBDIR += nginx
SUBDIR += nginx-devel
SUBDIR += nibbleblog
Added: head/www/nghttp2/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/nghttp2/Makefile Sun Feb 23 15:44:05 2014 (r345740)
@@ -0,0 +1,44 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= nghttp2
+PORTVERSION= 0.3.1
+CATEGORIES= www net
+MASTER_SITES= https://github.com/tatsuhiro-t/${PORTNAME}/releases/download/v${PORTVERSION}/
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= HTTP/2.0 C Library
+
+LICENSE= MIT
+
+LIB_DEPENDS= libevent_openssl.so:${PORTSDIR}/devel/libevent2 \
+ libjansson.so:${PORTSDIR}/devel/jansson \
+ libspdylay.so:${PORTSDIR}/www/spdylay
+
+CONFIGURE_ARGS= --disable-python-bindings \
+ --enable-app \
+ --enable-examples
+CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
+ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \
+ ZLIB_CFLAGS="-I${INCLUDEDIR}" \
+ ZLIB_LIBS="-L${LIBDIR} -lz"
+GNU_CONFIGURE= yes
+USE_CXXSTD= c++11
+USE_GNOME= libxml2
+USE_LDCONFIG= yes
+USE_OPENSSL= yes
+USE_XZ= yes
+USES= compiler:c++11-lang pathfix pkgconfig
+
+PORTDOCS= *
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1000000 && !defined(WITH_OPENSSL_PORT)
+IGNORE= nghttp2 requires OpenSSL 1.0.1+
+.endif
+
+post-build:
+ @${STRIP_CMD} ${WRKSRC}/lib/.libs/libnghttp2.so.2
+
+.include <bsd.port.post.mk>
Added: head/www/nghttp2/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/nghttp2/distinfo Sun Feb 23 15:44:05 2014 (r345740)
@@ -0,0 +1,2 @@
+SHA256 (nghttp2-0.3.1.tar.xz) = 3ee03cc6fe9f01fd0e95dccca14158ab7fecb9ff623fe4f436bdd8d9eb91de60
+SIZE (nghttp2-0.3.1.tar.xz) = 699464
Added: head/www/nghttp2/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/nghttp2/pkg-descr Sun Feb 23 15:44:05 2014 (r345740)
@@ -0,0 +1,6 @@
+nghttp2 - HTTP/2.0 C Library
+
+This is an experimental implementation of Hypertext Transfer Protocol version
+2.0.
+
+WWW: http://tatsuhiro-t.github.io/nghttp2/
Added: head/www/nghttp2/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/nghttp2/pkg-plist Sun Feb 23 15:44:05 2014 (r345740)
@@ -0,0 +1,11 @@
+bin/nghttp
+bin/nghttpd
+bin/nghttpx
+include/nghttp2/nghttp2.h
+include/nghttp2/nghttp2ver.h
+lib/libnghttp2.a
+lib/libnghttp2.la
+lib/libnghttp2.so
+lib/libnghttp2.so.2
+libdata/pkgconfig/libnghttp2.pc
+ at dirrm include/nghttp2
More information about the svn-ports-all
mailing list