emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57235: closed ([PATCH] gnu: Add rex.)


From: GNU bug Tracking System
Subject: bug#57235: closed ([PATCH] gnu: Add rex.)
Date: Fri, 19 Aug 2022 01:17:02 +0000

Your message dated Fri, 19 Aug 2022 09:15:55 +0800
with message-id <87y1vlvxro.fsf@envs.net>
and subject line Re: bug#57235: [PATCH] gnu: Add rex.
has caused the debbugs.gnu.org bug report #57235,
regarding [PATCH] gnu: Add rex.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
57235: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57235
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add rex. Date: Tue, 16 Aug 2022 10:05:26 +0800
From: 宋文武 <iyzsong@member.fsf.org>

* 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




--- End Message ---
--- Begin Message --- Subject: Re: bug#57235: [PATCH] gnu: Add rex. Date: Fri, 19 Aug 2022 09:15:55 +0800 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
Pushed.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]