View | Details | Raw Unified | Return to bug 271239
Collapse All | Expand All

(-)www/h2o-devel/Makefile (-29 / +22 lines)
Lines 1-6 Link Here
1
PORTNAME=	h2o
1
PORTNAME=	h2o
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	2.3.0-dev.20230427
3
DISTVERSION=	2.3.0-dev.20230817
4
CATEGORIES=	www
4
CATEGORIES=	www
5
PKGNAMESUFFIX=	-devel
5
PKGNAMESUFFIX=	-devel
6
6
Lines 8-71 MAINTAINER= dch@FreeBSD.org Link Here
8
COMMENT=	Optimized HTTP/2 server including support for TLS 1.3 and HTTP/1.x
8
COMMENT=	Optimized HTTP/2 server including support for TLS 1.3 and HTTP/1.x
9
WWW=		https://github.com/h2o/h2o
9
WWW=		https://github.com/h2o/h2o
10
10
11
LICENSE=	MIT BSD2CLAUSE
11
LICENSE=	BSD2CLAUSE MIT
12
LICENSE_COMB=	multi
12
LICENSE_COMB=	multi
13
13
14
BROKEN_armv6=		fails to compile: asm_arm.inc:139:36: '.syntax divided' arm assembly not supported
14
BROKEN_armv6=	fails to compile: asm_arm.inc:139:36: '.syntax divided' arm assembly not supported
15
BROKEN_armv7=		fails to compile: asm_arm.inc:139:36: '.syntax divided' arm assembly not supported
15
BROKEN_armv7=	fails to compile: asm_arm.inc:139:36: '.syntax divided' arm assembly not supported
16
BROKEN_FreeBSD_12_powerpc64=	fails to link on powerpc64 elfv1: unrecognized option '-Wl,-rpath=/usr/local/lib/gcc6'
16
BROKEN_FreeBSD_12_powerpc64=	fails to link on powerpc64 elfv1: unrecognized option '-Wl,-rpath=/usr/local/lib/gcc6'
17
17
18
BUILD_DEPENDS=	rubygem-rake>=0:devel/rubygem-rake
18
BUILD_DEPENDS=	rubygem-rake>=0:devel/rubygem-rake
19
LIB_DEPENDS=	libuv.so:devel/libuv
19
LIB_DEPENDS=	libuv.so:devel/libuv
20
20
21
USES=		cmake:noninja compiler:c11 cpe perl5 shebangfix ssl pkgconfig
21
USES=		cmake:noninja compiler:c11 cpe perl5 pkgconfig shebangfix ssl
22
CPE_VENDOR=	dena
22
CPE_VENDOR=	dena
23
USE_GITHUB=	yes
23
USE_GITHUB=	yes
24
GH_TAGNAME=	70dd2d8
24
USE_LDCONFIG=	yes
25
USE_LDCONFIG=	yes
25
GH_TAGNAME=	f010336
26
USE_RC_SUBR=	${PORTNAME}
26
CONFLICTS=	h2o
27
27
28
SHEBANG_FILES=	share/h2o/start_server
28
SHEBANG_FILES=	share/h2o/start_server
29
29
30
PORTDOCS=	README.md
30
CMAKE_ARGS+=	-DBUILD_SHARED_LIBS=OFF \
31
		-DWITH_BUNDLED_SSL=OFF
32
33
CONFLICTS=	h2o
31
34
32
SUB_FILES=	${PORTNAME} ${PORTNAME}.conf.sample
35
SUB_FILES=	${PORTNAME} ${PORTNAME}.conf.sample
33
SUB_LIST+=	H2O_USER=${H2O_USER} \
36
SUB_LIST+=	H2O_GROUP=${H2O_GROUP} \
34
		H2O_GROUP=${H2O_GROUP} \
37
		H2O_LOGDIR=${H2O_LOGDIR} \
35
		H2O_LOGDIR=${H2O_LOGDIR}
38
		H2O_USER=${H2O_USER}
36
39
37
PLIST_SUB=	H2O_USER=${H2O_USER} \
40
PLIST_SUB=	H2O_GROUP=${H2O_GROUP} \
38
		H2O_GROUP=${H2O_GROUP} \
41
		H2O_LOGDIR=${H2O_LOGDIR} \
39
		H2O_LOGDIR=${H2O_LOGDIR}
42
		H2O_USER=${H2O_USER}
