gentoo-ebuilds/net-analyzer/arpwatch/files/0004-Use-correct-datadir.patch
Holger Hoffstätte 2d726ec398
net-analyzer/arpwatch: add 3.8, misc. fixes
- do not use a long deprecated resolver option
- fix Makefile to use correct path for reading ethercodes.dat
- fix hardcoded paths in update-ethercodes.sh so that it actually works
- remind users to update their ethercodes.dat

Thanks to Vladislav Mikhailikov <vmikhailikov@gmail.com> for initial
work and inspiration.

Closes: https://bugs.gentoo.org/783195
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Part-of: https://github.com/gentoo/gentoo/pull/42386
Closes: https://github.com/gentoo/gentoo/pull/42386
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-04 01:30:36 +01:00

14 lines
372 B
Diff

Use correct directory for database files.
Bug: https://bugs.gentoo.org/783195
--- a/Makefile.in
+++ b/Makefile.in
@@ -40,7 +40,7 @@ MANDEST = @mandir@
# The root of the directory tree for read-only
datarootdir = @datarootdir@
# Pathname of directory to install database file
-ARPDIR ?= @prefix@/arpwatch
+ARPDIR ?= @datarootdir@/arpwatch
# VPATH
srcdir = @srcdir@