1 include $(TOPDIR
)/rules.mk
3 PKG_NAME
:=udp-broadcast-relay-redux
4 PKG_RELEASE
:=$(AUTORELEASE
)
8 PKG_SOURCE_URL
:=https
://github.com
/udp-redux
/udp-broadcast-relay-redux
9 PKG_SOURCE_DATE
:=2021-04-05
10 PKG_SOURCE_VERSION
:=671372938b55a186625a80516f86e8b9948c977a
11 PKG_MIRROR_HASH
:=11cf8728f2b8e966f4f57032d817a889f680ed8e61afff35b52ca9c6789a03c6
13 include $(INCLUDE_DIR
)/package.mk
15 define Package
/udp-broadcast-relay-redux
18 SUBMENU
:=Routing and Redirection
19 TITLE
:=listens for packets on a specified UDP broadcast port and replays them
20 URL
:=https
://github.com
/udp-redux
/udp-broadcast-relay-redux
23 define Package
/udp-broadcast-relay-redux
/description
24 This program listens for packets on a specified UDP broadcast port.
25 When a packet is received
, it sends that packet to
all specified interfaces but
26 the one it came from
as though it originated from the original sender.
27 The primary purpose of this is to allow games on machines on separated
28 local networks
(Ethernet
, WLAN
) that use udp broadcasts to find each other to do so.
29 It also works on ppp links
, so you can log in from windows boxes
(e.g. using pptp
)
30 and play LAN-based games together. Currently
, you have to care about upcoming or
31 downgoing interfaces yourself.
34 define Package
/udp-broadcast-relay-redux
/conffiles
35 /etc
/config
/udp_broadcast_relay_redux
39 $(TARGET_CC
) $(TARGET_CFLAGS
) $(PKG_BUILD_DIR
)/main.c
-o
$(PKG_BUILD_DIR
)/$(PKG_NAME
)
42 define Package
/udp-broadcast-relay-redux
/install
43 $(INSTALL_DIR
) $(1)/usr
/sbin
$(1)/etc
/config
$(1)/etc
/init.d
44 $(CP
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/sbin
/
45 $(INSTALL_CONF
) .
/files
/udp_broadcast_relay_redux.config
$(1)/etc
/config
/udp_broadcast_relay_redux
46 $(INSTALL_BIN
) .
/files
/udp-broadcast-relay-redux.init
$(1)/etc
/init.d
/udp-broadcast-relay-redux
49 $(eval
$(call BuildPackage
,udp-broadcast-relay-redux
))