diff options
author | nia <nia@pkgsrc.org> | 2021-03-06 11:20:55 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-03-06 11:20:55 +0000 |
commit | 4737e941280e6d109b056e0b70d7a76c721e46fc (patch) | |
tree | 99deaf2391b88dcd53fd7d440b0eaa9c23db93cd /net/ettercap/Makefile.common | |
parent | 11bfea53ac3297e8e454960a5b0f944db838b15f (diff) | |
download | pkgsrc-4737e941280e6d109b056e0b70d7a76c721e46fc.tar.gz |
ettercap: Update to 0.8.3.1.
Builds again. Added a spearate package for the GTK ui.
Removed ettercap-NG, it's now obsoleted by the main ettercap package.
Diffstat (limited to 'net/ettercap/Makefile.common')
-rw-r--r-- | net/ettercap/Makefile.common | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/net/ettercap/Makefile.common b/net/ettercap/Makefile.common new file mode 100644 index 00000000000..dff99309a00 --- /dev/null +++ b/net/ettercap/Makefile.common @@ -0,0 +1,41 @@ +# $NetBSD: Makefile.common,v 1.1 2021/03/06 11:20:56 nia Exp $ +# used by net/ettercap/Makefile +# used by net/ettercap-gtk/Makefile + +DISTNAME= ettercap-0.8.3.1 +CATEGORIES= net security +MASTER_SITES= ${MASTER_SITE_GITHUB:=Ettercap/} +GITHUB_TAG= v${PKGVERSION_NOREV} + +HOMEPAGE= https://www.ettercap-project.org/ +LICENSE= gnu-gpl-v2 + +CONFLICTS+= ettercap-NG-[0-9]* + +USE_CMAKE= yes +USE_TOOLS+= bison flex pkg-config +CONFIGURE_DIRS= build +CMAKE_ARG_PATH= .. + +TEST_TARGET= test + +CMAKE_ARGS+= -DENABLE_IPV6=ON +CMAKE_ARGS+= -DENABLE_TESTS=ON + + +DISTINFO_FILE= ${.CURDIR}/../../net/ettercap/distinfo +PATCHDIR= ${.CURDIR}/../../net/ettercap/patches + +pre-configure: + ${MKDIR} ${WRKSRC}/build + +.include "../../devel/check/buildlink3.mk" +BUILDLINK_DEPMETHOD.check?= build # tests only +.include "../../devel/libnet/buildlink3.mk" +# It uses set_menu_spacing from libmenu which NetBSD curses doesn't have. +.include "../../devel/ncursesw/buildlink3.mk" +.include "../../devel/pcre/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../net/GeoIP/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" +.include "../../www/curl/buildlink3.mk" |