Compare commits
18 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
95ea48c81b | ||
|
|
2627623749 | ||
|
|
1a59ebaed6 | ||
|
|
9a74897e92 | ||
|
|
dd83645f91 | ||
|
|
05cbc47f2e | ||
|
|
a41bcae7d7 | ||
|
|
50958a0010 | ||
|
|
aa78ac4b3b | ||
|
|
11978bd3d2 | ||
|
|
7444615cfc | ||
|
|
235d1d2d81 | ||
|
|
e9ad5a8faf | ||
|
|
140020ae57 | ||
|
|
ce6ed3c24d | ||
|
|
3302ae8ff3 | ||
|
|
ae69f122e1 | ||
|
|
dccd75b527 |
5 changed files with 3102 additions and 866 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 ')
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (arpwatch-3.6.tar.gz) = 5ba47b15f294396f79efa4b72743169b9eb36747d675144e8f456a23d3987dc0d719d9b97704e7eeec0795f03ee7ef7e8fe8a4ba1ee35d19ab8ec6b077d345e8
|
||||
SHA512 (arpwatch-3.8.tar.gz) = 9147da89f187adaaa26bc2cef0f04a69baa9a5ff96844f6a7e32ee269a3e1c4fed75b186ca3eb6b97f3579b648f63a7590e0534f545e7480d7ec14d9c7c18f89
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue