Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 6697f9099561eab688dd99eb0cb32b66 > files > 3

scanssh-1.6b-4mdk.src.rpm

%define name scanssh
%define version 1.6b
%define release 4mdk

Summary:	Scans the given addresses and networks for running SSH servers.
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	BSD
Group:		Networking/Other
URL:		http://www.monkey.org/~provos/scanssh/
Source0:	http://www.monkey.org/~provos/scanssh/%{name}-%{version}.tar.bz2
Patch0:		scanssh-no-locincpth.patch.bz2
BuildRoot:	%{_tmppath}/%{name}-root
BuildRequires:	libpcap >= 0.4

%description
Scanssh scans the given addresses and networks for running SSH
servers.  It will query their version number and displays the results
in a list.

This program was originally written under OpenBSD as a personal
measurement tool.  However, besides gathering statistics, it's also
useful for other purposes such as ensuring that all machines on your
network run the latest SSH versions, etc...

%prep

%setup -q -n %{name}
%patch0 -p0 

%build
autoconf
%configure
%make

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

install -d %{buildroot}%{_sbindir}
install -d %{buildroot}%{_mandir}/man1
install -m755 scanssh %{buildroot}%{_sbindir}
install -m644 scanssh.1 %{buildroot}%{_mandir}/man1
  
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr (-,root,root)
%doc README
%{_sbindir}/scanssh
%{_mandir}/*/*

%changelog
* Wed Jan 29 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.6b-4mdk
- rebuild

* Thu Jan 16 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.6b-3mdk
- build release

* Fri May 31 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.6b-2mdk
- rebuilt with gcc3.1
- added P0 (thanks Gwenole)

* Sat Dec 22 2001 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.6b-1mdk
- new version

* Fri Sep 14 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.55-1mdk
- added by Oden Eriksson <oden.eriksson@kvikkjokk.net> :
	- re-added into cooker contribs (but from another src.rpm author)...

* Mon May 14 2001 Riku Meskanen <mesrik@iki.fi>
- Checked the 'rpm -tb scanssh-1.55.tar.gz' magic works with rpm 4 too :)
- Checked the rebuild under Red Hat 6.2, passed
- Wrote to author of the scanssh and contributed package spec file

* Wed May 2 2001 Riku Meskanen <mesrik@iki.fi>
- Created spec file and did initial build with Red Hat 7.1