diff options
| author | NoƩ Lopez <noelopez@free.fr> | 2025-06-07 20:31:59 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-06-09 18:36:27 +0200 |
| commit | dce0759e8ca92b38a0d5d29d23aaf28ec71621b7 (patch) | |
| tree | 6f8d1e7434a869151feeb4409b45f14b699b75f5 | |
| parent | 03ce76718c41b32d174713c945d269d6fcdd8bf1 (diff) | |
gnu: gnunet: Update to 0.24.2.
* gnu/packages/gnunet.scm (gnunet): Update to 0.24.2.
Restore working tests.
[build-system]: Switch to meson-build-system.
Change-Id: I60bc22150ba678f0bc552df4e9cbeb1c6eb1d79a
Signed-off-by: Andreas Enge <andreas@enge.fr>
| -rw-r--r-- | gnu/packages/gnunet.scm | 35 |
1 files changed, 12 insertions, 23 deletions
diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm index 0d6c006da9c..9793c8b085c 100644 --- a/gnu/packages/gnunet.scm +++ b/gnu/packages/gnunet.scm | |||
| @@ -82,7 +82,8 @@ | |||
| 82 | #:use-module (guix deprecation) | 82 | #:use-module (guix deprecation) |
| 83 | #:use-module (guix download) | 83 | #:use-module (guix download) |
| 84 | #:use-module (guix git-download) | 84 | #:use-module (guix git-download) |
| 85 | #:use-module (guix build-system gnu)) | 85 | #:use-module (guix build-system gnu) |
| 86 | #:use-module (guix build-system meson)) | ||
| 86 | 87 | ||
| 87 | (define-public libextractor | 88 | (define-public libextractor |
| 88 | (package | 89 | (package |
| @@ -192,7 +193,7 @@ authentication and support for SSL3 and TLS.") | |||
| 192 | (define-public gnunet | 193 | (define-public gnunet |
| 193 | (package | 194 | (package |
| 194 | (name "gnunet") | 195 | (name "gnunet") |
| 195 | (version "0.23.0") | 196 | (version "0.24.2") |
| 196 | (source | 197 | (source |
| 197 | (origin | 198 | (origin |
| 198 | (method url-fetch) | 199 | (method url-fetch) |
| @@ -200,8 +201,8 @@ authentication and support for SSL3 and TLS.") | |||
| 200 | ".tar.gz")) | 201 | ".tar.gz")) |
| 201 | (sha256 | 202 | (sha256 |
| 202 | (base32 | 203 | (base32 |
| 203 | "0ypnsn81fp3iqi8rgsbcvfnz9iwmaxd1h71mphak8ska2kabdim4")))) | 204 | "0ixgyq331vyv1vv63jcxgqwwyb7pxb69arsdvp1z09wlgn84lkif")))) |
| 204 | (build-system gnu-build-system) | 205 | (build-system meson-build-system) |
| 205 | (inputs | 206 | (inputs |
| 206 | (list bluez | 207 | (list bluez |
| 207 | glpk | 208 | glpk |
| @@ -218,7 +219,6 @@ authentication and support for SSL3 and TLS.") | |||
| 218 | libogg | 219 | libogg |
| 219 | libsodium | 220 | libsodium |
| 220 | libunistring | 221 | libunistring |
| 221 | miniupnpc | ||
| 222 | opus | 222 | opus |
| 223 | pulseaudio | 223 | pulseaudio |
| 224 | sqlite | 224 | sqlite |
| @@ -238,24 +238,11 @@ authentication and support for SSL3 and TLS.") | |||
| 238 | #:parallel-tests? #f ;parallel tests aren't supported | 238 | #:parallel-tests? #f ;parallel tests aren't supported |
| 239 | #:phases | 239 | #:phases |
| 240 | #~(modify-phases %standard-phases | 240 | #~(modify-phases %standard-phases |
| 241 | (add-after 'unpack 'disable-problematic-tests | 241 | (add-after 'unpack 'disable-network-tests |
| 242 | (lambda _ | 242 | (lambda _ |
| 243 | ;; The file 'test_arm_probnat.sh' doesn't seem to exist, | 243 | (substitute* "src/cli/gns/meson.build" |
| 244 | ;; or have a creation method specified anywhere in the source. | 244 | (("'test_gns_box_sbox',") "") |
| 245 | (substitute* "src/service/arm/Makefile.in" | 245 | (("'test_dns2gns',") "")))) |
| 246 | (("check_SCRIPTS = \\\\") | ||
| 247 | "DISABLED_check_SCRIPTS = \\")) | ||
| 248 | ;; The 'test_communicator_bidirect-tcp' fails | ||
| 249 | ;; non-deterministically (see: | ||
| 250 | ;; https://bugs.gnunet.org/view.php?id=8689). | ||
| 251 | (substitute* "src/service/transport/Makefile.in" | ||
| 252 | (("test_communicator_bidirect-tcp\\$\\(EXEEXT) ") | ||
| 253 | "")) | ||
| 254 | ;; The 'test_fs_search_with_and' fails non-deterministically | ||
| 255 | ;; (see: https://bugs.gnunet.org/view.php?id=8692). | ||
| 256 | (substitute* "src/service/fs/Makefile.in" | ||
| 257 | (("test_fs_search_with_and\\$\\(EXEEXT) ") | ||
| 258 | "")))) | ||
| 259 | (add-before 'check 'set-env-var-for-tests | 246 | (add-before 'check 'set-env-var-for-tests |
| 260 | (lambda _ | 247 | (lambda _ |
| 261 | (setenv "LANG" "en_US.UTF-8"))) | 248 | (setenv "LANG" "en_US.UTF-8"))) |
| @@ -275,7 +262,9 @@ high-level goal is to provide a strong foundation of free software for a | |||
| 275 | global, distributed network that provides security and privacy. GNUnet in | 262 | global, distributed network that provides security and privacy. GNUnet in |
| 276 | that sense aims to replace the current internet protocol stack. Along with | 263 | that sense aims to replace the current internet protocol stack. Along with |
| 277 | an application for secure publication of files, it has grown to include all | 264 | an application for secure publication of files, it has grown to include all |
| 278 | kinds of basic applications for the foundation of a GNU internet.") | 265 | kinds of basic applications for the foundation of a GNU internet. |
| 266 | |||
| 267 | For reliable NAT traversal, also install the @var{miniupnpc} package.") | ||
| 279 | (license license:agpl3+) | 268 | (license license:agpl3+) |
| 280 | (home-page "https://www.gnunet.org/en/"))) | 269 | (home-page "https://www.gnunet.org/en/"))) |
| 281 | 270 | ||
