GNU bug report logs

#49556 Add wolfSSL and use it with VDE 2, fixing VDE 2's dependency on obsolete OpenSSL 1.0

PackageSource(s)Maintainer(s)
guix-patches PTS Buildd Popcon
Full log

Message #28 received at 49556@debbugs.gnu.org (full text, mbox, reply):

Received: (at 49556) by debbugs.gnu.org; 3 Aug 2021 23:57:27 +0000
From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 03 19:57:27 2021
Received: from localhost ([127.0.0.1]:41786 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1mB4Hm-0001mc-Et
	for submit@debbugs.gnu.org; Tue, 03 Aug 2021 19:57:27 -0400
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:34389)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@famulari.name>) id 1mB4Ha-0001ls-AG
 for 49556@debbugs.gnu.org; Tue, 03 Aug 2021 19:57:18 -0400
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 2F6885C0138;
 Tue,  3 Aug 2021 19:57:09 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute4.internal (MEProxy); Tue, 03 Aug 2021 19:57:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=from:to:subject:date:message-id:in-reply-to:references
 :mime-version:content-type:content-transfer-encoding; s=mesmtp;
 bh=kKpSlT8IIDbHMWLxVdZ3qWabbk7Pw+cAQJTnS0yB72I=; b=F9rG9/XFNJni
 Nisoz7UOm/HOWn/VBNYtUPfnsVafyliSEXnEG1R/eYE5NbHGqExEi8CL3SCteh7B
 gvDvNT6cxAJitIK/5JDSPuHbz75Q1amrx/CChRcVx+DRTpXeOtqT/rKRZA4fkSgT
 U6SGXyePqLQPQwmwlk9XXbc8tz/BbO4=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm3; bh=kKpSlT8IIDbHMWLxVdZ3qWabbk7Pw+cAQJTnS0yB7
 2I=; b=Bv9Nwex1b74l7emm0Ibc6nLI30WK0edCCQMPJ/yXIv/Xm8NwgVFsB/8Wk
 c/VHEEatsZoy/6916LdfK5hN5iJvYI4Puq8gSDsLRMKb3UXOioK/qrXUd+I4uHmv
 fNzk7hEehRZd9I9flN7S+9Iq03gukjA5w468X+Xa4VwDWQNV/0ield2/RJ+Tk1sm
 doL/94eU5TXvc9zU1PLVH5ArlkY1WE2U8Hf/dyqHK6RqDmTK5Q3EN3df25cB6T0z
 uIs0QiPvKvbPH/iYY+GzJiJX/m/ulkneTfjIO9S53Cd/z6IssvwGAsnL3hsV0aWp
 BTw3/l0G2bXkkIIWxSpPXlD/2mOhQ==
X-ME-Sender: <xms:1dcJYT9z2EZ9wsqQJXNT86vJX5d720Oz3ZFEHofPe4N_ZeVGdzEMnQ>
 <xme:1dcJYfvHvcmmqNBCMmDSNIbv0GMNgltHmV-D8hGnM1EFSZDHJ8NizpFcyEZkipnx3
 xPKruDJ57bB_h7Fgw>
X-ME-Received: <xmr:1dcJYRAAPmQAMTbZAv6ia0DLg47dveRJFRHziffn9FyjineapFI7izQBo4taovvlypDjy1m0wECkqs0U7IYrjQCGUK2UnJGRvDW4FNO-kde8EabhuK4eRDhy>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrieehgddviecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfgggtgfesthekre
 dtredtjeenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr
 rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhephffgfedutdefudeuhfdtleegieetfe
 euueehudfhgefgfffgveehueefvdegjedvnecuffhomhgrihhnpehgihhthhhusgdrtgho
 mhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvg
 hosehfrghmuhhlrghrihdrnhgrmhgv
