Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
>
fwlogwatch
> fwlogwatch.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File fwlogwatch.spec of Package fwlogwatch (Revision 4)
Currently displaying revision
4
,
show latest
Name: fwlogwatch Version: 1.2 Release: 1 Group: Productivity/Networking/Security URL: http://fwlogwatch.inside-security.de/ License: GPL Summary: Firewall log analyzer, report generator and realtime response agent Source0: %{name}-%{version}.tar.gz Patch0: fwlogwatch-suse-init.patch BuildRequires: flex BuildRequires: zlib-devel BuildRoot: %_tmppath/%{name}-%{version}-buildroot %description fwlogwatch produces Linux ipchains, Linux netfilter/iptables, Solaris/BSD/Irix/HP-UX ipfilter, Cisco IOS, Cisco PIX/ASA, NetScreen, Elsa Lancom router and Snort IDS log summary reports in plain text and HTML form and has a lot of options to analyze and display relevant patterns. It also can run as daemon (with web interface) doing realtime log monitoring and reporting anomalies or starting attack countermeasures. %prep %setup %patch0 %build %__make %install %__install -d "${RPM_BUILD_ROOT}%{_sbindir}" %if 0%{?redhat_version} || 0%{?centos_version} || 0%{?fedora_version} %__install -d "${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d" %endif %if 0%{?suse_version} %__install -d %{buildroot}%{_sysconfdir}/init.d %endif %__install -d "${RPM_BUILD_ROOT}%{_mandir}/man8" %__install -d "${RPM_BUILD_ROOT}%{_datadir}/locale/de/LC_MESSAGES" %__install -d "${RPM_BUILD_ROOT}%{_datadir}/locale/ja/LC_MESSAGES" %__install -d "${RPM_BUILD_ROOT}%{_datadir}/locale/pt/LC_MESSAGES" %__install -d "${RPM_BUILD_ROOT}%{_datadir}/locale/sv/LC_MESSAGES" %__install -d "${RPM_BUILD_ROOT}%{_datadir}/locale/zh_CN/LC_MESSAGES" %__install -d "${RPM_BUILD_ROOT}%{_datadir}/locale/zh_TW/LC_MESSAGES" %__make install INSTALL_DIR="${RPM_BUILD_ROOT}%{_prefix}" %__make install-config CONF_DIR="${RPM_BUILD_ROOT}%{_sysconfdir}" %__make install-i18n LOCALE_DIR="${RPM_BUILD_ROOT}%{_prefix}" %if 0%{?redhat_version} || 0%{?centos_version} || 0%{?fedora_version} %__make install-rhinit CONF_DIR="${RPM_BUILD_ROOT}%{_sysconfdir}" %endif %if 0%{?suse_version} %__install -m0755 contrib/fwlogwatch.init.suse %{buildroot}%{_sysconfdir}/init.d/fwlogwatch %endif %clean [ -n "${RPM_BUILD_ROOT}" ] && %__rm -rf "${RPM_BUILD_ROOT}" ( cd "${RPM_BUILD_DIR}" && %__rm -rf "%{name}-%{version}" ) %preun %stop_on_removal %postun %insserv_cleanup %files %defattr(-,root,root) %doc AUTHORS COPYING CREDITS ChangeLog README %doc contrib/fwlogsummary.cgi contrib/fwlogsummary_small.cgi %doc contrib/fwlogwatch.php %config(noreplace) %{_sysconfdir}/fwlogwatch.config %if 0%{?redhat_version} || 0%{?centos_version} || 0%{?fedora_version} %{_sysconfdir}/rc.d/init.d/fwlogwatch %endif %if 0%{?suse_version} %{_sysconfdir}/init.d/fwlogwatch %endif %config(noreplace) %{_sbindir}/fwlw_notify %config(noreplace) %{_sbindir}/fwlw_respond %{_sbindir}/fwlogwatch %{_mandir}/man8/fwlogwatch.8.gz %lang(de) %{_datadir}/locale/de/LC_MESSAGES/fwlogwatch.mo %lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/fwlogwatch.mo %lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/fwlogwatch.mo %lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/fwlogwatch.mo %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/fwlogwatch.mo %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/fwlogwatch.mo %changelog * Sun Oct 10 2010 Carsten Schoene <cs@linux-administrator.com> - 1.2-1 - initial package import