aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-05-04 21:44:13 -0400
committerLeo Famulari <leo@famulari.name>2017-05-05 16:32:09 -0400
commit6cf8e576e9525bd6118fc95ba351974e807c973d (patch)
tree65b0c0ccfa4f6697a57398d7e1988e0686cec319
parentcc3bc027ebbc924cc60fdcd8e7c8572bd0adf90c (diff)
downloadgnu-guix-6cf8e576e9525bd6118fc95ba351974e807c973d.tar
gnu-guix-6cf8e576e9525bd6118fc95ba351974e807c973d.tar.gz
gnu: mariadb: Update to 10.1.23 [security fixes].
Fixes CVE-2017-{3302,3313,3308,3309,3453,3456,3464 }. * gnu/packages/databases.scm (mariadb): Update to 10.1.23. [arguments]: Disable features that depend on libarchive.
-rw-r--r--gnu/packages/databases.scm13
1 files changed, 11 insertions, 2 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 01488e0d63..19ae1ecedc 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -372,7 +372,7 @@ Language.")
(define-public mariadb
(package
(name "mariadb")
- (version "10.1.22")
+ (version "10.1.23")
(source (origin
(method url-fetch)
(uri (string-append "https://downloads.mariadb.org/f/"
@@ -380,11 +380,20 @@ Language.")
name "-" version ".tar.gz"))
(sha256
(base32
- "1kk674mx2bf22yivvzv1al5gdg9kyxar47m282bylb6kg8p5gc5w"))))
+ "1gq08dj9skr0gli1nj7a8wl92w8lmmqy0sbxvkmy79dz4i713n2l"))))
(build-system cmake-build-system)
(arguments
'(#:configure-flags
'("-DBUILD_CONFIG=mysql_release"
+ ;; Linking with libarchive fails, like this:
+
+ ;; ld: /gnu/store/...-libarchive-3.2.2/lib/libarchive.a(archive_entry.o):
+ ;; relocation R_X86_64_32 against `.bss' can not be used when
+ ;; making a shared object; recompile with -fPIC
+
+ ;; For now, disable the features that that use libarchive (xtrabackup).
+ "-DWITH_LIBARCHIVE=OFF"
+
"-DDEFAULT_CHARSET=utf8"
"-DDEFAULT_COLLATION=utf8_general_ci"
"-DMYSQL_DATADIR=/var/lib/mysql"