Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 354915

Summary: net-analyzer/barnyard2-1.9 Version Bump
Product: Gentoo Linux Reporter: Jason Wallace <jason.r.wallace>
Component: New packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: barnyard2-1.9.ebuild
metadata.xml
barnyard2-1.9.ebuild
metadata.xml

Description Jason Wallace 2011-02-14 21:10:02 UTC
This is a version bump of net-analyzer/barnyard2 from 1.8 to 1.9.

Changes
--------

Upstream:
Bug fixes
Support for the 2.9 branch of snort

Ebuild:
Minor cleanup of the ebuild including a bump to EAPI="2"
Fixed a bug that resulted in a second barnyard2.conf being installed in /etc
Updated the metadata file with a better long description and upstream info

Reproducible: Always

Steps to Reproduce:
Comment 1 Jason Wallace 2011-02-14 21:10:56 UTC
Created attachment 262527 [details]
barnyard2-1.9.ebuild


updated ebuild
Comment 2 Jason Wallace 2011-02-14 21:11:29 UTC
Created attachment 262529 [details]
metadata.xml


updated metadata file
Comment 3 Patrick Lauer gentoo-dev 2011-02-14 21:55:28 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil  -DSUP_IP6 -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_POSTGRESQL  -O2 -pipe -fno-strict-aliasing -Wall -c spo_database.c
spo_platypus.c: In function 'Platypus':
spo_platypus.c:301:36: error: 'Unified2IDSEvent6_legacy' undeclared (first use in this function)
spo_platypus.c:301:36: note: each undeclared identifier is reported only once for each function it appears in
spo_platypus.c:301:62: error: expected expression before ')' token
spo_platypus.c:302:62: error: expected expression before ')' token
spo_platypus.c:306:17: error: expected expression before ')' token
spo_platypus.c:308:17: error: expected expression before ')' token
spo_platypus.c:309:45: error: expected expression before ')' token
make[3]: *** [spo_platypus.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/chroot/local/portage/net-analyzer/barnyard2-1.9/work/barnyard2-1.9/src/output-plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/chroot/local/portage/net-analyzer/barnyard2-1.9/work/barnyard2-1.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/chroot/local/portage/net-analyzer/barnyard2-1.9/work/barnyard2-1.9'
make: *** [all] Error 2
emake failed
 * ERROR: net-analyzer/barnyard2-1.9 failed (configure phase):

Hmm, that doesn't look too nice :)
Comment 4 Jason Wallace 2011-02-14 22:11:14 UTC
Apparently their ipv6 supported output plugins have change but their doc have not. I'll fix this and post an updated version. Thx!
Comment 5 Jason Wallace 2011-02-15 16:30:07 UTC
Created attachment 262619 [details]
barnyard2-1.9.ebuild


updated ebuild
Comment 6 Jason Wallace 2011-02-15 16:30:40 UTC
Created attachment 262621 [details]
metadata.xml


updated version
Comment 7 Jason Wallace 2011-02-15 16:42:11 UTC
So...

Turns out that additional output plugins have been added but no --enable/--disable ./configure options were added. These new output plugins do not support ipv6 and there is no want to disable them right now. I have removed the following from the ebuild...

ipv6 (not fully supported)
prelude (beta upstream)
aruba (beta upstream)

and added the following --disable config options to econf:
--disable-ipv6 
--disable-prelude 
--disable-mysql-ssl-support 
--disable-aruba 
--without-tcl

Until upstream resolves the lack of ./configure flexability, we will need to stick to ipv4 and the core output plugins and the database plugins.

I have opened a bug upstream about this.

Please feel free to test/commit the newly attached ebuild and metadata file.  
Comment 8 Patrick Lauer gentoo-dev 2011-02-15 19:13:47 UTC
+  15 Feb 2011; Patrick Lauer <patrick@gentoo.org> +barnyard2-1.9.ebuild,
+  metadata.xml:
+  Bump for #354915, thanks to Jason Wallace

What we have now is a really good start, if upstream fixes the other issues that's even better :)