2 # Copyright (C) 2006-2016 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
:=https
://codeload.github.com
/fln
/addrwatch
/tar.gz
/v
$(PKG_VERSION
)?
16 PKG_HASH
:=be70150a357558481de8488665da1d6efdfa5dc37666d9fa68e8e73a8b59ade6
18 PKG_LICENSE_FILES
:=COPYING
20 PKG_BUILD_DEPENDS
:=USE_UCLIBC
:argp-standalone USE_MUSL
:argp-standalone
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/addrwatch
27 DEPENDS
:=+libpcap
+libevent2
28 TITLE
:=IPv4
/IPv6 and ethernet address pairing tool
29 URL
:=https
://github.com
/fln
/addrwatch
30 MAINTAINER
:=Ondrej Caletka
<ondrej@caletka.cz
>
33 define Package
/addrwatch
/description
34 This is a tool similar to arpwatch. It main purpose is to monitor network and
35 log discovered ethernet
/ip pairings. Addrwatch is extremely useful in networks
36 with IPv6 autoconfiguration
(RFC4862
) enabled. It allows to track IPv6
37 addresses of hosts using IPv6 privacy extensions
(RFC4941
).
40 define Package
/addrwatch
/conffiles
44 define Package
/addrwatch
/install
45 $(INSTALL_DIR
) $(1)/usr
/sbin
$(1)/etc
/config
$(1)/etc
/init.d
46 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/addrwatch
$(1)/usr
/sbin
/
47 $(INSTALL_BIN
) .
/files
/addrwatch.init
$(1)/etc
/init.d
/addrwatch
48 $(INSTALL_CONF
) .
/files
/addrwatch.config
$(1)/etc
/config
/addrwatch
51 $(eval
$(call BuildPackage
,addrwatch
))