head	1.28;
access;
symbols
	RELEASE_8_3_0:1.24
	RELEASE_9_0_0:1.24
	RELEASE_7_4_0:1.23
	RELEASE_8_2_0:1.23
	RELEASE_6_EOL:1.23
	RELEASE_8_1_0:1.23
	RELEASE_7_3_0:1.23
	RELEASE_8_0_0:1.23
	RELEASE_7_2_0:1.22
	RELEASE_7_1_0:1.20
	RELEASE_6_4_0:1.20
	RELEASE_5_EOL:1.20
	RELEASE_7_0_0:1.19
	RELEASE_6_3_0:1.19
	PRE_XORG_7:1.18
	RELEASE_4_EOL:1.15
	RELEASE_6_2_0:1.15
	RELEASE_6_1_0:1.14
	RELEASE_5_5_0:1.14
	RELEASE_6_0_0:1.13
	RELEASE_5_4_0:1.13
	RELEASE_4_11_0:1.13
	RELEASE_5_3_0:1.13
	RELEASE_4_10_0:1.13
	RELEASE_5_2_1:1.13
	RELEASE_5_2_0:1.13
	RELEASE_4_9_0:1.13
	RELEASE_5_1_0:1.13
	RELEASE_4_8_0:1.13
	RELEASE_5_0_0:1.12
	RELEASE_4_7_0:1.12
	RELEASE_4_6_2:1.10
	RELEASE_4_6_1:1.10
	RELEASE_4_6_0:1.10
	RELEASE_5_0_DP1:1.10
	RELEASE_4_5_0:1.10
	RELEASE_4_4_0:1.10
	RELEASE_4_3_0:1.10
	RELEASE_4_2_0:1.9
	RELEASE_4_1_1:1.9
	RELEASE_4_1_0:1.7
	RELEASE_3_5_0:1.7
	RELEASE_4_0_0:1.4;
locks; strict;
comment	@# @;


1.28
date	2013.02.18.21.46.33;	author svnexp;	state Exp;
branches;
next	1.27;

1.27
date	2012.11.17.06.01.03;	author svnexp;	state Exp;
branches;
next	1.26;

1.26
date	2012.10.08.09.38.22;	author sbz;	state Exp;
branches;
next	1.25;

1.25
date	2012.10.08.08.13.05;	author sbz;	state Exp;
branches;
next	1.24;

1.24
date	2011.03.18.10.04.51;	author sbz;	state Exp;
branches;
next	1.23;

1.23
date	2009.05.08.21.32.24;	author garga;	state Exp;
branches;
next	1.22;

1.22
date	2009.02.27.20.45.19;	author tabthorpe;	state Exp;
branches;
next	1.21;

1.21
date	2009.01.08.17.58.18;	author erwin;	state Exp;
branches;
next	1.20;

1.20
date	2008.03.25.22.44.39;	author miwi;	state Exp;
branches;
next	1.19;

1.19
date	2007.05.19.20.22.24;	author flz;	state Exp;
branches;
next	1.18;

1.18
date	2007.02.26.19.47.49;	author alepulver;	state Exp;
branches;
next	1.17;

1.17
date	2007.01.31.14.29.34;	author pav;	state Exp;
branches;
next	1.16;

1.16
date	2007.01.31.14.09.53;	author pav;	state Exp;
branches;
next	1.15;

1.15
date	2006.08.31.19.42.58;	author kris;	state Exp;
branches;
next	1.14;

1.14
date	2005.11.14.17.07.04;	author sem;	state Exp;
branches;
next	1.13;

1.13
date	2003.03.07.06.10.40;	author ade;	state Exp;
branches;
next	1.12;

1.12
date	2002.09.14.23.01.49;	author kris;	state Exp;
branches;
next	1.11;

1.11
date	2002.06.17.13.41.55;	author sheldonh;	state Exp;
branches;
next	1.10;

1.10
date	2001.01.14.08.12.52;	author kris;	state Exp;
branches;
next	1.9;

