GNU bug report logs - #69382
[PATCH 0/2] Kea DHCP

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Gabriel Wicki <gabriel@HIDDEN>; Keywords: patch; dated Sun, 25 Feb 2024 14:12:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Feb 2024 14:11:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 25 09:11:29 2024
Received: from localhost ([127.0.0.1]:47437 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1reFE0-0007ku-PN
	for submit <at> debbugs.gnu.org; Sun, 25 Feb 2024 09:11:29 -0500
Received: from lists.gnu.org ([209.51.188.17]:46800)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gabriel@HIDDEN>) id 1reFDy-0007ki-Rh
 for submit <at> debbugs.gnu.org; Sun, 25 Feb 2024 09:11:27 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <gabriel@HIDDEN>)
 id 1reFDZ-0006Ij-Nq
 for guix-patches@HIDDEN; Sun, 25 Feb 2024 09:11:01 -0500
Received: from cotopaxi.ee.ethz.ch ([129.132.148.196])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <gabriel@HIDDEN>)
 id 1reFDW-0002k2-UH
 for guix-patches@HIDDEN; Sun, 25 Feb 2024 09:11:01 -0500
Received: from localhost (antispam.ee.ethz.ch [129.132.2.16])
 by cotopaxi.ee.ethz.ch (Postfix) with ESMTP id E09D61FFD0
 for <guix-patches@HIDDEN>; Sun, 25 Feb 2024 15:10:51 +0100 (CET)
X-Virus-Scanned: by amavisd at antispam.ee.ethz.ch
Received: from cotopaxi.ee.ethz.ch ([129.132.148.196])
 by localhost (antispam.ee.ethz.ch [129.132.2.16]) (amavisd-new, port 10028)
 with ESMTP id znNjbu60tumc for <guix-patches@HIDDEN>;
 Sun, 25 Feb 2024 15:10:48 +0100 (CET)
Received: from blackbox (212-51-128-25.fiber7.init7.net [212.51.128.25])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits)
 server-digest SHA256) (Client did not present a certificate)
 (Authenticated sender: gabriel)
 by cotopaxi.ee.ethz.ch (Postfix) with ESMTPSA
 for <guix-patches@HIDDEN>; Sun, 25 Feb 2024 15:10:48 +0100 (CET)
Date: Sun, 25 Feb 2024 15:10:45 +0100
From: Gabriel Wicki <gabriel@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/2] Kea DHCP
Message-ID: <tvkayl2ynl2lc2iqxpnbggoe422l6zdsf7q6woc22c5wzve25x@yooxjzqigvfl>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="57xrgmb75cyzrszq"
Content-Disposition: inline
Received-SPF: permerror client-ip=129.132.148.196;
 envelope-from=gabriel@HIDDEN; helo=cotopaxi.ee.ethz.ch
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 T_SCC_BODY_TEXT_LINE=-0.01,
 T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


--57xrgmb75cyzrszq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

since isc-dhcp has been EOLd for about 2 years now i figured it was a good
opportunity to package ISC's kea-dhcp to officially start isc-dhcp's
deprecation in Guix.

Gabriel Wicki (2):
  gnu: Add log4cplus.
  gnu: Add kea-dhcp.

 gnu/packages/admin.scm   | 29 +++++++++++++++++++++++++++++
 gnu/packages/logging.scm | 24 ++++++++++++++++++++++++
 2 files changed, 53 insertions(+)


base-commit: 386080366c642d887f9156059e4e894cd2d4e9b1
-- 
2.41.0


--57xrgmb75cyzrszq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="0001-gnu-Add-log4cplus.patch"

From 64bab5e5b44bf5d18f75677179cd6315432b5d64 Mon Sep 17 00:00:00 2001
Message-ID: <64bab5e5b44bf5d18f75677179cd6315432b5d64.1708869840.git.gabriel@HIDDEN>
In-Reply-To: <cover.1708869840.git.gabriel@HIDDEN>
References: <cover.1708869840.git.gabriel@HIDDEN>
From: Gabriel Wicki <gabriel@HIDDEN>
Date: Sun, 25 Feb 2024 14:58:56 +0100
Subject: [PATCH 1/2] gnu: Add log4cplus.

