Date: Wed, 2 Feb 2005 23:47:06 -0600 (CST) From: Paul Schmehl <pauls@utdallas.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/77044: New port submission Message-ID: <20050203054706.44BF63C8016@buttercup2.utdallas.edu> Resent-Message-ID: <200502030550.j135oGXB011962@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 77044 >Category: ports >Synopsis: New port submission >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 03 05:50:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Paul Schmehl >Release: FreeBSD 4.9-SECURITY i386 >Organization: >Environment: System: FreeBSD unknown.utdallas.edu 4.9-SECURITY FreeBSD 4.9-SECURITY #0: Mon Jun 7 18:02:41 GMT 2004 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: New port submission - barnyard -0.2.0 >How-To-Repeat: >Fix: --- Makefile begins here --- # New ports collection makefile for: barnyard # Date created: 1 Feb 2005 # Whom: pauls # # $FreeBSD$ # PORTNAME= barnyard PORTVERSION= 0.2.0 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= barnyard #DISTNAME= barnyard MAINTAINER= pauls@utdallas.edu COMMENT= Barnyard is a output system for Snort RUN_DEPENDS= ${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort OPTIONS= MYSQL "Enable MySQL support" off \ POSTGRESQL "Enable PostgreSQL support" off USE_REINPLACE= yes USE_RC_SUBR= yes RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} GNU_CONFIGURE= yes CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} DOCS= AUTHORS COPYING LICENSE.QPL README docs/BUGS docs/ChangeLog \ docs/FAQ docs/INSTALL docs/NEWS docs/USAGE .if exists(/usr/lib/libssl.a) && exists(/usr/lib/libcrypto.a) LDFLAGS+= -lssl -lcrypto .endif .if defined(WITH_MYSQL) USE_MYSQL= yes CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} .else CONFIGURE_ARGS+= --with-mysql=no .endif .if defined(WITH_POSTGRESQL) USE_PGSQL= yes CONFIGURE_ARGS+= --with-postgresql=${LOCALBASE} .else CONFIGURE_ARGS+= --with-postgresql=no .endif post-patch: @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${FILESDIR}/barnyard.sh > ${WRKDIR}/barnyard.sh post-install: ${INSTALL_SCRIPT} -m 751 ${WRKDIR}/barnyard.sh ${PREFIX}/etc/rc.d/barnyard.sh .for f in barnyard.conf ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/etc/${f}-sample [ -f ${PREFIX}/etc/${f} ] || \ ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/etc/${f} .endfor .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} #@${SED} 's|%%PREFIX%%|${PREFIX}|' ${PKGMESSAGE} .include <bsd.port.mk> --- Makefile ends here --- --- distinfo begins here --- MD5 (barnyard-0.2.0.tar.gz) = be3283028cf414b52b220308ceb411e9 SIZE (barnyard-0.2.0.tar.gz) = 161543 --- distinfo ends here --- --- pkg-descr begins here --- Barnyard is output spool reader for Snort! It decouples output overhead from the Snort network intrusion detection system and allows Snort to run at full speed. It accepts binary inputs from snort and outputs human readable files to disc or to a database. At present, barnyard is designed to accept binary inputs from snort and produce either human readable files for parsing by log parsers or feed data directly to a database (either mysql or postgresql at present.). Barnyard has 3 modes of operation: One-shot, continual, continual w/ checkpoint. In one-shot mode, barnyard will process the specified file and exit. In continual mode, barnyard will start with the specified file and continue to process new data (and new spool files) as it appears. Continual mode w/ checkpointing will also use a checkpoint file (or waldo file in the snort world) to track where it is. In the event the barnyard process ends while a waldo file is in use, barnyard will resume processing at the last entry as listed in the waldo file. WWW: http://sourceforge.net/projects/barnyard --- pkg-descr ends here --- --- pkg-message begins here --- ************************************************************************ Read the notes in the barnyard.conf file for how to configure %%PREFIX%%/etc/barnyard.conf after installation. For further assistance, search the archives of the barnyard-users mailing list at http://sourceforge.net/mailarchive/forum.php?forum=barnyard-users ************************************************************************ --- pkg-message ends here --- --- pkg-plist begins here --- bin/barnyard etc/barnyard.conf-sample etc/rc.d/barnyard.sh share/doc/barnyard/AUTHORS share/doc/barnyard/BUGS share/doc/barnyard/COPYING share/doc/barnyard/ChangeLog share/doc/barnyard/FAQ share/doc/barnyard/INSTALL share/doc/barnyard/LICENSE.QPL share/doc/barnyard/NEWS share/doc/barnyard/README share/doc/barnyard/USAGE @dirrm share/doc/barnyard --- pkg-plist ends here --- --- barnyard.sh begins here --- #!/bin/sh # # PROVIDE: barnyard # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: FreeBSD shutdown # Add the following lines to /etc/rc.conf to enable barnyard: # barnyard_enable (bool): Set to YES to enable barnyard # Default: NO # barnyard_flags (str): Extra flags passed to barnyard # Default: -D # barnyard_conf (str): Barnyard configuration file # Default: ${PREFIX}/etc/barnyard.conf # . %%RC_SUBR%% name="barnyard" rcvar=`set_rcvar` command="%%PREFIX%%/bin/barnyard" load_rc_config $name [ -z "$barnyard_enable" ] && barnyard_enable="NO" [ -z "$barnyard_conf" ] && barnyard_conf="%%PREFIX%%/etc/barnyard.conf" [ -z "$barnyard_flags" ] && barnyard_flags="-D" [ -n "$barnyard_conf" ] && barnyard_flags="$barnyard_flags -c $barnyard_conf" run_rc_command "$1" --- barnyard.sh ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050203054706.44BF63C8016>