Summary: | www/nginx: wrongly enabled option: HTTP XSLT | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Ivan Rozhuk <rozhuk.im> | ||||||
Component: | Individual Port(s) | Assignee: | Jochen Neumeister <joneum> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | arcade, joneum, rozhuk.im | ||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(osa) |
||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Ivan Rozhuk
2022-01-11 23:45:48 UTC
Hi Ivan, thanks for the report. It seems like an issue with GNOME usage, could you try the attached patch and report back how it works. Thanks. Created attachment 230937 [details]
[PATCH] fix HTTP_XSLT option issue
(In reply to Sergey A. Osokin from comment #2) Not help. HTTP XSLT is DISABLED, but nginx assume that it is enabled by default. There is should be something like: HTTP_XSLT_OFF=--without-http_xslt_module or changes in nginx make/configure files. (In reply to Ivan Rozhuk from comment #3) Could you run two sets and provide outputs for the following commands: 1. with HTTP_XSLT option enabled: # cd /usr/ports/www/nginx-devel && `make config' < enable the HTTP_XSLT option and push OK button > # make -V CONFIGURE_ARGS | tr ' ' '\n' | grep -v ^$ | grep xslt 2. with HTTP_XSLT option disabled: # cd /usr/ports/www/nginx-devel && `make config' < disable the HTTP_XSLT option and push OK button > # make -V CONFIGURE_ARGS | tr ' ' '\n' | grep -v ^$ | grep xslt (In reply to Sergey A. Osokin from comment #4) 1. # make -V CONFIGURE_ARGS | tr ' ' '\n' | grep -v ^$ | grep xslt --with-http_xslt_module 2. # make -V CONFIGURE_ARGS | tr ' ' '\n' | grep -v ^$ | grep xslt Exit 1 (In reply to Ivan Rozhuk from comment #5) So, the DSO (dynamic modules support) is switched off and: 1. HTTP_XSLT enabled the configure script runs with --with-http_xslt_module; 2. HTTP_XSLT disabled the configure script runs without that option Is that correct? (In reply to Sergey A. Osokin from comment #6) Yes. (In reply to Ivan Rozhuk from comment #7) Well, follow that there's no issue, right? (In reply to Sergey A. Osokin from comment #8) No. Some of these options also enables XSLT: OPTIONS_FILE_SET+=FILE_AIO OPTIONS_FILE_SET+=IPV6 OPTIONS_FILE_SET+=THREADS OPTIONS_FILE_SET+=PCRE_ONE OPTIONS_FILE_SET+=HTTP OPTIONS_FILE_SET+=HTTP_DAV OPTIONS_FILE_SET+=HTTP_REALIP OPTIONS_FILE_SET+=HTTP_SSL OPTIONS_FILE_SET+=HTTP_STATUS OPTIONS_FILE_SET+=HTTP_SUB OPTIONS_FILE_SET+=DEVEL_KIT OPTIONS_FILE_SET+=HEADERS_MORE OPTIONS_FILE_SET+=HTTP_DAV_EXT OPTIONS_FILE_SET+=ICONV OPTIONS_FILE_SET+=SET_MISC SSL, DAv+DAV_EXT, SUB - first candidates. This is HTTP_DAV_EXT option enables XSLT. Created attachment 230949 [details]
[PATCH] fix HTTP_DAV_EXT module dependences
Hi,
here's another patch for HTTP_DAV_EXT module.
This help, not it install libs and found it. Thanks! A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=cdc19d1011ab48330bcdd3e4aca828f5ea4433d9 commit cdc19d1011ab48330bcdd3e4aca828f5ea4433d9 Author: Sergey A. Osokin <osa@FreeBSD.org> AuthorDate: 2022-01-12 12:25:38 +0000 Commit: Sergey A. Osokin <osa@FreeBSD.org> CommitDate: 2022-01-12 12:25:38 +0000 www/nginx-devel: fix dependences for some modules HTTP_DAV_EXT module requires libraries, so let's define them with a more canonical way. While I'm here use the same way to define dependences for the HTTP_XSLT module as well. PR: 261134 www/nginx-devel/Makefile | 6 +++--- www/nginx-devel/Makefile.extmod | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) Thanks for the report! Actually, can this be MFCed to www/nginx? It has same issue. Re-open for possible MFC. Hi Jochen, could you please take a look on this to make sure it's good for MFC, thanks. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d0c4f648b9c68d9b845cc2b7df1212d66dd9d737 commit d0c4f648b9c68d9b845cc2b7df1212d66dd9d737 Author: Jochen Neumeister <joneum@FreeBSD.org> AuthorDate: 2023-01-30 07:59:50 +0000 Commit: Jochen Neumeister <joneum@FreeBSD.org> CommitDate: 2023-01-30 08:01:57 +0000 www/nginx: fix dependences for some modules HTTP_DAV_EXT module requires libraries, so let's define them with a more canonical way. While I'm here use the same way to define dependences for the HTTP_XSLT module as well. PR: 261134 Sponsored by: Netzkommune GmbH www/nginx/Makefile | 6 +++--- www/nginx/Makefile.extmod | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) |