diff options
author | 宋文武 <iyzsong@gmail.com> | 2015-08-14 11:26:22 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2015-08-14 11:32:09 +0800 |
commit | af6100f51bf79efef0f79f90245790c410545513 (patch) | |
tree | 4178fae5646793529fb457869c824877541e7fc4 /gnu/packages | |
parent | f6a9bf848f711b933ae7b6438204ab896d218727 (diff) | |
download | guix-af6100f51bf79efef0f79f90245790c410545513.tar.gz |
gnu: glib-networking: Use '/etc/ssl/certs/ca-certificates.crt' as TLS CA file.
* gnu/packages/gnome.scm (glib-networking)[arguments]: Pass '--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt' to configure. Add 'disable-failing-tls-tests' phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/gnome.scm | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index e510eb55ac..fba5eeb77e 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -1876,8 +1876,7 @@ library.") (build-system gnu-build-system) (arguments `(#:configure-flags - ;; FIXME: ca-certificates.crt is not available in the build environment. - '("--with-ca-certificates=no") + '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt") #:phases (modify-phases %standard-phases (add-before 'configure 'patch-giomoduledir @@ -1886,7 +1885,16 @@ library.") (substitute* "configure" (("GIO_MODULE_DIR=.*") (string-append "GIO_MODULE_DIR=" %output - "/lib/gio/modules\n")))))))) + "/lib/gio/modules\n"))))) + (add-before 'check 'disable-failing-tls-tests + ;; The tests 'file-database' and 'connection' fail due to + ;; missing ca-certificates.crt in the build environment. + (lambda _ + (substitute* "tls/tests/Makefile" + (("TESTS = \\$\\(am__EXEEXT_3\\)") + (string-append + "TESTS = certificate$(EXEEXT) " + "$(am__EXEEXT_1) $(am__EXEEXT_2)")))))))) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool))) |