summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-12-18 15:20:33 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-12-18 15:20:33 +0000
commit66cc7636371f56b524cf8d03885ba34b96d3e22e (patch)
tree17e5b21dfc7fe467690543d67c6cc5d128fb4e04 /www
parent- Combine linux-c6-flashplugin24 and linux-c7-flashplugin24 into one distro (diff)
- Add libnghttp2 1.17.0
nghttp2 is an implementation of HTTP/2 and its header compression algorithm HPACK in C. WWW: https://nghttp2.org/
Notes
Notes: svn path=/head/; revision=428855
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/libnghttp2/Makefile28
-rw-r--r--www/libnghttp2/distinfo3
-rw-r--r--www/libnghttp2/pkg-descr4
-rw-r--r--www/libnghttp2/pkg-plist7
5 files changed, 43 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 36ed9f080367..5392787892ee 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -359,6 +359,7 @@
SUBDIR += libhubbub
SUBDIR += libjwt
SUBDIR += libmicrohttpd
+ SUBDIR += libnghttp2
SUBDIR += libsocialweb
SUBDIR += libwww
SUBDIR += libxul
diff --git a/www/libnghttp2/Makefile b/www/libnghttp2/Makefile
new file mode 100644
index 000000000000..7df58492da26
--- /dev/null
+++ b/www/libnghttp2/Makefile
@@ -0,0 +1,28 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= nghttp2
+PORTVERSION= 1.17.0
+DISTVERSIONPREFIX= v
+CATEGORIES= www net
+PKGNAMEPREFIX= lib
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= HTTP/2.0 C Library
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+CONFIGURE_ARGS= --enable-lib-only
+GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
+USE_LDCONFIG= yes
+USES= autoreconf libtool pathfix pkgconfig
+
+USE_GITHUB= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|doc \(contrib script\)|\1|; /^dist_doc_DATA = / s| README.rst||' ${WRKSRC}/Makefile.am
+ @${REINPLACE_CMD} -e '/^dist_pkgdata_SCRIPTS = / s| fetch-ocsp-response||' ${WRKSRC}/script/Makefile.am
+
+.include <bsd.port.mk>
diff --git a/www/libnghttp2/distinfo b/www/libnghttp2/distinfo
new file mode 100644
index 000000000000..00191cdbf5d3
--- /dev/null
+++ b/www/libnghttp2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1480231536
+SHA256 (nghttp2-nghttp2-v1.17.0_GH0.tar.gz) = dd6cee9dcc583dd5cac2d6652ca28f519f885dac2a3451e340fd72566adcf499
+SIZE (nghttp2-nghttp2-v1.17.0_GH0.tar.gz) = 1694346
diff --git a/www/libnghttp2/pkg-descr b/www/libnghttp2/pkg-descr
new file mode 100644
index 000000000000..adbc0d6d9050
--- /dev/null
+++ b/www/libnghttp2/pkg-descr
@@ -0,0 +1,4 @@
+nghttp2 is an implementation of HTTP/2 and its header compression algorithm
+HPACK in C.
+
+WWW: https://nghttp2.org/
diff --git a/www/libnghttp2/pkg-plist b/www/libnghttp2/pkg-plist
new file mode 100644
index 000000000000..4bdfb0d20127
--- /dev/null
+++ b/www/libnghttp2/pkg-plist
@@ -0,0 +1,7 @@
+include/nghttp2/nghttp2.h
+include/nghttp2/nghttp2ver.h
+lib/libnghttp2.a
+lib/libnghttp2.so
+lib/libnghttp2.so.14
+lib/libnghttp2.so.14.12.2
+libdata/pkgconfig/libnghttp2.pc