Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 May 2012 17:15:51 +0000
From:      Tom Judge <tom@tomjudge.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        zi@FreeBSD.org
Subject:   ports/167745: New Port: security/razorback-clamavNugget
Message-ID:  <4faaa64a.ee66ec0a.625c.ffff8533@mx.google.com>
Resent-Message-ID: <201205091720.q49HK7uP093776@freefall.freebsd.org>

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

>Number:         167745
>Category:       ports
>Synopsis:       New Port: security/razorback-clamavNugget
>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:20: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 ClamAV integration nugget.

Depends on:  ports/167739

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


>How-To-Repeat:
>Fix:

--- razorback-clamavNugget.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-clamavNugget
#	razorback-clamavNugget/distinfo
#	razorback-clamavNugget/pkg-descr
#	razorback-clamavNugget/pkg-plist
#	razorback-clamavNugget/Makefile
#
echo c - razorback-clamavNugget
mkdir -p razorback-clamavNugget > /dev/null 2>&1
echo x - razorback-clamavNugget/distinfo
sed 's/^X//' >razorback-clamavNugget/distinfo << '94fe54df6751d16e1ae0f96069598bde'
XSHA256 (razorback/clamavNugget-0.5.0.tar.gz) = 22889075decf957337856be03bca6d88a259b9c73e4cd874a79bdea00b4602e5
XSIZE (razorback/clamavNugget-0.5.0.tar.gz) = 318507
94fe54df6751d16e1ae0f96069598bde
echo x - razorback-clamavNugget/pkg-descr
sed 's/^X//' >razorback-clamavNugget/pkg-descr << '2fa096964389d068b46349263cf7af35'
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/
2fa096964389d068b46349263cf7af35
echo x - razorback-clamavNugget/pkg-plist
sed 's/^X//' >razorback-clamavNugget/pkg-plist << '19f395eda3d8eb496bfe43154cc35ce8'
X@comment $FreeBSD$
X@unexec if cmp -s %D/etc/razorback/clamav.conf %D/etc/razorback/clamav.conf.sample; then rm -f %D/etc/razorback/clamav.conf; fi
Xetc/razorback/clamav.conf.sample
X@exec if [ ! -f %D/etc/razorback/clamav.conf ]; then cp -p %D/%F %B/clamav.conf; fi
X@dirrmtry etc/razorback
Xlib/razorback/clamavNugget.so.2.0.0
Xlib/razorback/clamavNugget.so.2
Xlib/razorback/clamavNugget.so
Xlib/razorback/clamavNugget.la
Xlib/razorback/clamavNugget.a
X@dirrmtry lib/razorback
X
19f395eda3d8eb496bfe43154cc35ce8
echo x - razorback-clamavNugget/Makefile
sed 's/^X//' >razorback-clamavNugget/Makefile << 'cb5df2ab2786020d59afafc8eef7e011'
X# New ports collection makefile for:	razorback-clamavNugget
X# Date created:				2011/06/8
X# Whom:					Tom Judge <tom@tomjudge.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		clamavNugget
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 - ClamAV Detection
X
XLIB_DEPENDS=	razorback_api.2:${PORTSDIR}/security/razorback-api \
X				clamav.7:${PORTSDIR}/security/clamav
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 clamavNugget.so.2 clamavNugget.so.2.0.0 )
X	@if [ ! -f ${PREFIX}/etc/razorback/clamav.conf ]; then \
X		${CP} -p ${PREFIX}/etc/razorback/clamav.conf.sample ${PREFIX}/etc/razorback/clamav.conf ; \
X	fi
X
X.include <bsd.port.mk>
cb5df2ab2786020d59afafc8eef7e011
exit
--- razorback-clamavNugget.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?4faaa64a.ee66ec0a.625c.ffff8533>