Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package arp-scan for openSUSE:Factory checked in at 2026-06-22 17:38:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/arp-scan (Old) and /work/SRC/openSUSE:Factory/.arp-scan.new.1956 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "arp-scan" Mon Jun 22 17:38:41 2026 rev:10 rq:1361009 version:1.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/arp-scan/arp-scan.changes 2023-03-02 23:04:48.992247488 +0100 +++ /work/SRC/openSUSE:Factory/.arp-scan.new.1956/arp-scan.changes 2026-06-22 17:38:45.229343499 +0200 @@ -1,0 +2,10 @@ +Mon Jun 22 08:51:54 UTC 2026 - Martin Pluskal <[email protected]> + +- Add arp-scan-EACCES-as-ENOENT.patch: treat EACCES like ENOENT when + stat'ing the MAC/vendor mapping file (ieee-oui.txt / mac-vendor.txt) + in the current directory, so arp-scan falls through to the system + datadir instead of failing with "Permission denied" + (boo#1210703, gh#royhills/arp-scan#120) +- Drop obsolete RPM group + +------------------------------------------------------------------- New: ---- arp-scan-EACCES-as-ENOENT.patch ----------(New B)---------- New: - Add arp-scan-EACCES-as-ENOENT.patch: treat EACCES like ENOENT when stat'ing the MAC/vendor mapping file (ieee-oui.txt / mac-vendor.txt) ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ arp-scan.spec ++++++ --- /var/tmp/diff_new_pack.V2yf2K/_old 2026-06-22 17:38:46.025371334 +0200 +++ /var/tmp/diff_new_pack.V2yf2K/_new 2026-06-22 17:38:46.029371474 +0200 @@ -1,7 +1,7 @@ # # spec file for package arp-scan # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,9 +23,10 @@ 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/releases/download/%{version}/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM arp-scan-EACCES-as-ENOENT.patch boo#1210703 gh#royhills/arp-scan#120 -- treat EACCES like ENOENT when stat'ing the mapping file in CWD, so it falls through to the system datadir instead of failing with "Permission denied" +Patch0: arp-scan-EACCES-as-ENOENT.patch BuildRequires: perl-macros BuildRequires: pkgconfig BuildRequires: perl(LWP::Simple) ++++++ arp-scan-EACCES-as-ENOENT.patch ++++++ >From edb43e2557aa1f459641060dafb77ccaf9082f2a Mon Sep 17 00:00:00 2001 From: Roy Hills <[email protected]> Date: Sat, 14 Jan 2023 15:16:56 +0000 Subject: [PATCH] Treat EACCES as ENOENT when opening mapping files in current directory (#120) * Treat EACCES as ENOENT when opening mapping files in current directory * Updated manpage and ChangeLog --- ChangeLog | 9 +++++++++ arp-scan.1.dist | 6 +++--- arp-scan.c | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/arp-scan.1.dist b/arp-scan.1.dist index a2dcc52..1860abc 100644 --- a/arp-scan.1.dist +++ b/arp-scan.1.dist @@ -5,7 +5,7 @@ .\" are permitted in any medium without royalty provided the copyright .\" notice and this notice are preserved. .\" -.TH ARP-SCAN 1 "November 9, 2022" +.TH ARP-SCAN 1 "January 14, 2023" .\" Please adjust this date whenever revising the man page. .SH NAME arp-scan \- Send ARP requests to target hosts and display responses @@ -209,12 +209,12 @@ Use \fB--interface\fP to specify the interface. \fB--ouifile\fP=\fI<s>\fP or \fB-O \fI<s>\fR Use IEEE registry vendor mapping file \fI<s>\fP. Default is \fIieee-oui.txt\fP in the current directory. -If that is not found \fI@PKGDATADIR@/ieee-oui.txt\fP is used. +If that is not found or cannot be opened \fI@PKGDATADIR@/ieee-oui.txt\fP is used. .TP \fB--macfile\fP=\fI<s>\fP or \fB-m \fI<s>\fR Use custom vendor mapping file \fI<s>\fP. Default is \fImac-vendor.txt\fP in the current directory. -If that is not found \fI@PKGSYSCONFDIR@/mac-vendor.txt\fP is used. +If that is not found or cannot be opened \fI@PKGSYSCONFDIR@/mac-vendor.txt\fP is used. .SS "Output Format Control" .TP .BR --quiet " or " -q diff --git a/arp-scan.c b/arp-scan.c index 04bba56..a7babe5 100644 --- a/arp-scan.c +++ b/arp-scan.c @@ -2642,7 +2642,7 @@ get_mac_vendor_filename(const char *specified_filename, if (!specified_filename) { /* No filename specified */ file_name = make_message("%s", default_filename); status = stat(file_name, &statbuf); - if (status == -1 && errno == ENOENT) { + if (status == -1 && (errno == ENOENT || errno == EACCES)) { free(file_name); file_name = make_message("%s/%s", default_datadir, default_filename); }
