unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 73699@debbugs.gnu.org
Cc: Nicolas Graves <ngraves@ngraves.fr>
Subject: [bug#73699] [PATCH v4 1/2] gnu: nzbget: Update to 24.3. [security fixes]
Date: Thu, 17 Oct 2024 07:40:20 +0200	[thread overview]
Message-ID: <20241017054025.25131-1-ngraves@ngraves.fr> (raw)
In-Reply-To: <20241008082553.14239-1-ngraves@ngraves.fr>

This fixes CVE-2023-49102.

* gnu/packages/networking.scm (nzbget): Update to 24.3.
[source]: Switch to git-fetch.
[build-system]: Switch to cmake-build-system.
[arguments]<configure-flags>: Update field.
[inputs]: Add boost, openssl.
[native-inputs]: Remove pkg-config, add which.
---
 gnu/packages/networking.scm | 27 +++++++++++----------------
 1 file changed, 11 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index f209c1e27c..79d3859eb1 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -2843,26 +2843,21 @@ (define-public nethogs
 (define-public nzbget
   (package
     (name "nzbget")
-    (version "21.1")
+    (version "24.3")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/nzbget/nzbget/releases"
-                           "/download/v" version
-                           "/nzbget-" version "-src.tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/nzbgetcom/nzbget")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "09900x1k0yf4yi2cc0k093advvadyhrkm8rnd8nszhhdp2zc33sf"))))
+        (base32 "13hakpkxqvqfjhk679l088209f54j7mqi3ifi820lyz6b1nvvj0r"))))
+    (build-system cmake-build-system)
     (arguments
-     `(#:configure-flags
-       (list
-        (string-append "--with-libcurses-includes="
-                       (assoc-ref %build-inputs "ncurses") "/include")
-        (string-append "--with-libcurses-libraries="
-                       (assoc-ref %build-inputs "ncurses") "/lib")
-        (string-append "--with-tlslib=GnuTLS"))))
-    (build-system gnu-build-system)
-    (inputs (list gnutls libxml2 ncurses zlib))
-    (native-inputs (list pkg-config))
+     (list #:configure-flags '(list "-DENABLE_TESTS=1")))
+    (inputs (list boost gnutls libxml2 ncurses openssl zlib))
+    (native-inputs (list which))
     (home-page "https://github.com/nzbget/nzbget")
     (synopsis "Usenet binary file downloader")
     (description
-- 
2.46.0





  parent reply	other threads:[~2024-10-17  5:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-08  8:25 [bug#73699] [PATCH] gnu: nzbget: Update to 24.3. [security fixes] Nicolas Graves via Guix-patches via
2024-10-16  5:19 ` [bug#73699] [PATCH v2] " Nicolas Graves via Guix-patches via
2024-10-17  5:03 ` [bug#73699] [PATCH v3 1/2] " Nicolas Graves via Guix-patches via
2024-10-17  5:03   ` [bug#73699] [PATCH v3 2/2] gnu: nzbget: Ignore failing tests Nicolas Graves via Guix-patches via
2024-10-17  5:40 ` Nicolas Graves via Guix-patches via [this message]
2024-10-17  5:40   ` [bug#73699] [PATCH v4 " Nicolas Graves via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241017054025.25131-1-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=73699@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).