2006-08-06 14:27:00 +00:00
|
|
|
#
|
2012-05-28 15:38:58 +00:00
|
|
|
# Copyright (C) 2006-2012 OpenWrt.org
|
2006-08-06 14:27:00 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=parprouted
|
2014-04-27 20:22:01 +00:00
|
|
|
PKG_VERSION:=0.70
|
|
|
|
PKG_RELEASE:=1
|
2006-08-06 14:27:00 +00:00
|
|
|
|
2014-04-27 20:22:01 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-0.7.tar.gz
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_SOURCE_URL:=http://www.hazard.maks.net/parprouted/
|
2014-04-27 20:22:01 +00:00
|
|
|
PKG_MD5SUM:=570f5deaf09600df8f80f589de79ecdb
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-0.7
|
2006-08-06 14:27:00 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/parprouted
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-12 08:03:10 +00:00
|
|
|
SUBMENU:=Routing and Redirection
|
2007-01-15 14:44:24 +00:00
|
|
|
DEPENDS:=+libpthread
|
2006-08-06 14:27:00 +00:00
|
|
|
TITLE:=Proxy ARP daemon
|
|
|
|
URL:=http://www.hazard.maks.net/parprouted/
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
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
|
|
|
|
|
2006-08-06 14:27:00 +00:00
|
|
|
define Build/Compile
|
2006-10-30 13:51:50 +00:00
|
|
|
$(call Build/Compile/Default, \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
|
|
LDFLAGS="" \
|
|
|
|
all \
|
|
|
|
)
|
2006-08-06 14:27:00 +00:00
|
|
|
endef
|
|
|
|
|
2011-11-17 10:47:19 +00:00
|
|
|
define Package/parprouted/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/parprouted $(1)/usr/sbin/
|
2011-11-17 10:47:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
|
|
$(INSTALL_BIN) ./files/parprouted.config $(1)/etc/config/parprouted
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./files/parprouted.init $(1)/etc/init.d/parprouted
|
2006-08-06 14:27:00 +00:00
|
|
|
endef
|
|
|
|
|
2011-11-17 10:47:19 +00:00
|
|
|
define Package/parprouted/conffiles
|
|
|
|
/etc/config/parprouted
|
|
|
|
endef
|
|
|
|
|
2006-08-06 14:27:00 +00:00
|
|
|
$(eval $(call BuildPackage,parprouted))
|