43
PORTDOCS=	README.md
40
44
45
.ifnmake portclippy
41
H2O_USER?=	www
46
H2O_USER?=	www
42
H2O_GROUP?=	www
47
H2O_GROUP?=	www
43
48
44
H2O_LOGDIR=	/var/log/${PORTNAME}/
49
H2O_LOGDIR=	/var/log/${PORTNAME}/
50
.endif
45
51
46
USE_RC_SUBR=	${PORTNAME}
52
OPTIONS_DEFINE=		DOCS MRUBY
47
48
OPTIONS_DEFINE=		MRUBY DOCS
49
OPTIONS_DEFAULT=	MRUBY
53
OPTIONS_DEFAULT=	MRUBY
50
OPTIONS_SUB=		yes
54
OPTIONS_SUB=		yes
51
MRUBY_DESC=		Build with embedded mruby handler support
55
MRUBY_DESC=		Build with embedded mruby handler support
52
56
53
CMAKE_ARGS+=		-DBUILD_SHARED_LIBS=OFF -DWITH_BUNDLED_SSL=OFF
54
55
MRUBY_CMAKE_BOOL=	WITH_MRUBY
56
MRUBY_USES=		bison ruby:build
57
MRUBY_USES=		bison ruby:build
58
MRUBY_CMAKE_BOOL=	WITH_MRUBY
57
59
58
.include <bsd.port.options.mk>
60
.include <bsd.port.options.mk>
59
61
60
post-patch:
61
	@${REINPLACE_CMD} -e 's|exec perl|exec ${LOCALBASE}/bin/perl|' \
62
		${WRKSRC}/share/h2o/annotate-backtrace-symbols \
63
		${WRKSRC}/share/h2o/fastcgi-cgi \
64
		${WRKSRC}/share/h2o/fetch-ocsp-response \
65
		${WRKSRC}/share/h2o/kill-on-close \
66
		${WRKSRC}/share/h2o/setuidgid \
67
		${WRKSRC}/share/h2o/start_server
68
69
post-install:
62
post-install:
70
	${MKDIR} ${STAGEDIR}${ETCDIR} \
63
	${MKDIR} ${STAGEDIR}${ETCDIR} \
71
		${STAGEDIR}${H2O_LOGDIR}
64
		${STAGEDIR}${H2O_LOGDIR}
