openbsd-ports/security/dsniff/Makefile
2010-11-11 18:34:59 +00:00

44 lines
915 B
Makefile

# $OpenBSD: Makefile,v 1.52 2010/11/11 18:34:59 espie Exp $
COMMENT= sniffing tools for penetration testing
DISTNAME= dsniff-2.3
REVISION= 11
CATEGORIES= security
MASTER_SITES= http://monkey.org/~dugsong/dsniff/
HOMEPAGE= http://www.monkey.org/~dugsong/dsniff/
BUILD_DEPENDS= ::net/libnids
LIB_DEPENDS= :db->=3,<4:databases/db/v3 \
:libnet->=1.0,<1.1:net/libnet/1.0
WANTLIB= c crypto pcap ssl rpcsvc lib/db/db.=3 lib/libnet-1.0/net.=0
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
AUTOCONF_VERSION= 2.13
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= --with-db="${LOCALBASE}"
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include/db"
USE_GROFF = Yes
FLAVORS= no_x11
FLAVOR?=
.if ${FLAVOR:L} == "no_x11"
CONFIGURE_ARGS+= --without-x
.else
WANTLIB+= ICE SM X11 Xmu
.endif
NO_REGRESS= Yes
DESTDIRNAME= install_prefix
.include <bsd.port.mk>