# oinkmaster spec file for oinkmaster-2.0 # Harry Hoffman packager # Upstream: Andreas Ostling Summary: Tool for updating Snort rulesets Name: oinkmaster Version: 2.0 Release: 0 License: BSD Group: Applications/Internet URL: http://oinkmaster.sourceforge.net/ Packager: Scott R. Shinn Source: http://oinkmaster.sourceforge.net/oinkmaster/oinkmaster-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: perl >= 0:5.006001 %description Oinkmaster is simple but useful Perl script released under the BSD license to help you update/manage your Snort rules and disable/enable/modify certain rules after each update (among other things). It will tell you exactly what had changed since the last update, so you'll have total control of your rules. Oinkmaster can be used to update to the latest official rules from www.snort.org, but can just as well be used for managing your homemade rules and distribute them between sensors. It may be useful in conjunction with any program that can use Snort rules, like Snort (doh!) or Prelude-NIDS. It will run on most UNIX systems and also on Windows. %prep %setup %install %{__rm} -rf %{buildroot} %{__install} -d -m0755 %{buildroot}%{_bindir} %{__install} -m0755 contrib/addmsg.pl %{buildroot}%{_bindir} %{__install} -m0755 contrib/addsid.pl %{buildroot}%{_bindir} %{__install} -m0755 contrib/create-sidmap.pl %{buildroot}%{_bindir} %{__install} -m0755 contrib/makesidex.pl %{buildroot}%{_bindir} %{__install} -m0755 oinkmaster.pl %{buildroot}%{_bindir} %{__install} -D -m0644 oinkmaster.1 %{buildroot}%{_mandir}/man1/oinkmaster.1 %{__install} -d -m0755 %{buildroot}%{_sysconfdir} %{__install} -m0644 oinkmaster.conf %{buildroot}%{_sysconfdir}/oinkmaster.conf %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc ChangeLog LICENSE README* template-examples.conf UPGRADING %doc %{_mandir}/man?/* %config(noreplace) %{_sysconfdir}/* %{_bindir}/* %changelog * Tue Dec 12 2006 Scott R. Shinn - 2.0-1 - import into ART * Sat Feb 18 2006 Harry Hoffman - 2.0-0 - Initial Packaging of 2.0.