hauke d0ea47a3ae parprouted: update to 0.7
This patch updates parprouted from 0.64 to 0.7. This fixes some bugs and
adds support for hosts moving across Ethernet interfaces. Built and tested
on a WNDR3700v2.

Signed-off-by: Tristan Schmelcher <tristan_schmelcher@alumni.uwaterloo.ca>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@40577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-27 20:22:01 +00:00

61 lines
1.5 KiB
Makefile

#
# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=parprouted
PKG_VERSION:=0.70
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-0.7.tar.gz
PKG_SOURCE_URL:=http://www.hazard.maks.net/parprouted/
PKG_MD5SUM:=570f5deaf09600df8f80f589de79ecdb
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-0.7
include $(INCLUDE_DIR)/package.mk
define Package/parprouted
SECTION:=net
CATEGORY:=Network
SUBMENU:=Routing and Redirection
DEPENDS:=+libpthread
TITLE:=Proxy ARP daemon
URL:=http://www.hazard.maks.net/parprouted/
endef
define Package/parprouted/description
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.
endef
define Build/Compile
$(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="" \
all \
)
endef
define Package/parprouted/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/parprouted $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_BIN) ./files/parprouted.config $(1)/etc/config/parprouted
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/parprouted.init $(1)/etc/init.d/parprouted
endef
define Package/parprouted/conffiles
/etc/config/parprouted
endef
$(eval $(call BuildPackage,parprouted))