2006-08-06 14:27:00 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=parprouted
|
2007-01-15 14:44:24 +00:00
|
|
|
PKG_VERSION:=0.64
|
2006-08-06 14:27:00 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_SOURCE_URL:=http://www.hazard.maks.net/parprouted/
|
2007-01-15 14:44:24 +00:00
|
|
|
PKG_MD5SUM:=14133c9cb8dd9c9a90ff37648ae7b31a
|
2006-08-06 14:27:00 +00:00
|
|
|
PKG_CAT:=zcat
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/parprouted
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2007-01-15 14:44:24 +00:00
|
|
|
DEPENDS:=+libpthread
|
2006-08-06 14:27:00 +00:00
|
|
|
TITLE:=Proxy ARP daemon
|
2006-10-30 13:51:50 +00:00
|
|
|
DESCRIPTION:=\
|
|
|
|
parprouted is a daemon for transparent IP (Layer 3) proxy ARP bridging.\\\
|
2006-08-06 14:27:00 +00:00
|
|
|
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.\\\
|
|
|
|
URL:=http://www.hazard.maks.net/parprouted/
|
|
|
|
endef
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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/
|
|
|
|
$(INSTALL_DIR) $(1)/etc/default
|
|
|
|
$(INSTALL_BIN) ./files/parprouted.default $(1)/etc/default/parprouted
|
|
|
|
$(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
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,parprouted))
|