* gnu/packages/logging.scm (log4cplus): New variable.

Change-Id: I83f55dd2ee86ec798e3a8bc17659cc209fdf8533
---
 gnu/packages/logging.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm
index 47e8cd39c2..40916aaf7e 100644
--- a/gnu/packages/logging.scm
+++ b/gnu/packages/logging.scm
@@ -59,6 +59,30 @@ (define-module (gnu packages logging)
   #:use-module (gnu packages tcl)
   #:use-module (gnu packages tls))
 
+(define-public log4cplus
+  (package
+    (name "log4cplus")
+    (version "2.1.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/log4cplus/log4cplus")
+                    (commit (string-append
+                             "REL_"
+                             (string-replace-substring version "." "_")))
+                    (recursive? #t)))
+              (sha256
+               (base32
+                "1h3inzfrg5j8wb3m7nf2bpyzwyzpxzg5mzxqwwqgkbplnl5whzfd"))))
+    (build-system gnu-build-system)
+    (home-page "https://log4cplus.github.io/log4cplus/")
+    (synopsis "Log library for C++")
+    (description
+     "log4cplus is a C++ library providing a logging API providing
+thread-safe, flexible and arbitrarily granular control over log management and
+configuration.  It is modeled after the Log4j Java API.")
+    (license license:expat)))
+
 (define-public log4cpp
   (package
     (name "log4cpp")
-- 
2.41.0


--57xrgmb75cyzrszq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="0002-gnu-Add-kea-dhcp.patch"

From 60e2d2ed961467e42899a28d65c77bf1cfc508f7 Mon Sep 17 00:00:00 2001
Message-ID: <60e2d2ed961467e42899a28d65c77bf1cfc508f7.1708869840.git.gabriel@HIDDEN>
In-Reply-To: <cover.1708869840.git.gabriel@HIDDEN>
References: <cover.1708869840.git.gabriel@HIDDEN>
From: Gabriel Wicki <gabriel@HIDDEN>
Date: Sun, 25 Feb 2024 15:01:07 +0100
Subject: [PATCH 2/2] gnu: Add kea-dhcp.

* gnu/packages/admin.scm (kea-dhcp): New variable.

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

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 601c3b8fac..e4be6f2cc5 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -146,6 +146,7 @@ (define-module (gnu packages admin)
   #:use-module (gnu packages libunwind)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages logging)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages mail)
@@ -1613,6 +1614,34 @@ (define-public isc-dhcp
       (license license:mpl2.0)
       (properties '((cpe-name . "dhcp"))))))
 
+(define-public kea-dhcp
+  (package
+    (name "kea-dhcp")
+    (version "2.5.5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.isc.org/isc-projects/kea.git")
+                    (commit (string-append "Kea-" version))))
+              (sha256
+               (base32
+                "15p577z6hrbn97dr89h8fgkccl5srp1bsw0xrcsjmsqjnz07dz8d"))))
+    (build-system gnu-build-system)
+    (native-inputs (list automake autoconf pkg-config))
+    (inputs (list boost libtool log4cplus botan))
+    (home-page "https://www.isc.org/kea/")
+    (synopsis "Dynamic Host Configuration Protocol (DHCP) tools")
+    (description
+     "ISC's Dynamic Host Configuration Protocol (DHCP) distribution provides a
+reference implementation of all aspects of DHCP, through a suite of DHCP
+tools: server, client, and relay agent.
+
+This is the reference software to deprecate ISC DHCP.")
+    (license license:mpl2.0)
+    (properties '((cpe-name . "dhcp")))))
+
+(deprecated-package "isc-dhcp" kea-dhcp)
+
 (define-public radvd
   (package
     (name "radvd")
-- 
2.41.0


--57xrgmb75cyzrszq--




Acknowledgement sent to Gabriel Wicki <gabriel@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#69382; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 25 Feb 2024 14:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.