From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 9 16:00:21 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F93C106566B for ; Wed, 9 May 2012 16:00:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2CA5C8FC18 for ; Wed, 9 May 2012 16:00:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q49G0KmY017340 for ; Wed, 9 May 2012 16:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q49G0KqU017335; Wed, 9 May 2012 16:00:20 GMT (envelope-from gnats) Resent-Date: Wed, 9 May 2012 16:00:20 GMT Resent-Message-Id: <201205091600.q49G0KqU017335@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tom Judge Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D94E1065670 for ; Wed, 9 May 2012 15:50:25 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id F25848FC0A for ; Wed, 9 May 2012 15:50:24 +0000 (UTC) Received: by yenl8 with SMTP id l8so560023yen.13 for ; Wed, 09 May 2012 08:50:24 -0700 (PDT) Received: by 10.236.75.40 with SMTP id y28mr734611yhd.65.1336578624258; Wed, 09 May 2012 08:50:24 -0700 (PDT) Received: from www2.tomjudge.com (duy2.x.rootbsd.net. [204.109.61.166]) by mx.google.com with ESMTPS id d25sm13712687yhe.4.2012.05.09.08.50.21 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 May 2012 08:50:23 -0700 (PDT) Received: by www2.tomjudge.com (sSMTP sendmail emulation); Wed, 09 May 2012 15:50:20 +0000 Message-Id: <4faa923f.a54dec0a.4791.73c3@mx.google.com> Date: Wed, 09 May 2012 15:50:20 +0000 From: Tom Judge To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: zi@FreeBSD.org Subject: ports/167739: New Port: security/razorback-masterNugget X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tom Judge List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2012 16:00:21 -0000 >Number: 167739 >Category: ports >Synopsis: New Port: security/razorback-masterNugget >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 16:00:19 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's MasterNugget. Depends on the user created in: ports/167738 Build Logs: https://redports.org/buildarchive/20120501184504-42204/ >How-To-Repeat: >Fix: --- razorback-masterNugget.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-masterNugget # razorback-masterNugget/files # razorback-masterNugget/files/masterNugget.in # razorback-masterNugget/files/masterNugget_safed.in # razorback-masterNugget/distinfo # razorback-masterNugget/pkg-descr # razorback-masterNugget/pkg-plist # razorback-masterNugget/Makefile # echo c - razorback-masterNugget mkdir -p razorback-masterNugget > /dev/null 2>&1 echo c - razorback-masterNugget/files mkdir -p razorback-masterNugget/files > /dev/null 2>&1 echo x - razorback-masterNugget/files/masterNugget.in sed 's/^X//' >razorback-masterNugget/files/masterNugget.in << '5eab454cab5bd76bf56c86a9f5dbf18b' X#!/bin/sh X# PROVIDE: masterNugget X# REQUIRE: dispatcher clamd X# BEFORE: LOGIN X# KEYWORD: shutdown X# X X. /etc/rc.subr X XmasterNugget_enable=${masterNugget_enable:-"NO"} XmasterNugget_user=${masterNugget_user:-"razorback"} XmasterNugget_group=${masterNugget_group:-"razorback"} X Xexport PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:%%LOCALBASE%%/bin:%%LOCALBASE%%/sbin X Xname=masterNugget Xrcvar=`set_rcvar` Xload_rc_config $name Xcommand=%%LOCALBASE%%/bin/masterNugget X_piddir=/var/run/razorback Xpidfile=${_piddir}/masterNugget.pid X Xstart_precmd="masterNugget_precmd" X XmasterNugget_precmd() { X install -d -o $masterNugget_user -g $masterNugget_user -m 755 $_piddir X cd /var/lib/razorback X export HOME=/var/lib/razorback X} X Xrun_rc_command "$1" 5eab454cab5bd76bf56c86a9f5dbf18b echo x - razorback-masterNugget/files/masterNugget_safed.in sed 's/^X//' >razorback-masterNugget/files/masterNugget_safed.in << '2f6c032ea0ed64311f455be35b6ccdf1' X#!/bin/sh X# PROVIDE: masterNugget_safed X# REQUIRE: masterNugget X# BEFORE: LOGIN X# KEYWORD: shutdown X# X X. /etc/rc.subr X XmasterNugget_safed_enable=${masterNugget_safed_enable:-NO} X Xname=masterNugget_safed Xrcvar=`set_rcvar` Xload_rc_config $name Xpidfile="/var/run/masterNugget_safed.pid" Xcommand="%%LOCALBASE%%/bin/masterNugget_safed" Xstart_cmd=masterNugget_safed_start Xprocname="/bin/sh" X XmasterNugget_safed_start() { X /usr/sbin/daemon -cf -p ${pidfile} ${command} X} X Xrun_rc_command "$1" 2f6c032ea0ed64311f455be35b6ccdf1 echo x - razorback-masterNugget/distinfo sed 's/^X//' >razorback-masterNugget/distinfo << 'd1fcb499ea55883ead4c6c8e93623197' XSHA256 (razorback/masterNugget-0.5.0.tar.gz) = 015ccdeb24537cec35b8f2f511134e9db73140d339f9f2b2bf713838b4354aed XSIZE (razorback/masterNugget-0.5.0.tar.gz) = 321438 d1fcb499ea55883ead4c6c8e93623197 echo x - razorback-masterNugget/pkg-descr sed 's/^X//' >razorback-masterNugget/pkg-descr << '1322436a9a92689abfa7789024d43e64' 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/ 1322436a9a92689abfa7789024d43e64 echo x - razorback-masterNugget/pkg-plist sed 's/^X//' >razorback-masterNugget/pkg-plist << '38f672808a390e252b3b46ed1fcdf7bc' X@comment $FreeBSD$ X@unexec if cmp -s %D/etc/razorback/master_nugget.conf %D/etc/razorback/master_nugget.conf.sample; then rm -f %D/etc/razorback/master_nugget.conf; fi Xetc/razorback/master_nugget.conf.sample X@exec if [ ! -f %D/etc/razorback/master_nugget.conf ]; then cp %D/%F %B/master_nugget.conf; fi X@dirrmtry etc/razorback Xbin/masterNugget Xbin/masterNugget_safed 38f672808a390e252b3b46ed1fcdf7bc echo x - razorback-masterNugget/Makefile sed 's/^X//' >razorback-masterNugget/Makefile << 'b1fb96e1f00d23ed0e39fc197f5c0a45' X# New ports collection makefile for: razorback-masterNugget X# Date created: 2011/06/8 X# Whom: Tom Judge X# X# $FreeBSD$ X# X XPORTNAME= masterNugget 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 - Master Nugget X XLIB_DEPENDS= razorback_api.2:${PORTSDIR}/security/razorback-api X XOPTIONS= DEBUG "Enable Debug" off \ X ASSERT "Enable Asserts" off X X.include X XGNU_CONFIGURE= yes XUSE_RC_SUBR= masterNugget masterNugget_safed XUSERS= razorback XGROUPS= razorback X XUSE_AUTOTOOLS= libtool 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 @if [ ! -f ${PREFIX}/etc/razorback/master_nugget.conf ]; then \ X ${CP} -p ${PREFIX}/etc/razorback/master_nugget.conf.sample ${PREFIX}/etc/razorback/master_nugget.conf ; \ X fi X X.include b1fb96e1f00d23ed0e39fc197f5c0a45 exit --- razorback-masterNugget.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: