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
://github.com
/fln
/addrwatch
/releases
/download
/v
$(PKG_VERSION
)
16 PKG_HASH
:=f04e143da881cd63c299125b592cfb85e4812abbd146f419a1894c00f2ae6208
18 PKG_MAINTAINER
:=Ondrej Caletka
<ondrej@caletka.cz
>
19 PKG_LICENSE
:=GPL-3.0
-or-later
20 PKG_LICENSE_FILES
:=COPYING
24 PKG_BUILD_DEPENDS
:=USE_UCLIBC
:argp-standalone USE_MUSL
:argp-standalone
26 include $(INCLUDE_DIR
)/package.mk
28 define Package
/addrwatch
31 DEPENDS
:=+libpcap
+libevent2
32 TITLE
:=IPv4
/IPv6 and ethernet address pairing tool
33 URL
:=https
://github.com
/fln
/addrwatch
36 define Package
/addrwatch
/description
37 This is a tool similar to arpwatch. It main purpose is to monitor network and
38 log discovered ethernet
/ip pairings. Addrwatch is extremely useful in networks
39 with IPv6 autoconfiguration
(RFC4862
) enabled. It allows to track IPv6
40 addresses of hosts using IPv6 privacy extensions
(RFC4941
).
43 define Package
/addrwatch
/conffiles
47 define Package
/addrwatch
/install
48 $(INSTALL_DIR
) $(1)/usr
/bin
$(1)/etc
/config
$(1)/etc
/init.d
49 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/addrwatch
$(1)/usr
/bin
/
50 $(INSTALL_BIN
) .
/files
/addrwatch.init
$(1)/etc
/init.d
/addrwatch
51 $(INSTALL_CONF
) .
/files
/addrwatch.config
$(1)/etc
/config
/addrwatch
54 $(eval
$(call BuildPackage
,addrwatch
))