unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#52379] [PATCH] gnu: Add udpcast
@ 2021-12-08 21:29 Artyom V. Poptsov
  2021-12-20 15:13 ` bug#52379: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Artyom V. Poptsov @ 2021-12-08 21:29 UTC (permalink / raw)
  To: 52379


[-- Attachment #1.1: Type: text/plain, Size: 268 bytes --]

Hello Guixers,

this patch adds udpcast. [1]

Unfortunately the official site seems to be not very reliable.  So I
decided to use a mirror site to download the archive. [2]

Thanks,

- Artyom

1: https://www.udpcast.linux.lu/
2: http://sources.buildroot.net/udpcast/


[-- Attachment #1.2: 0001-gnu-Add-udpcast.patch --]
[-- Type: text/x-diff, Size: 3077 bytes --]

From 15a0b78195c39efb337d161fac327d1e77f939db Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Tue, 7 Dec 2021 23:55:13 +0300
Subject: [PATCH] gnu: Add udpcast

* gnu/packages/admin.scm (udpcast): New variable.
---
 gnu/packages/admin.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index e640149a51..43f124df9b 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -44,6 +44,7 @@
 ;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
+;;; Copyright © 2021 Artyom V. Poptsov <poptsov.artyom@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -116,6 +117,7 @@
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages m4)
   #:use-module (gnu packages mail)
   #:use-module (gnu packages man)
   #:use-module (gnu packages mcrypt)
@@ -4815,3 +4817,42 @@ FIFO and UNIX interprocess communication.")
 exit code reports successful or failed execution to
 @url{https://healthchecks.io,https://healthchecks.io} or your private instance.")
     (license license:bsd-0)))
+
+(define-public udpcast
+  (package
+    (name "udpcast")
+    (version "20200328")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (format #f
+                    ;; XXX: Original server is at https://www.udpcast.linux.lu
+                    ;;      Unfortunately it's not very reliable:
+                    ;;        "https://www.udpcast.linux.lu/download/udpcast-~a.tar.gz"
+                    ;;      Here's an alternative URL for downloading the package:
+                    ;;        "https://fossies.org/linux/privat/udpcast-~a.tar.gz"
+                    ;;        "http://sources.buildroot.net/udpcast/udpcast-~a.tar.gz"
+                    "http://sources.buildroot.net/udpcast/udpcast-~a.tar.gz"
+                    version))
+       (sha256
+        (base32 "06pj86nbi9hx7abbb0z2c5ynhfq0rv89b7nmy0kq3xz2lsxfw6cw"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("autoconf"   ,autoconf)
+       ("automake"   ,automake)
+       ("m4"         ,m4)
+       ("perl"       ,perl)))
+    (arguments
+     `(#:tests? #f))                      ; no test suite
+    (synopsis
+     "Multicast file transfer tool")
+    (description
+     "UDPcast is a file transfer tool that can send data simultaneously to
+many destinations on a LAN.  This can for instance be used to install entire
+classrooms of PC's at once.  The advantage of UDPcast over using other
+methods (nfs, ftp, whatever) is that UDPcast uses UDP's multicast abilities:
+it won't take longer to install 15 machines than it would to install just 2.")
+    (home-page "https://www.udpcast.linux.lu")
+    (license license:gpl2+)))
+
+
-- 
2.25.1


[-- Attachment #1.3: Type: text/plain, Size: 207 bytes --]


-- 
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#52379: [PATCH] gnu: Add udpcast
  2021-12-08 21:29 [bug#52379] [PATCH] gnu: Add udpcast Artyom V. Poptsov
@ 2021-12-20 15:13 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-12-20 15:13 UTC (permalink / raw)
  To: Artyom V. Poptsov; +Cc: 52379-done

[-- Attachment #1: Type: text/plain, Size: 390 bytes --]

Hello,

poptsov.artyom@gmail.com (Artyom V. Poptsov) skribis:

> From 15a0b78195c39efb337d161fac327d1e77f939db Mon Sep 17 00:00:00 2001
> From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
> Date: Tue, 7 Dec 2021 23:55:13 +0300
> Subject: [PATCH] gnu: Add udpcast
>
> * gnu/packages/admin.scm (udpcast): New variable.

Applied with the changes below.

Thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 2124 bytes --]

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index f62f7bd808..ee11120ce0 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -4829,27 +4829,24 @@ (define-public udpcast
     (source
      (origin
        (method url-fetch)
-       (uri (format #f
-                    ;; XXX: Original server is at https://www.udpcast.linux.lu
-                    ;;      Unfortunately it's not very reliable:
-                    ;;        "https://www.udpcast.linux.lu/download/udpcast-~a.tar.gz"
-                    ;;      Here's an alternative URL for downloading the package:
-                    ;;        "https://fossies.org/linux/privat/udpcast-~a.tar.gz"
-                    ;;        "http://sources.buildroot.net/udpcast/udpcast-~a.tar.gz"
-                    "http://sources.buildroot.net/udpcast/udpcast-~a.tar.gz"
-                    version))
+       ;; XXX: Original server is at https://www.udpcast.linux.lu is not
+       ;; reliable.
+       (uri (list (string-append
+                   "http://sources.buildroot.net/udpcast/udpcast-"
+                   version ".tar.gz")
+                  (string-append
+                   "https://fossies.org/linux/privat/udpcast-"
+                   version ".tar.gz")
+                  (string-append
+                   "https://www.udpcast.linux.lu/download/udpcast-"
+                   version ".tar.gz")))
        (sha256
         (base32 "06pj86nbi9hx7abbb0z2c5ynhfq0rv89b7nmy0kq3xz2lsxfw6cw"))))
     (build-system gnu-build-system)
     (native-inputs
-     `(("autoconf"   ,autoconf)
-       ("automake"   ,automake)
-       ("m4"         ,m4)
-       ("perl"       ,perl)))
-    (arguments
-     `(#:tests? #f))                      ; no test suite
-    (synopsis
-     "Multicast file transfer tool")
+     (list autoconf automake m4 perl))
+    (arguments `(#:tests? #f))                    ;no test suite
+    (synopsis "Multicast file transfer tool")
     (description
      "UDPcast is a file transfer tool that can send data simultaneously to
 many destinations on a LAN.  This can for instance be used to install entire

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-20 16:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-08 21:29 [bug#52379] [PATCH] gnu: Add udpcast Artyom V. Poptsov
2021-12-20 15:13 ` bug#52379: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).