1.9
date	2000.09.10.10.59.13;	author kris;	state Exp;
branches;
next	1.8;

1.8
date	2000.09.02.01.33.18;	author kris;	state Exp;
branches;
next	1.7;

1.7
date	2000.04.21.08.18.17;	author mharo;	state Exp;
branches;
next	1.6;

1.6
date	2000.04.09.18.29.33;	author cpiazza;	state Exp;
branches;
next	1.5;

1.5
date	2000.03.30.06.27.25;	author kris;	state Exp;
branches;
next	1.4;

1.4
date	2000.01.28.06.22.39;	author kris;	state Exp;
branches;
next	1.3;

1.3
date	2000.01.21.07.19.02;	author asami;	state Exp;
branches;
next	1.2;

1.2
date	2000.01.09.05.14.18;	author kris;	state Exp;
branches;
next	1.1;

1.1
date	2000.01.09.03.13.57;	author kris;	state Exp;
branches;
next	;


desc
@@


1.28
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312526
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: kris@@FreeBSD.org
# $FreeBSD: head/security/dsniff/Makefile 312526 2013-02-18 21:13:02Z dinoex $

PORTNAME=	dsniff
PORTVERSION=	2.3
PORTREVISION=	4
CATEGORIES=	security
MASTER_SITES=	http://www.monkey.org/~dugsong/${PORTNAME}/ \
		LOCAL/sbz

MAINTAINER=	sbz@@FreeBSD.org
COMMENT=	Various sniffing utilities for penetration testing

LICENSE=	BSD
BROKEN=		tries to link with both libnet1.0 and libnet1.1 

BUILD_DEPENDS=	${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10 \
		${LOCALBASE}/lib/libnids.a:${PORTSDIR}/net/libnids

GNU_CONFIGURE=	yes
WANT_GNOME=	yes

OPTIONS_DEFINE=	X11

OPTIONS_DEFAULT=	X11

.include <bsd.port.options.mk>

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

LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet10-config

.include <bsd.port.pre.mk>

# If net/libnids has been compiled with the GLIB2 option then this port needs
# the corresponding library and additional linker flags.
LIBNIDS_GLIB2?=
.if exists(${LOCALBASE}/lib/libnids.a)
LIBNIDS_GLIB2!=	nm -u ${LOCALBASE}/lib/libnids.a | ${GREP} g_thread_init || ${TRUE}
.endif

.if !empty(LIBNIDS_GLIB2)
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}|; \
		 s|test -f \$${prefix}/include/libnet.h|${TRUE}|; \
		 s|(LNETINC=).*|\1"`${LIBNET_CONFIG} --cflags`"|; \
		 s|(LNETLIB=).*|\1"`${LIBNET_CONFIG} --libs`"|' \
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

.if !empty(LIBNIDS_GLIB2)
pre-configure:
	@@${REINPLACE_CMD} -e 's|@@NIDSLIB@@|& `pkg-config --libs gthread-2.0`|' \
		${WRKSRC}/Makefile.in
.endif

.include <bsd.port.post.mk>
@


1.27
log
@Switch exporter over
@
text
@d2 1
a2 1
# $FreeBSD: head/security/dsniff/Makefile 305524 2012-10-08 09:38:22Z sbz $
d15 1
@


1.26
log
@SVN rev 305524 on 2012-10-08 09:38:22Z by sbz

- Fix logic problem
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.25
log
@SVN rev 305520 on 2012-10-08 08:13:05Z by sbz

- Convert to new option framework
- Add LICENSE
- Update MASTER_SITES
- Update pkg-descr
@
text
@d47 1
a47 1
.if empty(PORT_OPTIONS:MX11)
@


1.24
log
@Update my MAINTAINER address to sbz at FreeBSD.org.

