[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52379: [PATCH] gnu: Add udpcast
From: |
Ludovic Courtès |
Subject: |
bug#52379: [PATCH] gnu: Add udpcast |
Date: |
Mon, 20 Dec 2021 16:13:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
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’.
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