Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 May 2012 17:44:01 +0000
From:      Tom Judge <tom@tomjudge.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        zi@FreeBSD.org
Subject:   ports/167756: New Port: security/razorback-yaraNugget
Message-ID:  <4faaace4.e167ec0a.05ef.ffff8669@mx.google.com>
Resent-Message-ID: <201205091750.q49Ho8xR021990@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         167756
>Category:       ports
>Synopsis:       New Port: security/razorback-yaraNugget
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 09 17:50:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Tom Judge
>Release:        FreeBSD 8.1-RELEASE i386
>Organization:
Sourcefire
>Environment:
System: FreeBSD www2.tomjudge.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

>Description:

New port for Razorback Yara signature engine.

Depends on: ports/167739

Build Logs: https://redports.org/buildarchive/20120501184504-42204/

>How-To-Repeat:
>Fix:

--- razorback-yaraNugget.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	razorback-yaraNugget
#	razorback-yaraNugget/distinfo
#	razorback-yaraNugget/pkg-descr
#	razorback-yaraNugget/pkg-plist
#	razorback-yaraNugget/Makefile
#
echo c - razorback-yaraNugget
mkdir -p razorback-yaraNugget > /dev/null 2>&1
echo x - razorback-yaraNugget/distinfo
sed 's/^X//' >razorback-yaraNugget/distinfo << '77ae0698e48d478cf6918f0fdc691f8b'
XSHA256 (razorback/yaraNugget-0.5.0.tar.gz) = 6b43e0033aa9f834acdd8aba1c437d7fac47a4d2edac1e9961983d6a019b1fc1
XSIZE (razorback/yaraNugget-0.5.0.tar.gz) = 623917
77ae0698e48d478cf6918f0fdc691f8b
echo x - razorback-yaraNugget/pkg-descr
sed 's/^X//' >razorback-yaraNugget/pkg-descr << '4a32157d28cfbf3afa63c566cb954915'
XRazorback is a framework for an intelligence driven security solution. 
XIt consists of a Dispatcher at the core of the system, surrounded by 
XNuggets of varying types.
X
XWWW: http://razorbacktm.sourceforge.net/
4a32157d28cfbf3afa63c566cb954915
echo x - razorback-yaraNugget/pkg-plist
sed 's/^X//' >razorback-yaraNugget/pkg-plist << 'b327e2176bb99661e0523441bfa71c4c'
X@comment $FreeBSD$
X@unexec if cmp -s %D/etc/razorback/yara.conf %D/etc/razorback/yara.conf.sample; then rm -f %D/etc/razorback/yara.conf; fi
Xetc/razorback/yara.conf.sample
X@exec if [ ! -f %D/etc/razorback/yara.conf ]; then cp -p %D/%F %B/yara.conf; fi
Xetc/razorback/yara/banker.rules
Xetc/razorback/yara/packer.rules
X@dirrmtry etc/razorback/yara
X@dirrmtry etc/razorback
Xlib/razorback/yaraNugget.so.2.0.0
Xlib/razorback/yaraNugget.so.2
Xlib/razorback/yaraNugget.so
Xlib/razorback/yaraNugget.la
Xlib/razorback/yaraNugget.a
X@dirrmtry lib/razorback
b327e2176bb99661e0523441bfa71c4c
echo x - razorback-yaraNugget/Makefile
sed 's/^X//' >razorback-yaraNugget/Makefile << '3bf50d71ea94eea245c581dedaff2eb5'
X# New ports collection makefile for:	razorback-yaraNugget
X# Date created:				2011/06/8
X# Whom:					Tom Judge <tom@tomjudge.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	yaraNugget
XPORTVERSION=	0.5.0
XCATEGORIES=	security
XMASTER_SITES=	SF/razorbacktm/Nuggets
XPKGNAMEPREFIX=	razorback-
XDIST_SUBDIR=	razorback
X
XMAINTAINER=	tom@tomjudge.com
XCOMMENT=	Framework for an intelligence driven security - Yara Detection
X
XLIB_DEPENDS=	razorback_api.2:${PORTSDIR}/security/razorback-api \
X		pcre:${PORTSDIR}/devel/pcre
XBUILD_DEPENDS=	razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget
XRUN_DEPENDS=	razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget
X
XOPTIONS=	DEBUG "Enable Debug" off \
X		ASSERT "Enable Asserts" off
X
X.include <bsd.port.options.mk>
X
XGNU_CONFIGURE=	yes
X
XUSE_AUTOTOOLS=	libtool
XUSE_LDCONFIG=	${PREFIX}/lib/razorback
X
X.if defined(WITH_DEBUG)
XCONFIGURE_ARGS+=	--enable-debug
X.endif
X
X.if defined(WITH_ASSERT)
XCONFIGURE_ARGS+=	--enable-assert
X.endif
X
Xpost-install:
X	( cd ${PREFIX}/lib/razorback; ${LN} -sf yaraNugget.so.2 yaraNugget.so.2.0.0 )
X	@if [ ! -f ${PREFIX}/etc/razorback/yara.conf ]; then \
X		${CP} -p ${PREFIX}/etc/razorback/yara.conf.sample ${PREFIX}/etc/razorback/yara.conf ; \
X	fi
X
X.include <bsd.port.mk>
3bf50d71ea94eea245c581dedaff2eb5
exit
--- razorback-yaraNugget.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4faaace4.e167ec0a.05ef.ffff8669>