Subject: bug#67233: closed (Re: [PATCH] gnu: Add leafnode.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 02 Mar 2025 21:39:03 +0000

Your bug report

#67233: [PATCH] gnu: Add leafnode.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
67233: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67233
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [PATCH] gnu: Add leafnode.
From: Nicolas Goaziou <[email-masked]>
To: [email-masked]
Cc: VÃRÃSKÅI AndrÃ¡s <[email-masked]>
Date: Sun, 02 Mar 2025 22:37:56 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

> * gnu/packages/web.scm (leafnode): New variable.

Applied. Thank you. (And sorry for the delay!)

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add leafnode.
From: VÖRÖSKŐI András <[email-masked]>
To: [email-masked]
Cc: VÖRÖSKŐI András <[email-masked]>
Date: Thu, 16 Nov 2023 22:59:12 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/web.scm (leafnode): New variable.

Change-Id: I7ab6823ecdf91e278176d408e4e99b4be1a70781
---
 gnu/packages/web.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 389f7d1375..61496c20c7 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -65,6 +65,7 @@
 ;;; Copyright © 2023 Christopher Howard <[email-masked]>
 ;;; Copyright © 2023 Felix Lechner <[email-masked]>
 ;;; Copyright © 2023 Evgeny Pisemsky <[email-masked]>
+;;; Copyright © 2023 VÖRÖSKŐI András <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2091,6 +2092,34 @@ (define-public liboauth
     ;; Source code may be distributed under either license.
     (license (list license:expat license:gpl2+))))
 
+(define-public leafnode
+  (package
+    (name "leafnode")
+    (version "1.12.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/leafnode/leafnode/"
+                                  version "/leafnode-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1pkryzndqaxs1ym7gs77r6x8mmzpnm5x7n2ph8ga45zn45rwwrxl"))))
+    (build-system gnu-build-system)
+    (native-inputs (list autoconf automake))
+    (inputs (list pcre2))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-tests
+           (lambda _
+             (substitute* "Makefile.am" (("/bin/sh") (which "sh"))))))))
+    (home-page "https://sourceforge.net/projects/leafnode/")
+    (synopsis "NNTP news proxy")
+    (description
+     "Leafnode is a caching Usenet news proxy that enables online newsreaders
+to read news off-line and aggregates news from various NNTP servers into one.")
+    ;; Most of the code is under Expat license, with some GPL, LGPL exceptions.
+    (license license:gpl2+)))
+
 (define-public libquvi-scripts
   (package
     (name "libquvi-scripts")

base-commit: fc6bdaad57bf91609849623c5f485403c030cb49
-- 
2.41.0