head	1.10;
access;
symbols
	RELEASE_8_3_0:1.9
	RELEASE_9_0_0:1.9
	RELEASE_7_4_0:1.9
	RELEASE_8_2_0:1.9
	RELEASE_6_EOL:1.9
	RELEASE_8_1_0:1.9
	RELEASE_7_3_0:1.9
	RELEASE_8_0_0:1.9
	RELEASE_7_2_0:1.9
	RELEASE_7_1_0:1.9
	RELEASE_6_4_0:1.9
	RELEASE_5_EOL:1.9
	RELEASE_7_0_0:1.9
	RELEASE_6_3_0:1.9
	PRE_XORG_7:1.9
	RELEASE_4_EOL:1.8
	RELEASE_6_2_0:1.8
	RELEASE_6_1_0:1.8
	RELEASE_5_5_0:1.8
	RELEASE_6_0_0:1.7
	RELEASE_5_4_0:1.7
	RELEASE_4_11_0:1.7
	RELEASE_5_3_0:1.7
	RELEASE_4_10_0:1.7
	RELEASE_5_2_1:1.7
	RELEASE_5_2_0:1.7
	RELEASE_4_9_0:1.7
	RELEASE_5_1_0:1.5
	RELEASE_4_8_0:1.4
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1;
locks; strict;
comment	@# @;


1.10
date	2012.11.17.06.01.06;	author svnexp;	state Exp;
branches;
next	1.9;

1.9
date	2007.01.31.14.09.53;	author pav;	state Exp;
branches;
next	1.8;

1.8
date	2005.11.14.17.07.04;	author sem;	state Exp;
branches;
next	1.7;

1.7
date	2003.06.25.02.44.50;	author leeym;	state Exp;
branches;
next	1.6;

1.6
date	2003.06.14.03.53.27;	author leeym;	state Exp;
branches;
next	1.5;

1.5
date	2003.05.22.04.03.53;	author edwin;	state Exp;
branches;
next	1.4;

1.4
date	2003.02.21.13.26.46;	author knu;	state Exp;
branches;
next	1.3;

1.3
date	2002.12.30.20.23.22;	author naddy;	state Exp;
branches;
next	1.2;

1.2
date	2002.11.04.05.46.35;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2001.12.19.08.22.45;	author will;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Switch exporter over
@
text
@# New ports collection makefile for:   LaBrea
# Date created:        20 September 2001
# Whom:                nick@@rogness.net
#
# $FreeBSD: head/security/labrea/Makefile 300897 2012-07-14 14:29:18Z beat $
##

PORTNAME=	LaBrea
PORTVERSION=	2.4
PORTREVISION=	2
CATEGORIES=	security
MASTER_SITES=	http://freebsd.rogness.net/ports/labrea/
DISTNAME=	${PORTNAME}${PORTVERSION:S/./_/g}
EXTRACT_SUFX=	.tgz

MAINTAINER=	nick@@rogness.net
COMMENT=	Security tarpit defense tool

BUILD_DEPENDS=	${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10

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

post-patch:
	@@${REINPLACE_CMD} -e \
		's|libnet-config|${LIBNET_CONFIG}|; \
		 s|--defines|& --cflags|' \
		 ${WRKSRC}/${MAKEFILE}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/LaBrea ${PREFIX}/bin

post-install:
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/LaBrea.README ${DOCSDIR}
	@@echo "******************************************"
	@@echo "You will need to read the LaBrea.README in"
	@@echo "${DOCSDIR}"
	@@echo "Before your run this!!"
	@@echo "******************************************"
	@@echo .
.endif

.include <bsd.port.mk>
@


1.9
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
@d5 1
a5 1
# $FreeBSD$
@


1.8
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
@d10 1
a10 1
PORTREVISION=	1
d19 9
a27 1
BUILD_DEPENDS=	libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10
@


1.7
log
@respect CC and CFLAGS, and unbreak LaBrea on ia64 and alpha.
refine description.

Noticed by:	kris and bento
@
text
@d10 1
d19 1
a19 1
BUILD_DEPENDS=	${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
@


1.6
log
@update to LaBrea-2.4

PR:		53267
Submitted by:	Nick Rogness <nick@@rogness.net>
@
text
@d20 2
a21 1
ALL_TARGET=	${PORTNAME}
d25 1
a25 1
	${MKDIR} ${DOCSDIR}
@


1.5
log
@PATCH of Makefile for ports/security/labrea port

	PATCH update for the security port labrea Makefile.  Just
	changed the MASTER_SITES to point to the new download site.

PR:		ports/52537
Maintainer:	Nick Rogness <nick@@rogness.net>
@
text
@d9 1
a9 1
PORTVERSION=	2.3
d12 1
a12 1
DISTNAME=	LaBrea${PORTVERSION:S/./_/g}
d16 1
a16 1
COMMENT=	Defense mechanism against CodeRed
d20 1
a20 4
WRKSRC=		${WRKDIR}/LaBrea
USE_REINPLACE=	yes

MAKE_ARGS=	CC="${CC}" OPTFLAGS="${CFLAGS}"
d24 2
a25 2
	${MKDIR} ${PREFIX}/share/doc/LaBrea
	${INSTALL_MAN} ${WRKSRC}/LaBrea.README ${PREFIX}/share/doc/LaBrea
d28 1
a28 1
	@@echo "${PREFIX}/share/doc/LaBrea"
@


1.4
log
@De-pkg-comment.
@
text
@d11 1
a11 1
MASTER_SITES=	http://www.hackbusters.net/LaBrea/
@


1.3
log
@* Honor CC and CFLAGS.  This also fixes building on !i386.
* Remove some cruft.
@
text
@d16 1
@


1.2
log
@PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
@
text
@d17 1
a17 1
BUILD_DEPENDS+= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
a19 1
ALL_TARGET=	LaBrea
d22 1
a22 4
pre-build:
	${REINPLACE_CMD} -e "s@@PREFIX=/usr/local@@PREFIX=${PREFIX}@@g;\
		s@@LOCALBASE=/usr/local@@LOCALBASE=${LOCALBASE}@@g" \
		${WRKSRC}/Makefile
@


1.1
log
@Add labrea 2.3, a defense mechanism against CodeRed.

PR:		31082
Submitted by:	nick@@rogness.net
@
text
@d21 1
d24 1
a24 1
	${PERL} -pi -e "s@@PREFIX=/usr/local@@PREFIX=${PREFIX}@@g;\
@

