This update includes an important fix for an actively exploited path traversal
vulnerability (CVE-2021-41773), which allows attackers to access files outside
the "document root":
https://httpd.apache.org/security/vulnerabilities_24.html
* gnu/packages/web.scm (httpd): Update to 2.4.50.
...otherwise, failing tests would show up as successful. This is a follow-up
to commit 273380fda2.
* gnu/packages/web.scm (hitch)[native-inputs]: Add PROCPS.
* gnu/packages/web.scm (varnish): Update to 7.0.0.
[arguments]: Set CC in #:configure-flags. Rewrite use-absolute-file-names
phase to use named inputs instead of WHICH and patch one more file. Remove
trailing #t's.
[inputs]: Add BASH-MINIMAL and COREUTILS. Replace PCRE with PCRE2, and
PYTHON-WRAPPER with PYTHON.
As discussed in <https://bugs.gnu.org/46602>, cadaver does not support a
current release of OpenSSL.
* gnu/packages/web.scm (cadaver): Remove variable.
* gnu/packages/web.scm (rapidjson)[arguments]: Remove #:configure-flags, as
the entry is not honored by the build system and would only affect tests and
examples, which are not installed.
[source](snippet): Remove trailing #t.
Look in /etc for configuration files rather than
/gnu/store/...-gmnisrv-.../etc.
gnu/packages/web.scm (gmnisrv)[arguments]<#:configure-flags>: Set
--sysconfdir.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
Remove the dependency on /etc/mime.types (fixes#49233).
gnu/packages/web.scm (gmnisrv)[arguments]<#:configure-flags>: Set
--with-mimedb to directly use mime.types from mailcap.
[propagated-inputs]: Move mailcap to...
[inputs]: ...here (/etc/mime.types no longer need in profiles).
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
gnu/packages/web.scm (gmnisrv)[arguments]<#:phases>{set-variables}: Move
'CC=' to...
<#:make-flags>: ...here, and support cross-compilation with (cc-for-target).
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
Update to latest commit. gmnisrv uses v3 X509 certificates now, and so
"requires fresh certificates, which could break clients with strict
trust-on-first-use policies."
gnu/packages/web.scm (gmnisrv): Update to 0-2.32854b7.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
This fixes its build which had started to fail due to a time-bomb:
Expires=Wed, 09 Jun 2021 10:18:14 GMT
in an examples.t test cookie.
* gnu/packages/web.scm (perl-http-cookiejar): Update to 0.012.
* gnu/packages/web.scm (linkchecker): Update to 10.0.1.
[source]: Remove patches.
[inputs]: Add python-beautifulsoup4. Replace python2-dnspython-1.16,
python2-pyxdg and python2-requests with python-dnspython, python-pyxdg and
python-requests respectively.
[native-inputs]: Replace python2-pytest, python2-miniboa and
python2-parameterized with python-pytest, python-miniboa and
python-parameterized respectively.
[arguments]: Use python 3. Replace check phase instead of deleting the
standard phase and adding a custom one. Use add-installed-pythonpath instead
of setting PYTHONPATH directly. Support disabling of tests with tests?.
[home-page]: Update URI.
* gnu/packages/patches/linkchecker-tests-require-network.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Unregister it.
This change was automated via the following command:
$ git ls-files | xargs sed -i 's/,qtbase)/,qtbase-5)/g'
$ git ls-files | xargs sed -i 's/inherit qtbase)/inherit qtbase-5)/g'
$ git ls-files | xargs sed -i 's/package-version qtbase)/package-version qtbase-5)/g'
$ git checkout etc # to clear some spurious changes
This is done so the qtbase package can be upgraded to version 6 in the
following commit.
works fine for me, tested with a huge log file and many parameters.
* gnu/packages/web.scm (goaccess): Update to 1.5.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
I think this is generally useful. Personally, I want the HTTP gzip static and
gunzip ones for serving gzip compressed log files, and I spotted that the HTTP
sub and addition ones are easy to enable as well.
* gnu/packages/web.scm (nginx)[arguments]: Add the following configure flags:
--with-http_gzip_static_module, --with-http_gunzip_module,
--with-http_addition_module, --with-http_sub_module.
* gnu/packages/web.scm (nginx)[inputs]: Add libxml2 and libxslt.
[arguments]: Add "--with-http_xslt_module" to the configure flags.
Set up CFLAGS to find libxml2 headers.