From patchwork Sat Jan 20 09:50:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 2167 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3CA8A27BBE9; Sat, 20 Jan 2024 09:52:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4AA9227BBE2 for ; Sat, 20 Jan 2024 09:52:06 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rR81B-0007rD-Ul; Sat, 20 Jan 2024 04:52:02 -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 ) id 1rR819-0007qy-Re for guix-patches@gnu.org; Sat, 20 Jan 2024 04:52:00 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rR819-0004dh-Dj for guix-patches@gnu.org; Sat, 20 Jan 2024 04:51:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rR81C-0004oq-45 for guix-patches@gnu.org; Sat, 20 Jan 2024 04:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68605] [PATCH 00/38] Split (gnu packages golang) part III Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Jan 2024 09:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68605 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68605@debbugs.gnu.org Cc: Sharlatan Hellseher X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170574430118491 (code B ref -1); Sat, 20 Jan 2024 09:52:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Jan 2024 09:51:41 +0000 Received: from localhost ([127.0.0.1]:60887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rR80q-0004oB-T1 for submit@debbugs.gnu.org; Sat, 20 Jan 2024 04:51:41 -0500 Received: from lists.gnu.org ([2001:470:142::17]:60284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rR80f-0004nk-TD for submit@debbugs.gnu.org; Sat, 20 Jan 2024 04:51:40 -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 ) id 1rR80S-0007nX-R1 for guix-patches@gnu.org; Sat, 20 Jan 2024 04:51:17 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rR80I-0004Yb-6v for guix-patches@gnu.org; Sat, 20 Jan 2024 04:51:13 -0500 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-337b38d6568so1470354f8f.1 for ; Sat, 20 Jan 2024 01:51:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705744263; x=1706349063; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ZQamYvhbqGBy4JEf0DFdHctXYIXW+jmeK4TF0Zn3+xo=; b=WAzRJzU5CXLCNhDYD9TlPGjwWkiWU+HqpgAQHeuqMT6Z2+HaiHO/H56dkoumRflANf +/k5B2JEZ39BKxTFhzYPYB3Q9uYv4WtWrDblBiCAG+8v4DFxYICBK1/cAVgASBEoQhTP BpDloqWNs1Z/3IMXSD+2g9UPhw6Z/tvxZ8EKq26d0jPvdYGxRbvQoj5ttu2xiueAlKAf psqyR3QuMT6ae9EzyuwLA0DHDU6+8HM0OqJUMsNN5bFZiqZ7zxytkFNqGJ463g1n+kUR yQUCakyJIn4hhu/ZoecKH2GvXbxfC47DHkB5h+I0gtVGLhFLVvW0gGKQ3+BzlJtis9iN Md6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705744263; x=1706349063; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZQamYvhbqGBy4JEf0DFdHctXYIXW+jmeK4TF0Zn3+xo=; b=swB7iOgZgOHgtHRtj5srEy4wTHoIlBge2R0Xxjr0cTwRngiK7shjuGJl1CIH2indmP x0oV5cFfdC8Skde/aEb/w9I8QacffHaQ11sTqS1fAHTMmIO9yZmMI8tAWsFR0x6SHdYK ST+qsINlKRaAwFtMs7vGnc1wXQoPSKoFfxsRQorZ3ZIbj4F042rRYx51f4/LzNfx+iZQ mbNjzKyD/lD5YbjsVJu82xqquS/3U8FVt2jZjHkmsyBRwuW+JvemY4IdX5nTUaZjNQ8z O/PrYh8LL3bhIi950eB2LVx8APbLiIQI01Gln+WUqnxoUzBk7eozdG80T0Y3nGQ7I7mP Gbdw== X-Gm-Message-State: AOJu0YzEWYDcf8WmzQ6xASaIqkMGsD9toHPAz1M8XrtwCOf7P5S8O3aP u42ZghU7XbMDfaXbOQpyag+oX+Qd13r2qzF7uzq9kCw7lYy7MfwHOQf11rdrLUs= X-Google-Smtp-Source: AGHT+IFY+5mukNmE1dIMdGRo6tJEijAeAm69R3RuZkeH6N9Xx3mHrHDQkerfFbB2Qa5R8Xo2ClqpJw== X-Received: by 2002:a05:600c:2199:b0:40e:4088:a577 with SMTP id e25-20020a05600c219900b0040e4088a577mr594702wme.163.1705744262315; Sat, 20 Jan 2024 01:51:02 -0800 (PST) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id ay41-20020a05600c1e2900b0040e9e03160bsm4766181wmb.16.2024.01.20.01.51.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jan 2024 01:51:01 -0800 (PST) From: Sharlatan Hellseher Date: Sat, 20 Jan 2024 09:50:53 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=sharlatanus@gmail.com; helo=mail-wr1-x434.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hi Guix! This is part III of the patch series that splits the monolithic (GNU packages golang) into logical blocks. This time, I have focused on the cryptography-related scope, which includes Golang modules (libraries) related to encryption algorithms, hashing functions, TLS, key management, digital signatures, and password management. As with parts I and II, all local checks have passed successfully. I have made sure not to extend the limit of the master branch on affected packages. Modules which include packages from (gnu packages golang-crypto): ┌──── │ grep -El $(grep define-public gnu/packages/golang-crypto.scm |cut -d" " -f2 | paste -s -d"\\|" -) gnu/packages/*.scm | sort └──── gnu/packages/backup.scm gnu/packages/file-systems.scm gnu/packages/golang-crypto.scm gnu/packages/golang.scm gnu/packages/golang-web.scm gnu/packages/ipfs.scm gnu/packages/mail.scm gnu/packages/password-utils.scm gnu/packages/textutils.scm gnu/packages/uucp.scm gnu/packages/version-control.scm Modules which use (gnu packages golang-crypto): ┌──── │ grep -r -l "golang-crypto" . | grep ".*\.scm" | sort └──── ./gnu/packages/backup.scm ./gnu/packages/file-systems.scm ./gnu/packages/golang-crypto.scm ./gnu/packages/golang.scm ./gnu/packages/golang-web.scm ./gnu/packages/ipfs.scm ./gnu/packages/mail.scm ./gnu/packages/password-utils.scm ./gnu/packages/textutils.scm ./gnu/packages/uucp.scm ./gnu/packages/version-control.scm Make sure all packages from (gnu packages golang-crypto) are still buildable: ┌──── │ ./pre-inst-env guix build $(grep define-public gnu/packages/golang-crypto.scm |cut -d" " -f2) └──── /gnu/store/20w6z4x1sdx0z2dwfllqrni26hxv5myk-go-lukechampine-com-blake3-1.1.5 /gnu/store/xaaxwcjjr5nyajks56ydsiciqij0kif9-go-gitlab-com-yawning-edwards25519-extra-0.0.0-0.2149dca /gnu/store/5cqgkl2rb62z27f6llsk8k85srrr76hg-go-github-com-xanzy-ssh-agent-0.2.1 /gnu/store/dql4whx3i94p83ma8q9gpsfkapp84bfc-go-github-com-shadowsocks-go-shadowsocks2-0.1.3 /gnu/store/sq3wgyvpl7m4nl3k2fkgq24ysgqbi4vm-go-github-com-riobard-go-bloom-0.0.0-0.cdc8013 /gnu/store/1nb2v8l672y2ysnxw87abh0rshjkjbh6-go-github-com-rfjakob-eme-1.1.2 /gnu/store/yqbrzhv0p2qr9xq6q2jk5xsfzcdvzi4a-go-github-com-refraction-networking-utls-1.6.0 /gnu/store/aaad70fljmgcq770w0wsm0jlifnf1vi4-go-github-com-protonmail-go-crypto-0.0.0-20220623141421-5afb4c282135 /gnu/store/f544q20h8rzdzfg1sij717whywcrpswg-go-github-com-operatorfoundation-ed25519-0.0.0-0.b22b4bd /gnu/store/fz69mp9dnl808q2l4wvbrd2mv59vfhlk-go-github-com-quic-go-qtls-go1-20-0.3.4 /gnu/store/wa54xggjfp4hl9r5xbvxzlqz71d80j6l-go-github-com-multiformats-go-multihash-1.0.8-0.97cdb56 /gnu/store/ml9myd2mnp3lsw5f0i220dhbkppy9yqf-go-github-com-minio-sha256-simd-0.1.1 /gnu/store/hlnz0p3ifa7r13z6iy090h2rvkgxvzml-go-github-com-minio-blake2b-simd-0.0.0-0.3f5f724 /gnu/store/qnybjzy9piwpf49s4hr33s9q3cf9lmvl-go-github-com-marten-seemann-qtls-0.4.1 /gnu/store/6r589q68il2ijrkqy5q3yw2ywk24fv1g-go-github-com-marten-seemann-chacha20-0.2.0 /gnu/store/axh4f6c1kl0wii1j756m5qcf9hlxa9vh-go-github-com-libp2p-go-libp2p-peer-2.3.8-0.993d742 /gnu/store/ihvcn12yrr0jfqlkjawb19a04v8c5lga-go-github-com-libp2p-go-libp2p-crypto-2.0.1-0.7240b40 /gnu/store/z9halh9na6x8y0h88c8vwlw1ja42090k-go-github-com-jcmturner-aescts-v2-2.0.0 /gnu/store/68ba5vkkqaqf9b8q6cjsdar43pvfb9kh-go-github-com-gxed-hashland-keccakpg-0.0.0-0.d9f6b97 /gnu/store/rhp67dx6ksr117llcypm342b2hwm7p0f-go-github-com-gaukas-godicttls-0.0.4 /gnu/store/92rcmjpchhgs2xpaxd8d0hbdqr64d1qn-go-github-com-flynn-noise-1.0.0 /gnu/store/y780h1h51fr4bs4dwaw4iihgzffkjdsw-go-github-com-emersion-go-pgpmail-0.2.0 /gnu/store/niwvfhwxlj6fysnh1kl1fg3dcvzql65y-go-github-com-dvsekhvalnov-jose2go-1.5.0 /gnu/store/0366llbswq061v2n1j14iyi4h2s55na3-go-github-com-cloudflare-circl-1.3.6 /gnu/store/5p0z1i8y83mla9mpzbk30wxbz45c0qrv-go-github-com-cespare-xxhash-2.1.2 /gnu/store/s2qdkq60hhly6488i9cw1gn90qh78ixb-go-github-com-btcsuite-btcd-btcec-0.12.0-beta-0.67e573d /gnu/store/knbc42wsq30fshjsxdrahxia4i6yv383-go-github-com-aperturerobotics-jacobsa-crypto-1.0.1-0.b1eb679 /gnu/store/697gzhy2vmlhpi464h826djw09bqjj6x-go-github-com-aead-chacha20-0.0.0-0.8b13a72 /gnu/store/nl6lx7rf4467qqbdfyw14i7wvc44hyk2-go-github-com-99designs-go-keyring-1.2.2 /gnu/store/x33v0vxgflh6z79fxr5pknh6lh9vqywb-go-filippo-io-edwards25519-1.0.0 /gnu/store/fw46ivw7h98scgwj208270dsnm2ixr91-go-filippo-io-age-1.1.1 List all dependent packages and make sure all of them are buildable: ┌──── │ ./pre-inst-env guix refresh --list-dependent $(grep define-public gnu/packages/golang-crypto.scm |cut -d" " -f2) └──── Building the following 17 packages would ensure 45 dependent packages are rebuilt: pass-age@1.7.4a1 ssh-to-age@1.1.2 miniflux@2.0.46 csvdiff@1.4.0 aws-vault@6.6.2 lfs-s3@0.1.5 restic-rest-server@0.11.0 gx@0.14.3 gx-go@1.9.0 yggdrasil@0.5.4 aerc@0.15.2 gocryptfs@2.4.0 bitmask@0.21.11 torbrowser@13.0.8 kubo@0.15.0 Some packages were broken before migration: • chezmoi • nncp ┌──── │ ./pre-inst-env guix build pass-age@1.7.4a1 ssh-to-age@1.1.2 miniflux@2.0.46 csvdiff@1.4.0 aws-vault@6.6.2 lfs-s3@0.1.5 restic-rest-server@0.11.0 gx@0.14.3 gx-go@1.9.0 yggdrasil@0.5.4 aerc@0.15.2 gocryptfs@2.4.0 bitmask@0.21.11 torbrowser@13.0.8 kubo@0.15.0 └──── /gnu/store/gkkkb03m2rkkx7jd7cpz75s87qm2fhr7-kubo-0.15.0 /gnu/store/4znzwjj6z7miciq2d7hshk8hfya6p5k2-torbrowser-13.0.8 /gnu/store/r8a2n23dl217cc6d5fjw2h7r1p1q4cf3-bitmask-0.21.11 /gnu/store/5352aqlp93yfhmrksrhwvpc3yappk7vf-gocryptfs-2.4.0 /gnu/store/ip92lp7wzi6ng3viwfqzgqljnsj5flwf-aerc-0.15.2 /gnu/store/31aj7nkk1ydi63cda2a685ljv8fl5w23-yggdrasil-0.5.4 /gnu/store/8k87ibgz6l6lxhxn2813vp63flz8ckjy-gx-go-1.9.0 /gnu/store/1awkjcim94z7ijvsa0ryxyy2jcb7vizj-gx-0.14.3 /gnu/store/kj8zs2gkw3icr3bj5z36fn91j5nz241s-restic-rest-server-0.11.0 /gnu/store/0xycsp89lb51dsjkr89jjdqk8h3g53pf-lfs-s3-0.1.5 /gnu/store/05qmy85qlmjxaw6mrbjzni9i0g7akf8r-aws-vault-6.6.2 /gnu/store/94wh24xpds8ikwwskkqlbwij40m7rxk5-csvdiff-1.4.0 /gnu/store/pk17npw71d3h3bj741m26wxrvpi6r02r-miniflux-2.0.46 /gnu/store/p5ndp17f73a80yvzpjaxjawi4nfbgm7p-ssh-to-age-1.1.2 /gnu/store/6xlljpyx3yyn417a0ghkx4mxg8a6300a-pass-age-1.7.4a1 Sharlatan Hellseher (38): gnu: Add (gnu packages golang-crypto) module. gnu: go-github-com-pquerna-cachecontrol: Move to (gnu packages golang-web). gnu: go-github-com-multiformats-go-multihash: Move to (gnu packages golang-crypto). gnu: go-github-com-riobard-go-bloom: Move to (gnu packages golang-crypto). gnu: go-github-com-libp2p-go-libp2p-crypto: Move to (gnu packages golang-crypto). gnu: go-github-com-shadowsocks-go-shadowsocks2: Move to (gnu packages golang-crypto). gnu: go-github-com-libp2p-go-libp2p-peer: Move to (gnu packages golang-crypto). gnu: go-github-com-aead-chacha20: Move to (gnu packages golang-crypto). gnu: go-github-com-marten-seemann-chacha20: Move to (gnu packages golang-crypto). gnu: go-github-com-refraction-networking-utls: Move to (gnu packages golang-crypto). gnu: go-filippo-io-edwards25519: Move to (gnu packages golang-crypto). gnu: go-gitlab-com-yawning-edwards25519-extra: Move to (gnu packages golang-crypto). gnu: go-github-com-marten-seemann-qtls: Move to (gnu packages golang-crypto). gnu: go-github-com-gaukas-godicttls: Move to (gnu packages golang-crypto). gnu: go-github-com-quic-go-qtls-go1-20: Move to (gnu packages golang-crypto). gnu: go-github-com-jcmturner-aescts-v2: Move to (gnu packages golang-crypto). gnu: go-github-com-aperturerobotics-jacobsa-crypto: Move to (gnu packages golang-crypto). gnu: go-github-com-rfjakob-eme: Move to (gnu packages golang-crypto). gnu: go-github-com-emersion-go-pgpmail: Move to (gnu packages golang-crypto). gnu: go-github-com-protonmail-go-crypto: Move to (gnu packages golang-crypto). gnu: go-github-com-btcsuite-btcd-btcec: Move to (gnu packages golang-crypto). gnu: go-lukechampine-com-blake3: Move to (gnu packages golang-crypto). gnu: go-github-com-cloudflare-circl: Move to (gnu packages golang-crypto). gnu: go-github-com-minio-sha256-simd: Move to (gnu packages golang-crypto). gnu: go-github-com-flynn-noise: Move to (gnu packages golang-crypto). gnu: go-github-com-gxed-hashland-keccakpg: Move to (gnu packages golang-crypto). gnu: go-github-com-operatorfoundation-ed25519: Move to (gnu packages golang-crypto). gnu: go-github-com-minio-blake2b-simd: Move to (gnu packages golang-crypto). gnu: go-github-com-cespare-xxhash: Move to (gnu packages golang-crypto). gnu: go-github-com-99designs-go-keyring: Move to (gnu packages golang-crypto). gnu: go-github-com-xanzy-ssh-agent: Move to (gnu packages golang-crypto). gnu: go-filippo-io-age: Move to (gnu packages golang-crypto). gnu: go-github-com-dvsekhvalnov-jose2go: Move to (gnu packages golang-crypto). gnu: go-github.com-smartystreets-gunit: Move to (gnu packages golang-check). gnu: go-github.com-smartystreets-assertions: Move to (gnu packages golang-check). gnu: go-github.com-smartystreets-goconvey: Move to (gnu packages golang-check). gnu: go-github-com-99designs-go-keyring: Adjust inputs. gnu: go-github-com-quic-go-qtls-go1-20: Sort package alphabetically. gnu/local.mk | 1 + gnu/packages/backup.scm | 1 + gnu/packages/check.scm | 88 --- gnu/packages/file-systems.scm | 1 + gnu/packages/golang-check.scm | 88 +++ gnu/packages/golang-crypto.scm | 978 +++++++++++++++++++++++++++++++ gnu/packages/golang-web.scm | 26 + gnu/packages/golang.scm | 948 +----------------------------- gnu/packages/ipfs.scm | 1 + gnu/packages/mail.scm | 1 + gnu/packages/password-utils.scm | 1 + gnu/packages/syncthing.scm | 31 - gnu/packages/textutils.scm | 1 + gnu/packages/uucp.scm | 1 + gnu/packages/version-control.scm | 1 + 15 files changed, 1114 insertions(+), 1054 deletions(-) create mode 100644 gnu/packages/golang-crypto.scm base-commit: d99670e33e3dcf96a944833d5c2bba35600a06e0