2017-05-12 14:01:01 +02:00
|
|
|
# $NetBSD: Makefile,v 1.27 2017/05/12 12:01:01 jperkin Exp $
|
2005-05-05 21:34:44 +02:00
|
|
|
|
2005-05-31 21:03:50 +02:00
|
|
|
DISTNAME= ettercap-NG-0.7.3
|
2016-12-19 00:33:11 +01:00
|
|
|
PKGREVISION= 14
|
2005-05-05 21:34:44 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ettercap/}
|
|
|
|
|
2009-07-17 20:00:13 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-05-05 21:34:44 +02:00
|
|
|
HOMEPAGE= http://ettercap.sourceforge.net/
|
|
|
|
COMMENT= Multipurpose sniffer/interceptor/logger for switched LAN
|
2009-12-09 09:04:32 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
2005-05-05 21:34:44 +02:00
|
|
|
|
2010-05-28 16:49:22 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2005-05-05 21:34:44 +02:00
|
|
|
CONFLICTS= ettercap-[0-9]*
|
|
|
|
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.8.1
|
2005-05-05 21:34:44 +02:00
|
|
|
|
2016-04-03 14:44:54 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2005-05-05 21:34:44 +02:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
PTHREAD_OPTS+= require
|
|
|
|
USE_LIBTOOL= YES
|
2009-12-09 09:04:32 +01:00
|
|
|
USE_NCURSES= YES # ncurses.h menu.h panel.h form.h
|
2005-05-05 21:34:44 +02:00
|
|
|
USE_OLD_DES_API= YES
|
2007-02-18 19:49:03 +01:00
|
|
|
CPPFLAGS+= -L${BUILDLINK_PREFIX.libnet11}/lib/libnet11
|
2016-04-03 14:44:54 +02:00
|
|
|
CPPFLAGS+= -L${PREFIX}/lib
|
2005-05-05 21:34:44 +02:00
|
|
|
|
2007-02-18 19:49:03 +01:00
|
|
|
CONFIGURE_ARGS+= --with-libnet=${BUILDLINK_PREFIX.libnet11}
|
2005-05-05 21:34:44 +02:00
|
|
|
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
|
|
|
|
|
2007-02-18 19:49:03 +01:00
|
|
|
SUBST_CLASSES+= conf
|
|
|
|
SUBST_STAGE.conf= pre-configure
|
|
|
|
SUBST_FILES.conf= configure
|
|
|
|
SUBST_SED.conf+= -e "s|@@LN_INC@@|${BUILDLINK_PREFIX.libnet11}/include/libnet11|g"
|
|
|
|
SUBST_SED.conf+= -e "s|@@LN_LIB@@|${BUILDLINK_PREFIX.libnet11}/lib/libnet11|g"
|
|
|
|
SUBST_MESSAGE.conf= Fixing configuration script.
|
|
|
|
|
2005-05-14 19:19:02 +02:00
|
|
|
CONF_FILES= ${PREFIX}/share/examples/ettercap-NG/etter.conf \
|
|
|
|
${PKG_SYSCONFDIR}/etter.conf
|
|
|
|
|
2009-12-09 09:04:32 +01:00
|
|
|
INSTALLATION_DIRS+= share/examples/ettercap-NG
|
|
|
|
|
2005-05-05 21:34:44 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/share/etter.conf \
|
2009-12-09 09:04:32 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/ettercap-NG
|
2005-05-05 21:34:44 +02:00
|
|
|
|
2017-05-12 14:01:01 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../devel/libltdl/buildlink3.mk"
|
|
|
|
.include "../../devel/libnet11/buildlink3.mk"
|
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../net/libpcap/buildlink3.mk"
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2005-05-05 21:34:44 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|