Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2023 13:04:42 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f84b99340c51 - main - www/angie-module-xslt: Angie XSLT dynamic module
Message-ID:  <202308091304.379D4gHJ090394@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f84b99340c51e3fdda005df1ad331f6a0cb45842

commit f84b99340c51e3fdda005df1ad331f6a0cb45842
Author:     Oleg A. Mamontov <oleg@mamontov.net>
AuthorDate: 2023-08-07 18:44:13 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-08-09 13:01:18 +0000

    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(+)

diff --git a/www/Makefile b/www/Makefile
index 40ca1c0c0e8f..b35a51195228 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 000000000000..3264ada0959d
--- /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 000000000000..2ece40b29430
--- /dev/null
+++ b/www/angie-module-xslt/files/pkg-message.in
@@ -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
+}
+]
diff --git a/www/angie-module-xslt/pkg-descr b/www/angie-module-xslt/pkg-descr
new file mode 100644
index 000000000000..42273da62dd2
--- /dev/null
+++ b/www/angie-module-xslt/pkg-descr
@@ -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.
diff --git a/www/angie-module-xslt/pkg-plist b/www/angie-module-xslt/pkg-plist
new file mode 100644
index 000000000000..2cc2d0af8035
--- /dev/null
+++ b/www/angie-module-xslt/pkg-plist
@@ -0,0 +1,2 @@
+%%MODDIR%%/ngx_http_xslt_filter_module.so
+%%DEBUG%%%%MODDIR%%/ngx_http_xslt_filter_module-debug.so



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308091304.379D4gHJ090394>