From 5541c822b830c9b6da97a8d00be5a047102778e7 Mon Sep 17 00:00:00 2001 From: pluskalm <> Date: Mar 06 2023 02:52:19 +0000 Subject: Update arp-scan to version 1.10.0 / rev 9 via SR 1068705 https://build.opensuse.org/request/show/1068705 by user pluskalm + dimstar_suse --- diff --git a/.files b/.files index 6afcb68..c4b6c79 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 02ac187..6ffcf84 100644 --- a/.rev +++ b/.rev @@ -78,4 +78,12 @@ <comment></comment> <requestid>1040616</requestid> </revision> + <revision rev="9" vrev="1"> + <srcmd5>3125da00c8efb9ca1682e63daa7f8ede</srcmd5> + <version>1.10.0</version> + <time>1677794669</time> + <user>dimstar_suse</user> + <comment></comment> + <requestid>1068705</requestid> + </revision> </revisionlist> diff --git a/arp-scan-1.10.0.tar.gz b/arp-scan-1.10.0.tar.gz new file mode 120000 index 0000000..dfb7ace --- /dev/null +++ b/arp-scan-1.10.0.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeiff3ai6ye3yqfkxki3fiu2zwbtyj7xkrbphs43zuzfwwmr5g32x4u \ No newline at end of file diff --git a/arp-scan-1.9.8.tar.gz b/arp-scan-1.9.8.tar.gz deleted file mode 120000 index b1af3fb..0000000 --- a/arp-scan-1.9.8.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeifgulnuwztwfqbizyl553dfvmj6dtgtsx5trcdfy63kekb2be52fe \ No newline at end of file diff --git a/arp-scan.changes b/arp-scan.changes index 7074764..13486c7 100644 --- a/arp-scan.changes +++ b/arp-scan.changes @@ -1,4 +1,15 @@ ------------------------------------------------------------------- +Wed Mar 1 21:49:28 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de> + +- update to 1.10.0 + * Support for POSIX.1e capabilities. Administrators can set + cap_net_raw+p on the arp-scan binaries to allow non-root users + to run arp scan if desired + * MAC/Vendor file layout changed. /etc/arp-scan/mac-vendor.txt + allows for local configuration +- build with upstream tarball + +------------------------------------------------------------------- Mon Dec 5 09:51:41 UTC 2022 - Dirk Müller <dirk@matrix> - update to 1.9.8: diff --git a/arp-scan.spec b/arp-scan.spec index 3216bb6..21ee231 100644 --- a/arp-scan.spec +++ b/arp-scan.spec @@ -1,7 +1,7 @@ # # spec file for package arp-scan # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,22 +16,26 @@ # +%bcond_without caps Name: arp-scan -Version: 1.9.8 +Version: 1.10.0 Release: 0 Summary: ARP scanning and fingerprinting tool # strlcpy.c and strlcat.c have ISC header and embeded {getopt,obstack}.{c,h} has LGPL-2.1 License: GPL-3.0-only AND LGPL-2.1-only AND ISC Group: Productivity/Networking/Security URL: https://github.com/royhills/arp-scan -Source: https://github.com/royhills/arp-scan/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libpcap-devel >= 1.5.0 +Source: https://github.com/royhills/arp-scan/releases/download/%{version}/%{name}-%{version}.tar.gz BuildRequires: perl-macros +BuildRequires: pkgconfig BuildRequires: perl(LWP::Simple) +BuildRequires: pkgconfig(libpcap) >= 1.5.0 Requires: perl(LWP::Simple) %{perl_requires} +%if 0%{with caps} +# pre-installed in build root, but make explicit anyway +BuildRequires: pkgconfig(libcap) +%endif %description arp-scan is a command-line tool that uses the ARP protocol to discover and fingerprint IP hosts on the local network. @@ -39,31 +43,35 @@ arp-scan is a command-line tool that uses the ARP protocol to discover and finge %define debug_package_requires %{name} = %{version}-%{release} %prep -%setup -q +%autosetup -p1 %build -autoreconf -fiv -%configure +%configure \ +%if %{with caps} + --with-libcap=yes \ +%else +# defaults to auto + --with-libcap=no \ +%endif + %{nil} %make_build %check -make %{?_smp_mflags} check +%make_build check %install + %make_install sed -i "s|env ||g" %{buildroot}%{_bindir}/* %files +%license COPYING %doc AUTHORS ChangeLog NEWS README TODO -%{_bindir}/arp-fingerprint -%{_bindir}/arp-scan -%{_bindir}/get-iab -%{_bindir}/get-oui +%{_bindir}/* %{_datadir}/arp-scan -%{_mandir}/man1/arp-fingerprint.1%{?ext_man} -%{_mandir}/man1/arp-scan.1%{?ext_man} -%{_mandir}/man1/get-iab.1%{?ext_man} -%{_mandir}/man1/get-oui.1%{?ext_man} -%{_mandir}/man5/mac-vendor.5%{?ext_man} +%dir %{_sysconfdir}/arp-scan +%config(noreplace) %{_sysconfdir}/arp-scan/mac-vendor.txt +%{_mandir}/man1/*.1%{?ext_man} +%{_mandir}/man5/*.5%{?ext_man} %changelog