---
name: barnyard2
version: 1.12
origin: security/barnyard2
comment: Interpreter for Snort unified2 binary output files
arch: freebsd:9:x86:64
www: http://www.securixlive.com/barnyard2/
maintainer: pauls@utdallas.edu
prefix: /usr/local
licenselogic: single
licenses: [GPLv2]
flatsize: 414421
desc: "Barnyard is a critical tool for the parsing of Snort's unified binary files,\nprocessing
  and on-forwarding to a variety of output plugins. Unfortunately\nit has not seen
  an updated in over 4 years and is not going to be maintained\nby the original developers.
  With the new version of the unified format\n(ie. unified2) arriving we need something
  to bridge this gap.\n\nThe SXL team love barnyard. So much so that we want it to
  stay and have been\ntinkering around with the code to give it a breath of new life.
  Here is what\nwe have achieved to far for this reinvigorated code base:\n\n    *
  Parsing of the new unified2 log files.\n    * Maintaining majority of the command
  syntax of barnyard.\n    * Addressed all associated bug reports and feature requests
  arising since\n\t\tbarnyard-0.2.0.\n    * Completely rewritten code based on the
  GPLv2 Snort making it entirely\n\t\tGPLv2.\n\nThis is an effort to fuse the awesome
  work of Snort and the original concept\nof barnyard giving it a fresh update along
  the way. We've come a long way so\nfar and have a very stable build that we've integrated
  into our NSMnow\nframework.  If you have any feature requests, bugs or gripes then
  send them\nour way.\n\nWWW: http://www.securixlive.com/barnyard2/\n"
categories: [security]
options: {64BIT: off, ARUBA: off, BRO: off, GRE: off, IPV6: on, MPLS: off, MYSQL: off,
  MYSQL_SSL: off, ODBC: off, PRELUDE: off, PGSQL: off}
files:
  /usr/local/bin/barnyard2: 7ff008065e28fdb3b8a59e1dcabbac851f45a71199bb73fab2384740615379d1
  /usr/local/etc/barnyard2.conf.sample: 0bbe1472ddb6b4c580bd572bc4feec7a201987287876e9617e684f245abf0366
  /usr/local/etc/rc.d/barnyard2: c5edd71b5b86414855ae6b585b9252651bf673be4b2bb7c3cf982c61c2ca21f8
  /usr/local/share/doc/barnyard2/INSTALL: 6733c4795dc40d3e5bbda472ec657d24dc1a6c1e66374eb26b11959d07035c11
  /usr/local/share/doc/barnyard2/README: 9149875c2b4ed6d65855ab64e9692e76474bc31535f2bb97a36afc87cccbe01f
  /usr/local/share/doc/barnyard2/README.aruba: edcfe7b71df64a61997e971c7519c83b087266167b68eade907464ae5e3e0dbb
  /usr/local/share/doc/barnyard2/README.database: 7aa0f0cd45b414a1e4443994e83e6ca877019b65eab27dac57e8b2a4ddcb9151
  /usr/local/share/doc/barnyard2/README.sguil: 0d4762c360f16c640a057860a595fe2a931aa09efb6d6eaf833ac25cae072e7c
  /usr/local/share/doc/barnyard2/README.snortsam: 0e89fe75395db6572534b5befcbcc82e32e5bc524a8cefc9f0e24886cea8331b
  /usr/local/share/doc/barnyard2/RELEASE.NOTES: 4ac2d4d080b43718a32562250071140d1f0ab43f884d14189002f80a584d3944
  /usr/local/share/examples/barnyard2/SCHEMA_ACCESS: 5c6f950e6baf4db4e37fd38bdf7031902105dc59e3f08b997a1c9d0bff3652e6
  /usr/local/share/examples/barnyard2/create_db2: 16b2c39861b656a9019ff114288be72b5e03f894dc0507d1ed2153ce318c59a0
  /usr/local/share/examples/barnyard2/create_mssql: 36d287022a5cf432cd970de57fc67d685c53e2aad3f7f790bcc4f908ebc23dda
  /usr/local/share/examples/barnyard2/create_mysql: d548e6e3f1258d61f974f713389b578c83f8a7b2c196dec173d6c2120596c058
  /usr/local/share/examples/barnyard2/create_oracle.sql: 0f3added9a99cc3cd3da454bdde4ebf282bd78784f2fa98b55ecdb922b762da7
  /usr/local/share/examples/barnyard2/create_postgresql: e961ab548bfe0e4d3bb2d141cda39dec63cbd172471d03c19e8d89b5b1364bae
  /usr/local/share/licenses/barnyard2-1.12/GPLv2: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643
  /usr/local/share/licenses/barnyard2-1.12/LICENSE: 7e1394d03c5f275a402fe721ff1d1349449ea8602b52af954c76463afcdb6ef7
  /usr/local/share/licenses/barnyard2-1.12/catalog.mk: 74ebed8144c819d0bd7257bad1bb7b51ba2e9bd2b2f0b6403bc83ae2ac861024
directories:
  /usr/local/share/licenses/barnyard2-1.12/: n
  /usr/local/share/licenses/: y
  /usr/local/share/examples/barnyard2/: n
  /usr/local/share/doc/barnyard2/: n
scripts:
  post-install: |
    [ -f /usr/local/etc/barnyard2.conf ] || cp -p /usr/local/etc/barnyard2.conf.sample /usr/local/etc/barnyard2.conf
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    if cmp -s /usr/local/etc/barnyard2.conf /usr/local/etc/barnyard2.conf.sample; then rm -f /usr/local/etc/barnyard2.conf; fi
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    cd /usr/local
message: |
  Read the notes in the barnyard2.conf file for how to configure
  /usr/local/etc/barnyard2.conf after installation.  For addtional information
  see the Securixlive FAQ at http://www.securixlive.com/barnyard2/faq.php.

  In order to enable barnyard2 to start on boot, you must edit /etc/rc.conf
  with the appropriate flags, etc.  See the FreeBSD Handbook for syntax:
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-rcng.html

  For the various options available, type %25 barnyard2 -h after install or read
  the options in the startup script - in /usr/local/etc/rc.d.

  Barnyard2 can process unified2 files from snort or suricata.  It can also
  interact with snortsam firewall rules as well as the sguil-sensor. Those
  ports must be installed separately if you wish to use them.

  ************************************************************************
