Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www/angie-module-xslt: Angie XSLT dynamic module
Module is a filter that transforms XML responses using XSLT stylesheets. PR: 272999
- Loading branch information
1 parent
76e796f
commit f84b993
Showing
5 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
PORTNAME= angie-module-xslt | ||
|
||
COMMENT= Angie XSLT dynamic module | ||
|
||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
LIB_DEPENDS= libxslt.so:textproc/libxslt | ||
|
||
CONFIGURE_ADD= --with-http_xslt_module=dynamic | ||
|
||
MASTERDIR= ${.CURDIR}/../../www/angie | ||
|
||
do-install: | ||
${MKDIR} ${STAGEDIR}${MODDIR} | ||
|
||
${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_xslt_filter_module.so \ | ||
${STAGEDIR}${MODDIR} | ||
|
||
do-install-DEBUG-on: | ||
${INSTALL} ${COPY} -m ${_SHAREMODE} \ | ||
${WRKSRC_DEBUG}/objs/ngx_http_xslt_filter_module.so \ | ||
${STAGEDIR}${MODDIR}/ngx_http_xslt_filter_module-debug.so | ||
|
||
.include "${MASTERDIR}/Makefile" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[ | ||
{ type: install | ||
message: <<EOM | ||
|
||
The XSLT 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_xslt_filter_module.so; | ||
|
||
Please refer to the modules documentation for further details: | ||
https://angie.software/en/http_xslt/ | ||
EOM | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Module is a filter that transforms XML responses using XSLT stylesheets. | ||
Module allows you to apply an XSLT transformation on an XML file or | ||
response received from a backend server before serving the client. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
%%MODDIR%%/ngx_http_xslt_filter_module.so | ||
%%DEBUG%%%%MODDIR%%/ngx_http_xslt_filter_module-debug.so |