1 # Copyright (C) 2006-2016 OpenWrt.org
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE_URL
:=https
://git.netfilter.org
/arptables
14 PKG_SOURCE_DATE
:=2015-05-20
15 PKG_SOURCE_VERSION
:=f4ab8f63f11a72f14687a6646d04ae1bae3fa45f
16 PKG_MIRROR_HASH
:=84bc660be4c9f70be91046acfd87785add930eceab7c543036058e1a9de2e9d9
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/arptables-legacy
26 TITLE
:=ARP firewalling software
27 DEPENDS
:=+kmod-arptables
28 URL
:=https
://git.netfilter.org
/arptables
/
31 200:/usr
/sbin
/arptables
:/usr
/sbin
/arptables-legacy
35 COPT_FLAGS
="$(TARGET_CFLAGS) -D__OPTIMIZE__=1" \
36 KERNEL_DIR
="$(LINUX_DIR)"
38 define Package
/arptables-legacy
/install
39 $(INSTALL_DIR
) $(1)/usr
/sbin
40 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/arptables
$(1)/usr
/sbin
/arptables-legacy
43 $(eval
$(call BuildPackage
,arptables-legacy
))