Initial Commit
- initial default booting image
This commit is contained in:
32
package/udpcast/0001-fix-musl-build.patch
Normal file
32
package/udpcast/0001-fix-musl-build.patch
Normal file
@@ -0,0 +1,32 @@
|
||||
fix musl build
|
||||
|
||||
Fix the following musl build failure:
|
||||
|
||||
receivedata.c: In function 'findSlice':
|
||||
receivedata.c:348:2: error: unknown type name 'ptrdiff_t'
|
||||
348 | ptrdiff_t pos = slice - clst->slices;
|
||||
| ^~~~~~~~~
|
||||
receivedata.c:17:1: note: 'ptrdiff_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
|
||||
16 | #include "fec.h"
|
||||
+++ |+#include <stddef.h>
|
||||
17 |
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/30208c6f175967fed6de690447a09e0c86547b24
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Upstream: https://udpcast.linux.lu/mailman3/hyperkitty/list/udpcast@udpcast.linux.lu/thread/4MBES2CPUSUNIZTC7NXCQYS2GAE4DQSG/
|
||||
[Dario: make the patch to be applied with fuzz factor 0]
|
||||
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
|
||||
|
||||
diff '--color=auto' -Nura udpcast-20211207.orig/receivedata.c udpcast-20211207/receivedata.c
|
||||
--- udpcast-20211207.orig/receivedata.c 2022-08-13 21:48:06.226588614 +0200
|
||||
+++ udpcast-20211207/receivedata.c 2022-08-13 21:48:40.242992238 +0200
|
||||
@@ -1,6 +1,7 @@
|
||||
#include <assert.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
+#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
|
||||
29
package/udpcast/Config.in
Normal file
29
package/udpcast/Config.in
Normal file
@@ -0,0 +1,29 @@
|
||||
comment "udpcast needs a toolchain w/ threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_UDPCAST
|
||||
bool "udpcast"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_UDPCAST_SENDER \
|
||||
if !BR2_PACKAGE_UDPCAST_RECEIVER
|
||||
help
|
||||
A multicast protocol implementation which happens to
|
||||
be very handy for imaging drives over the network.
|
||||
|
||||
https://www.udpcast.linux.lu/
|
||||
|
||||
if BR2_PACKAGE_UDPCAST
|
||||
|
||||
config BR2_PACKAGE_UDPCAST_SENDER
|
||||
bool "sender"
|
||||
help
|
||||
The udpcast transmitter.
|
||||
|
||||
config BR2_PACKAGE_UDPCAST_RECEIVER
|
||||
bool "receiver"
|
||||
help
|
||||
The udpcast receiver.
|
||||
|
||||
endif
|
||||
3
package/udpcast/udpcast.hash
Normal file
3
package/udpcast/udpcast.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# locally computed hash
|
||||
sha256 cefd7554c877e1bc76987d2b96b23f7699a2e5340c254454f61b6e0dae370aa7 udpcast-20250223.tar.gz
|
||||
sha256 422befd3503b1f39a6027017f639874c1f274e37ec60ba3174894646b584ccbc COPYING
|
||||
23
package/udpcast/udpcast.mk
Normal file
23
package/udpcast/udpcast.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# udpcast
|
||||
#
|
||||
################################################################################
|
||||
|
||||
UDPCAST_VERSION = 20250223
|
||||
UDPCAST_SITE = https://www.udpcast.linux.lu/download
|
||||
UDPCAST_DEPENDENCIES = host-m4
|
||||
UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+
|
||||
UDPCAST_LICENSE_FILES = COPYING
|
||||
UDPCAST_TARGETS = \
|
||||
$(if $(BR2_PACKAGE_UDPCAST_RECEIVER),udp-receiver) \
|
||||
$(if $(BR2_PACKAGE_UDPCAST_SENDER),udp-sender)
|
||||
UDPCAST_MAKE_OPTS = $(UDPCAST_TARGETS)
|
||||
|
||||
define UDPCAST_INSTALL_TARGET_CMDS
|
||||
$(foreach f,$(UDPCAST_TARGETS),\
|
||||
$(INSTALL) -D -m 755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(f)
|
||||
)
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user