X-ME-Proxy: <xmx:1dcJYffSF5b9bVMzFPaKjKxOG4lSoqMCkXWBDZ65CkzS8bHcBz2U0Q>
 <xmx:1dcJYYOBpjnCPWrsM22TmakshLJLuXrYgXELzFjwFsxJhCJ_H-pooA>
 <xmx:1dcJYRlz66N1IZo8TtQGjH5_oxn0LjW_P9j0k3plKrTAv5k5fpLx6A>
 <xmx:1dcJYTbfthzMPvNQtp35BohFhvTiCRCVpRo7ormn4T2gGcgLgOsVcw>
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <49556@debbugs.gnu.org>; Tue, 3 Aug 2021 19:57:08 -0400 (EDT)
From: Leo Famulari <leo@famulari.name>
To: 49556@debbugs.gnu.org
Subject: [PATCH v2 2/2] gnu: VDE 2: Update to 2.3.2-0.8599321.
Date: Tue,  3 Aug 2021 19:56:51 -0400
Message-Id: <4bd1f59c75dd59d9d68a642040ddf0147bc4f7d1.1628034994.git.leo@famulari.name>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <cover.1628034994.git.leo@famulari.name>
References: <cover.1628034994.git.leo@famulari.name>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 49556
X-BeenThere: debbugs-submit@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@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
Updating to this unreleased revision allows us to package VDE 2 with
wolfSSL instead of the obsolete OpenSSL 1.0:

https://github.com/virtualsquare/vde-2/issues/2

* gnu/packages/networking.scm (vde2): Update to 2.3.2-0.8599321.
[source]: Use git-fetch.
[native-inputs]: Add autoconf, automake, and libtool
[inputs]: Replace openssl-1.0 with wolfssl.
[arguments]: Add a 'fix-configure' phase.
---
 gnu/packages/networking.scm | 35 +++++++++++++++++++++++++++--------
 1 file changed, 27 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 05fd092b23..2263d26c41 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -13,7 +13,7 @@
 ;;; Copyright © 2016 Benz Schenk <benz.schenk@uzh.ch>
 ;;; Copyright © 2016, 2017 Pjotr Prins <pjotr.guix@thebird.nl>
 ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
-;;; Copyright © 2017, 2020 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2017, 2020, 2021 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2017, 2018, 2019 Rutger Helling <rhelling@mykolab.com>
 ;;; Copyright © 2017, 2019 Gábor Boskovits <boskovits@gmail.com>
@@ -3833,22 +3833,41 @@ some traces for unprivileged users.")
                    license:lgpl2.1+)))) ;for the libsupp subdirectory
 
 (define-public vde2
+  (let ((commit "8599321526d0a31925fe55cabbe132b752cb268a")
+        (revision "0"))
   (package
     (name "vde2")
-    (version "2.3.2")
+    (version (git-version "2.3.2" revision commit))
     (source
      (origin
-       (method url-fetch)
-       (uri "mirror://sourceforge/vde/vde2/2.3.2/vde2-2.3.2.tar.gz")
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/virtualsquare/vde-2")
+              (commit commit)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "14xga0ib6p1wrv3hkl4sa89yzjxv7f1vfqaxsch87j6scdm59pr2"))))
+        (base32 "1dirkcbjh7c5kz7d065g1yq7vg8jl93hql3brfxd84k8hc8nqjb2"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:parallel-build? #f))           ; Build fails if #t.
+     `(#:parallel-build? #f ; Build fails if #t.
+       #:phases
+       (modify-phases %standard-phases
+         ;; Although VDE-2 has been updated upstream to use wolfSSL
+         ;; instead of OpenSSL, the configure script was not updated to
+         ;; check for wolfSSL instead of OpenSSL.
+         (add-after 'unpack 'fix-wolfssl-configuration
+           (lambda _
+             (substitute* "configure.ac"
+               (("crypto") "wolfssl")
+               (("EVP_EncryptInit") "wc_Chacha_Process")))))))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)))
     (inputs
      `(("python" ,python)
        ("libpcap" ,libpcap)
-       ("openssl" ,openssl-1.0)))       ; Build fails with 1.1.
+       ("wolfssl" ,wolfssl)))
     (home-page "https://github.com/virtualsquare/vde-2")
     (synopsis "Virtual Distributed Ethernet")
     (description "VDE is a set of programs to provide virtual software-defined
@@ -3860,7 +3879,7 @@ cables.")
                    license:lgpl2.1       ; libvdeplug
                    (license:non-copyleft ; slirpvde
                     "file://COPYING.slirpvde"
-                    "See COPYING.slirpvde in the distribution.")))))
+                    "See COPYING.slirpvde in the distribution."))))))
 
 (define-public haproxy
   (package
-- 
2.32.0





Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Dec 22 16:01:53 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.