FreeBSD Bugzilla – Attachment 243929 Details for
Bug 272999
[NEW PORTS] dynamic modules for www/angie
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
www/angie-module-brotli
2-angie-module-brotli.patch (text/plain), 2.70 KB, created by
oleg
on 2023-08-07 14:22:49 UTC
(
hide
)
Description:
www/angie-module-brotli
Filename:
MIME Type:
Creator:
oleg
Created:
2023-08-07 14:22:49 UTC
Size:
2.70 KB
patch
obsolete
>diff --git a/www/angie-module-brotli/Makefile b/www/angie-module-brotli/Makefile >new file mode 100644 >index 000000000000..2ec4cb655895 >--- /dev/null >+++ b/www/angie-module-brotli/Makefile >@@ -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" >diff --git a/www/angie-module-brotli/files/pkg-message.in b/www/angie-module-brotli/files/pkg-message.in >new file mode 100644 >index 000000000000..8860feaf7fc4 >--- /dev/null >+++ b/www/angie-module-brotli/files/pkg-message.in >@@ -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 >+} >+] >diff --git a/www/angie-module-brotli/pkg-descr b/www/angie-module-brotli/pkg-descr >new file mode 100644 >index 000000000000..0474ac784a29 >--- /dev/null >+++ b/www/angie-module-brotli/pkg-descr >@@ -0,0 +1,7 @@ >+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. >diff --git a/www/angie-module-brotli/pkg-plist b/www/angie-module-brotli/pkg-plist >new file mode 100644 >index 000000000000..8be7a2abce45 >--- /dev/null >+++ b/www/angie-module-brotli/pkg-plist >@@ -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
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 272999
:
243927
|
243928
| 243929 |
243930
|
243931
|
243932
|
243933
|
243934
|
243935
|
243936
|
243937
|
243960
|
243961
|
243962
|
243963
|
243964
|
243965
|
243966
|
243967
|
243968