pkgsrc/net/ettercap-NG/Makefile
adrianp f1d4bfa2c7 - Update to 0.7.3
- From the CHANGELOG:
>    + added the INC (+=) and DEC (-=) operators to the filter engine
>    !! fixed the compilation of some plugins
>    !! fixed a segfault in the isolate plugin
>    !! fixed a bug in the dhcp spoofing module
>    !! fixed a serious security bug
2005-05-31 19:03:50 +00:00

52 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2005/05/31 19:03:50 adrianp Exp $
DISTNAME= ettercap-NG-0.7.3
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ettercap/}
MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://ettercap.sourceforge.net/
COMMENT= Multipurpose sniffer/interceptor/logger for switched LAN
CONFLICTS= ettercap-[0-9]*
BUILDLINK_DEPENDS.libpcap+= libpcap>=0.8.1
GNU_CONFIGURE= YES
PTHREAD_OPTS+= require
USE_PKGINSTALL= YES
USE_LIBTOOL= YES
USE_NCURSES= # ncurses.h menu.h panel.h form.h
USE_OLD_DES_API= YES
CONFIGURE_ARGS+= --with-libnet=${BUILDLINK_PREFIX.libnet}
CONFIGURE_ARGS+= --with-libpcap=${BUILDLINK_PREFIX.libpcap}
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
CONFIGURE_ARGS+= --with-libpcre=${BUILDLINK_PREFIX.pcre}
CONFIGURE_ARGS+= --with-libncurses=${BUILDLINK_PREFIX.ncurses}
CONFIGURE_ARGS+= --enable-plugins
CONFIGURE_ARGS+= --disable-gtk
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
INSTALL_UNSTRIPPED= YES
.endif
CONF_FILES= ${PREFIX}/share/examples/ettercap-NG/etter.conf \
${PKG_SYSCONFDIR}/etter.conf
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/libnet11/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ettercap-NG
${INSTALL_DATA} ${WRKSRC}/share/etter.conf \
${PREFIX}/share/examples/ettercap-NG
.include "../../mk/bsd.pkg.mk"