From nobody Sun Sep 10 16:13:51 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RkFJv64gMz4s216; Sun, 10 Sep 2023 16:13:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RkFJv4Gwpz3QQf; Sun, 10 Sep 2023 16:13:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694362431; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=E3IOLbjsWGjrBYXdMhl05vi+fOXVZQRcpZEJhdyt1/U=; b=Efj3NohC1TRtaf69XNJgz/z2iYGQC4N2ZuRpKXz3JOCezk31t4MYUC0kMNmpry0YO2aVsw jyWzdWRhC3XLYcLbmmAcgws0TtVkzWsaJS6V1Nc5yogquXxM5ylSQ/KCRbrjr796/KLec6 1FS3xiJ+W79xP1r6067ehqWwIgTlH1W7PTy9EnVT5WKWRTZKPBP4BTf9NNr95e21/WKHaC Dy1wry2x+omQ5osW1RHl2Sb21ZiLt+gSd7C4Q7I9Wu84nJmPOzDh6HM0370LcQgSrNbGcg JT720LMhCoglEYwUHDd9xmH89aJSZ9KUS0N0/0a0SKstlgglqeWoUszIzTLm8A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694362431; a=rsa-sha256; cv=none; b=X9Jf5cmoL4ekMnl64cZnUZBiA9U/JuCR1NO4wA0gKj2bJelsW3do8sGkW8o11BoiW/PQ6k bWKwWMmRN926NpcITOCzxS7myuD7ZiCks3wIOY7VDfb4xe1GRVcxqw4a14yFZbQqG8q/es GnHTsTTpo16SOg3lXtCA+JShgqpcr0ndZ6y3+i1bupOqhC/QjdhTonXBx4MWVrc7mvnMTp hnTWyga/Cx/uBE0g8+jeVDBdyuUiDljvB5s1HB7z3UvB8jjaAIfp1Kl2VAmbwlmUFJhtag Hd3Z1Fzza+CM1CCJoO60daOXiyl+nxkqn9CBqweuCHcHJzGeNfZLZiSVYWWEgg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694362431; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=E3IOLbjsWGjrBYXdMhl05vi+fOXVZQRcpZEJhdyt1/U=; b=D/4KEVWuShLbi8X//TNEF26Fu3DVoem0FnS4JCmGv4ClvJ6uAAzifJ/QtPlqH6Y4aJG0/o B8s0qY9qQWcks3v5GTcqLCrL2cP6Uvqzs6SgFO1j8v2tBa8YeSMcnrBH3uJWbdSNMqeCLU 0xDaEEVeR8grhvIPaOfB+aG2JI7wHc0WuXHcG1R6g0iWyIl+7TAygWXBfy8e91WQzrGKCZ T2ls6PPXuHUvPP62p97vcTsFB8EH1xuk1o81tTa9qwQHbt19hFC9zWzTq/JNPFbQfsFIQ3 /eJOM7p8MMmEujzBOaRpr53Ka1lXN7bphDNP4zPuHI+aOGr3jx3TINr68eJLTQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RkFJv3MR1z1CN5; Sun, 10 Sep 2023 16:13:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38AGDp3w025303; Sun, 10 Sep 2023 16:13:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38AGDpII025300; Sun, 10 Sep 2023 16:13:51 GMT (envelope-from git) Date: Sun, 10 Sep 2023 16:13:51 GMT Message-Id: <202309101613.38AGDpII025300@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: ac2a5278212d - main - www/angie-module-subs: Angie substitutions filter dynamic module List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ac2a5278212d9967773e769174f42ea430c435a0 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=ac2a5278212d9967773e769174f42ea430c435a0 commit ac2a5278212d9967773e769174f42ea430c435a0 Author: Oleg A. Mamontov AuthorDate: 2023-08-30 21:01:23 +0000 Commit: Robert Clausecker CommitDate: 2023-09-10 16:13:01 +0000 www/angie-module-subs: Angie substitutions filter dynamic module Module performs both regular expression and fixed string substitutions on response bodies. This module is quite different from the native substitution module. It scans the output chains buffer and matches string line by line, just like Apache's mod_substitute. PR: 273462 --- www/Makefile | 1 + www/angie-module-subs/Makefile | 24 ++++++++++++++++++++++++ www/angie-module-subs/files/pkg-message.in | 15 +++++++++++++++ www/angie-module-subs/pkg-descr | 4 ++++ www/angie-module-subs/pkg-plist | 3 +++ 5 files changed, 47 insertions(+) diff --git a/www/Makefile b/www/Makefile index da72992735a6..2b2c1f87d6a0 100644 --- a/www/Makefile +++ b/www/Makefile @@ -46,6 +46,7 @@ SUBDIR += angie-module-redis2 SUBDIR += angie-module-rtmp SUBDIR += angie-module-set-misc + SUBDIR += angie-module-subs SUBDIR += angie-module-xslt SUBDIR += anyremote2html SUBDIR += apache-mode.el diff --git a/www/angie-module-subs/Makefile b/www/angie-module-subs/Makefile new file mode 100644 index 000000000000..b444f72eab8a --- /dev/null +++ b/www/angie-module-subs/Makefile @@ -0,0 +1,24 @@ +PORTNAME= angie-module-subs +GH_TUPLE= yaoweibin:ngx_http_substitutions_filter_module:e12e965ac1837ca709709f9a26f572a54d83430e:module + +COMMENT= Angie substitutions filter dynamic module + +LICENSE_FILE= ${WRKSRC_module}/README + +MASTERDIR= ${.CURDIR}/../../www/angie + +do-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${MODDIR} + + ${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_subs_filter_module.so \ + ${STAGEDIR}${MODDIR} + + ${INSTALL_MAN} ${WRKSRC_module}/README ${STAGEDIR}${DOCSDIR} + +do-install-DEBUG-on: + ${INSTALL} ${COPY} -m ${_SHAREMODE} \ + ${WRKSRC_DEBUG}/objs/ngx_http_subs_filter_module.so \ + ${STAGEDIR}${MODDIR}/ngx_http_subs_filter_module-debug.so + +.include "${MASTERDIR}/Makefile" diff --git a/www/angie-module-subs/files/pkg-message.in b/www/angie-module-subs/files/pkg-message.in new file mode 100644 index 000000000000..5bfad5609ac2 --- /dev/null +++ b/www/angie-module-subs/files/pkg-message.in @@ -0,0 +1,15 @@ +[ +{ type: install + message: <