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 |
6 changed files with 11583 additions and 12845 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -8,4 +8,3 @@
|
|||
/arpwatch-3.6.tar.gz
|
||||
/arpwatch-3.7.tar.gz
|
||||
/arpwatch-3.8.tar.gz
|
||||
/arpwatch-3.9.tar.gz
|
||||
|
|
|
|||
40
arpwatch-3.2-no-usr-local-path.patch
Normal file
40
arpwatch-3.2-no-usr-local-path.patch
Normal 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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (arpwatch-3.9.tar.gz) = b6fdda79caf6c79d78d629b28987d381981d8ac9150dd95c44ba0ed634d905446a8b64d73cdacca89d42a77965e0710d0a60184010440fed19168dae4e3dd4bd
|
||||
SHA512 (arpwatch-3.8.tar.gz) = 9147da89f187adaaa26bc2cef0f04a69baa9a5ff96844f6a7e32ee269a3e1c4fed75b186ca3eb6b97f3579b648f63a7590e0534f545e7480d7ec14d9c7c18f89
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue