Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
:
Snorby
>
Snorby
> Snorby.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File Snorby.spec of Package Snorby (Revision 6)
Currently displaying revision
6
,
show latest
%if 0%{?suse_version} %define docroot /srv/www %else %define docroot /var/www %endif Name: Snorby Version: 2.3.9 Release: 1 License: GPL Url: http://www.snorby.org Summary: Snort IDS webfrontend Group: System/Security Source0: %{name}-%{version}.tar.bz2 Source1: snorby.init Source2: snorby.sysconfig BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch %if 0%{?suse_version} PreReq: %fillup_prereq %endif %if 0%{?suse_version} > 1020 BuildRequires: fdupes %endif BuildRequires: ruby19 >= 1.9.2 rubygem-rails-3_0 rubygem-bundler wkhtmltopdf ImageMagick >= 6.6.4 Requires: ruby19 >= 1.9.2 rubygem-rails-3_0 rubygem-bundler rubygem-nokogiri wkhtmltopdf ImageMagick >= 6.6.4 java-1_6_0-ibm # required for: cd /srv/www/Snorby ; bundle install --path vendor/cache Requires: libxml2-devel libxslt-devel mysql-devel ImageMagick-devel >= 6.6.4 libMagick++-devel >= 6.6.4 libbz2-devel git %description Snorby is a new and modern Snort IDS front-end. The basic fundamental concepts behind snorby are simplicity and power. The project goal is to create a free, open source and highly competitive application for network monitoring for both private and enterprise use. %prep %setup -n %{name}-%{version} %build %install %__install -d %{buildroot}%{docroot}/Snorby find . -type f -iname .git\* -exec rm {} \; cp -R * %{buildroot}%{docroot}/Snorby/ %if 0%{?suse_version} > 1020 %fdupes %{buildroot}%{docroot}/Snorby %endif %__install -d %{buildroot}%{_sysconfdir}/init.d %if 0%{?suse_version} %__install -d %{buildroot}/var/adm/fillup-templates %__install -m0644 %{S:2} %{buildroot}/var/adm/fillup-templates/sysconfig.snorby %else %__install -d %{buildroot}%{_sysconfdir}/sysconfig %__install -m0644 %{S:2} %{buildroot}%{_sysconfdir}/sysconfig/snorby %endif %__install -d %{buildroot}%{_sbindir} %__install -m0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/snorby cd %{buildroot}%{_sbindir} ln -s ../../%{_sysconfdir}/init.d/snorby rcsnorby %clean rm -rf %{buildroot} %post %if 0%{?suse_version} %fillup_only -n snorby %endif %postun %if 0%{?suse_version} %insserv_cleanup %endif %preun %if 0%{?suse_version} %stop_on_removal snorby %endif %files %defattr(-,root,root) %doc README.md %{docroot}/%{name} %{_sysconfdir}/init.d/snorby %{_sbindir}/rcsnorby %if 0%{?suse_version} /var/adm/fillup-templates/sysconfig.snorby %else %{_sysconfdir}/sysconfig/snorby %endif %changelog * Mon Apr 04 2011 Carsten Schoene <cs@linux-administrator.com> - 2.2.5-1 - update to release 2.2.5 * Sat Nov 06 2010 Carsten Schoene <cs@linux-administrator.com> - 1.1.3-1 - initial package