head	1.15;
access;
symbols
	RELEASE_8_3_0:1.13
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.13
	RELEASE_8_1_0:1.13
	RELEASE_7_3_0:1.13
	RELEASE_8_0_0:1.13
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.11
	RELEASE_6_4_0:1.11
	RELEASE_5_EOL:1.11
	RELEASE_7_0_0:1.11
	RELEASE_6_3_0:1.11
	PRE_XORG_7:1.10
	RELEASE_4_EOL:1.9
	RELEASE_6_2_0:1.9
	RELEASE_6_1_0:1.5
	RELEASE_5_5_0:1.5
	RELEASE_6_0_0:1.2;
locks; strict;
comment	@# @;


1.15
date	2013.02.18.21.46.33;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2012.11.17.06.01.23;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2009.08.27.14.38.04;	author amdmi3;	state Exp;
branches;
next	1.12;

1.12
date	2008.12.18.02.33.39;	author linimon;	state Exp;
branches;
next	1.11;

1.11
date	2007.10.04.06.00.24;	author edwin;	state Exp;
branches;
next	1.10;

1.10
date	2007.01.31.14.09.55;	author pav;	state Exp;
branches;
next	1.9;

1.9
date	2006.10.14.08.54.42;	author marcus;	state Exp;
branches;
next	1.8;

1.8
date	2006.08.12.15.16.46;	author se;	state Exp;
branches;
next	1.7;

1.7
date	2006.07.10.16.10.59;	author se;	state Exp;
branches;
next	1.6;

1.6
date	2006.06.25.10.15.37;	author se;	state Exp;
branches;
next	1.5;

1.5
date	2005.11.14.17.07.07;	author sem;	state Exp;
branches;
next	1.4;

1.4
date	2005.09.19.18.16.02;	author se;	state Exp;
branches;
next	1.3;

1.3
date	2005.09.02.16.25.29;	author se;	state Exp;
branches;
next	1.2;

1.2
date	2005.09.02.16.23.28;	author se;	state Exp;
branches;
next	1.1;

1.1
date	2005.07.26.17.13.00;	author se;	state Exp;
branches;
next	;


desc
@@


1.15
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312526
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:    yersinia
# Date created:         Sun Jul 24 10:43:13 CEST 2005
# Whom:                 se
#
# $FreeBSD: head/security/yersinia/Makefile 312526 2013-02-18 21:13:02Z dinoex $
#

PORTNAME=	yersinia
PORTVERSION=	0.7.1
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://www.yersinia.net/download/

MAINTAINER=	ayu@@commun.jp
COMMENT=	Layer 2 vulnerability scanner (switches, spanning tree, 802.1q ...)

LIB_DEPENDS=	net:${PORTSDIR}/net/libnet

.if !defined(WITHOUT_GTK)
.if exists(${LOCALBASE}/include/gtk-2.0/gtk/gtk.h)
WITH_GTK=	true
.endif
.endif
.if defined(WITH_GTK)
USE_GNOME+=	pkgconfig gtk20
PKGNAMESUFFIX=	-gtk
CONFLICTS=	yersinia-[0-9]*
.else
CONFIGURE_ARGS+=	--disable-gtk
CONFLICTS=	yersinia-gtk-[0-9]*
.endif
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	LIBNET_CONFIG="${LIBNET_CONFIG}"

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

#NOT_FOR_ARCHS=	ia64 sparc64
MAN8=		yersinia.8
PLIST_FILES=	sbin/yersinia

post-patch:
	@@${REINPLACE_CMD} -e 's|-lnet|`${LIBNET_CONFIG} --libs`|' \
		${WRKSRC}/src/Makefile.in

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/yersinia ${PREFIX}/sbin/
	${INSTALL_MAN} ${WRKSRC}/yersinia.8 ${MAN8PREFIX}/man/man8/

.include <bsd.port.mk>
@


