aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2015-05-19 14:10:28 +0800
committerwen <wen@FreeBSD.org>2015-05-19 14:10:28 +0800
commit479c2cd477ab51bd5872f724730e9eacdc5eb254 (patch)
tree5ae98f74d3c237af335bcf7ca38d4a892ec4f74e
parent6a6baa71b0074ab3d960665070a548aa4835729f (diff)
downloadfreebsd-ports-gnome-479c2cd477ab51bd5872f724730e9eacdc5eb254.tar.gz
freebsd-ports-gnome-479c2cd477ab51bd5872f724730e9eacdc5eb254.tar.zst
freebsd-ports-gnome-479c2cd477ab51bd5872f724730e9eacdc5eb254.zip
- Update to 1.2.0
PR: 198573 Submitted by: anonymous.bug.report@gmail.com Approved by: dch@skunkwerks.at(maintainer)
-rw-r--r--www/h2o/Makefile30
-rw-r--r--www/h2o/distinfo4
-rw-r--r--www/h2o/pkg-plist3
3 files changed, 17 insertions, 20 deletions
diff --git a/www/h2o/Makefile b/www/h2o/Makefile
index 74755621f2dd..245ed4382657 100644
--- a/www/h2o/Makefile
+++ b/www/h2o/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= h2o
-PORTVERSION= 1.0.1
+PORTVERSION= 1.2.0
DISTVERSIONPREFIX= v
CATEGORIES= www
@@ -11,15 +11,9 @@ COMMENT= Optimized HTTP2 server with support for HTTP/1.x
LICENSE= MIT
-LIB_DEPENDS= libyaml.so:${PORTSDIR}/textproc/libyaml
-
USE_GITHUB= yes
-GH_ACCOUNT= h2o
-
-MAKE_JOBS_UNSAFE= yes
-USES= cmake:outsource compiler:c11
-USE_OPENSSL= yes
+USES= cmake compiler:c11
PORTDOCS= README.md
@@ -42,7 +36,16 @@ H2O_PIDDIR= /var/run/${PORTNAME}/
USE_RC_SUBR= ${PORTNAME}
-do-install:
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} < 900000
+BROKEN= fails to compile on 8.x
+.endif
+
+CMAKE_ARGS+= -DWITH_BUNDLED_SSL=OFF
+USE_OPENSSL_PORT= yes
+
+post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR} \
${STAGEDIR}${ETCDIR} \
${STAGEDIR}${H2O_PIDDIR} \
@@ -51,12 +54,5 @@ do-install:
${INSTALL_DATA} \
${FILESDIR}/${PORTNAME}.conf.sample \
${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample
- ${INSTALL_PROGRAM} ${WRKDIR}/.build/h2o ${STAGEDIR}${PREFIX}/bin/h2o
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 900000
-BROKEN= fails to compile on 8.x
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/h2o/distinfo b/www/h2o/distinfo
index 5b15647150b0..43658842af9b 100644
--- a/www/h2o/distinfo
+++ b/www/h2o/distinfo
@@ -1,2 +1,2 @@
-SHA256 (h2o-h2o-v1.0.1_GH0.tar.gz) = c8454c191104876ebaca1351fa52dbf1bb19c5f998ae959010c1a533a1bef827
-SIZE (h2o-h2o-v1.0.1_GH0.tar.gz) = 782867
+SHA256 (h2o-h2o-v1.2.0_GH0.tar.gz) = 09aacd84ea0a53eaffdc8e0c2a2cf1108bea5db81d5859a136221fd67f07833f
+SIZE (h2o-h2o-v1.2.0_GH0.tar.gz) = 4155709
diff --git a/www/h2o/pkg-plist b/www/h2o/pkg-plist
index 2d658128191f..f8f6bd1e4f73 100644
--- a/www/h2o/pkg-plist
+++ b/www/h2o/pkg-plist
@@ -1,5 +1,6 @@
bin/h2o
+share/h2o/fetch-ocsp-response
+share/h2o/start_server
@dir(%%H2O_USER%%,%%H2O_GROUP%%,0750) %%H2O_LOGDIR%%
@dir(%%H2O_USER%%,%%H2O_GROUP%%,0750) %%H2O_PIDDIR%%
-@dir(%%H2O_USER%%,%%H2O_GROUP%%,0750) %%ETCDIR%%
@sample %%ETCDIR%%/h2o.conf.sample