head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2012.12.10.19.24.04;	author svnexp;	state Exp;
branches;
next	1.2;

1.2
date	2012.11.17.06.01.18;	author svnexp;	state Exp;
branches;
next	1.1;

1.1
date	2012.06.11.13.28.32;	author zi;	state Exp;
branches;
next	;


desc
@@


1.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308630
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308630 | mm | 2012-12-10 19:11:11 +0000 (Mon, 10 Dec 2012) | 4 lines
## SVN ##
## SVN ## Update PCRE to 8.32
## SVN ## Introduces the UTF-32 library pcre32
## SVN ## Bump PORTREVISION in dependent ports
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# New ports collection makefile for:	razorback-yaraNugget
# Date created:				2011/06/8
# Whom:					Tom Judge <tom@@tomjudge.com>
#
# $FreeBSD: head/security/razorback-yaraNugget/Makefile 308630 2012-12-10 19:11:11Z mm $
#

PORTNAME=	yaraNugget
PORTVERSION=	0.5.0
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	SF/razorbacktm/Nuggets
PKGNAMEPREFIX=	razorback-
DIST_SUBDIR=	razorback

MAINTAINER=	tj@@FreeBSD.org
COMMENT=	Framework for an intelligence driven security - Yara Detection

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	razorback_api:${PORTSDIR}/security/razorback-api \
		pcre:${PORTSDIR}/devel/pcre
BUILD_DEPENDS=	razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget
RUN_DEPENDS=	razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget

OPTIONS_DEFINE=	DEBUG ASSERT
ASSERT_DESC=	Enable Asserts

.include <bsd.port.options.mk>

RB_LIBDIR?=	${PREFIX}/lib/razorback
GNU_CONFIGURE=	yes
USE_AUTOTOOLS=	libtool
USE_LDCONFIG=	${RB_LIBDIR}

.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+=--enable-debug
.endif

.if ${PORT_OPTIONS:MASSERT}
CONFIGURE_ARGS+=--enable-assert
.endif

post-install:
	${LN} -sf ${RB_LIBDIR}/yaraNugget.so.2 ${RB_LIBDIR}/yaraNugget.so.2.0.0
	@@if [ ! -f ${PREFIX}/etc/razorback/yara.conf ]; then \
		${CP} -p ${PREFIX}/etc/razorback/yara.conf.sample ${PREFIX}/etc/razorback/yara.conf ; \
	fi

.include <bsd.port.mk>
@


1.2
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/security/razorback-yaraNugget/Makefile 300897 2012-07-14 14:29:18Z beat $
d10 1
@


1.1
log
@New port: security/razorback-yaraNugget:

Razorback is a framework for an intelligence driven security solution.
It consists of a Dispatcher at the core of the system, surrounded by
Nuggets of varying types.

The Yara nugget allows modified Yara rules to dictate which flags are
set when they alert.

WWW: http://razorbacktm.sourceforge.net/

PR:		ports/167756
Submitted by:	Tom Judge <tom@@tomjudge.com>
@
text
@d5 1
a5 1
# $FreeBSD$
@

