From unknown Fri Jun 13 11:42:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51024] [PATCH] gnu: veracrypt: New package Resent-From: Ryan Sundberg Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Oct 2021 06:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51024 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51024@debbugs.gnu.org Cc: Ryan Sundberg X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16334169024589 (code B ref -1); Tue, 05 Oct 2021 06:56:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Oct 2021 06:55:02 +0000 Received: from localhost ([127.0.0.1]:38853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXeLt-0001Bw-Tw for submit@debbugs.gnu.org; Tue, 05 Oct 2021 02:55:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:41718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXeLs-0001BT-7k for submit@debbugs.gnu.org; Tue, 05 Oct 2021 02:55:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXeLr-00012C-AS for guix-patches@gnu.org; Tue, 05 Oct 2021 02:54:59 -0400 Received: from mail.arctype.co ([138.68.9.245]:55219) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXeLp-0002fa-4V for guix-patches@gnu.org; Tue, 05 Oct 2021 02:54:59 -0400 Received: from authenticated-user (mail.arctype.co [138.68.9.245]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by mail.arctype.co (Postfix) with ESMTPSA id 39D1013B22F; Tue, 5 Oct 2021 06:54:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=arctype.co; s=mail; t=1633416865; bh=CmWYZzvkN2S/eROgNZJk2ucOq0eyifs3gGpNfuo4Ies=; h=From:To:Cc:Subject:Date:From; b=T1uNuGOsOFzWu8Vquu8lUe+OZmKvad0XVuUHKKoqAnOuea+TLi/5kAFjSwROEmvwH 5nzTqtK0mkuoa3/9ushdIutTuQQ/fJGmP8aXuVFE5zFLmsbSSW8fD8oL9+eiJy6x4y Yvfi/hRxMsBVijv7jbT0KGDGcCd5PdT87f2oRmd09lGIwDtb+0cJXXwUr5KdDVWOoo hNgpxrnjiZMx5e6bZiNnr0xfDSrLaloFM45uggHy4GqCbh0O4jhnhsFEyEQV/sd0te sfd8kXgpy2Qu0QqX0j1NFcXs++Wyx69lkJ9APJz4wpSe3YtwFSK0XbdhpM0gU5iOn6 YjnMOde+gDxOw== From: Ryan Sundberg Date: Mon, 4 Oct 2021 23:54:18 -0700 Message-Id: <20211005065418.29878-1-ryan@arctype.co> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=138.68.9.245; envelope-from=ryan@arctype.co; helo=mail.arctype.co X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Adds a package for the Veracrypt disk encrption program * gnu/packages/crypto.scm: Add veracrypt --- gnu/packages/crypto.scm | 49 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index af1412c44e..42c9916582 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -43,6 +43,7 @@ #:use-module (gnu packages admin) #:use-module (gnu packages aidc) #:use-module (gnu packages attr) + #:use-module (gnu packages assembly) #:use-module (gnu packages autotools) #:use-module (gnu packages boost) #:use-module (gnu packages check) @@ -80,6 +81,7 @@ #:use-module (gnu packages tcl) #:use-module (gnu packages tls) #:use-module (gnu packages version-control) + #:use-module (gnu packages wxwidgets) #:use-module (gnu packages xml) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) @@ -1462,3 +1464,50 @@ via FUSE without root permissions. It is similar to EncFS, but provides additional security and privacy measures such as hiding file sizes and directory structure. However CryFS is not considered stable yet by the developers.") (license license:lgpl3+))) + +(define-public veracrypt + (package + (name "veracrypt") + (version "1.24") + (source + (origin + (method url-fetch) + (uri (string-append + "https://www.veracrypt.fr/code/VeraCrypt/snapshot/VeraCrypt_" + version ".tar.gz")) + (sha256 + (base32 "0nn44x7ldkblgkndrd726nkil5bsdaki7j11xi21pr1gjrp7kq2g")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'build-env + (lambda* (#:key outputs #:allow-other-keys) + (chdir "src") + (setenv "CC" "gcc") + (setenv "DESTDIR" (assoc-ref outputs "out")) + #t)) + (add-after 'install 'fix-install + (lambda* (#:key outputs version #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (install-file (string-append out "/usr/bin/veracrypt") (string-append out "/bin")) + (copy-recursively (string-append out "/usr/share/applications") (string-append out "/share/applications")) + (copy-recursively (string-append out "/usr/share/pixmaps") (string-append out "/share/pixmaps")) + (copy-recursively (string-append out "/usr/share/doc/veracrypt/HTML") (string-append out "/share/doc/veracrypt-1.24/HTML")) + (delete-file-recursively (string-append out "/usr")))))) + ; Veracrypt only has a test suite for Windows. + #:tests? #f)) + (native-inputs + `(("pkg-config" ,pkg-config) + ("yasm" ,yasm))) + (inputs + `(("fuse" ,fuse) + ("wxwidgets" ,wxwidgets))) + (propagated-inputs + `(("lvm2" ,lvm2))) + (home-page "https://www.veracrypt.fr/") + (synopsis "Disk encryption software") + (description "VeraCrypt is a free open source disk encryption software +based on TrueCrypt 7.1a.") + (license license:asl2.0))) -- 2.31.1 From unknown Fri Jun 13 11:42:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51024] [PATCH] gnu: veracrypt: New package Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Oct 2021 07:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51024 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ryan Sundberg , 51024@debbugs.gnu.org Received: via spool by 51024-submit@debbugs.gnu.org id=B51024.163341980117998 (code B ref 51024); Tue, 05 Oct 2021 07:44:01 +0000 Received: (at 51024) by debbugs.gnu.org; 5 Oct 2021 07:43:21 +0000 Received: from localhost ([127.0.0.1]:38940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXf6f-0004gD-8O for submit@debbugs.gnu.org; Tue, 05 Oct 2021 03:43:21 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:44868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXf6c-0004g1-EC for 51024@debbugs.gnu.org; Tue, 05 Oct 2021 03:43:19 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by albert.telenet-ops.be with bizsmtp id 27jG260090mfAB4067jGVh; Tue, 05 Oct 2021 09:43:16 +0200 Message-ID: <11e92801d4735f81e9b18263e93c65405b6c9fe9.camel@telenet.be> From: Maxime Devos Date: Tue, 05 Oct 2021 09:43:09 +0200 In-Reply-To: <20211005065418.29878-1-ryan@arctype.co> References: <20211005065418.29878-1-ryan@arctype.co> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-NbXBIhm1E+duSef+5+NE" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1633419796; bh=jBJ38vxo0dSbiKEjaHSann3vuqwufGb0G6vv2UE4EDM=; h=Subject:From:To:Date:In-Reply-To:References; b=MbDOGQJLsBa76iepXAh3ybcOSXeXMlBy+UDuEx+0k9uiS1FjTRuVKsFmT6HteYxJH QQtKulq4VhdHWAG8oi92wHMVTiLMtCohVgK+CExYxoLLzrWrTfwh6ZYfDBvR6eSxoi auy5fBAz6gNOk72FLB0BcfJFCNRR594lH4/iFcJjDPL6HZUAWKCCBCurBCa/ffGENH m8CQKsnrjFTnuavKEYS01nUOmvE3y7OX2yD3tfoGos3BDTp9HVF7YlLhxnzP5OvTae BgfdlaYvQHBdjFw4E3W7d+8WtZiabDVh7IH2qUkO/9vhsUhfNoippAo2+bruCHbbU2 kDRKzwOBEQPlQ== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-NbXBIhm1E+duSef+5+NE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ryan Sundberg via Guix-patches via schreef op ma 04-10-2021 om 23:54 [-0700= ]: > Adds a package for the Veracrypt disk encrption program >=20 > * gnu/packages/crypto.scm: Add veracrypt > --- > gnu/packages/crypto.scm | 49 +++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 49 insertions(+) >=20 > diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm > index af1412c44e..42c9916582 100644 > --- a/gnu/packages/crypto.scm > +++ b/gnu/packages/crypto.scm > @@ -43,6 +43,7 @@ > #:use-module (gnu packages admin) > #:use-module (gnu packages aidc) > #:use-module (gnu packages attr) > + #:use-module (gnu packages assembly) > #:use-module (gnu packages autotools) > #:use-module (gnu packages boost) > #:use-module (gnu packages check) > @@ -80,6 +81,7 @@ > #:use-module (gnu packages tcl) > #:use-module (gnu packages tls) > #:use-module (gnu packages version-control) > + #:use-module (gnu packages wxwidgets) > #:use-module (gnu packages xml) > #:use-module ((guix licenses) #:prefix license:) > #:use-module (guix packages) > @@ -1462,3 +1464,50 @@ via FUSE without root permissions. It is similar = to EncFS, but provides > additional security and privacy measures such as hiding file sizes and d= irectory > structure. However CryFS is not considered stable yet by the developers= .") > (license license:lgpl3+))) > + > +(define-public veracrypt > + (package > + (name "veracrypt") > + (version "1.24") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "https://www.veracrypt.fr/code/VeraCrypt/snapshot/VeraCrypt= _" > + version ".tar.gz")) On , I see there's a version VeraCrypt 1.24-Update8 with bug fixes. > + (sha256 > + (base32 "0nn44x7ldkblgkndrd726nkil5bsdaki7j11xi21pr1gjrp7kq2g"))= )) > + (build-system gnu-build-system) > + (arguments > + '(#:phases > + (modify-phases %standard-phases > + (delete 'configure) > + (add-before 'build 'build-env > + (lambda* (#:key outputs #:allow-other-keys) > + (chdir "src") > + (setenv "CC" "gcc") I'm surprised (setenv "CC" "gcc") was necessary, because src/Makefile sets "export CC ?=3D gcc". Use (cc-for-target) instead of "gcc" to make veracrypt cross-compilable. The makefile uses "g++" in some places, shis might need to be (g++-for-targ= et) instead. The makefile adds -maes, -msse2 and -msse3 on i*86 and x86_64. You might want to check these are normally available on all i686 CPUs. The makefile calls "uname -m" to determine the architecture that's it being compiled for, while that command determines the architecture of the build machine. There's a bunch of files in src/Boot/EFI that look like binary files. These need to be removed or built from source. > + (setenv "DESTDIR" (assoc-ref outputs "out")) > + #t)) > + (add-after 'install 'fix-install > + (lambda* (#:key outputs version #:allow-other-keys) > + (let ((out (assoc-ref outputs "out"))) > + (install-file (string-append out "/usr/bin/veracrypt") (= string-append out "/bin")) > + (copy-recursively (string-append out "/usr/share/applica= tions") (string-append out "/share/applications")) > + (copy-recursively (string-append out "/usr/share/pixmaps= ") (string-append out "/share/pixmaps")) > + (copy-recursively (string-append out "/usr/share/doc/ver= acrypt/HTML") (string-append out "/share/doc/veracrypt-1.24/HTML")) > + (delete-file-recursively (string-append out "/usr")))))) > + ; Veracrypt only has a test suite for Windows. > + #:tests? #f)) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("yasm" ,yasm))) > + (inputs > + `(("fuse" ,fuse) > + ("wxwidgets" ,wxwidgets))) > + (propagated-inputs > + `(("lvm2" ,lvm2))) > + (home-page "https://www.veracrypt.fr/") > + (synopsis "Disk encryption software") > + (description "VeraCrypt is a free open source disk encryption softwa= re > +based on TrueCrypt 7.1a.") > + (license license:asl2.0))) src/Boot/Bios.h has a line =E2=80=98 Copyright (c) 2008-2012 TrueCrypt Deve= lopers Association and which is governed by the TrueCrypt License 3.0.=E2=80=99 That license is non-free according to http://directory.fsf.org/wiki/License= :TrueCrypt. That line appears in other source files as well. Greetings, Maxime. --=-NbXBIhm1E+duSef+5+NE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYVwCDRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7li+AQC18XPAmiptfeZrqx9Ovboy0Mdw y5Vb51uBsQZqEkJFmQEAmSXEUJK+YSpSv8fb8DCbkiWvarL4tFashJzpe6JfVQM= =69y1 -----END PGP SIGNATURE----- --=-NbXBIhm1E+duSef+5+NE-- From unknown Fri Jun 13 11:42:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51024] (no subject) References: <20211005065418.29878-1-ryan@arctype.co> In-Reply-To: <20211005065418.29878-1-ryan@arctype.co> Resent-From: Steven Roose Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Sep 2023 08:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51024 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51024@debbugs.gnu.org Received: via spool by 51024-submit@debbugs.gnu.org id=B51024.169390372117369 (code B ref 51024); Tue, 05 Sep 2023 08:49:02 +0000 Received: (at 51024) by debbugs.gnu.org; 5 Sep 2023 08:48:41 +0000 Received: from localhost ([127.0.0.1]:53579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdRjk-0004W5-Oc for submit@debbugs.gnu.org; Tue, 05 Sep 2023 04:48:40 -0400 Received: from hosted.mailcow.de ([2a00:f820:417::202]:33157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdRjh-0004VJ-Bt for 51024@debbugs.gnu.org; Tue, 05 Sep 2023 04:48:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=roose.io; s=default; t=1693903708; h=from:date:message-id:to:mime-version:content-type: content-transfer-encoding; bh=Vi00h/FlX4gfOOGytgvf2c6ELLrgf7OnkGQSL0st6WE=; b=QegbopJoAqCoWLngL82sMfiEEQT5V1Y900K4VMQWR4jlQsEZ0HfFSyOEG2bWMZESkYSPe7 xwwMNp7yi1fJ5qGwBx1ufgutHDSsX+3y2jJlex00uddAJdQzTKdzHD3QkX2VpQ3/XoYi29 eFdsUhpDc1Qf1+7OaVdpEptYaIC4oFj5vFpDyEfOMG/QcYfA3iq7pv0blNGHooQw7HAFZs x7SbFZ+JSqJp1nrg5aBhDLTgHQ88gldNQNO+oG+stU2xSxj+eIvxElUYGTLer6xla/8aZF kCcBY1JbcuVYDjiKy6u+PpwkPX9aPwbmtGnE91ygdciPdrLyDQyKAY+OwwHzAA== Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 99F1A5C0A27 for <51024@debbugs.gnu.org>; Tue, 5 Sep 2023 10:48:28 +0200 (CEST) Message-ID: <9aa3c295-ecb1-95b5-9730-f241a3fa4e45@roose.io> Date: Tue, 5 Sep 2023 09:48:28 +0100 MIME-Version: 1.0 Content-Language: en-US From: Steven Roose Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 4.8 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Any update on this? I'm interested in this package.. I see VeraCrypt atm is at version 1.25.9, so this package definition is one version behind. Content analysis details: (4.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [2a00:f820:417:0:0:0:0:202 listed in] [zen.spamhaus.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [2a00:f820:417:0:0:0:0:202 listed in] [list.dnswl.org] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.8 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Any update on this? I'm interested in this package.. I see VeraCrypt atm is at version 1.25.9, so this package definition is one version behind. Content analysis details: (3.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [2a00:f820:417:0:0:0:0:202 listed in] [zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [2a00:f820:417:0:0:0:0:202 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Any update on this? I'm interested in this package.. I see VeraCrypt atm is at version 1.25.9, so this package definition is one version behind.