From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id PYMbIJX7+mKKcAAAbAwnHQ (envelope-from ) for ; Tue, 16 Aug 2022 04:06:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IAr4HpX7+mJ4qwAAauVa8A (envelope-from ) for ; Tue, 16 Aug 2022 04:06:13 +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 2F0D9A560 for ; Tue, 16 Aug 2022 04:06:13 +0200 (CEST) Received: from localhost ([::1]:55600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNly8-00019H-A5 for larch@yhetil.org; Mon, 15 Aug 2022 22:06:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNlxz-00018Q-At for guix-patches@gnu.org; Mon, 15 Aug 2022 22:06:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNlxz-0008RZ-0p for guix-patches@gnu.org; Mon, 15 Aug 2022 22:06:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNlxy-00068i-N7 for guix-patches@gnu.org; Mon, 15 Aug 2022 22:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57235] [PATCH] gnu: Add rex. Resent-From: iyzsong@envs.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Aug 2022 02:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57235 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57235@debbugs.gnu.org Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166061555223582 (code B ref -1); Tue, 16 Aug 2022 02:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Aug 2022 02:05:52 +0000 Received: from localhost ([127.0.0.1]:44406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNlxo-00068H-0G for submit@debbugs.gnu.org; Mon, 15 Aug 2022 22:05:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:42198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNlxi-000686-Ve for submit@debbugs.gnu.org; Mon, 15 Aug 2022 22:05:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNlxg-0000yc-5q for guix-patches@gnu.org; Mon, 15 Aug 2022 22:05:46 -0400 Received: from envs.net ([89.163.145.170]:45612 helo=mail.envs.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNlxd-0008KZ-6q for guix-patches@gnu.org; Mon, 15 Aug 2022 22:05:43 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id E522B38A06C4; Tue, 16 Aug 2022 02:05:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1660615538; bh=Zne5eMRomgaxYQVyIQvioxG5KvvyT98J/10Qq/Vu528=; h=From:To:Cc:Subject:Date:From; b=KRjEvFwCc14ZK6sVIYrM+PGKMe9qYyibd4VKcmhuQcGo0MWd8bUOKqUIydUL5Wtsi 4ds+Gh6xlCmmpr185LAmL61L+muX08MfTQ/oqqVu5ze5xeW1xq3CoAZwrZYR0lw7e8 J6YLMazrVG4ZqUwMzoR2+pnZLKpE3AkB6+hwWqwOFnj1dqqJF2cLcXmbVq4YSjaiQ2 /ngwpbbgdE2naMn7anCP1VNd+SlDXSmcGFV+afqDHpshMdJDWkOKGqWx6hwxrECyrp chY7RYqadvP5XC53rQZhYIWAc6eAUCedlJfwyEYMltJ0wWWKjKIWesFnKETpJCN7ve AW61IvAAr4cVkUccGobjluB9JygxqlOMNkEWcHp2JKrXzQRCmXTlZz4tUwbh67GMBF XWJe+O8Ip3Lj7iM6DZapiL3pMQxn7JiVWvjtG98s62JQpJp5Vw+4EW3kdQDOVRgQqj n61jZuq6pcCuy8kOPt3y+GeDeD/MKvt0uqGl3sBkie3KYwmTbnfxMhrS3vEkzzKtDz oqWjV/P/oKhHphcZdRDLAa5veP491LXxGsfLpjP2YMkt0Lm/pS3llWMO8/te+rx+bJ iljugSRY9z2ToA5SueYP+Et3g7FeUBGyA7VAh0iSJ6c16j1kA4vDt+c/o9wZENFHde 4fM3SbbiFJ9AhXfvMKWB5OhE= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id r2N093aWpIXO; Tue, 16 Aug 2022 02:05:32 +0000 (UTC) Received: from localhost (unknown [182.150.116.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: iyzsong@envs.net) by mail.envs.net (Postfix) with ESMTPSA; Tue, 16 Aug 2022 02:05:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id c5b2db59; Tue, 16 Aug 2022 02:05:28 +0000 (UTC) Date: Tue, 16 Aug 2022 10:05:26 +0800 Message-Id: <20220816020526.5431-1-iyzsong@envs.net> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=89.163.145.170; envelope-from=iyzsong@envs.net; helo=mail.envs.net 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_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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: iyzsong@envs.net X-ACL-Warn: , iyzsong--- via Guix-patches From: iyzsong--- via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660615573; 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-type:content-type: 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=Zne5eMRomgaxYQVyIQvioxG5KvvyT98J/10Qq/Vu528=; b=EhTmsIspWkmiPCuO0ms09sRgMICVsrJkzWVvyNZw8zZzek6YI4n5VqG0lRz+IrV94YdSHc 7LkHE0LxQIwTW9pT5wm97TLu0sRei7ICtiaoeFK4dCZvkQy8Nf8I/H3388/DXly/ff+D52 neAouZ8Xqc/Uz+JMiRwSOKPHcBXYksx1okr1WKOLeuqGoWNLT1y7NiBTKE2ABrWgihs+jK l71Bp1go1nbC0nCeogld5Qu9H6GudQ7i4K+sLjRoVU+hqWIoJrc5Mk0BwhrvjgFm4yViBP J1plCIOP9NlU5Y0lr2mIkYHg+s0j5sPFRjxbTDvIT/BYf26/QQc6zONmc26DTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660615573; a=rsa-sha256; cv=none; b=WfXeeGylbxiqu9Dk+Kac1FrKuoI/TPuwCs6JQkTnGH5Un1mekcrvwG+SJHCfksaY9YNvve w2MgGnjoIOabT8wnW3MTTlHtWiabLK2u60OxkN7QyHpXacCwjZmnBOEa0sv23Pa27CLgbx Q1A57wOxU2k/ksyE4a6sbUdjIIhDljwH6U6gyj5F1CtHs0hv621vPGFUzOEYkWVKr4M+uj Q520zXMR0YHm0DjXQhqPEzWPqGJ+8T2/CooMGAi3V8Dm5mU9ijhqTgf7Nk/AN4uHTw7jYD X/0wepHdaqKn45E1rKu1qMWdoD7qMFArYk/ijWiuM6Pppn1T8UpreaLncIsMjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=KRjEvFwC; 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-Migadu-Spam-Score: -3.56 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=KRjEvFwC; 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-Migadu-Queue-Id: 2F0D9A560 X-Spam-Score: -3.56 X-Migadu-Scanner: scn1.migadu.com X-TUID: yMixAJB5xu0X From: 宋文武 * gnu/packages/admin.scm (rex): New variable. --- gnu/packages/admin.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 35d3b53f24..a4c5189222 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -5454,3 +5454,40 @@ (define-public fail2ban up services to use only two factor, or public/private authentication mechanisms if you really want to protect services.") (license license:gpl2+))) + +(define-public rex + (package + (name "rex") + (version "4.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://download.gnu.org.ua/pub/releases/rex/rex-" + version ".tar.gz")) + (sha256 + (base32 + "1arb8z602invwavskq36nhwy42a3v14iyhi06iqlngfai2k93fai")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; no tests + #:phases + #~(modify-phases %standard-phases + ;; No configure script and Makefile. + (delete 'configure) + (delete 'build) + (add-before 'install 'patch-exec-expect + (lambda _ + (substitute* "rex" + (("exec expect") (string-append "exec " (which "expect")))))) + (replace 'install + (lambda _ + (invoke "./install" + (string-append "--prefix=" #$output))))))) + (inputs (list expect)) + (home-page "https://www.gnu.org.ua/software/rex/") + (synopsis "Remote execution utility") + (description "@command{rex} runs a supplied command or shell script on +several hosts in succession or in parallel. It can also be used to copy a +file or files to several hosts.") + (license license:gpl3+))) -- 2.37.1