2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.hazard.maks.net
/parprouted
/
16 PKG_MD5SUM
:=14133c9cb8dd9c9a90ff37648ae7b31a
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/parprouted
26 TITLE
:=Proxy ARP daemon
27 URL
:=http
://www.hazard.maks.net
/parprouted
/
30 define Package
/parprouted
/description
31 parprouted is a daemon for transparent IP
(Layer
3) proxy ARP bridging.
32 This is useful for creation of transparent firewalls and bridging networks
33 with different MAC protocols. Also
, unlike standard bridging
, proxy ARP
34 bridging allows to bridge Ethernet networks behind wireless nodes without
35 using WDS or layer
2 bridging.
40 $(call Build
/Compile
/Default
, \
41 CFLAGS
="$(TARGET_CFLAGS)" \
47 define Package
/parprouted
/install
48 $(INSTALL_DIR
) $(1)/usr
/sbin
49 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/parprouted
$(1)/usr
/sbin
/
50 $(INSTALL_DIR
) $(1)/etc
/default
51 $(INSTALL_BIN
) .
/files
/parprouted.default
$(1)/etc
/default
/parprouted
52 $(INSTALL_DIR
) $(1)/etc
/init.d
53 $(INSTALL_BIN
) .
/files
/parprouted.init
$(1)/etc
/init.d
/parprouted
56 $(eval
$(call BuildPackage
,parprouted
))