Name: openvas-scanner Version: 3.1.0 Release: 1mamba Summary: Server files for OpenVAS, an Open Vulnerability Assessment System Group: Network/Monitoring Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.nessus.org Source0: http://wald.intevation.org/frs/download.php/754/openvas-scanner-%{version}.tar.gz Source1: openvasd-initscript License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libassuan-devel BuildRequires: libgcrypt-devel BuildRequires: libglib-devel BuildRequires: libgnutls-devel BuildRequires: libgpg-error-devel BuildRequires: libgpgme-devel BuildRequires: libpcap-devel BuildRequires: libuuid-devel BuildRequires: openssl BuildRequires: openvas-libraries-devel ## AUTOBUILDREQ-END BuildRequires: libopenssl-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build Obsoletes: nessus Provides: nessus Provides: openvas-server Obsoletes: openvas-server Provides: libnasl Obsoletes: libnasl Provides: openvas-plugins Obsoletes: openvas-plugins PreReq: openssl # FIXME: # file /usr/include/nessus/includes.h from install of # nessus-devel-2.0.10-1qilnx conflicts with file from package # nessus-libraries-devel-2.0.9-1qilnx %description OpenVAS stands for Open Vulnerability Assessment System and is a network security scanner with associated tools like a graphical user fontend. The core is a server component with a set of network vulnerability tests (NVTs) to detect security problems in remote systems and applications. This project is a fork of the latest GPL release of Nessus. This package contains the server related files. %package devel Summary: Devel package for openvas-server Group: Development/Libraries Requires: %{name} = %{version} Obsoletes: nessus-devel Provides: nessus-devel Provides: openvas-server-devel Obsoletes: openvas-server-devel Provides: libnasl-devel Obsoletes: libnasl-devel %description devel OpenVAS stands for Open Vulnerability Assessment System and is a network security scanner with associated tools like a graphical user fontend. The core is a server component with a set of network vulnerability tests (NVTs) to detect security problems in remote systems and applications. This project is a fork of the latest GPL release of Nessus. This is the development package for the server related package. %prep %setup -q %build %configure # \ # --prefix=%{_prefix} \ # --localstatedir=/var \ # --sharedstatedir=%{_sysconfdir} \ # --sysconfdir=%{_sysconfdir} \ # --mandir=%{_mandir} %make # %{_smp_mflags} #\ # OPENVASD_LOGDIR=/var/log/openvas \ # OPENVASD_CACHEDIR=/var/cache/openvas %install test x"%buildroot" != x/ && rm -rf "%buildroot" %makeinstall #% makeoldinstall OPENVASD_LOGDIR=%{buildroot}/var/log/openvas OPENVASD_CACHEDIR=%{buildroot}/var/cache/openvas install -D -m0755 %{SOURCE1} %{buildroot}%{_initrddir}/openvasd #install -D -m0644 packaging/debian/openvasd.conf %{buildroot}%{_sysconfdir}/openvas/openvasd.conf install -d -m0755 \ %{buildroot}%{_sysconfdir}/openvas/CA \ %{buildroot}/var/lib/openvas/plugins \ %{buildroot}/var/cache/openvas #mkdir -p %{buildroot}/var/cache/openvas/{CA,logs,users,jobs,} #mkdir -p %{buildroot}/var/log/openvas %clean test x"%buildroot" != x/ && rm -rf "%buildroot" %files %defattr(-,root,root) #%config %{_sysconfdir}/openvas/openvasd.conf %{_bindir}/openvas-mkcert-client %{_bindir}/openvas-mkrand %{_sbindir}/greenbone-nvt-sync %{_sbindir}/openvas-adduser #%{_sbindir}/openvas-check-signature %{_sbindir}/openvas-mkcert %{_sbindir}/openvas-nvt-sync %{_sbindir}/openvas-rmuser %{_sbindir}/openvassd %dir %{_libdir}/openvas %dir %{_libdir}/openvas/plugins %{_libdir}/openvas/plugins/*.nes %{_mandir}/man1/openvas*.1.gz %{_mandir}/man8/openvas*.8.gz %{_initrddir}/openvasd %dir %{_sysconfdir}/openvas %dir %{_sysconfdir}/openvas/CA %dir /var/lib/openvas %dir /var/lib/openvas/plugins %dir /var/lib/openvas/CA %dir /var/lib/openvas/logs %dir /var/lib/openvas/users %dir /var/lib/openvas/jobs %dir /var/lib/openvas/openvas-services %dir /var/cache/openvas %dir /var/log/openvas %files devel %defattr(-,root,root) #%{_bindir}/openvasd-config #%{_includedir}/openvas/* %post if [ ! -e /var/lib/openvas/private/CA/cakey.pem ]; then %{_sbindir}/openvas-mkcert -q # chkconfig --add nessusd # %{_initrddir}/nessusd start fi exit 0 %preun if [ $1 -eq 0 ]; then chkconfig --del openvasd 2>/dev/null service openvasd stop 2>/dev/null fi exit 0 %postun if [ $1 -eq 1 ]; then test -e /var/lock/subsys/openvasd && \ service openvasd restart fi exit 0 %changelog * Tue Aug 10 2010 Silvan Calarco 3.1.0-1mamba - update to 3.1.0 - renamed from openvas-server * Mon Oct 19 2009 Silvan Calarco 2.0.3-1mamba - update to 2.0.3 * Mon Oct 19 2009 Silvan Calarco 2.0.2-2mamba - added prereq for openssl * Sat Jul 25 2009 Automatic Build System 2.0.2-1mamba - update to 2.0.2 * Sat Jul 25 2009 Automatic Build System 1.0.0-2mamba - automatic rebuild by autodist * Sat Apr 05 2008 Silvan Calarco 1.0.0-1mamba - update to 1.0.0 (specfile is a continuation of nessus) * Wed Dec 29 2004 Silvan Calarco 2.2.2a-1qilnx - update to version 2.2.2a by autospec - include file nessus/includes.h renamed to nessus/includes-core.h to avoid a conflict with nessus-libraries * Fri Jul 23 2004 Davide Madrisan 2.0.12-1qilnx - update to 2.0.12 * Tue Jul 20 2004 Davide Madrisan 2.0.11-1qilnx - update to 2.0.11 * Mon Feb 02 2004 Davide Madrisan 2.0.10a-1qilnx - rebuilt with version 2.0.10a * Fri Nov 07 2003 Davide Madrisan 2.0.9-1qilnx - rebuilt with version 2.0.9 * Fri Jun 20 2003 Silvan Calarco 2.0.6a-3qilnx - fixed logdir * Fri Jun 20 2003 Silvan Calarco 2.0.6a-2qilnx - rebuild with defattr for nessus-client package * Fri Jun 13 2003 Silvan Calarco 2.0.6a-1qilnx - first build of nessus libraries