forked from pool/netdiscover
68 lines
2.2 KiB
RPMSpec
68 lines
2.2 KiB
RPMSpec
|
#
|
||
|
# spec file for package netdiscover
|
||
|
#
|
||
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||
|
#
|
||
|
# All modifications and additions to the file contributed by third parties
|
||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||
|
# upon. The license for this file, and modifications and additions to the
|
||
|
# file, is the same license as for the pristine package itself (unless the
|
||
|
# license for the pristine package is not an Open Source License, in which
|
||
|
# case the license is the MIT License). An "Open Source License" is a
|
||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||
|
# published by the Open Source Initiative.
|
||
|
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
|
||
|
%define oui_date 20160522
|
||
|
Name: netdiscover
|
||
|
Version: 0.3_beta7
|
||
|
Release: 0
|
||
|
Summary: A network address discovering/monitoring tool
|
||
|
License: GPL-3.0+
|
||
|
Group: Productivity/Networking/Other
|
||
|
Url: http://nixgeneration.com/~jaime/netdiscover/
|
||
|
Source0: http://nixgeneration.com/~jaime/netdiscover/releases/%{name}-0.3-pre-beta7-LINUXONLY.tar.gz
|
||
|
Source1: oui.h-%{oui_date}.bz2
|
||
|
Source100: %{name}.changes
|
||
|
Patch0: %{name}-upstream-20160415.patch
|
||
|
BuildRequires: autoconf
|
||
|
BuildRequires: automake
|
||
|
BuildRequires: libnet-devel
|
||
|
BuildRequires: libpcap-devel
|
||
|
|
||
|
%description
|
||
|
Netdiscover is an active/passive address reconnaissance tool, mainly developed
|
||
|
for those wireless networks without dhcp server, when you are wardriving. It
|
||
|
can be also used on hub/switched networks.
|
||
|
|
||
|
Built on top of libnet and libpcap, it can passively detect online hosts, or
|
||
|
search for them, by actively sending arp requests, it can also be used to
|
||
|
inspect your network arp traffic, and find network addresses using auto scan
|
||
|
mode, which will scan for common local networks.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n netdiscover-0.3-pre-beta7
|
||
|
%patch0 -p1
|
||
|
# update oui database
|
||
|
bzcat %{SOURCE1} > src/oui.h
|
||
|
|
||
|
%build
|
||
|
autoreconf -fiv
|
||
|
%configure
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
%make_install
|
||
|
rm -rf %{buildroot}%{_datadir}/doc
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc ChangeLog COPYING README AUTHORS NEWS TODO
|
||
|
%{_sbindir}/netdiscover
|
||
|
%{_mandir}/man8/*.8*
|
||
|
|
||
|
%changelog
|