From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id ILsaCnszA2bANAEAqHPOHw:P1 (envelope-from ) for ; Tue, 26 Mar 2024 21:43:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id ILsaCnszA2bANAEAqHPOHw (envelope-from ) for ; Tue, 26 Mar 2024 21:43:39 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=futurile.net header.s=selector1 header.b=NWQvaSzY; dmarc=none; 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-Seal: i=1; s=key1; d=yhetil.org; t=1711485819; a=rsa-sha256; cv=none; b=fqHuLkY34wjjcvbsiXvb1tJpf/N+5YCd6/cEWtBHDVDFn7V42WfydpflM+PItrKfAcUuU0 ACMYSe0E3llpwPu+QGZGgVONRLOwdwg/ZV3gazwPfoR9HvVALBZ8rYF4OHtM5/9HyEBC2I GjkvQsNumBEi5QMAcXdVBXZhY7115ZoxWWrSX/eZPO0IKNpTSInD3D+x9Ii8ySde2Dcpsy Hl9c7z35V3Wb/GQ991UVjj0dhrCQbAKqPv0UfLiCtBEjNWhqi3TYrf8mraVk1voEfMdX3e VY4jvRMxxZ6CzDniNE276Xt8Gp1YhT2O03CTcy8LFYgszoFKe/OE+abY8hktdQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=futurile.net header.s=selector1 header.b=NWQvaSzY; dmarc=none; 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=1711485819; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Ua3FVbkXERWQfpx2dwvi+bYDlu71YKN6VYts0sDc2fM=; b=CK6z8kBAWWk9Na4yKps/2o6Lml/wO/uaEov8uwq8CIFL8cKAh+xcWyIjNwFpPvkLn5m/YS pdQZU1ICEG08XrChUG7OvlGCQ6zp+qUuvddejoclX/4Vx/0MSH+j2GipFb1eKSe1iNdgg7 g3snQVQpdBvFNdjd2Z32WlITXiTULDiriToWn7opBH2K7hNq6lfWEUVer6BnszNtdrUWIr 0/cRwHbYUkxJZki4F9KI6Wf6PXQD6al23pjOoEEqRG9hTxOankuydeZWB8MHmPe2+qi/r+ wOyZjQp6X8q6t0oxDFoRG0baYpUNQuMnDEi702lG4urgtSOpR8QQ0LuHacMuFw== 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 BAE1A66A09 for ; Tue, 26 Mar 2024 21:43:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpDdV-0001hR-3I; Tue, 26 Mar 2024 16:43:09 -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 1rpDdO-0001gX-RE for guix-patches@gnu.org; Tue, 26 Mar 2024 16:43:02 -0400 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 1rpDdO-0007Er-HC for guix-patches@gnu.org; Tue, 26 Mar 2024 16:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpDdO-0006VU-4w for guix-patches@gnu.org; Tue, 26 Mar 2024 16:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70020] [PATCH 1/1] * gnu: Add debian-devscripts. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Mar 2024 20:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70020 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70020@debbugs.gnu.org Cc: Steve George X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171148572424901 (code B ref -1); Tue, 26 Mar 2024 20:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Mar 2024 20:42:04 +0000 Received: from localhost ([127.0.0.1]:35180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpDcS-0006TY-9q for submit@debbugs.gnu.org; Tue, 26 Mar 2024 16:42:04 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpDcP-0006SV-68 for submit@debbugs.gnu.org; Tue, 26 Mar 2024 16:42:02 -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 1rpDcJ-0001Z1-8x for guix-patches@gnu.org; Tue, 26 Mar 2024 16:41:56 -0400 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpDcF-00077D-7b for guix-patches@gnu.org; Tue, 26 Mar 2024 16:41:55 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rpDc8-00HHz9-Ho for guix-patches@gnu.org; Tue, 26 Mar 2024 21:41:44 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=futurile.net; s=selector1; h=Content-Transfer-Encoding:MIME-Version: Message-ID:Date:Subject:Cc:To:From; bh=Ua3FVbkXERWQfpx2dwvi+bYDlu71YKN6VYts0sDc2fM=; b=NWQvaSzYHfVJjyi9m+giCQ2OLm YA1rYwPR15CBtljx7vI286mCUzUGCaGUgG9TlLZ9DkhnDXA/h8H48MB/9l4zUL3PbSVdQK42/r6IW DDk1w8IEgpSeiDi3aJwKCxEJjcXMbU2l3f/7D5o4Pg1Kfm63jgKFBfOOm9EBbvJ07YiOILctu2l9N bq6bT7qmKlTg4xfqAlnd1tPpt+S03VXJETNss+RAIBsOi0MnRArv8dUYrL3HwAUjZL6RqKAPVyFou y8HGZz5Zl1d9At5QFkgFi+Ho262xm/adcLNUsIyn01hxvrogKB3MnTOY49VbUBdrfskQse9aDp4uU uH7Wh7ig==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rpDc8-0000FN-6c for guix-patches@gnu.org; Tue, 26 Mar 2024 21:41:44 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rpDc0-009AMI-Lr; Tue, 26 Mar 2024 21:41:36 +0100 From: Steve George Date: Tue, 26 Mar 2024 20:41:25 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: permerror client-ip=2a0c:5a00:149::26; envelope-from=steve@futurile.net; helo=mailtransmit05.runbox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, T_SPF_PERMERROR=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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -0.94 X-Migadu-Queue-Id: BAE1A66A09 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -0.94 X-TUID: bzkTkTt7vqI9 * gnu/packages/debian.scm (debian-devscripts): New variable. Change-Id: Iff64afdb1f730f3d941617bc428a57d09c0381b2 --- gnu/packages/debian.scm | 66 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/gnu/packages/debian.scm b/gnu/packages/debian.scm index 1715b963a93..ecec816d872 100644 --- a/gnu/packages/debian.scm +++ b/gnu/packages/debian.scm @@ -27,6 +27,7 @@ (define-module (gnu packages debian) #:use-module (guix packages) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) + #:use-module (guix build-system perl) #:use-module (guix build-system trivial) #:use-module (gnu packages autotools) #:use-module (gnu packages backup) @@ -34,6 +35,7 @@ (define-module (gnu packages debian) #:use-module (gnu packages bash) #:use-module (gnu packages compression) #:use-module (gnu packages crypto) + #:use-module (gnu packages databases) #:use-module (gnu packages dbm) #:use-module (gnu packages gettext) #:use-module (gnu packages gnupg) @@ -43,6 +45,8 @@ (define-module (gnu packages debian) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) + #:use-module (gnu packages web) #:use-module (gnu packages wget) #:use-module (srfi srfi-26)) @@ -211,6 +215,68 @@ (define-public ubuntu-keyring (license (list license:public-domain ; the keys license:gpl2+)))) ; see debian/copyright +(define-public debian-devscripts + (package + (name "debian-devscripts") + (version "2.23.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://salsa.debian.org/debian/devscripts.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "031467rclglk1hdx8z2vzx5z88vpy0sk73qi8ni0sai3jx62ji75")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; tests assume various Debian specific capabilities + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((bin (string-append (assoc-ref outputs "out") "/bin")) + (devscripts-lib (string-append (assoc-ref outputs "out") + "/lib/perl5/site_perl/Devscripts"))) + (with-directory-excursion "scripts" + (substitute* "bts.pl" (("/bin/bash") (which "bash"))) + (substitute* "bts.pl" (("/bin/rm") (which "rm"))) + (substitute* "bts.pl" (("/bin/cat") (which "cat"))) + ;; Avoid having to provide Debian's sensible-browser package + (substitute* "bts.pl" + (("my \\$browser;") "my $browser = $ENV{'BROWSER'};")) + (substitute* "bts.pl" + (("'sensible-browser',") "$browser,")) + (rename-file "bts.pl" "bts") + (install-file "bts" bin)) + (with-directory-excursion "lib/Devscripts/" + (for-each (lambda (f) (install-file f devscripts-lib)) + (find-files "./"))))))))) + (native-inputs (list perl perl-libwww perl-uri pkg-config python)) + (propagated-inputs + (list dpkg + perl-authen-sasl + perl-db-file + perl-encode + perl-file-homedir + perl-file-which + perl-ipc-run + perl-json + perl-libwww + perl-list-compare + perl-lwp-protocol-https + perl-moo + perl-uri)) + (home-page "https://tracker.debian.org/pkg/devscripts") + (synopsis "Scripts to make the life of a Debian Package maintainer easier") + (description "Scripts that assist Debian packagers. Guix developers +may find the bts command useful for interacting with GNU's debbugs server.") + (license license:gpl2))) + (define-public debootstrap (package (name "debootstrap") base-commit: 40f53e8fb5b867e3a1e8fa798328423718282aac -- 2.41.0