Compare commits

...
Sign in to create a new pull request.

18 commits

Author SHA1 Message Date
Benjamin A. Beasley
95ea48c81b Generate ethercodes.dat from latest oui.csv 2025-04-24 16:20:06 -04:00
Benjamin A. Beasley
2627623749 Update .rpmlintrc file for a new rpmlint version 2025-04-24 16:20:02 -04:00
Benjamin A. Beasley
1a59ebaed6 Update to 3.8 (close RHBZ#2349279) 2025-03-03 13:57:57 -05:00
Benjamin A. Beasley
9a74897e92 Generate ethercodes.dat from latest oui.csv 2025-03-03 11:26:01 -05:00
Benjamin A. Beasley
dd83645f91 Generate ethercodes.dat from latest oui.csv 2025-02-01 10:35:47 -05:00
Benjamin A. Beasley
05cbc47f2e Add a SourceLicense field 2024-12-11 14:42:29 -05:00
Benjamin A. Beasley
a41bcae7d7 Generate ethercodes.dat from latest oui.csv 2024-12-11 14:41:30 -05:00
Benjamin A. Beasley
50958a0010 Generate ethercodes.dat from latest oui.csv 2024-11-26 01:45:26 -05:00
Benjamin A. Beasley
aa78ac4b3b Invoke autoreconf and configure in %conf rather than in %build 2024-11-26 01:37:59 -05:00
Benjamin A. Beasley
11978bd3d2 By default, re-generate the configure script 2024-11-26 01:37:57 -05:00
Benjamin A. Beasley
7444615cfc Fix arpwatch/arpsnmp permissions in %install, not in %files
- Works around an issue extracting debuginfo
2024-11-26 01:37:55 -05:00
Benjamin A. Beasley
235d1d2d81 Fix a trivial typo in the spec file 2024-10-31 16:15:45 -04:00
Benjamin A. Beasley
e9ad5a8faf Generate ethercodes.dat from latest oui.csv 2024-10-31 14:34:14 -04:00
Benjamin A. Beasley
140020ae57 Update to 3.7 (close RHBZ#2316380) 2024-10-04 07:54:17 -04:00
Benjamin A. Beasley
ce6ed3c24d Generate ethercodes.dat from latest oui.csv 2024-09-14 12:33:20 -04:00
Benjamin A. Beasley
3302ae8ff3 Generate ethercodes.dat from latest oui.csv 2024-07-02 14:35:02 -04:00
Benjamin A. Beasley
ae69f122e1 Generate ethercodes.dat from latest oui.csv 2024-05-17 13:17:29 -04:00
Benjamin A. Beasley
dccd75b527 Generate ethercodes.dat from latest oui.csv 2024-03-28 09:35:36 -04:00
5 changed files with 3102 additions and 866 deletions

2
.gitignore vendored
View file

@ -6,3 +6,5 @@
/arpwatch-3.4.tar.gz
/arpwatch-3.5.tar.gz
/arpwatch-3.6.tar.gz
/arpwatch-3.7.tar.gz
/arpwatch-3.8.tar.gz

View file

@ -1,9 +1,10 @@
# These are not real spelling errors...
addFilter(r'spelling-error .* en_US (arpsnmp) ')
addFilter(r' spelling-error .* en_US (arpsnmp) ')
# The sticky bit on this directory protects root-owned files from unlinking or
# renaming by members of the arpwatch group.
addFilter(r'non-standard-dir-perm /var/lib/arpwatch 1775')
addFilter(r' non-standard-dir-perm /var/lib/arpwatch 1775')
# Known zero-length files
addFilter(r'zero-length /var/lib/arpwatch/arp.dat-?')
# Ghost file
addFilter(r'non-readable /var/lib/arpwatch/arp.dat.new 600')
addFilter(r' zero-length /var/lib/arpwatch/arp.dat-?')
# This is beyond what we want to rewrite downstream, and is not necessarily a
# serious problem.
addFilter(r' binary-or-shlib-calls-gethostbyname ')

View file

@ -1,19 +1,27 @@
%bcond autoreconf 1
Name: arpwatch
Epoch: 14
Version: 3.6
Version: 3.8
Release: %autorelease
Summary: Network monitoring tools for tracking IP addresses on a network
# SPDX matching with BSD-3-Clause confirmed at
# https://gitlab.com/fedora/legal/fedora-license-data/-/issues/49
#
License: BSD-3-Clause
# Any files under different licenses are part of the build system and do not
# contribute to the license of the binary RPM:
# - config.guess and config.sub are GPL-3.0-or-later
# - configure is FSFULL
# - configure is FSFUL
# - install-sh is X11
# - mkdep is ??? (NTP-like)
License: BSD-3-Clause
# - mkdep is BSD-4.3RENO
SourceLicense: %{shrink:
%{license} AND
BSD-4.3RENO AND
FSFUL AND
GPL-3.0-or-later AND
X11
}
URL: https://ee.lbl.gov/
Requires(pre): shadow-utils
@ -23,6 +31,10 @@ Requires: python3
BuildRequires: gcc
BuildRequires: make
%if %{with autoreconf}
BuildRequires: autoconf
%endif
BuildRequires: /usr/sbin/sendmail
BuildRequires: systemd-rpm-macros
%{?sysuser_requires_compat}
@ -38,7 +50,7 @@ Source0: https://ee.lbl.gov/downloads/arpwatch/arpwatch-%{version}.tar.gz
# updated), we store the file directly in the repository with the spec file;
# see the update-oui-csv script.
#
# File oui.csv last fetched 2024-01-22T02:46:30+00:00.
# File oui.csv last fetched 2025-04-24T20:20:05+00:00.
Source1: oui.csv
Source2: arpwatch.service
Source3: arpwatch.sysconfig
@ -120,15 +132,21 @@ awk '/^ \* / { print substr($0, 4); } /^ \*\// { exit }' arpwatch.c |
tee LICENSE
%build
%set_build_flags
%conf
%if %{with autoreconf}
autoreconf --force --install --verbose
%endif
# Prior to version 3.4, this was handled by the configure script. If it is not
# defined, the build failes because time.h is not included in report.c. This
# defined, the build fails because time.h is not included in report.c. This
# regregression was reported upstream by email to arpwatch@ee.lbl.gov on
# 2023-09-06.
export CPPFLAGS="${CPPFLAGS-} -DTIME_WITH_SYS_TIME=1"
%configure --with-sendmail=/usr/sbin/sendmail PYTHON=%{python3}
%build
%make_build ARPDIR=%{pkgstatedir}
@ -148,6 +166,10 @@ install -d %{buildroot}%{_mandir}/man8 \
%make_install
# Make install uses mode 0555, which is unconventional, and which can interfere
# with debuginfo generation since the file is not writable by its owner.
chmod -v 0755 %{buildroot}%{_sbindir}/arpwatch %{buildroot}%{_sbindir}/arpsnmp
install -p -t %{buildroot}%{_datadir}/arpwatch -m 0644 *.awk
install -p -t %{buildroot}%{_sbindir} arp2ethers
install -p massagevendor.py %{buildroot}%{_sbindir}/massagevendor
@ -212,9 +234,8 @@ fi
%doc CHANGES
%doc arpfetch
# make install uses mode 0555, which is unconventional
%attr(0755,-,-) %{_sbindir}/arpwatch
%attr(0755,-,-) %{_sbindir}/arpsnmp
%{_sbindir}/arpwatch
%{_sbindir}/arpsnmp
# manually-installed scripts
%{_sbindir}/arp2ethers
%{_sbindir}/massagevendor

3908
oui.csv

File diff suppressed because it is too large Load diff

View file

@ -1 +1 @@
SHA512 (arpwatch-3.6.tar.gz) = 5ba47b15f294396f79efa4b72743169b9eb36747d675144e8f456a23d3987dc0d719d9b97704e7eeec0795f03ee7ef7e8fe8a4ba1ee35d19ab8ec6b077d345e8
SHA512 (arpwatch-3.8.tar.gz) = 9147da89f187adaaa26bc2cef0f04a69baa9a5ff96844f6a7e32ee269a3e1c4fed75b186ca3eb6b97f3579b648f63a7590e0534f545e7480d7ec14d9c7c18f89