1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Fix rc.d issues introduced with recent perl changes [1]

- Update to 1.4.5 [2]

PR:		203147 [1], 203096 [2]
Submitted by:	Dave Cottlehuber (maintainer)
This commit is contained in:
Grzegorz Blach 2015-09-16 12:29:56 +00:00
parent 1589139ea5
commit 07ef494704
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397062
3 changed files with 13 additions and 6 deletions

View File

@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= h2o
PORTVERSION= 1.4.4
PORTVERSION= 1.4.5
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= www
MAINTAINER= dch@skunkwerks.at
@ -14,7 +13,8 @@ LICENSE= MIT
USE_GITHUB= yes
USES= cmake compiler:c11 shebangfix
USES= cmake compiler:c11 perl5 shebangfix
USE_PERL5= run
SHEBANG_FILES= share/h2o/start_server
PORTDOCS= README.md
@ -40,6 +40,13 @@ USE_RC_SUBR= ${PORTNAME}
CMAKE_ARGS+= -DWITH_BUNDLED_SSL=OFF -DEXTRA_LIBRARIES=OFF
USE_OPENSSL_PORT= yes
post-patch:
@${REINPLACE_CMD} -e 's|exec perl|exec ${LOCALBASE}/bin/perl|' \
${WRKSRC}/share/h2o/annotate-backtrace-symbols \
${WRKSRC}/share/h2o/fetch-ocsp-response \
${WRKSRC}/share/h2o/kill-on-close \
${WRKSRC}/share/h2o/start_server
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR} \
${STAGEDIR}${ETCDIR} \

View File

@ -1,2 +1,2 @@
SHA256 (h2o-h2o-v1.4.4_GH0.tar.gz) = 0297ca73dba460653c6edb14dab17095f60616baf7c51e45ac9f8a6d54b9ba55
SIZE (h2o-h2o-v1.4.4_GH0.tar.gz) = 4736114
SHA256 (h2o-h2o-v1.4.5_GH0.tar.gz) = 0f60e8d35afad61afc284a7abfa9c9a3b976e8f9faed3f0966fb34056e2e138d
SIZE (h2o-h2o-v1.4.5_GH0.tar.gz) = 4736984

View File

@ -28,7 +28,7 @@ rcvar=h2o_enable
pidfile=`grep pid-file ${h2o_config} | cut -d' ' -f2`
command="%%PREFIX%%/bin/${name}"
command_args="-m daemon -c ${h2o_config}"
procname="perl"
procname="%%LOCALBASE%%/bin/perl"
load_rc_config $name
run_rc_command "$1"