Date: Wed, 09 May 2012 15:50:20 +0000 From: Tom Judge <tom@tomjudge.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: zi@FreeBSD.org Subject: ports/167739: New Port: security/razorback-masterNugget Message-ID: <4faa923f.a54dec0a.4791.73c3@mx.google.com> Resent-Message-ID: <201205091600.q49G0KqU017335@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <tom@tomjudge.com> 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 <bsd.port.options.mk> 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 <bsd.port.mk> b1fb96e1f00d23ed0e39fc197f5c0a45 exit --- razorback-masterNugget.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?4faa923f.a54dec0a.4791.73c3>