Compare commits

..

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
6 changed files with 11583 additions and 12845 deletions

1
.gitignore vendored
View file

@ -8,4 +8,3 @@
/arpwatch-3.6.tar.gz
/arpwatch-3.7.tar.gz
/arpwatch-3.8.tar.gz
/arpwatch-3.9.tar.gz

View file

@ -0,0 +1,40 @@
Do not add /usr/local/bin or /usr/local/sbin to the PATH in any scripts.
diff -Naur arpwatch-3.2-original/arpfetch arpwatch-3.2/arpfetch
--- arpwatch-3.2-original/arpfetch 2013-02-16 03:10:28.000000000 -0500
+++ arpwatch-3.2/arpfetch 2021-12-16 08:26:26.931846139 -0500
@@ -4,8 +4,6 @@
# arpfetch - collect arp data from a cisco using net-snmp
#
-export PATH="/usr/local/bin:${PATH}"
-
prog=`basename $0`
if [ $# -ne 2 ]; then
diff -Naur arpwatch-3.2-original/bihourly.sh arpwatch-3.2/bihourly.sh
--- arpwatch-3.2-original/bihourly.sh 2016-09-16 22:40:54.000000000 -0400
+++ arpwatch-3.2/bihourly.sh 2021-12-16 08:26:35.671910709 -0500
@@ -3,9 +3,6 @@
#
# bihourly arpwatch job
#
-PATH=${PATH}:/usr/local/sbin
-export PATH
-#
cd /usr/local/arpwatch
#
list="`cat list`"
diff -Naur arpwatch-3.2-original/update-ethercodes.sh.in arpwatch-3.2/update-ethercodes.sh.in
--- arpwatch-3.2-original/update-ethercodes.sh.in 2021-12-14 19:47:54.000000000 -0500
+++ arpwatch-3.2/update-ethercodes.sh.in 2021-12-16 08:26:16.309767665 -0500
@@ -6,9 +6,6 @@
prog="`basename $0`"
-PATH=/usr/local/bin:${PATH}
-export PATH
-
t1=/tmp/${prog}.1.$$
trap 'rm -f ${t1}; exit 1' 1 2 3 15 EXIT

View file

@ -1,40 +0,0 @@
Do not add /usr/local/bin or /usr/local/sbin to the PATH in any scripts.
diff -Naur arpwatch-3.9-original/arpfetch arpwatch-3.9/arpfetch
--- arpwatch-3.9-original/arpfetch 2013-02-16 08:10:28.000000000 +0000
+++ arpwatch-3.9/arpfetch 2025-10-23 23:27:24.285711332 +0100
@@ -4,8 +4,6 @@
# arpfetch - collect arp data from a cisco using net-snmp
#
-export PATH="/usr/local/bin:${PATH}"
-
prog=`basename $0`
if [ $# -ne 2 ]; then
diff -Naur arpwatch-3.9-original/bihourly.sh arpwatch-3.9/bihourly.sh
--- arpwatch-3.9-original/bihourly.sh 2016-09-17 03:40:54.000000000 +0100
+++ arpwatch-3.9/bihourly.sh 2025-10-23 23:27:24.285849999 +0100
@@ -3,9 +3,6 @@
#
# bihourly arpwatch job
#
-PATH=${PATH}:/usr/local/sbin
-export PATH
-#
cd /usr/local/arpwatch
#
list="`cat list`"
diff -Naur arpwatch-3.9-original/update-ethercodes.sh.in arpwatch-3.9/update-ethercodes.sh.in
--- arpwatch-3.9-original/update-ethercodes.sh.in 2025-10-23 20:32:08.000000000 +0100
+++ arpwatch-3.9/update-ethercodes.sh.in 2025-10-23 23:27:50.579194300 +0100
@@ -6,9 +6,6 @@
prog="`basename $0`"
-PATH=/usr/local/bin:${PATH}
-export PATH
-
t1=`mktemp /tmp/${prog}.1.XXXXXX`
trap 'rm -f ${t1}; exit 1' 1 2 3 15 EXIT

View file

@ -2,7 +2,7 @@
Name: arpwatch
Epoch: 14
Version: 3.9
Version: 3.8
Release: %autorelease
Summary: Network monitoring tools for tracking IP addresses on a network
@ -24,6 +24,8 @@ SourceLicense: %{shrink:
}
URL: https://ee.lbl.gov/
Requires(pre): shadow-utils
Requires: /usr/sbin/sendmail
Requires: python3
@ -48,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 2025-12-11T07:07:44+00:00.
# File oui.csv last fetched 2025-04-24T20:20:05+00:00.
Source1: oui.csv
Source2: arpwatch.service
Source3: arpwatch.sysconfig
@ -71,7 +73,7 @@ Patch: arpwatch-3.1-arp2ethers-sort-invocation.patch
# Fix stray rm (of an undefined variable) in example arpfetch script.
Patch: arpwatch-3.1-arpfetch-stray-rm.patch
# Do not add /usr/local/bin or /usr/local/sbin to the PATH in any scripts
Patch: arpwatch-3.9-no-usr-local-path.patch
Patch: arpwatch-3.2-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.
@ -214,6 +216,10 @@ fi
%systemd_post arpwatch.service
%pre
%sysusers_create_compat %{SOURCE6}
%postun
%systemd_postun_with_restart arpwatch.service

24333
oui.csv

File diff suppressed because it is too large Load diff

View file

@ -1 +1 @@
SHA512 (arpwatch-3.9.tar.gz) = b6fdda79caf6c79d78d629b28987d381981d8ac9150dd95c44ba0ed634d905446a8b64d73cdacca89d42a77965e0710d0a60184010440fed19168dae4e3dd4bd
SHA512 (arpwatch-3.8.tar.gz) = 9147da89f187adaaa26bc2cef0f04a69baa9a5ff96844f6a7e32ee269a3e1c4fed75b186ca3eb6b97f3579b648f63a7590e0534f545e7480d7ec14d9c7c18f89