FreeBSD Bugzilla – Attachment 176088 Details for
Bug 213733
www/h2o: Support mruby handler via new MRUBY option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
v1_mruby patch
file_213733.txt (text/plain), 2.31 KB, created by
Dave Cottlehuber
on 2016-10-23 21:43:42 UTC
(
hide
)
Description:
v1_mruby patch
Filename:
MIME Type:
Creator:
Dave Cottlehuber
Created:
2016-10-23 21:43:42 UTC
Size:
2.31 KB
patch
obsolete
>From badf3be9577cb1f34aedd4ce70346f3be4db5cb4 Mon Sep 17 00:00:00 2001 >From: Dave Cottlehuber <dch@skunkwerks.at> >Date: Mon, 26 Sep 2016 19:16:36 +0000 >Subject: [PATCH] www/h2o: rework cmake options and add mruby > >--- > www/h2o/Makefile | 23 +++++++++++++++++------ > www/h2o/pkg-plist | 3 ++- > 2 files changed, 19 insertions(+), 7 deletions(-) > >diff --git a/www/h2o/Makefile b/www/h2o/Makefile >index 4f92625..39f5f3d 100644 >--- a/www/h2o/Makefile >+++ b/www/h2o/Makefile >@@ -4,6 +4,7 @@ > PORTNAME= h2o > PORTVERSION= 2.0.4 > DISTVERSIONPREFIX= v >+PORTREVISION= 1 > CATEGORIES= www > > MAINTAINER= dch@skunkwerks.at >@@ -35,20 +36,30 @@ H2O_LOGDIR= /var/log/${PORTNAME}/ > > USE_RC_SUBR= ${PORTNAME} > >-OPTIONS_DEFINE= LIBRESSL >+OPTIONS_DEFINE= LIBRESSL MRUBY >+OPTIONS_DEFAULT= LIBRESSL MRUBY >+OPTIONS_SUB= yes > LIBRESSL_DESC= Build with bundled LibreSSL instead of OpenSSL >-OPTIONS_DEFAULT= LIBRESSL >+MRUBY_DESC= Build with mruby handler support > > CMAKE_ARGS+= -DEXTRA_LIBRARIES=OFF -DWITHOUT_LIBS=ON > > .include <bsd.port.options.mk> > >+LIBRESSL_CMAKE_ON= -DWITH_BUNDLED_SSL=ON >+LIBRESSL_CMAKE_OFF= -DWITH_BUNDLED_SSL=OFF >+MRUBY_CMAKE_ON= -DWITH_MRUBY=ON >+MRUBY_CMAKE_OFF= -DWITH_MRUBY=OFF >+ > .if ${PORT_OPTIONS:MLIBRESSL} >-CMAKE_ARGS+= -DWITH_BUNDLED_SSL=ON >-WITH_OPENSSL_PORT= no >+USES_SSL= yes > .else >-CMAKE_ARGS+= -DWITH_BUNDLED_SSL=OFF >-WITH_OPENSSL_PORT= yes >+USES_SSL= no >+.endif >+ >+.if ${PORT_OPTIONS:MMRUBY} >+USE_RUBY= yes >+BUILD_DEPENDS+= bison:devel/bison > .endif > > post-patch: >diff --git a/www/h2o/pkg-plist b/www/h2o/pkg-plist >index 43d002b3..21bebbc 100644 >--- a/www/h2o/pkg-plist >+++ b/www/h2o/pkg-plist >@@ -7,7 +7,7 @@ share/h2o/start_server > %%DATADIR%%/fastcgi-cgi > %%DATADIR%%/setuidgid > %%DATADIR%%/status/index.html >-@dir(%%H2O_USER%%,%%H2O_GROUP%%,0750) %%H2O_LOGDIR%% >+%%MRUBY%%%%DATADIR%%/mruby/htpasswd.rb > %%PORTDOCS%%%%DOCSDIR%%/assets/8mbps100msec-nginx195-h2o150.png > %%PORTDOCS%%%%DOCSDIR%%/assets/firstpaintbench.png > %%PORTDOCS%%%%DOCSDIR%%/assets/remotebench.png >@@ -57,4 +57,5 @@ share/h2o/start_server > %%PORTDOCS%%%%DOCSDIR%%/search/oktavia-english-search.js > %%PORTDOCS%%%%DOCSDIR%%/search/oktavia-jquery-ui.js > %%PORTDOCS%%%%DOCSDIR%%/search/searchindex.js >+@dir(%%H2O_USER%%,%%H2O_GROUP%%,0750) %%H2O_LOGDIR%% > @sample %%ETCDIR%%/h2o.conf.sample
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
dch
:
maintainer-approval+
Actions:
View
Attachments on
bug 213733
: 176088