Author: gotar                        Date: Sat Nov  7 17:22:36 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- SSL is supported but not required, s/R/S/,
- NIKTODTD and DOCDIR are not used, move to %{_docdir},
- initial fixes, release 1

---- Files affected:
packages/nikto:
   nikto.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/nikto/nikto.spec
diff -u packages/nikto/nikto.spec:1.1 packages/nikto/nikto.spec:1.2
--- packages/nikto/nikto.spec:1.1       Sat Nov  7 16:31:01 2009
+++ packages/nikto/nikto.spec   Sat Nov  7 18:22:30 2009
@@ -1,18 +1,18 @@
 # $Revision$, $Date$
-Summary:       web server assessment tool
-Summary(pl.UTF-8):     skrypt do testowania zabezpieczeń serwera www
+Summary:       Web server assessment tool
+Summary(pl.UTF-8):     Skrypt do testowania zabezpieczeń serwera WWW
 Name:          nikto
 Version:       2.1.0
-Release:       0.1
+Release:       1
 License:       GPL
-Group:         Applications
+Group:         Networking
 Source0:       http://www.cirt.net/nikto/%{name}-%{version}.tar.bz2
 # Source0-md5: ce971262e14f5ac1ff634b86366bdaa8
 URL:           http://www.cirt.net/nikto2/
 Patch0:                %{name}-paths.patch
-Requires:      openssl-devel
-Requires:      perl-Net-SSLeay
 Suggests:      nmap
+Suggests:      perl-Net-SSLeay
+Suggests:      openssl-devel
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -35,19 +35,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
-install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/templates
-install -d $RPM_BUILD_ROOT%{_docdir}/%{name}
-install -d $RPM_BUILD_ROOT%{_mandir}/man1
-install -d $RPM_BUILD_ROOT%{_sysconfdir}
-
-install nikto.pl $RPM_BUILD_ROOT%{_bindir}
-install plugins/* $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
-install templates/*.tmpl $RPM_BUILD_ROOT%{_datadir}/%{name}/templates
-install docs/{CHANGES.txt,LICENSE.txt,nikto_manual.html,nikto.dtd} 
$RPM_BUILD_ROOT%{_docdir}/%{name}
-install docs/nikto.1 $RPM_BUILD_ROOT%{_mandir}/man1
+install -d 
$RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_datadir}/%{name},%{_mandir}/man1}
+
 install nikto.conf $RPM_BUILD_ROOT%{_sysconfdir}
+cp -a nikto.pl $RPM_BUILD_ROOT%{_bindir}
+cp -a plugins templates $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -a docs/nikto.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -55,14 +48,9 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/nikto.pl
+%doc docs/*.txt docs/nikto.dtd docs/nikto_manual.html
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nikto.conf
-%dir %{_datadir}/%{name}
-%dir %{_datadir}/%{name}/plugins
-%dir %{_datadir}/%{name}/templates
-%dir %{_docdir}/%{name}
-%{_datadir}/%{name}/plugins/*
-%{_datadir}/%{name}/templates/*.tmpl
-%{_docdir}/%{name}/*
+%{_datadir}/%{name}
 %{_mandir}/man1/nikto.1*
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -71,6 +59,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2009/11/07 17:22:30  gotar
+- SSL is supported but not required, s/R/S/,
+- NIKTODTD and DOCDIR are not used, move to %{_docdir},
+- initial fixes, release 1
+
 Revision 1.1  2009/11/07 15:31:01  duddits
 - new
-
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nikto/nikto.spec?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to