From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0FGMM3ZWZGT6xAAASxT56A (envelope-from ) for ; Wed, 17 May 2023 06:22:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eKyiM3ZWZGTYwgAA9RJhRA (envelope-from ) for ; Wed, 17 May 2023 06:22:14 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7D9BDEE80 for ; Wed, 17 May 2023 06:22:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pz8fr-0008G2-NY; Wed, 17 May 2023 00:22:03 -0400 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 1pz8fq-0008EA-3a for guix-patches@gnu.org; Wed, 17 May 2023 00:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pz8fp-0006oX-RR for guix-patches@gnu.org; Wed, 17 May 2023 00:22:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pz8fp-0004OO-Hh for guix-patches@gnu.org; Wed, 17 May 2023 00:22:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63545] [PATCH 1/3] gnu: heimdal: Build from Git. Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 May 2023 04:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63545 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63545@debbugs.gnu.org Cc: Felix Lechner Received: via spool by 63545-submit@debbugs.gnu.org id=B63545.168429726616781 (code B ref 63545); Wed, 17 May 2023 04:22:01 +0000 Received: (at 63545) by debbugs.gnu.org; 17 May 2023 04:21:06 +0000 Received: from localhost ([127.0.0.1]:48469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pz8ev-0004MU-Dd for submit@debbugs.gnu.org; Wed, 17 May 2023 00:21:05 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]:33608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pz8et-0004MK-A8 for 63545@debbugs.gnu.org; Wed, 17 May 2023 00:21:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=9t70UJFpElPLKBV JE3igeyzlaALUjPTIKGHSJJDfZ+E=; h=references:in-reply-to:date:subject: cc:to:from; d=lease-up.com; b=gbgAmIERhgdmZst7sqN7bugZHVWkib3QLYSfdMcL 2cXFbr32VBVlmlhW8lM5eiwkba+CCfzL7b3Bm4iitbUjcGe2qccrF8LlEOmm7gDL1Vfv7/ J1ozj15KJCV5BhLN3XUhf9RLsskj/j+dU1UwxvKBX9q6tridyMOCfy2E8ZZmM= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 04f4983f (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Wed, 17 May 2023 04:21:02 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 6fe3c869; Wed, 17 May 2023 04:21:02 +0000 (UTC) Date: Tue, 16 May 2023 21:20:55 -0700 Message-Id: <2262ef65f5191b0c3d925ea6688c1bd8bf0587d0.1684296904.git.felix.lechner@lease-up.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Reply-to: Felix Lechner X-ACL-Warn: , Felix Lechner via Guix-patches From: Felix Lechner via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684297334; a=rsa-sha256; cv=none; b=t0rGd870tKupqzekMOd95UNpyD/JXxuR/6kJUC2AbME7gPa/GE+JZ/P2LBpFlpJvQSYRO7 HCoyqpC4G6M4Sg5G/uuwxH1fZC0a+/6TdJOnp9Y4x8pHbnM1l0P/uAPLvvPAx+TuffC8wC ik/f0whFoELo0DkMYanCT2VTxDyo3C3HuSTU5ReFYtpMy1RqNMXR7jm+PwxpH1jYhjB9gD MthDY8cM6/X8K1PztNw3rKtJh7oIN8IQksDo7xX8sosJxPthxrGh968zLg9dFdC3hdr9no f0hFMRIOI/wq3Rm5nYuZiH66Z/UlIzKtx0DqSBXI0cpElY7nwrYSUgXJVzFAAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=gbgAmIER; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684297334; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rdl5p5t6Wl9UoZ1j4F++6zjNXma6PZ3iq0KUBkFmPI0=; b=agBdtmITjxu2VQ6UOafJCz/SyMJVt9rCTgpbW5EhVUo4B81fHLuPtv8k8+lvg2ePzI2EQo 0cQGrsajDUvtMWkQxmkb+A/4gYTTWHj0dmfHdCcPcR1nqkHZHdI2MwGN8XZFfF5FaGu5i8 sFhJriXDZZScU4zvXK+7hz/v+AtfH+Te6ET7U1W+/OKwajqUjK260uwayVTeopLkgnO1Hj 5f/8xg4i/nSNG5ximhOPX9wEc+phLWSUKSg/Mz3jgONbmq+LKhG8JCCZDiZy0HPKizQXKE CQYfIzcSbI4Tv9AL7V6dPznEpwx9BbRGUedGnRoguE3iSJsmwsx0vVvjJmE+JA== X-Migadu-Spam-Score: -0.91 X-Spam-Score: -0.91 X-Migadu-Queue-Id: 7D9BDEE80 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=gbgAmIER; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: VD4aeSibaA/q This is in preparation to drop obsolete tools from the Automake files. The tarball comes with a ./configure script. It was not clear to the author what the best way was to run 'autoreconf -f -i' with the tarball in Guix's gnu-build-system. * gnu/packages/kerberos (heimdal): Build from Git; prepare to drop obsolete tools from Automake. --- gnu/packages/kerberos.scm | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/gnu/packages/kerberos.scm b/gnu/packages/kerberos.scm index c553f8180a..af67bff6c9 100644 --- a/gnu/packages/kerberos.scm +++ b/gnu/packages/kerberos.scm @@ -56,6 +56,7 @@ (define-module (gnu packages kerberos) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix gexp) + #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system gnu)) @@ -171,26 +172,22 @@ (define-public shishi (license license:gpl3+))) (define-public heimdal + (let ((commit "a6cf94577c0d1e5bca5304342e4ddffb18255afe") + (revision "1")) (package (name "heimdal") - (version "7.8.0") + (version (git-version "7.8.0" revision commit)) (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/heimdal/heimdal/releases/download/" - "heimdal-" version "/" "heimdal-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/heimdal/heimdal") + (commit commit))) + (file-name (git-file-name name version)) (sha256 (base32 - "0f4dblav859p5hn7b2jdj1akw6d8p32as6bj6zym19kghh3s51zx")) + "0df646hzi10s0w07kqzj10aniv6jsbmlpx6j3lqjvpsjpmm9lww9")) (patches - (search-patches "heimdal-CVE-2022-45142.patch")) - (modules '((guix build utils))) - (snippet - '(begin - (substitute* "configure" - (("User=.*$") "User=Guix\n") - (("Host=.*$") "Host=GNU") - (("Date=.*$") "Date=2022\n")))))) + (search-patches "heimdal-CVE-2022-45142.patch")))) (build-system gnu-build-system) (arguments `(#:configure-flags @@ -224,6 +221,10 @@ (define-public heimdal (add-before 'configure 'pre-configure (lambda* (#:key inputs #:allow-other-keys) (substitute* "configure" + ;; Reproducible build date, etc. + (("User=.*$") "User=Guix\n") + (("Host=.*$") "Host=GNU") + (("Date=.*$") "Date=2022\n") ;; The e2fsprogs input is included for libcom_err, ;; let's use it even if cross-compiling. (("test \"\\$\\{krb_cv_com_err\\}\" = \"yes\"") @@ -255,12 +256,17 @@ (define-public heimdal (format #t "#!~a~%exit 1~%" (which "sh"))))))) ;; Tests fail when run in parallel. #:parallel-tests? #f)) - (native-inputs (list bison + (native-inputs (list autoconf + automake + bison e2fsprogs ;for 'compile_et' flex + libtool texinfo unzip ;for tests pkg-config + perl + perl-json python)) (inputs (list readline bash-minimal @@ -274,4 +280,5 @@ (define-public heimdal (description "Heimdal is an implementation of Kerberos 5 network authentication service.") - (license license:bsd-3))) + (license license:bsd-3)))) + -- 2.40.1