- Update to 1.2.0
PR: 198573 Submitted by: anonymous.bug.report@gmail.com Approved by: dch@skunkwerks.at(maintainer)
This commit is contained in:
parent
1cbf403fa2
commit
3576ba53cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386743
3 changed files with 17 additions and 20 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue