* gnu/packages/databases.scm (libmemcached): Disable test suite. Removing
trailing #t.
[phases]{fix-configure}: Remove useless group in pattern.
{disable-failing-tests}: Remove phase.
{build-and-install-html-doc}: Order after the build phase.
[home-page]: Please 'guix lint'.
Reported-by: Simon Tournier <zimon.toutoune@gmail.com>
mongodb 3.4.10 has unpatched CVEs and mongodb 3.4.24 has some files in the
release tarball under the SSPL, therefore we cannot provide mongodb while
upholding to good security standards.
It turns out feff80cec3 was right since while
the main license file wasnt altered to SSPL, some files in the tree contain
SSPL headers.
* gnu/packages/databases.scm (go-gopkg.in-mgo.v2): Remove.
* gnu/packages/databases.scm (mongo-tools): Remove.
* doc/guix.texi (mongodb-service-type): Remove.
* gnu/tests/databases.scm (%test-mongodb, %mongodb-os, run-mongodb-test):
Remove.
* gnu/services/databases.scm (mongodb-configuration, mongodb-configuration?,
mongodb-configuration-mongodb, mongodb-configuration-config-file,
mongodb-configuration-data-directory, mongodb-service-type,
%default-mongodb-configuration-file, %mongodb-accounts, mongodb-activation,
mongodb-shepherd-service): Remove.
* gnu/packages/databases.scm (mongodb): Remove.
* gnu/packages/databases.scm (mongodb): Adjust the comment about the
licensing status of the package, there are still older branches
receiving updates under the AGPL license.
* gnu/packages/databases.scm (mongodb): Add comment that the license of
the package changed after the packaged version and that it shouldn't be
updated.
Fixes CVE-2021-3393 and CVE-2021-20229.
* gnu/packages/databases.scm (postgresql-13.2): New variable.
(postgresql-13)[replacement]: New field.
Signed-off-by: Leo Famulari <leo@famulari.name>
This fixes a regression introduced in ce29031a23
where 'mariadb_config' would return libdir and plugindir relative to the
location of the 'mariadb_config' program (which lives in a separate output).
While at it, fix a couple other wrong references, and a another regression
related to test installation.
* gnu/packages/databases.scm (mariadb)[arguments]: Patch "mariadb_config.c.in"
so that it falls back to old behavior. Patch 'mariadb.pc.in' and
'mariadb_connector_c.cmake' to cope with absolute directory names. In
#:configure-flags, don't set INSTALL_MYSQLTESTDIR, but delete the installed
tests with a phase.
Fixes <https://bugs.gnu.org/25527>.
* gnu/packages/databases.scm (postgresql-13)[arguments]: In #:configure-flags,
provide non-absolute references to the build tools.
While at it, rearrange so that variables are in order, and also inherit the
patches in lower versions, as the disable-resolve_symlinks patch was missing
in 11 and 9.
* gnu/packages/databases.scm (postgresql-13): Swap places with ...
(postgresql): ... this. Turn into dummy pointer variable and move it last.
(postgresql-11): Inherit from POSTGRESQL-13. Also inherit source.
(postgresql-10): Inherit from POSTGRESQL-11.
(postgresql-9.6): Inherit from POSTGRESQL-10. Also inherit source.
* gnu/packages/databases.scm (mariadb): Update to 10.5.8.
[arguments]: Adjust #:configure-flags to not install tests; remove code for
the same. Adjust phases for upstream test changes. Add workaround.