diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-02-01 11:57:57 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-02-01 11:57:57 +0000 |
commit | ad8bd528a48cca48d3f2bc7f938cdaefeb4487dc (patch) | |
tree | 604ec5d0b30a286e217c29c5876bf13df2f07097 /package/udp-broadcast-relay | |
parent | 46225926c8c36b914ad7423bb7e6f36a42b92298 (diff) |
Added udp-broadcast-relay, corrected missing Makefile lines for tinyproxy
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3108 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/udp-broadcast-relay')
-rw-r--r-- | package/udp-broadcast-relay/Config.in | 12 | ||||
-rw-r--r-- | package/udp-broadcast-relay/Makefile | 35 | ||||
-rw-r--r-- | package/udp-broadcast-relay/ipkg/udp-broadcast-relay.control | 4 |
3 files changed, 51 insertions, 0 deletions
diff --git a/package/udp-broadcast-relay/Config.in b/package/udp-broadcast-relay/Config.in new file mode 100644 index 000000000..da3c2241f --- /dev/null +++ b/package/udp-broadcast-relay/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_UDP_BROADCAST_RELAY + prompt "udp-broadcast-relay............... listens for packets on a specified UDP broadcast port." + tristate + default m if CONFIG_DEVEL + help + 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. + + http://www.joachim-breitner.de/udp-broadcast-relay/ diff --git a/package/udp-broadcast-relay/Makefile b/package/udp-broadcast-relay/Makefile new file mode 100644 index 000000000..99033e24c --- /dev/null +++ b/package/udp-broadcast-relay/Makefile @@ -0,0 +1,35 @@ +# $Id: Makefile 1146 2005-06-05 13:32:28Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=udp-broadcast-relay +PKG_VERSION:=0.3 +PKG_RELEASE:=1 +PKG_MD5SUM:=a32f983b7063d6ac670e6b22be9b9d24 + +PKG_SOURCE_URL:=http://www.joachim-breitner.de/udp-broadcast-relay/files/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,UDP_BROADCAST_RELAY,udp-broadcast-relay,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.configured: + touch $@ + +$(PKG_BUILD_DIR)/.built: + $(TARGET_CC) $(PKG_BUILD_DIR)/main.c -o $(PKG_BUILD_DIR)/$(PKG_NAME) + touch $@ + +$(IPKG_UDP_BROADCAST_RELAY): + mkdir -p $(IDIR_UDP_BROADCAST_RELAY)/usr/sbin + cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_UDP_BROADCAST_RELAY)/usr/sbin/ + $(STRIP) $(IDIR_UDP_BROADCAST_RELAY)/usr/sbin/* + $(IPKG_BUILD) $(IDIR_UDP_BROADCAST_RELAY) $(PACKAGE_DIR) + +mostlyclean: + $(MAKE) -C $(PKG_BUILD_DIR) clean + rm -f $(PKG_BUILD_DIR)/.built diff --git a/package/udp-broadcast-relay/ipkg/udp-broadcast-relay.control b/package/udp-broadcast-relay/ipkg/udp-broadcast-relay.control new file mode 100644 index 000000000..f83247ac7 --- /dev/null +++ b/package/udp-broadcast-relay/ipkg/udp-broadcast-relay.control @@ -0,0 +1,4 @@ +Package: udp-broadcast-relay +Priority: optional +Section: net +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. |