* [bug#73699] [PATCH] gnu: nzbget: Update to 24.3. [security fixes]
@ 2024-10-08 8:25 Nicolas Graves via Guix-patches via
2024-10-16 5:19 ` [bug#73699] [PATCH v2] " Nicolas Graves via Guix-patches via
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-10-08 8:25 UTC (permalink / raw)
To: 73699; +Cc: Nicolas Graves
This fixes CVE-2023-49102.
* gnu/packages/networking.scm (nzbget): Update to 24.3.
[build-system]: Switch to cmake-build-system.
[arguments]<configure-flags>: Update field.
[inputs]: Add boost, openssl.
[native-inputs]: Remove pkg-config.
---
gnu/packages/networking.scm | 22 +++++++---------------
1 file changed, 7 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 3be037ecd7..7e28f053f6 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -2843,26 +2843,18 @@ (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"))
+ (uri (string-append "https://github.com/nzbgetcom/nzbget/archive/v"
+ version ".tar.gz"))
(sha256
- (base32 "09900x1k0yf4yi2cc0k093advvadyhrkm8rnd8nszhhdp2zc33sf"))))
+ (base32 "1h3w1g6b52pj43v9cgcdfjal2lc1dqclhyik02zmz0k72gdg03xj"))))
+ (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))
(home-page "https://github.com/nzbget/nzbget")
(synopsis "Usenet binary file downloader")
(description
--
2.46.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#73699] [PATCH v2] gnu: nzbget: Update to 24.3. [security fixes]
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 ` 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:40 ` [bug#73699] [PATCH v4 1/2] gnu: nzbget: Update to 24.3. [security fixes] Nicolas Graves via Guix-patches via
2 siblings, 0 replies; 6+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-10-16 5:19 UTC (permalink / raw)
To: 73699; +Cc: Nicolas Graves
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#73699] [PATCH v3 1/2] gnu: nzbget: Update to 24.3. [security fixes]
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 ` 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 ` [bug#73699] [PATCH v4 1/2] gnu: nzbget: Update to 24.3. [security fixes] Nicolas Graves via Guix-patches via
2 siblings, 1 reply; 6+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-10-17 5:03 UTC (permalink / raw)
To: 73699; +Cc: Nicolas Graves
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#73699] [PATCH v3 2/2] gnu: nzbget: Ignore failing tests.
2024-10-17 5:03 ` [bug#73699] [PATCH v3 1/2] " Nicolas Graves via Guix-patches via
@ 2024-10-17 5:03 ` Nicolas Graves via Guix-patches via
0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-10-17 5:03 UTC (permalink / raw)
To: 73699; +Cc: Nicolas Graves
* gnu/packages/networking.scm (nzbget)[arguments]<#:phases>:
Ignore a misconfigured test on aarch64.
---
gnu/packages/networking.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 79d3859eb1..590a9fdeff 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -2855,7 +2855,16 @@ (define-public nzbget
(base32 "13hakpkxqvqfjhk679l088209f54j7mqi3ifi820lyz6b1nvvj0r"))))
(build-system cmake-build-system)
(arguments
- (list #:configure-flags '(list "-DENABLE_TESTS=1")))
+ (append (list #:configure-flags '(list "-DENABLE_TESTS=1"))
+ (if (target-aarch64?)
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'skip-failing-tests
+ (lambda _
+ (substitute* "tests/system/CMakeLists.txt"
+ (("(.*)SystemInfo.cpp" all)
+ (string-append "#" all)))))))
+ #~((list)))))
(inputs (list boost gnutls libxml2 ncurses openssl zlib))
(native-inputs (list which))
(home-page "https://github.com/nzbget/nzbget")
--
2.46.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#73699] [PATCH v4 1/2] gnu: nzbget: Update to 24.3. [security fixes]
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:40 ` Nicolas Graves via Guix-patches via
2024-10-17 5:40 ` [bug#73699] [PATCH v4 2/2] gnu: nzbget: Ignore failing tests Nicolas Graves via Guix-patches via
2 siblings, 1 reply; 6+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-10-17 5:40 UTC (permalink / raw)
To: 73699; +Cc: Nicolas Graves
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#73699] [PATCH v4 2/2] gnu: nzbget: Ignore failing tests.
2024-10-17 5:40 ` [bug#73699] [PATCH v4 1/2] gnu: nzbget: Update to 24.3. [security fixes] Nicolas Graves via Guix-patches via
@ 2024-10-17 5:40 ` Nicolas Graves via Guix-patches via
0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-10-17 5:40 UTC (permalink / raw)
To: 73699; +Cc: Nicolas Graves
* gnu/packages/networking.scm (nzbget)[arguments]<#:phases>:
Ignore a misconfigured test on aarch64.
---
gnu/packages/networking.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 79d3859eb1..b75aa078ff 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -2855,7 +2855,16 @@ (define-public nzbget
(base32 "13hakpkxqvqfjhk679l088209f54j7mqi3ifi820lyz6b1nvvj0r"))))
(build-system cmake-build-system)
(arguments
- (list #:configure-flags '(list "-DENABLE_TESTS=1")))
+ (append (list #:configure-flags '(list "-DENABLE_TESTS=1"))
+ (if (string-prefix? "aarch64" (%current-system))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'skip-failing-tests
+ (lambda _
+ (substitute* "tests/system/CMakeLists.txt"
+ (("(.*)SystemInfo.cpp" all)
+ (string-append "#" all)))))))
+ #~((list)))))
(inputs (list boost gnutls libxml2 ncurses openssl zlib))
(native-inputs (list which))
(home-page "https://github.com/nzbget/nzbget")
--
2.46.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-10-17 5:41 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [bug#73699] [PATCH v4 1/2] gnu: nzbget: Update to 24.3. [security fixes] Nicolas Graves via Guix-patches via
2024-10-17 5:40 ` [bug#73699] [PATCH v4 2/2] gnu: nzbget: Ignore failing tests Nicolas Graves via Guix-patches via
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).