# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/iptraf/path.patch # Copyright (C) 2004 - 2026 The T2 SDE Project # Copyright (C) 1998 - 2003 ROCK Linux Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- diff -Nur iptraf-2.7.0.orig/src/dirs.h iptraf-2.7.0/src/dirs.h --- iptraf-2.7.0.orig/src/dirs.h 2001-05-03 12:44:11.000000000 +0200 +++ iptraf-2.7.0/src/dirs.h 2003-06-02 23:00:39.000000000 +0200 @@ -26,7 +26,7 @@ */ #ifndef WORKDIR -#define WORKDIR "/var/local/iptraf" +#define WORKDIR "/var/iptraf" #endif #ifndef LOGDIR @@ -34,7 +34,7 @@ #endif #ifndef EXECDIR -#define EXECDIR "/usr/local/bin" +#define EXECDIR "/usr/bin" #endif /* diff -Nur iptraf-2.7.0.orig/src/Makefile iptraf-2.7.0/src/Makefile --- iptraf-2.7.0.orig/src/Makefile 2002-05-11 09:27:36.000000000 +0200 +++ iptraf-2.7.0/src/Makefile 2003-06-02 23:00:12.000000000 +0200 @@ -68,12 +68,12 @@ # installation target directory. The iptraf and rvnamed programs get # stored here. iptraf also exec's rvnamed from this directory. -TARGET = /usr/local/bin +TARGET = /usr/bin # The IPTraf working directory; if you change this. Starting with this # version, this definition overrides dirs.h. -WORKDIR = /var/local/iptraf +WORKDIR = /var/iptraf # The IPTraf log file directory. IPTraf log files are placed here. # This definition overrides dirs.h