File logsurfer+.spec of Package logsurfer+

#
# spec file for package logsurfer (Version 1.5a)
#
# Copyright (c) 2002 SuSE Linux AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# please send bugfixes or comments to feedback@suse.de.
#


Name:         logsurfer+
Provides:     logsurf
License:      X11/MIT
Group:        Productivity/Security
URL:          http://concert.cert.dfn.de/eng/logsurf/home.html
Summary:      Powerful tool to observe logfiles
Version:      1.7
Release:      0
Source:       logsurfer+-%{version}.tar.gz
Source1:      logsurfer.conf
Patch:        %{name}-%{version}-install.dif
#Patch:        logsurfer-%{version}.dif
#Patch1:       logsurfer-%{version}-ia64.dif
#Patch2:       logsurfer-ob1-heap_plus_initialization.diff
Patch3:       logsurfer-double-free-fix.diff
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

BuildRequires: aaa_base
%description
This program makes it possible to observe logfiles and to react on
special events, that can be defined by regular expressions, with a
defined action, e.g. to send a mail.

Authors:
--------
    Wolfgang Ley <ley@cert.dfn.de>
    Kerry Thompson <kerry@crypt.gen.nz>

%prep
%setup
%patch
#%patch1
#%patch2 -p1
%patch3 -p1

%build
%{suse_update_config -f}
autoconf
CFLAGS="$RPM_OPT_FLAGS" ./configure \
                       --with-etcdir=/etc \
                       --prefix=/usr \
                       --exec-prefix=/usr \
                       --mandir=%{_mandir}
make

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/etc/
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/logsurfer.conf

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc ChangeLog DISCLAIMER README TODO contrib regex config-examples
%doc %{_mandir}/man?/*
/usr/bin/logsurfer
%config(noreplace) /etc/logsurfer.conf

%changelog -n logsurfer
* Thu Oct 10 2002 - draht@suse.de
- logsurfer-ob1-heap_plus_initialization.diff solves an off by one
  overflow and a bug caused by uninitialized memory (security).
* Thu May 17 2001 - cihlar@suse.cz
- fixed cast warnings on ia64
* Wed Mar 07 2001 - cihlar@suse.cz
- update to version 1.5a
* Wed Nov 08 2000 - cihlar@suse.cz
- renamed to long name
- bzipped sources
- clean up spec file
* Wed Aug 16 2000 - cihlar@suse.cz
- added BuildRoot
* Thu Mar 02 2000 - choeger@suse.de
- new version 1.5 and mandir macro
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Mon Jun 29 1998 - choeger@suse.de
- new package, v1.41
openSUSE Build Service is sponsored by