(-)www/h2o-devel/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1682863965
1
TIMESTAMP = 1693558446
2
SHA256 (h2o-h2o-v2.3.0-dev.20230427-f010336_GH0.tar.gz) = d8668a6687340e8af56ce997fd36687ff4c41d86d8d195eb6dff8b46e746b3ff
2
SHA256 (h2o-h2o-v2.3.0-dev.20230817-70dd2d8_GH0.tar.gz) = 075f1da946b4fe32792b3f97e9ac44463febbef6235533d59a5c4bc53bc8c09d
3
SIZE (h2o-h2o-v2.3.0-dev.20230427-f010336_GH0.tar.gz) = 30505376
3
SIZE (h2o-h2o-v2.3.0-dev.20230817-70dd2d8_GH0.tar.gz) = 30555369
(-)www/h2o-devel/pkg-plist (-81 / +83 lines)
Lines 1-11 Link Here
1
bin/h2o
2
@comment bin/h2o-httpclient
1
@comment bin/h2o-httpclient
2
@dir(%%H2O_USER%%,%%H2O_GROUP%%,0750) %%H2O_LOGDIR%%
3
@sample %%ETCDIR%%/h2o.conf.sample
3
@sample %%ETCDIR%%/h2o.conf.sample
4
%%DATADIR%%/annotate-backtrace-symbols
5
%%DATADIR%%/ca-bundle.crt
6
%%DATADIR%%/fastcgi-cgi
7
%%DATADIR%%/fetch-ocsp-response
8
%%DATADIR%%/kill-on-close
9
%%DATADIR%%/setuidgid
10
%%DATADIR%%/start_server
11
%%DATADIR%%/status/index.html
12
%%MRUBY%%%%DATADIR%%/mruby/acl.rb
13
%%MRUBY%%%%DATADIR%%/mruby/bootstrap.rb
14
%%MRUBY%%%%DATADIR%%/mruby/dos_detector.rb
15
%%MRUBY%%%%DATADIR%%/mruby/htpasswd.rb
16
%%MRUBY%%%%DATADIR%%/mruby/lru_cache.rb
17
%%MRUBY%%%%DATADIR%%/mruby/preloads.rb
18
%%MRUBY%%%%DATADIR%%/mruby/prometheus.rb
19
%%MRUBY%%%%DATADIR%%/mruby/trie_addr.rb
20
%%PORTDOCS%%%%DOCSDIR%%/assets/8mbps100msec-nginx195-h2o150.png
21
%%PORTDOCS%%%%DOCSDIR%%/assets/firstpaintbench.png
22
%%PORTDOCS%%%%DOCSDIR%%/assets/remotebench.png
23
%%PORTDOCS%%%%DOCSDIR%%/assets/searchstyle.css
24
%%PORTDOCS%%%%DOCSDIR%%/assets/staticfile612-nginx1910-h2o170.png
25
%%PORTDOCS%%%%DOCSDIR%%/assets/style.css
26
%%PORTDOCS%%%%DOCSDIR%%/benchmarks.html
27
%%PORTDOCS%%%%DOCSDIR%%/configure.html
28
%%PORTDOCS%%%%DOCSDIR%%/configure/access_control.html
29
%%PORTDOCS%%%%DOCSDIR%%/configure/access_log_directives.html
30
%%PORTDOCS%%%%DOCSDIR%%/configure/base_directives.html
31
%%PORTDOCS%%%%DOCSDIR%%/configure/basic_auth.html
32
%%PORTDOCS%%%%DOCSDIR%%/configure/cgi.html
33
%%PORTDOCS%%%%DOCSDIR%%/configure/command_options.html
34
%%PORTDOCS%%%%DOCSDIR%%/configure/compress_directives.html
35
%%PORTDOCS%%%%DOCSDIR%%/configure/dos_detection.html
36
%%PORTDOCS%%%%DOCSDIR%%/configure/errordoc_directives.html
37
%%PORTDOCS%%%%DOCSDIR%%/configure/expires_directives.html
38
%%PORTDOCS%%%%DOCSDIR%%/configure/fastcgi_directives.html
39
%%PORTDOCS%%%%DOCSDIR%%/configure/file_directives.html
40
%%PORTDOCS%%%%DOCSDIR%%/configure/h2olog.html
41
%%PORTDOCS%%%%DOCSDIR%%/configure/headers_directives.html
42
%%PORTDOCS%%%%DOCSDIR%%/configure/http1_directives.html
43
%%PORTDOCS%%%%DOCSDIR%%/configure/http2_directives.html
44
%%PORTDOCS%%%%DOCSDIR%%/configure/http3_directives.html
45
%%PORTDOCS%%%%DOCSDIR%%/configure/mruby_directives.html
46
%%PORTDOCS%%%%DOCSDIR%%/configure/mruby.html
47
%%PORTDOCS%%%%DOCSDIR%%/configure/proxy_directives.html
48
%%PORTDOCS%%%%DOCSDIR%%/configure/quick_start.html
49
%%PORTDOCS%%%%DOCSDIR%%/configure/redirect_directives.html
50
%%PORTDOCS%%%%DOCSDIR%%/configure/reproxy_directives.html
51
%%PORTDOCS%%%%DOCSDIR%%/configure/server_timing_directives.html
52
%%PORTDOCS%%%%DOCSDIR%%/configure/status_directives.html
53
%%PORTDOCS%%%%DOCSDIR%%/configure/syntax_and_structure.html
54
%%PORTDOCS%%%%DOCSDIR%%/configure/throttle_response_directives.html
55
%%PORTDOCS%%%%DOCSDIR%%/examples/doc_root.alternate/index.txt
56
%%PORTDOCS%%%%DOCSDIR%%/examples/doc_root.third/index.txt
57
%%PORTDOCS%%%%DOCSDIR%%/examples/doc_root/index.html
58
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o_mruby/h2o.conf
59
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o_mruby/hello.rb
60
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/alternate.crt
61
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/alternate.key
62
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/ech.key
63
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/h2o.conf
64
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/server.crt
65
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/server.key
66
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/server.pub
67
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/wildcard.crt
68
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/wildcard.key
69
%%PORTDOCS%%%%DOCSDIR%%/examples/libh2o/latency-optimization.c
70
%%PORTDOCS%%%%DOCSDIR%%/examples/libh2o/redis-client.c
71
%%PORTDOCS%%%%DOCSDIR%%/examples/libh2o/simple.c
72
%%PORTDOCS%%%%DOCSDIR%%/examples/libh2o/socket-client.c
73
%%PORTDOCS%%%%DOCSDIR%%/examples/libh2o/websocket.c
74
%%PORTDOCS%%%%DOCSDIR%%/faq.html
75
%%PORTDOCS%%%%DOCSDIR%%/h2o.conf.5
76
%%PORTDOCS%%%%DOCSDIR%%/index.html
77
%%PORTDOCS%%%%DOCSDIR%%/install.html
78
%%PORTDOCS%%%%DOCSDIR%%/search/jquery-1.9.1.min.js
79
%%PORTDOCS%%%%DOCSDIR%%/search/oktavia-english-search.js
80
%%PORTDOCS%%%%DOCSDIR%%/search/oktavia-jquery-ui.js
81
%%PORTDOCS%%%%DOCSDIR%%/search/searchindex.js
82
bin/h2o
4
include/h2o.h
83
include/h2o.h
5
include/h2o/absprio.h
84
include/h2o/absprio.h
6
include/h2o/balancer.h
85
include/h2o/balancer.h
7
include/h2o/cache.h
8
include/h2o/cache_digests.h
86
include/h2o/cache_digests.h
87
include/h2o/cache.h
9
include/h2o/configurator.h
88
include/h2o/configurator.h
10
include/h2o/ebpf.h
89
include/h2o/ebpf.h
11
include/h2o/file.h
90
include/h2o/file.h
Lines 15-25 include/h2o/hiredis_.h Link Here
15
include/h2o/hostinfo.h
94
include/h2o/hostinfo.h
16
include/h2o/hpack.h
95
include/h2o/hpack.h
17
include/h2o/http1.h
96
include/h2o/http1.h
18
include/h2o/http2.h
19
include/h2o/http2_casper.h
97
include/h2o/http2_casper.h
20
include/h2o/http2_common.h
98
include/h2o/http2_common.h
21
include/h2o/http2_internal.h
99
include/h2o/http2_internal.h
22
include/h2o/http2_scheduler.h
100
include/h2o/http2_scheduler.h
101
include/h2o/http2.h
23
include/h2o/http3_common.h
102
include/h2o/http3_common.h
24
include/h2o/http3_internal.h
103
include/h2o/http3_internal.h
25
include/h2o/http3_server.h
104
include/h2o/http3_server.h
Lines 42-49 include/h2o/socketpool.h Link Here
42
include/h2o/string_.h
121
include/h2o/string_.h
43
include/h2o/time_.h
122
include/h2o/time_.h
44
include/h2o/timerwheel.h
123
include/h2o/timerwheel.h
45
include/h2o/token.h
46
include/h2o/token_table.h
124
include/h2o/token_table.h
125
include/h2o/token.h
47
include/h2o/url.h
126
include/h2o/url.h
48
include/h2o/version.h
127
include/h2o/version.h
49
include/h2o/websocket.h
128
include/h2o/websocket.h
Lines 51-130 libdata/pkgconfig/libh2o-evloop.pc Link Here
51
libdata/pkgconfig/libh2o.pc
130
libdata/pkgconfig/libh2o.pc
52
share/man/man5/h2o.conf.5.gz
131
share/man/man5/h2o.conf.5.gz
53
share/man/man8/h2o.8.gz
132
share/man/man8/h2o.8.gz
54
%%PORTDOCS%%%%DOCSDIR%%/assets/8mbps100msec-nginx195-h2o150.png
55
%%PORTDOCS%%%%DOCSDIR%%/assets/firstpaintbench.png
56
%%PORTDOCS%%%%DOCSDIR%%/assets/remotebench.png
57
%%PORTDOCS%%%%DOCSDIR%%/assets/searchstyle.css
58
%%PORTDOCS%%%%DOCSDIR%%/assets/staticfile612-nginx1910-h2o170.png
59
%%PORTDOCS%%%%DOCSDIR%%/assets/style.css
60
%%PORTDOCS%%%%DOCSDIR%%/benchmarks.html
61
%%PORTDOCS%%%%DOCSDIR%%/configure.html
62
%%PORTDOCS%%%%DOCSDIR%%/configure/access_control.html
63
%%PORTDOCS%%%%DOCSDIR%%/configure/access_log_directives.html
64
%%PORTDOCS%%%%DOCSDIR%%/configure/base_directives.html
65
%%PORTDOCS%%%%DOCSDIR%%/configure/basic_auth.html
66
%%PORTDOCS%%%%DOCSDIR%%/configure/cgi.html
67
%%PORTDOCS%%%%DOCSDIR%%/configure/command_options.html
68
%%PORTDOCS%%%%DOCSDIR%%/configure/compress_directives.html
69
%%PORTDOCS%%%%DOCSDIR%%/configure/dos_detection.html
70
%%PORTDOCS%%%%DOCSDIR%%/configure/errordoc_directives.html
71
%%PORTDOCS%%%%DOCSDIR%%/configure/expires_directives.html
72
%%PORTDOCS%%%%DOCSDIR%%/configure/fastcgi_directives.html
73
%%PORTDOCS%%%%DOCSDIR%%/configure/file_directives.html
74
%%PORTDOCS%%%%DOCSDIR%%/configure/headers_directives.html
75
%%PORTDOCS%%%%DOCSDIR%%/configure/http1_directives.html
76
%%PORTDOCS%%%%DOCSDIR%%/configure/http2_directives.html
77
%%PORTDOCS%%%%DOCSDIR%%/configure/mruby.html
78
%%PORTDOCS%%%%DOCSDIR%%/configure/mruby_directives.html
79
%%PORTDOCS%%%%DOCSDIR%%/configure/proxy_directives.html
80
%%PORTDOCS%%%%DOCSDIR%%/configure/quick_start.html
81
%%PORTDOCS%%%%DOCSDIR%%/configure/redirect_directives.html
82
%%PORTDOCS%%%%DOCSDIR%%/configure/reproxy_directives.html
83
%%PORTDOCS%%%%DOCSDIR%%/configure/server_timing_directives.html
84
%%PORTDOCS%%%%DOCSDIR%%/configure/status_directives.html
85
%%PORTDOCS%%%%DOCSDIR%%/configure/syntax_and_structure.html
86
%%PORTDOCS%%%%DOCSDIR%%/configure/throttle_response_directives.html
87
%%PORTDOCS%%%%DOCSDIR%%/examples/doc_root.alternate/index.txt
88
%%PORTDOCS%%%%DOCSDIR%%/examples/doc_root.third/index.txt
89
%%PORTDOCS%%%%DOCSDIR%%/examples/doc_root/index.html
90
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/alternate.crt
91
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/alternate.key
92
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/ech.key
93
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/h2o.conf
94
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/server.crt
95
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/server.key
96
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/server.pub
97
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o_mruby/h2o.conf
98
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o_mruby/hello.rb
99
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/wildcard.crt
100
%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/wildcard.key
101
%%PORTDOCS%%%%DOCSDIR%%/examples/libh2o/latency-optimization.c
102
%%PORTDOCS%%%%DOCSDIR%%/examples/libh2o/redis-client.c
103
%%PORTDOCS%%%%DOCSDIR%%/examples/libh2o/simple.c
104
%%PORTDOCS%%%%DOCSDIR%%/examples/libh2o/socket-client.c
105
%%PORTDOCS%%%%DOCSDIR%%/examples/libh2o/websocket.c
106
%%PORTDOCS%%%%DOCSDIR%%/h2o.conf.5
107
%%PORTDOCS%%%%DOCSDIR%%/faq.html
108
%%PORTDOCS%%%%DOCSDIR%%/index.html
109
%%PORTDOCS%%%%DOCSDIR%%/install.html
110
%%PORTDOCS%%%%DOCSDIR%%/search/jquery-1.9.1.min.js
111
%%PORTDOCS%%%%DOCSDIR%%/search/oktavia-english-search.js
112
%%PORTDOCS%%%%DOCSDIR%%/search/oktavia-jquery-ui.js
113
%%PORTDOCS%%%%DOCSDIR%%/search/searchindex.js
114
%%DATADIR%%/annotate-backtrace-symbols
115
%%DATADIR%%/fetch-ocsp-response
116
%%DATADIR%%/kill-on-close
117
%%DATADIR%%/start_server
118
%%DATADIR%%/ca-bundle.crt
119
%%DATADIR%%/fastcgi-cgi
120
%%MRUBY%%%%DATADIR%%/mruby/acl.rb
121
%%MRUBY%%%%DATADIR%%/mruby/bootstrap.rb
122
%%MRUBY%%%%DATADIR%%/mruby/dos_detector.rb
123
%%MRUBY%%%%DATADIR%%/mruby/htpasswd.rb
124
%%MRUBY%%%%DATADIR%%/mruby/lru_cache.rb
125
%%MRUBY%%%%DATADIR%%/mruby/preloads.rb
126
%%MRUBY%%%%DATADIR%%/mruby/prometheus.rb
127
%%MRUBY%%%%DATADIR%%/mruby/trie_addr.rb
128
%%DATADIR%%/setuidgid
129
%%DATADIR%%/status/index.html
130
@dir(%%H2O_USER%%,%%H2O_GROUP%%,0750) %%H2O_LOGDIR%%

Return to bug 271239