Compare commits

..

71 commits

Author SHA1 Message Date
Fedora Release Engineering
6ed64346f0 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 03:56:08 +00:00
Benjamin A. Beasley
3541129118 Generate ethercodes.dat from latest oui.csv 2025-12-11 07:07:44 +00:00
Benjamin A. Beasley
6141d65df8 Update to 3.9 (close RHBZ#2406123) 2025-10-23 23:37:22 +01:00
Benjamin A. Beasley
db38436f1e Generate ethercodes.dat from latest oui.csv 2025-10-23 23:21:46 +01:00
Benjamin A. Beasley
b44e9a4c9f Generate ethercodes.dat from latest oui.csv 2025-10-11 07:04:34 +01:00
Benjamin A. Beasley
6b7db1bfcf Generate ethercodes.dat from latest oui.csv 2025-09-13 07:14:57 +01:00
Benjamin A. Beasley
f5306decab Generate ethercodes.dat from latest oui.csv 2025-08-16 06:22:17 -04:00
Fedora Release Engineering
5cfee9bb3c Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 17:15:06 +00:00
Benjamin A. Beasley
5ef30239ce Very minor spec-file reformatting
[skip changelog]
2025-06-13 06:24:20 -04:00
Benjamin A. Beasley
bf02e5c50e Generate ethercodes.dat from latest oui.csv 2025-06-02 20:42:09 -04:00
Benjamin A. Beasley
90b170a064 Generate ethercodes.dat from latest oui.csv 2025-04-24 16:19:29 -04:00
Benjamin A. Beasley
b77727ab51 Update .rpmlintrc file for a new rpmlint version 2025-04-24 16:17:54 -04:00
Benjamin A. Beasley
362e16b710 Update to 3.8 (close RHBZ#2349279) 2025-03-03 11:29:09 -05:00
Benjamin A. Beasley
a4e44e673f Generate ethercodes.dat from latest oui.csv 2025-03-03 11:25:55 -05:00
Zbigniew Jędrzejewski-Szmek
aa93d898b1 Drop call to %sysusers_create_compat
After https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers,
rpm will handle account creation automatically.
2025-02-11 17:03:15 +01:00
Benjamin A. Beasley
9f602e31b6 Generate ethercodes.dat from latest oui.csv 2025-02-01 10:35:35 -05:00
Fedora Release Engineering
f42f360657 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 11:34:52 +00:00
Benjamin A. Beasley
fc583c9e0c Add a SourceLicense field 2024-12-11 14:42:00 -05:00
Benjamin A. Beasley
b040c3562d Generate ethercodes.dat from latest oui.csv 2024-12-11 14:42:00 -05:00
Benjamin A. Beasley
f74702c0e3 Generate ethercodes.dat from latest oui.csv 2024-11-26 01:45:19 -05:00
Benjamin A. Beasley
e0bcb1f8cd Invoke autoreconf and configure in %conf rather than in %build 2024-10-31 14:52:22 -04:00
Benjamin A. Beasley
872fd85ed5 By default, re-generate the configure script 2024-10-31 14:51:48 -04:00
Benjamin A. Beasley
768183ab7d Fix arpwatch/arpsnmp permissions in %install, not in %files
- Works around an issue extracting debuginfo
2024-10-31 14:50:13 -04:00
Benjamin A. Beasley
656c3cc8eb Fix a trivial typo in the spec file 2024-10-31 14:50:13 -04:00
Benjamin A. Beasley
ce3298b99b Generate ethercodes.dat from latest oui.csv 2024-10-31 14:34:08 -04:00
Benjamin A. Beasley
0676e59166 Update to 3.7 (close RHBZ#2316380) 2024-10-04 07:18:29 -04:00
Benjamin A. Beasley
2d5150f315 Generate ethercodes.dat from latest oui.csv 2024-10-04 07:15:41 -04:00
Benjamin A. Beasley
b62191f856 Generate ethercodes.dat from latest oui.csv 2024-09-14 12:33:12 -04:00
Fedora Release Engineering
14f68a1cd1 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 17:27:40 +00:00
Benjamin A. Beasley
5e5d4350d0 Generate ethercodes.dat from latest oui.csv 2024-07-02 14:34:54 -04:00
Benjamin A. Beasley
0d3389279c Generate ethercodes.dat from latest oui.csv 2024-05-17 13:17:26 -04:00
Benjamin A. Beasley
cec1869a02 Generate ethercodes.dat from latest oui.csv 2024-03-28 09:35:29 -04:00
Fedora Release Engineering
4f615d4bd1 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 23:28:27 +00:00
Benjamin A. Beasley
5ae4fb1bd1 Add missing source
[skip changelog]
2024-01-21 21:55:40 -05:00
Benjamin A. Beasley
f39649efa2 Update to 3.6 (close RHBZ#2259459) 2024-01-21 21:51:47 -05:00
Benjamin A. Beasley
e63c968357 Generate ethercodes.dat from latest oui.csv 2024-01-21 21:51:47 -05:00
Fedora Release Engineering
cd2dd6ef44 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 13:34:14 +00:00
Benjamin A. Beasley
240a5e21a5 Generate ethercodes.dat from latest oui.csv 2024-01-02 12:47:36 -05:00
Benjamin A. Beasley
c0a7e9de94 Switch to dynamically-allocated service user/group ID’s 2023-12-04 11:00:39 -05:00
Benjamin A. Beasley
695a404243 Update to 3.5 (close RHBZ#2252673) 2023-12-03 20:07:31 -05:00
Benjamin A. Beasley
8d4c9e8635 Generate ethercodes.dat from latest oui.csv 2023-12-03 20:01:55 -05:00
Benjamin A. Beasley
238a51ec94 Generate ethercodes.dat from latest oui.csv 2023-11-10 13:21:28 -05:00
Benjamin A. Beasley
46f4713ac2 Generate ethercodes.dat from latest oui.csv 2023-10-04 10:40:47 -04:00
Benjamin A. Beasley
6f71ee9010 Update to 3.4 (close RHBZ#2237532) 2023-09-06 10:15:47 -04:00
Benjamin A. Beasley
cd43df9085 Generate ethercodes.dat from latest oui.csv 2023-09-06 09:54:46 -04:00
Benjamin A. Beasley
6553581ef2 Generate ethercodes.dat from latest oui.csv 2023-09-06 09:54:46 -04:00
Fedora Release Engineering
3a59eeafe6 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 13:47:00 +00:00
Benjamin A. Beasley
5afd997524 Generate ethercodes.dat from latest oui.csv 2023-07-13 00:41:00 -04:00
Benjamin A. Beasley
b832247995 Generate ethercodes.dat from latest oui.csv 2023-05-24 17:54:49 -04:00
Benjamin A. Beasley
a54d9c2db8 Generate ethercodes.dat from latest oui.csv 2023-04-25 10:46:26 -04:00
Benjamin A. Beasley
0e9edf73cb Generate ethercodes.dat from latest oui.csv 2023-03-26 09:21:08 -04:00
Benjamin A. Beasley
fd86a91e44 Generate ethercodes.dat from latest oui.csv 2023-02-15 17:18:08 -05:00
Benjamin A. Beasley
2e89479fcc C99 compatibility patch (fix RHBZ#2166336) 2023-02-01 09:32:04 -05:00
Benjamin A. Beasley
a56fca0a8c Stop numbering patches 2023-02-01 09:29:04 -05:00
Fedora Release Engineering
31fc0fdb37 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 22:08:56 +00:00
Benjamin A. Beasley
64326d22c8 Generate ethercodes.dat from latest oui.csv 2023-01-17 20:27:50 -05:00
Benjamin A. Beasley
0c1aa8afd5 Generate ethercodes.dat from latest oui.csv 2022-12-19 00:25:33 -05:00
Benjamin A. Beasley
66352771d7 Leaf package: remove i686 support 2022-12-19 00:25:29 -05:00
Benjamin A. Beasley
abefd4571a Generate ethercodes.dat from latest oui.csv 2022-08-03 14:59:18 -04:00
Benjamin A. Beasley
ae1d7fe609 Update License field to SPDX
- Additionally, the license is corrected; it should have been “BSD”
  rather than “BSD with advertising” under the old system.
2022-08-01 08:12:17 -04:00
Benjamin A. Beasley
1ced6aa4a1 Generate ethercodes.dat from latest oui.csv 2022-07-30 21:40:51 -04:00
Benjamin A. Beasley
aba0dcc5ea Extract a LICENSE file from arpwatch.c’s comment header
We have emailed upstream requesting a proper license file.
2022-07-30 21:40:46 -04:00
Fedora Release Engineering
5f783a9efc Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 21:14:13 +00:00
Benjamin A. Beasley
8c0deee75e Generate ethercodes.dat from latest oui.csv 2022-05-06 14:19:39 -04:00
Benjamin A. Beasley
efa90ca41a Update to 3.3 (close RHBZ#2068925) 2022-03-28 12:49:40 -04:00
Benjamin A. Beasley
13c84c8c7f Generate ethercodes.dat from latest oui.csv 2022-03-28 12:49:05 -04:00
Benjamin A. Beasley
384e1238f3 Generate ethercodes.dat from latest oui.csv 2022-03-24 15:37:34 -04:00
Benjamin A. Beasley
734a1207b2 Switch OUI URL from HTTP to HTTPS 2022-03-24 15:37:28 -04:00
Benjamin A. Beasley
ab25714d78 Allow fsync in systemd sandbox (fix RHBZ#2051521)
Allow the @sync group to the SystemCallFilter in the systemd sandbox.
When arpwatch is configured to send notification emails via sendmail, at
least the fsync call is needed.
2022-02-07 08:16:04 -05:00
Benjamin A. Beasley
da7e07b1f3 Generate ethercodes.dat from latest oui.csv 2022-02-01 10:17:51 -05:00
Fedora Release Engineering
ed21210c4c - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 21:38:22 +00:00

View file

@ -1,5 +1,4 @@
# EPEL9: Autoconf version 2.71 or higher is required
%bcond autoreconf 0
%bcond autoreconf 1
Name: arpwatch
Epoch: 14
@ -25,8 +24,6 @@ SourceLicense: %{shrink:
}
URL: https://ee.lbl.gov/
Requires(pre): shadow-utils
Requires: /usr/sbin/sendmail
Requires: python3
@ -51,7 +48,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 2025-12-11T07:08:04+00:00.
# File oui.csv last fetched 2025-12-11T07:07:44+00:00.
Source1: oui.csv
Source2: arpwatch.service
Source3: arpwatch.sysconfig
@ -59,42 +56,46 @@ Source4: arp2ethers.8
Source5: massagevendor.8
Source6: arpwatch.sysusers
# Latest version of patches 19 sent upstream by email 2021-04-24.
# The latest versions of all “arpwatch-3.1-*” patches were sent upstream by
# email 2021-04-24.
# Fix section numbers in man page cross-references. With minor changes, this
# patch dates all the way back to arpwatch-2.1a4-man.patch, from RHBZ #15442.
Patch1: arpwatch-3.1-man-references.patch
Patch: arpwatch-3.1-man-references.patch
# Add, and document, a -u argument to change to a specified unprivileged user
# after establishing sockets. This combines and improves multiple previous
# patches; see patch header and changelog for notes.
Patch2: arpwatch-3.2-change-user.patch
Patch: arpwatch-3.2-change-user.patch
# Fix nonstandard sort flags in arp2ethers script.
Patch3: arpwatch-3.1-arp2ethers-sort-invocation.patch
Patch: arpwatch-3.1-arp2ethers-sort-invocation.patch
# Fix stray rm (of an undefined variable) in example arpfetch script.
Patch4: arpwatch-3.1-arpfetch-stray-rm.patch
Patch: arpwatch-3.1-arpfetch-stray-rm.patch
# Do not add /usr/local/bin or /usr/local/sbin to the PATH in any scripts
Patch5: arpwatch-3.9-no-usr-local-path.patch
Patch: arpwatch-3.9-no-usr-local-path.patch
# Do not attempt to search for local libpcap libraries lying around in the
# parent of the build directory, or anywhere else random. This is not expected
# to succeed anyway, but it is better to be sure.
Patch6: arpwatch-3.1-configure-no-local-pcap.patch
Patch: arpwatch-3.1-configure-no-local-pcap.patch
# RHBZ #244606: Correctly handle -n 0/32 to allow the user to disable reporting
# bogons from 0.0.0.0.
Patch7: arpwatch-3.1-all-zero-bogon.patch
Patch: arpwatch-3.1-all-zero-bogon.patch
# When arpwatch is terminated cleanly by a signal (INT/TERM/HUP) handler, the
# exit code should be zero for success instead of nonzero for failure.
Patch8: arpwatch-3.5-exitcode.patch
Patch: arpwatch-3.5-exitcode.patch
# When -i is not given, do not just try the first device found, but keep
# checking devices until a usable one is found, if any is available.
# Additionally, handle the case where a device provides both supported and
# unsupported datalink types.
Patch9: arpwatch-3.5-devlookup.patch
Patch: arpwatch-3.5-devlookup.patch
# Replace _getshort(), “a glibc function that hasn't been declared in the
# installed headers for many, many years,” with ns_get16(). Fixes C99
# compatibility (https://bugzilla.redhat.com/show_bug.cgi?id=2166336). Sent
# upstream by email 2023-02-01.
Patch10: arpwatch-3.3-c99.patch
Patch: arpwatch-3.3-c99.patch
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
%global pkgstatedir %{_sharedstatedir}/arpwatch
@ -129,7 +130,7 @@ awk '/^ \* / { print substr($0, 4); } /^ \*\// { exit }' arpwatch.c |
tee LICENSE
%build
%conf
%if %{with autoreconf}
autoreconf --force --install --verbose
%endif
@ -142,6 +143,8 @@ export CPPFLAGS="${CPPFLAGS-} -DTIME_WITH_SYS_TIME=1"
%configure --with-sendmail=/usr/sbin/sendmail PYTHON=%{python3}
%build
%make_build ARPDIR=%{pkgstatedir}
@ -211,10 +214,6 @@ fi
%systemd_post arpwatch.service
%pre
%sysusers_create_compat %{SOURCE6}
%postun
%systemd_postun_with_restart arpwatch.service