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

Collapse All | Expand All

(-)b/www/angie-module-brotli/Makefile (+28 lines)
Added Link Here
1
PORTNAME=	angie-module-brotli
2
GH_TUPLE=	google:ngx_brotli:v1.0.0rc:module
3
4
COMMENT=	Angie Brotli dynamic module
5
6
LIB_DEPENDS=	libbrotlienc.so:archivers/brotli
7
8
MASTERDIR=	${.CURDIR}/../../www/angie
9
10
do-install:
11
	${MKDIR} ${STAGEDIR}${DOCSDIR}
12
	${MKDIR} ${STAGEDIR}${MODDIR}
13
14
.for i in ngx_http_brotli_filter_module ngx_http_brotli_static_module
15
	${INSTALL_LIB} ${WRKSRC}/objs/${i}.so ${STAGEDIR}${MODDIR}
16
.endfor
17
18
.for i in CONTRIBUTING README
19
	${INSTALL_MAN} ${WRKSRC_module}/${i}.md ${STAGEDIR}${DOCSDIR}
20
.endfor
21
22
do-install-DEBUG-on:
23
.for i in ngx_http_brotli_filter_module ngx_http_brotli_static_module
24
	${INSTALL} ${COPY} -m ${_SHAREMODE} ${WRKSRC_DEBUG}/objs/${i}.so \
25
	    ${STAGEDIR}${MODDIR}/${i}-debug.so
26
.endfor
27
28
.include "${MASTERDIR}/Makefile"
(-)b/www/angie-module-brotli/files/pkg-message.in (+17 lines)
Added Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
5
The Brotli dynamic module for Angie has been installed.
6
To enable this module, add the following to %%PREFIX%%/etc/angie/angie.conf
7
and reload angie:
8
9
    load_module modules/ngx_http_brotli_filter_module.so;
10
or:
11
    load_module modules/ngx_http_brotli_static_module.so;
12
13
Please refer to the module documentation for further details:
14
https://github.com/google/ngx_brotli
15
EOM
16
}
17
]
(-)b/www/angie-module-brotli/pkg-descr (+7 lines)
Added Link Here
1
Module adds Brotli compression support to Angie.
2
Brotli is a generic-purpose lossless compression algorithm that compresses
3
data using a combination of a modern variant of the LZ77 algorithm, Huffman
4
coding and 2nd order context modeling, with a compression ratio comparable
5
to the best currently available general-purpose compression methods.
6
 
7
It is similar in speed with deflate but offers more dense compression.
(-)b/www/angie-module-brotli/pkg-plist (+6 lines)
Added Link Here
1
%%DOCSDIR%%/CONTRIBUTING.md
2
%%DOCSDIR%%/README.md
3
%%MODDIR%%/ngx_http_brotli_filter_module.so
4
%%MODDIR%%/ngx_http_brotli_static_module.so
5
%%DEBUG%%%%MODDIR%%/ngx_http_brotli_filter_module-debug.so
6
%%DEBUG%%%%MODDIR%%/ngx_http_brotli_static_module-debug.so

Return to bug 272999