View | Details | Raw Unified | Return to bug 203147 | Differences between
and this patch

Collapse All | Expand All

(-)b/www/h2o/Makefile (-2 / +9 lines)
Lines 4-10 Link Here
4
PORTNAME=	h2o
4
PORTNAME=	h2o
5
PORTVERSION=	1.4.4
5
PORTVERSION=	1.4.4
6
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
7
PORTREVISION=	1
7
PORTREVISION=	2
8
CATEGORIES=	www
8
CATEGORIES=	www
9
9
10
MAINTAINER=	dch@skunkwerks.at
10
MAINTAINER=	dch@skunkwerks.at
Lines 14-20 LICENSE= MIT Link Here
14
14
15
USE_GITHUB=	yes
15
USE_GITHUB=	yes
16
16
17
USES=		cmake compiler:c11 shebangfix
17
USES=		cmake compiler:c11 perl5 shebangfix
18
SHEBANG_FILES=	share/h2o/start_server
18
SHEBANG_FILES=	share/h2o/start_server
19
19
20
PORTDOCS=	README.md
20
PORTDOCS=	README.md
Lines 40-45 USE_RC_SUBR= ${PORTNAME} Link Here
40
CMAKE_ARGS+=	-DWITH_BUNDLED_SSL=OFF -DEXTRA_LIBRARIES=OFF
40
CMAKE_ARGS+=	-DWITH_BUNDLED_SSL=OFF -DEXTRA_LIBRARIES=OFF
41
USE_OPENSSL_PORT=	yes
41
USE_OPENSSL_PORT=	yes
42
42
43
post-patch:
44
	@${REINPLACE_CMD} -e 's|exec perl|exec ${LOCALBASE}/bin/perl|' \
45
			${WRKSRC}/share/h2o/annotate-backtrace-symbols \
46
			${WRKSRC}/share/h2o/fetch-ocsp-response \
47
			${WRKSRC}/share/h2o/kill-on-close \
48
			${WRKSRC}/share/h2o/start_server
49
43
post-install:
50
post-install:
44
	${MKDIR} ${STAGEDIR}${DOCSDIR} \
51
	${MKDIR} ${STAGEDIR}${DOCSDIR} \
45
		${STAGEDIR}${ETCDIR} \
52
		${STAGEDIR}${ETCDIR} \
(-)b/www/h2o/files/h2o.in (-1 / +1 lines)
Lines 28-34 rcvar=h2o_enable Link Here
28
pidfile=`grep pid-file ${h2o_config} | cut -d' ' -f2`
28
pidfile=`grep pid-file ${h2o_config} | cut -d' ' -f2`
29
command="%%PREFIX%%/bin/${name}"
29
command="%%PREFIX%%/bin/${name}"
30
command_args="-m daemon -c ${h2o_config}"
30
command_args="-m daemon -c ${h2o_config}"
31
procname="perl"
31
procname="%%LOCALBASE%%/bin/perl"
32
32
33
load_rc_config $name
33
load_rc_config $name
34
run_rc_command "$1"
34
run_rc_command "$1"

Return to bug 203147