Initial Commit
- initial default booting image
This commit is contained in:
38
package/parprouted/0001-gcc-15.patch
Normal file
38
package/parprouted/0001-gcc-15.patch
Normal file
@@ -0,0 +1,38 @@
|
||||
Description: Fix FTBFS with GCC 15
|
||||
Author: Adrian Bunk <bunk@debian.org>
|
||||
Bug-Debian: https://bugs.debian.org/1097548
|
||||
|
||||
Downloaded from
|
||||
https://sources.debian.org/src/parprouted/0.70-6/debian/patches/gcc-15.patch
|
||||
|
||||
Upstream: dead (last update 2008)
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
|
||||
--- parprouted-0.70.orig/parprouted.c
|
||||
+++ parprouted-0.70/parprouted.c
|
||||
@@ -330,7 +330,7 @@ void parseproc()
|
||||
}
|
||||
}
|
||||
|
||||
-void cleanup()
|
||||
+void cleanup(void *arg)
|
||||
{
|
||||
/* FIXME: I think this is a wrong way to do it ... */
|
||||
|
||||
@@ -346,13 +346,13 @@ void cleanup()
|
||||
exit(1);
|
||||
}
|
||||
|
||||
-void sighandler()
|
||||
+void sighandler(int sig)
|
||||
{
|
||||
/* FIXME: I think this is a wrong way to do it ... */
|
||||
perform_shutdown=1;
|
||||
}
|
||||
|
||||
-void *main_thread()
|
||||
+void *main_thread(void *arg)
|
||||
{
|
||||
time_t last_refresh;
|
||||
|
||||
17
package/parprouted/Config.in
Normal file
17
package/parprouted/Config.in
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_PARPROUTED
|
||||
bool "parprouted"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
parprouted is a daemon for transparent IP (Layer 3) proxy ARP
|
||||
bridging. This is useful for creation of transparent firewalls
|
||||
and bridging networks with different MAC protocols. Also,
|
||||
unlike standard bridging, proxy ARP bridging allows to bridge
|
||||
Ethernet networks behind wireless nodes without using WDS or
|
||||
layer 2 bridging.
|
||||
|
||||
https://www.hazard.maks.net/parprouted
|
||||
|
||||
comment "parprouted needs a toolchain w/ threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
3
package/parprouted/parprouted.hash
Normal file
3
package/parprouted/parprouted.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 d63643c95d4149a3d71112da5892f459433456bf0279bfa304625f109178defc parprouted-0.7.tar.gz
|
||||
sha256 dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa COPYING
|
||||
20
package/parprouted/parprouted.mk
Normal file
20
package/parprouted/parprouted.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# parprouted
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PARPROUTED_VERSION = 0.7
|
||||
PARPROUTED_SITE = https://www.hazard.maks.net/parprouted
|
||||
PARPROUTED_LICENSE = GPL-2.0
|
||||
PARPROUTED_LICENSE_FILES = COPYING
|
||||
|
||||
define PARPROUTED_BUILD_CMDS
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
|
||||
endef
|
||||
|
||||
define PARPROUTED_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/parprouted $(TARGET_DIR)/usr/sbin/parprouted
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user