Approved by:	jadawin@@ (mentor)
@
text
@d1 1
a1 4
# New ports collection makefile for:	dsniff
# Date created:		08 Jan 2000
# Whom:			kris@@FreeBSD.org
#
a2 1
#
d8 2
a9 1
MASTER_SITES=	http://naughty.monkey.org/~dugsong/dsniff/
d14 2
d22 5
a26 1
OPTIONS=	X11 "Enable X11 support" on
d28 1
a28 1
MAN8=		arpspoof.8 dsniff.8 macof.8 mailsnarf.8 tcpkill.8 \
d47 1
a47 1
.if !defined(WITHOUT_X11)
@


1.23
log
@- Remove BROKEN since it's building fine on 8.0
@
text
@d14 1
a14 1
MAINTAINER=	sbrabez@@gmail.com
@


1.22
log
@- Pass maintainership to submitter

Submitted by:	Sofian Brabez via private email
@
text
@a32 4
.if ${OSVERSION} >= 800059
BROKEN=		does not biuld
.endif

@


1.21
log
@Mark BROKEN on 8: does not build after the arp-v2 import.

Submitted by:	pointyhat
@
text
@d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.20
log
@- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Bump PORTREVISION

Approved by:	portmgr (xorg cleanup)
@
text
@d33 4
@


1.19
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d10 1
a10 1
PORTREVISION=	3
d45 1
a45 1
USE_XLIB=	yes
@


1.18
log
@- Avoid 'make' warning when libnids.a was not compiled with GLIB2 enabled.
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.17
log
@- Fix make describe on FreeBSD 4.X

Reported by:	dvl
Submitted by:	shaun
@
text
@d37 1
a37 1
LIBNIDS_GLIB2!=	nm -u ${LOCALBASE}/lib/libnids.a | ${GREP} g_thread_init
@


1.16
log
@- Patch net/libnet* to versioned libraries and header files, so they can
  coexist

PR:		ports/103861
Submitted by:	alepulver
Tested by:	pointyhat
With hat:	portmgr
@
text
@d35 1
@


1.15
log
@BROKEN: Depends on incompatible versions of libnet

Also drop maintainership, I no longer use this port and do not have time
to work on it.
@
text
@d10 1
a10 1
PORTREVISION=	1
d17 1
a17 1
BUILD_DEPENDS=	libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10 \
d20 12
a31 1
BROKEN=		Depends on incompatible versions of libnet
d33 5
a37 1
GNU_CONFIGURE=	yes
d39 3
a41 3
MAN8=	arpspoof.8 dsniff.8 macof.8 mailsnarf.8 tcpkill.8 \
	tcpnice.8 urlsnarf.8 filesnarf.8 dnsspoof.8 msgsnarf.8 \
	sshmitm.8 webmitm.8
d46 1
a46 1
MAN8+=	webspy.8
d48 1
a48 1
CONFIGURE_ARGS+=	--without-x
d52 15
a66 1
.include <bsd.port.mk>
@


1.14
log
@libnet update:
- move 1.0 obsoleted version to net/libnet10
  net/libnet is latest Stable Version
  net/libnet is latest Beta Version

- Fix all depended ports with a new DEPENDS scheme

- While I'm here fix security/yersinia build on 4.x
  (getopt_long and ncurses issues)

PR:		ports/85519 (based on)
Submitted by:	Stas Yakovlev <stas.yakovlev_at_gmail.com>
@
text
@d14 1
a14 1
MAINTAINER=	kris@@FreeBSD.org
d20 2
@


