File oinkmaster.spec of Package oinkmaster

# norootforbuild

%define jobs $(( `/usr/bin/getconf _NPROCESSORS_ONLN` + 1 ))

Name:           oinkmaster
Version:        2.0
Release:        1.0
License:	BSD   
Group:          Productivity/Networking/Security
Source:         %{name}-%{version}.tar.bz2
BuildArch:	noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        A script to update and manage Snort rules

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, 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.

%setup -q


%{__install} -D -m0644 oinkmaster.conf %{buildroot}%{_sysconfdir}/oinkmaster.conf
%{__install} -D -m0755 contrib/ %{buildroot}%{_bindir}/
%{__install} -D -m0755 contrib/ %{buildroot}%{_bindir}/
%{__install} -D -m0755 contrib/ %{buildroot}%{_bindir}/
%{__install} -D -m0755 contrib/ %{buildroot}%{_bindir}/
%{__install} -D -m0755 %{buildroot}%{_bindir}/
%{__install} -D -m0644 oinkmaster.1 %{buildroot}%{_mandir}/man1/oinkmaster.1

test "%{buildroot}" != "/" && %__rm -rf %{buildroot}

%doc ChangeLog FAQ README README.gui README.templates template-examples.conf
%config(noreplace) %{_sysconfdir}/oinkmaster.conf

* Sat Aug 02 2008
- Initial RPM
openSUSE Build Service is sponsored by