-
Notifications
You must be signed in to change notification settings - Fork 736
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
udpcast is a file transfer tool that can send data simultaneously to many destinations on a LAN. It is an alternative to uftp which is already in meta-networking. On a lossy network, udpcast provided 10x faster transfer rates with error correction enabled while using a half as much CPU thanks to a simpler algorithm. v2: - Add a patch to fix compilation with musl (submitted upstream) - Add a dependency on perl-native to build manpages instead of removing them with a patch - inherit manpages
- Loading branch information
1 parent
446560a
commit 0628b09
Showing
3 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
meta-networking/recipes-support/udpcast/udpcast/0001-include-stddef.h-for-ptrdiff_t.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 5203821a936b1927c401034fe323686ad9eafb04 Mon Sep 17 00:00:00 2001 | ||
From: Enguerrand de Ribaucourt <[email protected]> | ||
Date: Thu, 6 Jun 2024 15:57:12 +0200 | ||
Subject: [PATCH 2/2] include stddef.h for ptrdiff_t | ||
|
||
This fixes compilation with musl. | ||
|
||
Upstream-Status: Pending | ||
|
||
Signed-off-by: Enguerrand de Ribaucourt <[email protected]> | ||
--- | ||
receivedata.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/receivedata.c b/receivedata.c | ||
index 9a68f67..0aa797f 100644 | ||
--- a/receivedata.c | ||
+++ b/receivedata.c | ||
@@ -1,4 +1,5 @@ | ||
#include <assert.h> | ||
+#include <stddef.h> | ||
#include <sys/types.h> | ||
#include <unistd.h> | ||
#include <stdlib.h> | ||
-- | ||
2.34.1 | ||
|
22 changes: 22 additions & 0 deletions
22
meta-networking/recipes-support/udpcast/udpcast_20230924.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
SUMMARY = "UDP broadcast file distribution and installation" | ||
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." | ||
HOMEPAGE = "http://www.udpcast.linux.lu/" | ||
SECTION = "console/network" | ||
LICENSE = "GPL-2.0-or-later & BSD-2-Clause" | ||
LIC_FILES_CHKSUM = "file://COPYING;md5=e3cf524a29c8476be354bb329d36ff80" | ||
|
||
SRC_URI = "http://www.udpcast.linux.lu/download/${BP}.tar.gz \ | ||
file://0001-include-stddef.h-for-ptrdiff_t.patch \ | ||
" | ||
SRC_URI[sha256sum] = "17b5cd8b1e54f7e2e53357ac02ee86e4198bf704096987a03a3b5c402a0ecea1" | ||
|
||
# Installation of rateGovernor.h fails without brokensep | ||
inherit autotools-brokensep manpages | ||
|
||
# pod2man required to build manpages | ||
DEPENDS += "perl-native" |