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.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.hazard.maks.net
/parprouted
/
17 PKG_MD5SUM
:=12753098a22e82997d1941d6d2284750
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/parprouted
27 TITLE
:=Proxy ARP daemon
29 parprouted is a daemon for transparent IP
(Layer
3) proxy ARP bridging.
\\\
30 This is useful for creation of transparent firewalls and bridging networks
\\\
31 with different MAC protocols. Also
, unlike standard bridging
, proxy ARP
\\\
32 bridging allows to bridge Ethernet networks behind wireless nodes without
\\\
33 using WDS or layer
2 bridging.
\\\
34 URL
:=http
://www.hazard.maks.net
/parprouted
/
38 $(call Build
/Compile
/Default
, \
39 CFLAGS
="$(TARGET_CFLAGS)" \
45 define Package
/parprouted
/install
46 install -d
-m0755
$(1)/usr
/sbin
47 install -m0755
$(PKG_BUILD_DIR
)/parprouted
$(1)/usr
/sbin
/
48 install -d
-m0755
$(1)/etc
/default
49 install -m0755 .
/files
/parprouted.default
$(1)/etc
/default
/parprouted
50 install -d
-m0755
$(1)/etc
/init.d
51 install -m0755 .
/files
/parprouted.init
$(1)/etc
/init.d
/parprouted
54 $(eval
$(call BuildPackage
,parprouted
))