nmbscan/nmbscan.spec

Name: nmbscan
Summary: NMB/SMB network scanner
Version: 1.2.6
Release: 1
License: GPL
Group: Applications/System
URL: http://nmbscan.gbarbier.org/
Description: Scans a SMB shares network, using NMB and SMB protocols. Useful to acquire information on local aera network (security audit, etc.)

Matches informations such as NMB/SMB/Windows hostname, IP address, IP hostname, ethernet MAC address, Windows username, NMB/SMB/Windows domain name and master browser.

Can discover all NMB/SMB/Windows hosts on a local aera network thanks to hosts lists maintained by master browsers.

CentOS 7 x86_64

The build could not start because the following file is missing: nmbscan-1.2.6.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: down.php?file=nmbscan-1.2.6.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Grégoire Barbier <gb$gbarbier,org>

Summary: NMB/SMB network scanner
Name: nmbscan
Version: 1.2.6
Release: 1%{?dist}
License: GPL
Group: Applications/System
URL: http://nmbscan.gbarbier.org/

Source: http://nmbscan.gbarbier.org/down.php?file=nmbscan-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

Buildarch: noarch
Requires: samba-client, iputils

%description
Scans a SMB shares network, using NMB and SMB protocols. Useful to acquire
information on local aera network (security audit, etc.)

Matches informations such as NMB/SMB/Windows hostname, IP address, IP
hostname, ethernet MAC address, Windows username, NMB/SMB/Windows domain name
and master browser.

Can discover all NMB/SMB/Windows hosts on a local aera network thanks to hosts
lists maintained by master browsers.

%prep
%setup -c

%build

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 nmbscan %{buildroot}%{_bindir}/nmbscan

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc sample.txt Documentation/gplv2.txt Documentation/HOWTO_contribute.txt
%{_bindir}/nmbscan

%changelog
* Fri Sep 10 2010 Dag Wieers <dag@wieers.com> - 1.2.6-1
- Updated to release 1.2.6.

* Thu Dec 27 2007 Dag Wieers <dag@wieers.com> - 1.2.5-1
- Updated to release 1.2.5.

* Sun Feb 06 2005 Dag Wieers <dag@wieers.com> - 1.2.4-1
- Updated to release 1.2.4.

* Sun Jun 20 2004 Dag Wieers <dag@wieers.com> - 1.2.3-1
- Updated to release 1.2.3.

* Sun Jun 06 2004 Dag Wieers <dag@wieers.com> - 1.2.2-1
- Initial package. (using DAR)