Name: nmbscan Version: 1.2.6 Release: 13%{?dist} Summary: NMB/SMB network scanner Group: Applications/Internet License: GPLv2 URL: http://nmbscan.g76r.eu/ Source0: http://nmbscan.g76r.eu/down/%{name}-%{version}.tar.gz Source1: %{name}.1 #remove dependency on deprecated arp tool, use ip neigh instead Patch0: %{name}-1.2.6-arp.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: bind-utils Requires: iputils Requires: iproute Requires: samba-client %description Scans a SMB shares network, using NMB and SMB protocols. Useful to acquire an information on a local area network (security audit, etc.) Matches the information such as NMB/SMB/Windows host name, IP address, IP host name, Ethernet MAC address, Windows user name, NMB/SMB/Windows domain name and master browser. Can discover all NMB/SMB/Windows hosts on a local area network thanks to hosts lists maintained by master browsers. %prep %setup -q -c %{name}-%{version} %patch0 -p 1 -b .arp %build # Nothing to build %install rm -rf %{buildroot} install -d %{buildroot}%{_bindir} install -p -m 0755 nmbscan %{buildroot}%{_bindir}/ install -d %{buildroot}%{_mandir}/man1 install -p -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/ %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Documentation/HOWTO_contribute.txt Documentation/gplv2.txt %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Wed Jul 26 2017 Fedora Release Engineering - 1.2.6-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.2.6-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.2.6-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.2.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.2.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.2.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.2.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.2.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 27 2012 Michal Ambroz - 1.2.6-5 - patched tp use "ip neigh" rather than arp for ARP resolution - Patch from Jiri Popelka * Fri Jan 13 2012 Fedora Release Engineering - 1.2.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.2.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Sep 12 2010 Michal Ambroz - 1.2.6-1 - rebuild for the version 1.2.6 * Wed Aug 04 2010 Nikolay Ulyanitsky - 1.2.5-5 - Fixed the project URL - Added a man page (thx to Michal Ambroz) - Cosmetic changes * Sat Apr 17 2010 Nikolay Ulyanitsky - 1.2.5-4 - Fix the license and Source0 * Fri Mar 19 2010 Nikolay Ulyanitsky - 1.2.5-3 - Add Requires: bind-utils, iputils, net-tools * Sat Mar 13 2010 Nikolay Ulyanitsky - 1.2.5-2 - Fix the license - Fix the summary - Replace generally useful macros by regular commands * Thu Feb 04 2010 Nikolay Ulyanitsky - 1.2.5-1 - Initial package build