1.14
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/security/yersinia/Makefile 300897 2012-07-14 14:29:18Z beat $
d10 1
d17 1
a17 1
BUILD_DEPENDS=	${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
@


1.13
log
@- Update to 0.7.1
- Pass maintainership to submitter
- While here, fix build WITH_GTK and fix some identation

PR:		138005
Submitted by:	Ayumi M <ayu@@commun.jp>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.12
log
@Reset se@@FreeBSD.org due to maintainer-timeouts and no response to email.

Hat:	portmgr
@
text
@d9 1
a9 2
PORTVERSION=	0.7
PORTREVISION=	2
d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
d28 1
a28 1
CONFIGURE_ARGS+= --disable-gtk
d45 2
a46 2
		${INSTALL_PROGRAM} ${WRKSRC}/src/yersinia ${PREFIX}/sbin/
		${INSTALL_MAN} ${WRKSRC}/yersinia.8 ${PREFIX}/man/man8/
@


1.11
log
@Remove always-false/true conditions based on OSVERSION 500000
@
text
@d14 1
a14 1
MAINTAINER=	se@@FreeBSD.org
@


1.10
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
@a36 6
.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BUILD_DEPENDS+=	${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
.endif

d49 1
a49 1
.include <bsd.port.post.mk>
@


1.9
log
@Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
@
text
@d10 1
a10 1
PORTREVISION=	1
d17 1
a17 1
BUILD_DEPENDS=	libnet*>=1.1.2,1:${PORTSDIR}/net/libnet
d33 3
d47 4
@


1.8
log
@Install to /... instead of to /...
@
text
@d10 1
d20 1
a20 1
.if exists(${X11BASE}/include/gtk-2.0/gtk/gtk.h)
d45 2
a46 2
		${INSTALL_PROGRAM} ${WRKSRC}/src/yersinia ${TARGETDIR}/sbin/
		${INSTALL_MAN} ${WRKSRC}/yersinia.8 ${TARGETDIR}/man/man8/
@


1.7
log
@There were many differences between 0.54 and 0.7 that I missed
during the upgrade of the port:

 - A gtk-2 enabled version is built unless configure is invoked
   with option --without-gtk (detected and reported by Pointyhat)

 - Several fixes seem to be no longer required and patch files
   can thus be removed

The port uses gtk if present, unless built with -DWITHOUT_GTK.
Building with gtk can be enforced via -DWITH_GTK (but this is
not the default for the package, because of the large dependency
list).
@
text
@d44 2
a45 2
		${INSTALL_PROGRAM} ${WRKSRC}/src/yersinia ${PREFIX}/sbin/
		${INSTALL_MAN} ${WRKSRC}/yersinia.8 ${PREFIX}/man/man8/
@


1.6
log
@Upgrade to version 0.7.
@
text
@d16 17
a34 2
BUILD_DEPENDS=	libnet*>=1.1.2,1:${PORTSDIR}/net/libnet

d39 1
a39 5
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

NOT_FOR_ARCHS=	ia64 sparc64
@


1.5
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
@d9 1
a9 2
PORTVERSION=	0.5.4
PORTREVISION=	1
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
a15 2
USE_GETOPT_LONG=	yes

a29 1
CFLAGS+=	-DNEED_GETOPT_H
@


1.4
log
@Fix BUILD_DEPENDS on libpcap for -STABLE, it was overriding the dependency
on libnet-devel ...
@
text
@d10 1
d18 2
d22 1
a22 2
# Dependency on file that is not also installed by libnet (1.0.2) port!
BUILD_DEPENDS=	${LOCALBASE}/share/examples/libnet/ip_raw.c:${PORTSDIR}/net/libnet-devel
@


1.3
log
@Fix build on 4-stable: Use ports version of libpcap since system version
is too old.
@
text
@d23 1
a23 1
BUILD_DEPENDS=	${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
@


1.2
log
@Compile errors on ia64 and sparc64, do not build on those archs.
@
text
@d17 2
d22 4
d39 1
a39 1
.include <bsd.port.mk>
@


1.1
log
@New port: Yersinia

Yersinia is a layer 2 vulnerability scanner with support for the
following protocols:

- Cisco Discovery Protocol (CDP)
- Dynamic Host Configuration Protocol (DHCP)
- Dynamic Trunking Protocol (DTP)
- Hot Standby Router Protocol (HSRP)
- IEEE 802.1q
- Spanning Tree Protocol (STP, RSTP)
- Virtual Trunking Protocol (VTP)
@
text
@d24 1
@

