Summary: Nessus security scanner plugins Name: nessus-plugins Version: 2.2.10 Release: %mkrel 6 License: GPL Group: System/Servers URL: http://www.nessus.org # http://cgi.tenablesecurity.com/nessus3dl.php?file=nessus-plugins-2.2.10.tar.gz&licence_accept=yes&t=5a144975306462c6d49d299ba1d6c0b2 Source0: %{name}-%{version}.tar.gz Source9: plugins_api.txt.bz2 BuildRequires: bison BuildRequires: flex BuildRequires: openssl-devel BuildRequires: libnasl-devel = %{version} BuildRequires: nessus-devel >= %{version} BuildRequires: libnessus-devel >= %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Nessus 2.2 is a free, up-to-date, and full featured remote security scanner for Linux. It is multithreaded, plugin-based, and has a nice GTK interface. It has powerful reporting capabilities (HTML, LaTeX, ASCII text) and not only points out problems, but suggests a solution for each of them. This package provides more then 1000 plugins for nessus. %prep %setup -q -n %{name} bzip2 -cd %{SOURCE9} > ./`basename %{SOURCE9} .bz2` # fix permissions perl -pi -e "s|555|755|g" Makefile perl -pi -e "s|444|644|g" Makefile # lib64 fix perl -pi -e "s|/lib\b|/%{_lib}|g" configure* aclocal.m4 %build %define __libtoolize /bin/true ac_cv_prog_cc_g=no ac_cv_prog_cxx_g=no \ %configure perl -pi -e 's/-o root / /g; s/-o \$\(installuser\) / /g; y/{}/()/' Makefile %make %install if [ -d %{buildroot} ]; then rm -rf %{buildroot}; fi %makeinstall_std mkdir -p %{buildroot}{%{_bindir},%{_libdir}/%{name}/reports,%{_sysconfdir}/nessus,%{_initrddir},%{_var}/log/nessus} # Correct paths in devel stuff perl -pi -e 's|^PREFIX=.*|PREFIX='%{_prefix}'|' \ %{buildroot}%{_bindir}/*-config \ # remove unwanted files rm -rf %{buildroot}%{_libdir}/nessus/plugins_factory # why do they name their dl name to ".nes" ??? pushd %{buildroot}%{_libdir}/nessus/plugins for i in *.nes; do new_name=`echo $i|sed -e 's/\.nes/\.so/'` ln -s $i $new_name chmod 755 $i $new_name done popd %clean if [ -d %{buildroot} ]; then rm -rf %{buildroot}; fi %files %defattr(0644,root,root,0755) %attr(0755,root,root) %{_bindir}/nessus-build %attr(0755,root,root) %{_sbindir}/nessus-update-plugins %{_libdir}/nessus/plugins/* %{_mandir}/man1/* %{_mandir}/man8/* %changelog * Fri Apr 16 2010 Funda Wang <fwang@mandriva.org> 2.2.10-6mdv2010.1 + Revision: 535277 - rebuild * Fri Sep 04 2009 Thierry Vignaud <tv@mandriva.org> 2.2.10-5mdv2010.0 + Revision: 430164 - rebuild * Fri Aug 08 2008 Thierry Vignaud <tv@mandriva.org> 2.2.10-4mdv2009.0 + Revision: 267978 - rebuild * Thu Jan 03 2008 Olivier Blin <oblin@mandriva.com> 2.2.10-1mdv2008.1 + Revision: 140994 - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request * Fri Sep 07 2007 Oden Eriksson <oeriksson@mandriva.com> 2.2.10-1mdv2008.0 + Revision: 81670 - Import nessus-plugins * Fri Sep 07 2007 Oden Eriksson <oeriksson@mandriva.com> 2.2.10-1mdv2008.0 - 2.2.10 * Mon Aug 14 2006 Emmanuel Andry <eandry@mandriva.org> 2.2.8-1mdv2007.0 - 2.2.8 * Thu Mar 30 2006 Stew Benedict <sbenedict@mandriva.com> 2.2.7-3mdk - buildrequires both nessus-devel and libnessus-devel - (seperate pkgs - previous mod of libnessus2 broke this pkg build) * Thu Mar 09 2006 Oden Eriksson <oeriksson@mandriva.com> 2.2.7-2mdk - disable libtoolize * Thu Mar 09 2006 Oden Eriksson <oeriksson@mandriva.com> 2.2.7-1mdk - 2.2.7 - don't ship the old scripts, newer ones are included * Fri Jan 13 2006 Marcel Pol <mpol@mandriva.org> 2.2.6-1mdk - 2.2.6 * Thu May 05 2005 Marcel Pol <mpol@mandriva.org> 2.2.4-1mdk - 2.2.4 * Tue Feb 22 2005 Lenny Cartier <lenny@mandrakesoft.com> 2.2.3-1mdk - 2.2.3 * Fri Jan 7 2005 Stefan van der Eijk <stefan@mandrakesoft.com> 2.2.2a-1mdk - New release 2.2.2a * Thu Aug 19 2004 Michael Scherer <misc@mandrake.org> 2.0.12-1mdk - 2.0.12 * Sat Feb 21 2004 Giuseppe Ghibò <ghibo@mandrakesoft.com> 2.0.10a-1mdk - Release: 2.0.10a. - Added Source1 (scripts updated to 20040220). * Sun Feb 08 2004 Marcel Pol <mpol@mandrake.org> 2.0.9-3mdk - add nessus-update-plugins (#7543) * Sun Jan 04 2004 Marcel Pol <mpol@mandrake.org> 2.0.9-2mdk - own dir (distriblint) - fix description - fix permissions * Thu Nov 06 2003 Lenny Cartier <lenny@mandrakesoft.com> 2.0.9-1mdk - 2.0.9 * Wed Jul 23 2003 Marcel Pol <mpol@gmx.net> 2.0.7-1mdk - 2.0.7 - split package from main nessus package * Wed Dec 18 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.2.7-1mdk - 1.2.7 * Tue Oct 8 2002 Stefan van der Eijk <stefan@eijk.nu> 1.2.6-1mdk - 1.2.6 - removed README_LINUX (doesn't exist anymore) * Wed Sep 11 2002 Arnaud Desmons <adesmons@mandrakesoft.com> 1.2.5-3mdk - Requires nessus-plugins * Wed Sep 11 2002 Arnaud Desmons <adesmons@mandrakesoft.com> 1.2.5-2mdk - 1.2.5 * Tue Sep 10 2002 Arnaud Desmons <adesmons@mandrakesoft.com> 1.2.5-1mdk - 1.2.5 * Thu Jul 25 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.2.3-1mdk - 1.2.3 * Tue Jun 18 2002 Stefan van der Eijk <stefan@eijk.nu> 1.2.0-2mdk - BuildRequires * Fri Apr 19 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.2.0-1mdk - 1.2.0 * Thu Feb 28 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.1.13-1mdk - 1.1.13 - xpm2png * Tue Jan 22 2002 Laurent Culioli <laurent@mandrakesoft.com> 1.1.11-1mdk - 1.1.11 * Sat Jan 19 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.1.9-3mdk - rebuild * Thu Nov 22 2001 Alexander Skwar <ASkwar@Linux-Mandrake.com> 1.1.9-2mdk - Make rpmlint a little happier * Wed Nov 21 2001 Alexander Skwar <ASkwar@Linux-Mandrake.com> 1.1.9-1mdk - 1.1.9 - Actually really set localstatedir to /var/lib instead of to /var/log * Thu Nov 8 2001 Vincent Danen <vdanen@mandrakesoft.com> 1.1.8-1mdk - 1.1.8 - call nessus-mkcert at install if certs do not exist - patch nessus-mkcert to use more sensible locations to store certs/keys (P1) - make localstatedir /var/lib and not /var/log (???) so that user accounts and info go into /var/lib/users and not /var/log/users * Wed Nov 7 2001 Frederic Lepied <flepied@mandrakesoft.com> 1.1.6-2mdk - don't use sub shell in %%build - use %%make - use service macros - added the missing nessus-mkcert, nessus-rmuser and nessus-update-plugins - add a dependency on tar, gzip and lynx for nessus-update-plugins * Wed Oct 17 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.1.6-1mdk - 1.1.6 * Mon Sep 17 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.1.4-1mdk - added by Oden Eriksson <oden.eriksson@kvikkjokk.net> : - updated to 1.1.4 * Tue Aug 21 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.0.9-1mdk - updated to 1.0.9 * Wed Jun 6 2001 Laurent Culioli <laurent@mandrakesoft.com> 1.0.8-1mdk - updated to 1.0.8 * Wed Mar 07 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.0.7a-1mdk - upgraded to 1.0.7a * Tue Jan 30 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.0.7-1mdk - used srpm from Guillaume Rousse <g.rousse@mandrake-linux.com> : - updated to 1.0.7 * Mon Nov 06 2000 Lenny Cartier <lenny@mandrakesoft.com> 1.0.5-1mdk - used srpm from Alexander Skwar <ASkwar@Linux-Mandrake.com> : New version Added menu for the client with icons Quiet the unpacking of the files * Wed Jul 26 2000 John Johnson <jjohnson@linux-mandrake.com> 1.0.3-1mdk - Fixed an error in my spec file that caused the nessusd script in /etc/rc.d/init.d to not work properly. * Wed Jul 12 2000 John Johnsin <jjohnson@linux-mandrake.com> 1.0.3-1mdk - Updated rpm for version 1.0.3 - made a few small changes to spec file * Sat Jun 10 2000 John Johnson <jjohnson@linux-mandrake.com> 1.0.1-1mdk - updated sources to the new version. * Mon May 29 2000 Vincent Danen <vdanen@linux-mandrake.com> 1.0.0-2mdk - bzip sources - fix group - various specfile cleanups - made unrelocatable - added call to ldconfig in post and postun * Thu May 18 2000 John Johnson <jjohnson@linux-mandrake.com> - Made Mandrake rpm