From nobody Wed Aug 09 13:04:40 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 4RLVdP5mFGz4pxJF; Wed, 9 Aug 2023 13:04:41 +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 4RLVdN3Fp4z4Fg9; Wed, 9 Aug 2023 13:04:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691586280; 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=ofR5EozySNmHYZmTeWe67TODQ6KGVrdppTaUiqtGSAs=; b=ZbUy1EG2yXaB2fFfEBXAOlG66WO75oPV422iI4JPxIlX5bZN7pBNkv8KuaAGYzdZuTBsI9 xe0xIWN1j6O3IYifrACB/qczC4WXn2mnPVPhEBIaYf13fiQ6xe4z12SgpeDaF1zMv+EGxg W9DkM0I9TXPSF5U+Ml3EKgy8PDaZ1T9VPNEYzsRcyjhSq3O9atC96ZBVOomaFfLO78cbQ3 Dsncj98asctrWBm5yYQa4NozAZWofwlGRrXXHWK5QXGrvoHeMcMHZfi43CCjH6QDQi7KA4 Jw/Aea23y7x8jBAmKgDkgFAs3uTcZOLRrUKhvZ2J7mV20ZjmWv7Lk4KuFxUVPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691586280; 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=ofR5EozySNmHYZmTeWe67TODQ6KGVrdppTaUiqtGSAs=; b=IgoT8gQLRsBOc4Cu0EbZ+uNmZ5vvPRY1UMoyQZaZTtBmLro+X5bLTeV7bWob4ZxZ/qN3r3 21dpWyDsY0gkZ+LrwnFJtiJdhLdXyus6dzLqa/EOXYy6xqq+a6TDCIM/jl8Y5Q6TxvWEhi gvhdPWvcdoaJ0C9fOJGA4OIzQzVFidhlvdDcyVND6IU/76f4om7pU/coVXAL77bTUUOgan 8DNW0omAGEg7cyh4AisiH6UwWgYzbyM6MUptxoLXh5JlHAN/LijWL9+QFiokIVqheDzNa3 XsowofYojZyGMiC50tgn2iAOfkd1jmdXhWgDZp5HE1LZ5ClTy/byMW77aJKh0w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691586280; a=rsa-sha256; cv=none; b=CD52a84MA6fhyoGOKiybEujk3ZkqKWh3UJHU8Vyr/QGkRpxHf4DT1HZwv+iM2aEGGKtcUn 04q1UygjthKqEbePu9ocJkOfvcIwgow9uLm6NnaKqwC0ezZ0fQsWJeZYt6L4buJefrHYfU w4M0THTiw8N2B9WPrqFDXkCOIxN/vUEXsHQn1Nh6upY9Y5es5K5BZD5vWsE0RNiVoZJ6WQ eeuQ3ExsSqBU9pCRtU47Q8yztX/bGxOx/cxJpvWCrIoSfIN85UMv+InC2lqUTnaA+I/OLU tkqoZ550UvE9IYYmNpSlYPhfi7j6uLtJWT1d9aDU8W1jeUNfjQdT1SZLyjN/Vw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RLVdN2Lt9z2H6; Wed, 9 Aug 2023 13:04:40 +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 379D4ep0090307; Wed, 9 Aug 2023 13:04:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 379D4eha090304; Wed, 9 Aug 2023 13:04:40 GMT (envelope-from git) Date: Wed, 9 Aug 2023 13:04:40 GMT Message-Id: <202308091304.379D4eha090304@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: 98173bcdc0a8 - main - www/angie-module-perl: Angie Perl 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: 98173bcdc0a87932e5a5d2b95cf963c918dda82d Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=98173bcdc0a87932e5a5d2b95cf963c918dda82d commit 98173bcdc0a87932e5a5d2b95cf963c918dda82d Author: Oleg A. Mamontov AuthorDate: 2023-08-07 18:41:50 +0000 Commit: Robert Clausecker CommitDate: 2023-08-09 13:01:17 +0000 www/angie-module-perl: Angie Perl dynamic module Module is used to implement location and variable handlers in Perl and insert Perl calls into SSI. PR: 272999 --- www/Makefile | 1 + www/angie-module-perl/Makefile | 32 ++++++++++++++++++++++ .../files/patch-src_http_modules_perl_Makefile.PL | 11 ++++++++ www/angie-module-perl/files/pkg-message.in | 15 ++++++++++ www/angie-module-perl/pkg-descr | 2 ++ www/angie-module-perl/pkg-plist | 4 +++ 6 files changed, 65 insertions(+) diff --git a/www/Makefile b/www/Makefile index 4de59147fde0..c7e017733ffd 100644 --- a/www/Makefile +++ b/www/Makefile @@ -35,6 +35,7 @@ SUBDIR += angie-module-jwt SUBDIR += angie-module-keyval SUBDIR += angie-module-njs + SUBDIR += angie-module-perl SUBDIR += anyremote2html SUBDIR += apache-mode.el SUBDIR += apache24 diff --git a/www/angie-module-perl/Makefile b/www/angie-module-perl/Makefile new file mode 100644 index 000000000000..68096497aede --- /dev/null +++ b/www/angie-module-perl/Makefile @@ -0,0 +1,32 @@ +PORTNAME= angie-module-perl + +COMMENT= Angie Perl dynamic module + +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= perl5 + +CONFIGURE_ADD= --with-http_perl_module=dynamic + +CFLAGS+= -Wno-compound-token-split-by-macro + +MASTERDIR= ${.CURDIR}/../../www/angie + +do-install: + ${MKDIR} ${STAGEDIR}${MODDIR} + ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx + + ${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_perl_module.so \ + ${STAGEDIR}${MODDIR} + + ${INSTALL_LIB} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \ + ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx + ${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \ + ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL} + +do-install-DEBUG-on: + ${INSTALL} ${COPY} -m ${_SHAREMODE} \ + ${WRKSRC_DEBUG}/objs/ngx_http_perl_module.so \ + ${STAGEDIR}${MODDIR}/ngx_http_perl_module-debug.so + +.include "${MASTERDIR}/Makefile" diff --git a/www/angie-module-perl/files/patch-src_http_modules_perl_Makefile.PL b/www/angie-module-perl/files/patch-src_http_modules_perl_Makefile.PL new file mode 100644 index 000000000000..cf5fb22e8366 --- /dev/null +++ b/www/angie-module-perl/files/patch-src_http_modules_perl_Makefile.PL @@ -0,0 +1,11 @@ +--- src/http/modules/perl/Makefile.PL.orig 2023-05-30 14:39:09 UTC ++++ src/http/modules/perl/Makefile.PL +@@ -13,7 +13,7 @@ WriteMakefile( + ABSTRACT_FROM => 'nginx.pm', # retrieve abstract from module + AUTHOR => 'Igor Sysoev', + +- CCFLAGS => "$ENV{NGX_PM_CFLAGS}", ++ CCFLAGS => "$ENV{NGX_PM_CFLAGS} -Wno-compound-token-split-by-macro", + OPTIMIZE => '-O', + + LDDLFLAGS => "$ENV{NGX_PM_LDFLAGS}", diff --git a/www/angie-module-perl/files/pkg-message.in b/www/angie-module-perl/files/pkg-message.in new file mode 100644 index 000000000000..8049f393c5cc --- /dev/null +++ b/www/angie-module-perl/files/pkg-message.in @@ -0,0 +1,15 @@ +[ +{ type: install + message: <