1.13
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d10 1
d17 1
a17 1
BUILD_DEPENDS=	${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet \
@


1.12
log
@Correct logic for adding webspy manpage based on WITHOUT_X11
@
text
@d14 1
@


1.11
log
@Add WITHOUT_X11 knob.  If specified, webspy(8) will not be installed,
and the X11 libraries are not required.

Approved by:	maintainer
@
text
@d27 1
a30 1
MAN8+=	webspy.8
@


1.10
log
@The long-awaited upgrade to dsniff 2.3, which includes the now-infamous
sshmitm and webmitm monkey-in-the-middle tools.

Submitted by:	Ying-Chieh Liao <ijliao@@terry.dragon2.net>
PR:		23749
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/dsniff/Makefile,v 1.9 2000/09/10 10:59:13 kris Exp $
a18 1
USE_XLIB=	yes
d21 1
a21 1
	tcpnice.8 urlsnarf.8 webspy.8 filesnarf.8 dnsspoof.8 msgsnarf.8 \
d23 9
@


1.9
log
@Fix PLIST

Submitted by:	bento
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/dsniff/Makefile,v 1.8 2000/09/02 01:33:18 kris Exp $
d9 1
a9 1
PORTVERSION=	2.2
d21 3
a23 2
MAN8=	arpredirect.8 dsniff.8 macof.8 mailsnarf.8 tcpkill.8 \
	tcpnice.8 urlsnarf.8 webspy.8 filesnarf.8
@


1.8
log
@Upgrade to dsniff 2.2

PR:	20900
Submitted by:	Joseph Scott <joseph.scott@@owp.csus.edu>
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/dsniff/Makefile,v 1.7 2000/04/21 08:18:17 mharo Exp $
d21 1
a21 1
MAN8=	arpredirect.8 dsniff.8 findgw.8 macof.8 mailsnarf.8 tcpkill.8 \
@


1.7
log
@Correct whitespace introduced during PORTNAME conversion and portlint
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/dsniff/Makefile,v 1.6 2000/04/09 18:29:33 cpiazza Exp $
d9 1
a9 1
PORTVERSION=	1.7
a18 1
CONFIGURE_ARGS+=--with-libnet="${LOCALBASE}" --with-libnids="${LOCALBASE}"
d22 1
a22 1
	tcpnice.8 urlsnarf.8 webspy.8
@


1.6
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/dsniff/Makefile,v 1.5 2000/03/30 06:27:25 kris Exp $
d9 1
a9 1
PORTVERSION= 	1.7
@


1.5
log
@Upgrade to dsniff v1.7 and make it PREFIX-friendly.

Bugged by:	Tim Yardley <yardley@@uiuc.edu> :-)
@
text
@a1 1
# Version required:	1.7
d5 2
a6 1
# $FreeBSD: ports/security/dsniff/Makefile,v 1.4 2000/01/28 06:22:39 kris Exp $
d8 2
a9 1
DISTNAME=	dsniff-1.7
@


1.4
log
@Upgrade to dsniff 1.3. The new patch is a hack because I didn't have time
to work out why configure wasn't noticing our db.h..
@
text
@d2 1
a2 1
# Version required:	1.3
d6 1
a6 1
# $FreeBSD: ports/security/dsniff/Makefile,v 1.3 2000/01/21 07:19:02 asami Exp $
d8 1
a8 1
DISTNAME=	dsniff-1.3
d10 1
a10 1
MASTER_SITES=	http://www.monkey.org/~dugsong/dsniff/
d18 1
d20 3
@


1.3
log
@bento says USE_XLIB.

Submitted by:	bento
@
text
@d2 1
a2 1
# Version required:	1.2
d6 1
a6 1
# $FreeBSD: ports/security/dsniff/Makefile,v 1.2 2000/01/09 05:14:18 kris Exp $
d8 1
a8 1
DISTNAME=	dsniff-1.2
@


1.2
log
@Update to dsniff 1.2 which now builds out of the box of FreeBSD. How's
that for vendor turnaround time!
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/dsniff/Makefile,v 1.1 2000/01/09 03:13:57 kris Exp $
d18 1
@


1.1
log
@New port: dsniff 1.1

dsniff is a set of network penetration testing tools

Obtained from:	OpenBSD
@
text
@d2 1
a2 1
# Version required:	1.1
d6 1
a6 1
# $FreeBSD$
d8 1
a8 1
DISTNAME=	dsniff-1.1
d16 2
@

