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
:=14133c9cb8dd9c9a90ff37648ae7b31a
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/parprouted
28 TITLE
:=Proxy ARP daemon
29 URL
:=http
://www.hazard.maks.net
/parprouted
/
32 define Package
/parprouted
/description
33 parprouted is a daemon for transparent IP
(Layer
3) proxy ARP bridging.
34 This is useful for creation of transparent firewalls and bridging networks
35 with different MAC protocols. Also
, unlike standard bridging
, proxy ARP
36 bridging allows to bridge Ethernet networks behind wireless nodes without
37 using WDS or layer
2 bridging.
42 $(call Build
/Compile
/Default
, \
43 CFLAGS
="$(TARGET_CFLAGS)" \
49 define Package
/parprouted
/install
50 $(INSTALL_DIR
) $(1)/usr
/sbin
51 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/parprouted
$(1)/usr
/sbin
/
52 $(INSTALL_DIR
) $(1)/etc
/default
53 $(INSTALL_BIN
) .
/files
/parprouted.default
$(1)/etc
/default
/parprouted
54 $(INSTALL_DIR
) $(1)/etc
/init.d
55 $(INSTALL_BIN
) .
/files
/parprouted.init
$(1)/etc
/init.d
/parprouted
58 $(eval
$(call BuildPackage
,parprouted
))