openbsd-ports/security/sentinel/Makefile
naddy ae1cb22cb2 Switch to PERMIT_(DISTFILES|PACKAGE).
CDROM restrictions are no longer applicable.
2019-07-14 02:16:50 +00:00

36 lines
967 B
Makefile

# $OpenBSD: Makefile,v 1.24 2019/07/14 02:16:52 naddy Exp $
COMMENT= remote promiscuous mode detection tool
DISTNAME= sentinel-1.0
REVISION = 3
CATEGORIES= security net
HOMEPAGE= http://packetfactory.openwall.net/projects/sentinel/
PERMIT_PACKAGE= no license
PERMIT_DISTFILES= no license
WANTLIB= c pcap pthread lib/libnet-1.0/net=0
MASTER_SITES= http://packetfactory.openwall.net/projects/sentinel/ \
${MASTER_SITE_PACKETSTORM:=UNIX/IDS/sentinel/}
LIB_DEPENDS= net/libnet/1.0
WRKDIST= ${WRKDIR}/sentinel
ALL_TARGET= sentinel
MAKE_FLAGS= CC="${CC}" CFLAGS='${CFLAGS} -Wall -I. \
-I${LOCALBASE}/include/libnet-1.0 `libnet-config-1.0 --defines`' \
LIBS="-lnet -L${LOCALBASE}/lib/libnet-1.0 -lpcap -pthread"
NO_TEST= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sentinel ${PREFIX}/bin/sentinel
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sentinel
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sentinel
.include <bsd.port.mk>