net/addrwatch: sync with upstream

Taken from: HardenedBSD
This commit is contained in:
Franco Fichtner 2020-02-25 16:58:00 +01:00
parent d478173b66
commit f5317ee4c7
3 changed files with 42 additions and 0 deletions

28
net/addrwatch/Makefile Normal file
View file

@ -0,0 +1,28 @@
# $FreeBSD$
PORTNAME= addrwatch
DISTVERSIONPREFIX=v
DISTVERSION= 1.0.2
CATEGORIES= net
MAINTAINER= m.muenz@gmail.com
COMMENT= Supports IP/Ethernet pairing for IPv4 and IPv6
LICENSE= GPLv3
LIB_DEPENDS= libevent.so:devel/libevent \
libpcap.so:net/libpcap \
libargp.so:devel/argp-standalone
USES= autoreconf gmake pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
USE_GITHUB= yes
GH_ACCOUNT= fln
PLIST_FILES= bin/addrwatch \
bin/addrwatch_stdout \
bin/addrwatch_syslog \
man/man8/addrwatch.8.gz
.include <bsd.port.mk>

3
net/addrwatch/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1582621254
SHA256 (fln-addrwatch-v1.0.2_GH0.tar.gz) = 56a2180305e95adde584bd9502771269b9a216419b49631046b368502d5d5fba
SIZE (fln-addrwatch-v1.0.2_GH0.tar.gz) = 44584

11
net/addrwatch/pkg-descr Normal file
View file

@ -0,0 +1,11 @@
addrwatch is a similar software to arpwatch. It main purpose is to
monitor network and log ethernet/ip pairings.
To simply try out addrwatch start it without any arguments. When
started without arguments it will open first non loopback interface and
start logging events to the console without writing anything to disk.
All discovered ethernet/ip address pairings will be printed to stdout.
All debug, warning, and err messages will be sent to syslog and printed
to stderr.
WWW: https://github.com/fln/addrwatch