FreeBSD Bugzilla – Attachment 243935 Details for
Bug 272999
[NEW PORTS] dynamic modules for www/angie
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
www/angie-module-perl
8-angie-module-perl.patch (text/plain), 3.07 KB, created by
oleg
on 2023-08-07 14:25:08 UTC
(
hide
)
Description:
www/angie-module-perl
Filename:
MIME Type:
Creator:
oleg
Created:
2023-08-07 14:25:08 UTC
Size:
3.07 KB
patch
obsolete
>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-compound-token-warn b/www/angie-module-perl/files/patch-compound-token-warn >new file mode 100644 >index 000000000000..9cd0f748992c >--- /dev/null >+++ b/www/angie-module-perl/files/patch-compound-token-warn >@@ -0,0 +1,11 @@ >+--- src/http/modules/perl/Makefile.PL.orig 2023-04-19 16:14:21.794655000 +0300 >++++ src/http/modules/perl/Makefile.PL 2023-04-19 16:14:44.661077000 +0300 >+@@ -13,7 +13,7 @@ >+ 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: <<EOM >+ >+The Perl 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_perl_module.so; >+ >+Please refer to the modules documentation for further details: >+https://angie.software/en/http_perl/ >+EOM >+} >+] >diff --git a/www/angie-module-perl/pkg-descr b/www/angie-module-perl/pkg-descr >new file mode 100644 >index 000000000000..95ef374cb4ed >--- /dev/null >+++ b/www/angie-module-perl/pkg-descr >@@ -0,0 +1,2 @@ >+Module is used to implement location and variable handlers in Perl and insert >+Perl calls into SSI. >diff --git a/www/angie-module-perl/pkg-plist b/www/angie-module-perl/pkg-plist >new file mode 100644 >index 000000000000..0f181025471d >--- /dev/null >+++ b/www/angie-module-perl/pkg-plist >@@ -0,0 +1,4 @@ >+%%MODDIR%%/ngx_http_perl_module.so >+%%DEBUG%%%%MODDIR%%/ngx_http_perl_module-debug.so >+%%SITE_ARCH%%/auto/nginx/nginx.so >+%%SITE_ARCH%%/nginx.pm
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 272999
:
243927
|
243928
|
243929
|
243930
|
243931
|
243932
|
243933
|
243934
| 243935 |
243936
|
243937
|
243960
|
243961
|
243962
|
243963
|
243964
|
243965
|
243966
|
243967
|
243968