File openvas-plugins.spec of Package openvas-plugins

#
# spec file for package openvas-plugins (Version 1.0.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           openvas-plugins
Version:        1.0.2
Release:        1
License:        GPL v2 only
Group:          Productivity/Networking/Security
Url:            http://www.openvas.org
Source:         %{name}-%{version}.tar.gz
Patch0:         openvas-plugins-1.0.1-Makefile.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gnutls-devel libpcap-devel openvas-libraries-devel openvas-server-devel
%if %{defined fedora_version}
BuildRequires:  gcc-c++
%endif
Requires:       openvas-server
PreReq:         glibc
Summary:        The actual vulnerability tests for the OpenVAS Server

%description
This package adds the actual vulnerability tests to the Open
Vulnerability Assessment System (OpenVAS) Server.



%prep
%setup -q
%patch0
# remove 3com_hub plugin otherwise abuild will complain
# this plugin fails to build anyway
rm -rf plugins/3com_hub

%build
%configure
%__make

%install
%makeinstall

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

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

%files
%defattr(-,root,root)
%doc CHANGES COPYING TODO
%{_sbindir}/openvas-nvt-sync
%dir %{_libdir}/openvas
%dir %{_libdir}/openvas/plugins
%{_libdir}/openvas/plugins/*

%changelog
* Mon Sep 08 2008 anosek@suse.cz
- updated to version 1.0.2
  * Bugfix in "openvas-nvt-sync": Wrong quoting in this script
  created strange directory structure in OpenVAS server installation.
  This is fixed now.
  In case you started this script as shipped by openvas-plugins 1.0.1,
  you should manually remove the directory, e.g.:
  [#] cd /usr/lib/openvas
  [#] ls -l             (watch-out for the directory named '"')
  [#] rm -rf \"
  * 8 new Debian Local Security Checks
  contributed by www.securityspace.com
  * 6 new Windows Local Security Checks and generic
  Linux Security Checks, by DN-Systems.
  * Updated integration of Nikto: Adaptions for new Nikto 2.0
  and further improvements to run Nikto via OpenVAS (nikto.nasl).
  Also, the obsolete C-Plugin for Nikto (nikto.nes) has now been finally
  removed.
  * Improvemed framework for Windows Local Security
  Checks based in smbclient.
  * Various other small fixes.
* Wed Jun 18 2008 anosek@suse.cz
- initial version 1.0.1
- package taken from BS project home:bitshuffler:openvas
openSUSE Build Service is sponsored by