More spec file updates #21

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
4 participants

fprimex commented Feb 2, 2012

%changelog

  • Thu Feb 02 2012 Brent Woodruff brent@fprimex.com
  • Removed Source2 and Source3
  • Removed unused realname variable
  • Removed unused noShell variable
  • Removed unused SnortRulesDir variable
  • Added BuildRequires: libpcap-devel
  • Added --with libpcap1 option
  • Removed unneeded -n barnyard2-%{version} from setup
  • Removed empty directories created by install
  • Removed duplicate barnyard2.conf from install command
  • Add mv command to put barnyard2.conf installed by %makeinstall in /etc/snort
    (mv instead of rm; doesn't really matter either way but this is 'cleaner' imho)
  • Changed doc/* to doc/INSTALL doc/README.*

Tested with both RHEL6 stock libpcap and Vincent Cojot's libpcap1 on RHEL6. Method is to just cp barnyard2.spec to ~/rpmbuild/SPECS and cp barnyard2-%{version}.tar.gz to ~/rpmbuild/SOURCES. Removed the need for other sources.

Results of both builds:
rpmbuild -ba --clean --with mysql --with libpcap1 barnyard2.spec
rpmbuild -ba --clean --with mysql barnyard2.spec

rpm -qlp ../RPMS/x86_64/barnyard2-1.9-1.el6.x86_64.rpm 
/etc/rc.d/init.d/barnyard2
/etc/snort/barnyard2.conf
/etc/sysconfig/barnyard2
/usr/bin/barnyard2
/usr/share/doc/barnyard2-1.9
/usr/share/doc/barnyard2-1.9/INSTALL
/usr/share/doc/barnyard2-1.9/LICENSE
/usr/share/doc/barnyard2-1.9/README.aruba
/usr/share/doc/barnyard2-1.9/README.database
/usr/share/doc/barnyard2-1.9/README.sguil

binf and others added some commits Dec 6, 2011

@binf binf Fix for ISSUE 9
The waldo file was pron using previously defined record index from the
last processed unified2 file

Thanks to github user aval13
5c53649
@firnsy firnsy Merge pull request #10 from binf/SpoolerWaldoFix-v2-1.10-beta2
Fixes issue firnsy/#9
c8e30b8
Brent Woodruff Update spec file (see Feb 2 2012 spec changelog) 21ade7f

just vouching for this sensible update. works fine on RHEL6.2 and CentOS 6.2
please commit it into firnsy/barnyard2

Owner

firnsy commented Nov 4, 2012

@fprimex: Thanks. Finally merged in 68e6369, cherry picked since the PR has diverged since initial request.

firnsy closed this Nov 4, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment