mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
www/angie-module-brotli: Angie Brotli dynamic module
Module adds Brotli compression support to Angie. Brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods. It is similar in speed with deflate but offers more dense compression. PR: 272999
This commit is contained in:
parent
da1c17007f
commit
41d2ade1eb
@ -28,6 +28,7 @@
|
||||
SUBDIR += analog
|
||||
SUBDIR += angie
|
||||
SUBDIR += angie-module-auth-jwt
|
||||
SUBDIR += angie-module-brotli
|
||||
SUBDIR += angie-module-geoip2
|
||||
SUBDIR += anyremote2html
|
||||
SUBDIR += apache-mode.el
|
||||
|
28
www/angie-module-brotli/Makefile
Normal file
28
www/angie-module-brotli/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
PORTNAME= angie-module-brotli
|
||||
GH_TUPLE= google:ngx_brotli:v1.0.0rc:module
|
||||
|
||||
COMMENT= Angie Brotli dynamic module
|
||||
|
||||
LIB_DEPENDS= libbrotlienc.so:archivers/brotli
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../../www/angie
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}${MODDIR}
|
||||
|
||||
.for i in ngx_http_brotli_filter_module ngx_http_brotli_static_module
|
||||
${INSTALL_LIB} ${WRKSRC}/objs/${i}.so ${STAGEDIR}${MODDIR}
|
||||
.endfor
|
||||
|
||||
.for i in CONTRIBUTING README
|
||||
${INSTALL_MAN} ${WRKSRC_module}/${i}.md ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
|
||||
do-install-DEBUG-on:
|
||||
.for i in ngx_http_brotli_filter_module ngx_http_brotli_static_module
|
||||
${INSTALL} ${COPY} -m ${_SHAREMODE} ${WRKSRC_DEBUG}/objs/${i}.so \
|
||||
${STAGEDIR}${MODDIR}/${i}-debug.so
|
||||
.endfor
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
17
www/angie-module-brotli/files/pkg-message.in
Normal file
17
www/angie-module-brotli/files/pkg-message.in
Normal file
@ -0,0 +1,17 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
|
||||
The Brotli dynamic module for Angie has been installed.
|
||||
To enable this module, add the following to %%PREFIX%%/etc/angie/angie.conf
|
||||
and reload angie:
|
||||
|
||||
load_module modules/ngx_http_brotli_filter_module.so;
|
||||
or:
|
||||
load_module modules/ngx_http_brotli_static_module.so;
|
||||
|
||||
Please refer to the module documentation for further details:
|
||||
https://github.com/google/ngx_brotli
|
||||
EOM
|
||||
}
|
||||
]
|
5
www/angie-module-brotli/pkg-descr
Normal file
5
www/angie-module-brotli/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
Module adds Brotli compression support to Angie.
|
||||
Brotli is a generic-purpose lossless compression algorithm that compresses
|
||||
data using a combination of a modern variant of the LZ77 algorithm, Huffman
|
||||
coding and 2nd order context modeling, with a compression ratio comparable
|
||||
to the best currently available general-purpose compression methods.
|
6
www/angie-module-brotli/pkg-plist
Normal file
6
www/angie-module-brotli/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
%%DOCSDIR%%/CONTRIBUTING.md
|
||||
%%DOCSDIR%%/README.md
|
||||
%%MODDIR%%/ngx_http_brotli_filter_module.so
|
||||
%%MODDIR%%/ngx_http_brotli_static_module.so
|
||||
%%DEBUG%%%%MODDIR%%/ngx_http_brotli_filter_module-debug.so
|
||||
%%DEBUG%%%%MODDIR%%/ngx_http_brotli_static_module-debug.so
|
Loading…
Reference in New Issue
Block a user