5abef9be14
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
51 lines
1.5 KiB
Makefile
51 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.6 2006/04/06 06:22:32 reed 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_API_DEPENDS.libpcap+= libpcap>=0.8.1
|
|
|
|
GNU_CONFIGURE= YES
|
|
PTHREAD_OPTS+= require
|
|
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"
|