From f84b99340c51e3fdda005df1ad331f6a0cb45842 Mon Sep 17 00:00:00 2001 From: "Oleg A. Mamontov" Date: Mon, 7 Aug 2023 20:44:13 +0200 Subject: [PATCH] www/angie-module-xslt: Angie XSLT dynamic module Module is a filter that transforms XML responses using XSLT stylesheets. PR: 272999 --- www/Makefile | 1 + www/angie-module-xslt/Makefile | 24 ++++++++++++++++++++++ www/angie-module-xslt/files/pkg-message.in | 15 ++++++++++++++ www/angie-module-xslt/pkg-descr | 3 +++ www/angie-module-xslt/pkg-plist | 2 ++ 5 files changed, 45 insertions(+) create mode 100644 www/angie-module-xslt/Makefile create mode 100644 www/angie-module-xslt/files/pkg-message.in create mode 100644 www/angie-module-xslt/pkg-descr create mode 100644 www/angie-module-xslt/pkg-plist diff --git a/www/Makefile b/www/Makefile index 40ca1c0c0e8f4..b35a51195228b 100644 --- a/www/Makefile +++ b/www/Makefile @@ -37,6 +37,7 @@ SUBDIR += angie-module-njs SUBDIR += angie-module-perl SUBDIR += angie-module-redis2 + SUBDIR += angie-module-xslt SUBDIR += anyremote2html SUBDIR += apache-mode.el SUBDIR += apache24 diff --git a/www/angie-module-xslt/Makefile b/www/angie-module-xslt/Makefile new file mode 100644 index 0000000000000..3264ada0959dc --- /dev/null +++ b/www/angie-module-xslt/Makefile @@ -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" diff --git a/www/angie-module-xslt/files/pkg-message.in b/www/angie-module-xslt/files/pkg-message.in new file mode 100644 index 0000000000000..2ece40b294300 --- /dev/null +++ b/www/angie-module-xslt/files/pkg-message.in @@ -0,0 +1,15 @@ +[ +{ type: install + message: <