me
/
guix
Archived
1
0
Fork 0

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.
master
Leo Famulari 2017-05-04 21:44:13 -04:00
parent cc3bc027eb
commit 6cf8e576e9
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 11 additions and 2 deletions

View File

@ -372,7 +372,7 @@ Language.")
(define-public mariadb (define-public mariadb
(package (package
(name "mariadb") (name "mariadb")
(version "10.1.22") (version "10.1.23")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://downloads.mariadb.org/f/" (uri (string-append "https://downloads.mariadb.org/f/"
@ -380,11 +380,20 @@ Language.")
name "-" version ".tar.gz")) name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1kk674mx2bf22yivvzv1al5gdg9kyxar47m282bylb6kg8p5gc5w")))) "1gq08dj9skr0gli1nj7a8wl92w8lmmqy0sbxvkmy79dz4i713n2l"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
'(#:configure-flags '(#:configure-flags
'("-DBUILD_CONFIG=mysql_release" '("-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_CHARSET=utf8"
"-DDEFAULT_COLLATION=utf8_general_ci" "-DDEFAULT_COLLATION=utf8_general_ci"
"-DMYSQL_DATADIR=/var/lib/mysql" "-DMYSQL_DATADIR=/var/lib/mysql"