include $(TOPDIR)/rules.mk PKG_NAME:=udp-broadcast-relay-redux PKG_RELEASE:=1 PKG_MAINTAINER:=Aaron Curley PKG_LICENSE:=GPL-2.0-or-later PKG_LICENSE_FILES:=LICENSE PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/accwebs/udp-broadcast-relay-redux PKG_SOURCE_DATE:=2026-11-06 PKG_SOURCE_VERSION:=34f6af40c37bc55e54433f024a2067deb2b7b3d2 PKG_MIRROR_HASH:=68a42c48537b8aa816d94f0064a143ac8fdc0be41f2e051c07e7a847937b597b include $(INCLUDE_DIR)/package.mk define Package/udp-broadcast-relay-redux SECTION:=net CATEGORY:=Network SUBMENU:=Routing and Redirection TITLE:=listens for packets on a specified UDP broadcast port and replays them URL:=https://github.com/accwebs/udp-broadcast-relay-redux endef define Package/udp-broadcast-relay-redux/description This program listens for packets on a specified UDP broadcast port. When a packet is received, it sends that packet to all specified interfaces but the one it came from as though it originated from the original sender. The primary purpose of this is to allow games on machines on separated local networks (Ethernet, WLAN) that use udp broadcasts to find each other to do so. It also works on ppp links, so you can log in from windows boxes (e.g. using pptp) and play LAN-based games together. Currently, you have to care about upcoming or downgoing interfaces yourself. endef define Package/udp-broadcast-relay-redux/conffiles /etc/config/udp_broadcast_relay_redux endef define Build/Compile $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS) $(PKG_BUILD_DIR)/main.c -o $(PKG_BUILD_DIR)/$(PKG_NAME) endef define Package/udp-broadcast-relay-redux/install $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/config $(1)/etc/init.d $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/ $(INSTALL_CONF) ./files/udp_broadcast_relay_redux.config $(1)/etc/config/udp_broadcast_relay_redux $(INSTALL_BIN) ./files/udp-broadcast-relay-redux.init $(1)/etc/init.d/udp-broadcast-relay-redux endef $(eval $(call BuildPackage,udp-broadcast-relay-redux))