diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2014-02-03 14:07:47 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2014-02-03 14:07:47 +0000 |
commit | d8d4832d58443dfff67b6a90646c6066ed09bb60 (patch) | |
tree | 4e963bcf8753e2ca45c35bb261ac4cb85ecde3d4 /security/dsniff/Makefile | |
parent | 2ca4195def04afed0ca2984ad28c4fe1486efa9d (diff) |
Notes
Diffstat (limited to 'security/dsniff/Makefile')
-rw-r--r-- | security/dsniff/Makefile | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/security/dsniff/Makefile b/security/dsniff/Makefile index 908aa6d0ca1d..32d7cebcb8d4 100644 --- a/security/dsniff/Makefile +++ b/security/dsniff/Makefile @@ -11,9 +11,8 @@ MASTER_SITES= http://www.monkey.org/~dugsong/${PORTNAME}/ \ MAINTAINER= sbz@FreeBSD.org COMMENT= Various sniffing utilities for penetration testing -BROKEN= Fails to build - -LICENSE= BSD +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/lib/libnet10/libnet.a:${PORTSDIR}/net/libnet10 \ ${LOCALBASE}/lib/libnids.a:${PORTSDIR}/net/libnids @@ -24,10 +23,10 @@ WANT_GNOME= yes OPTIONS_DEFINE= X11 OPTIONS_DEFAULT= X11 +OPTIONS_SUB= yes -MAN8= arpspoof.8 ${PORTNAME}.8 macof.8 mailsnarf.8 tcpkill.8 \ - tcpnice.8 urlsnarf.8 filesnarf.8 dnsspoof.8 msgsnarf.8 \ - sshmitm.8 webmitm.8 +X11_USE= xorg=x11,xmu +X11_CONFIGURE_WITH=x LIBNET_VERSION= 10 LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet${LIBNET_VERSION}-config @@ -37,9 +36,6 @@ LIBNET_INC= "`${LIBNET_CONFIG} --defines` `${LIBNET_CONFIG} --cflags`" LIBNET_LIB= "-L${LOCALBASE}/include/libnet${LIBNET_VERSION} \ ${LOCALBASE}/lib/libnet${LIBNET_VERSION}/libnet.a" -NO_STAGE= yes -.include <bsd.port.options.mk> - # If net/libnids has been compiled with the GLIB2 option then this port needs # the corresponding library and additional linker flags. LIBNIDS_GLIB2?= @@ -51,15 +47,6 @@ LIBNIDS_GLIB2!= nm -u ${LOCALBASE}/lib/libnids.a | ${GREP} g_thread_init || ${EC USE_GNOME+= glib20 .endif -.if ${PORT_OPTIONS:MX11} -USE_XORG= x11 xmu -PLIST_SUB+= X11='' -MAN8+= webspy.8 -.else -CONFIGURE_ARGS+=--without-x -PLIST_SUB+= X11='@comment ' -.endif - post-patch: @${REINPLACE_CMD} -Ee \ 's|libnet-config|${LIBNET_CONFIG:T}|; \ |