1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../iptraf/path.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
8 # More information can be found in the files COPYING and README.
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
16 # --- T2-COPYRIGHT-NOTE-END ---
18 diff -Nur iptraf-2.7.0.orig/src/dirs.h iptraf-2.7.0/src/dirs.h
19 --- iptraf-2.7.0.orig/src/dirs.h 2001-05-03 12:44:11.000000000 +0200
20 +++ iptraf-2.7.0/src/dirs.h 2003-06-02 23:00:39.000000000 +0200
25 -#define WORKDIR "/var/local/iptraf"
26 +#define WORKDIR "/var/iptraf"
34 -#define EXECDIR "/usr/local/bin"
35 +#define EXECDIR "/usr/bin"
39 diff -Nur iptraf-2.7.0.orig/src/Makefile iptraf-2.7.0/src/Makefile
40 --- iptraf-2.7.0.orig/src/Makefile 2002-05-11 09:27:36.000000000 +0200
41 +++ iptraf-2.7.0/src/Makefile 2003-06-02 23:00:12.000000000 +0200
43 # installation target directory. The iptraf and rvnamed programs get
44 # stored here. iptraf also exec's rvnamed from this directory.
46 -TARGET = /usr/local/bin
49 # The IPTraf working directory; if you change this. Starting with this
50 # version, this definition overrides dirs.h.
52 -WORKDIR = /var/local/iptraf
53 +WORKDIR = /var/iptraf
55 # The IPTraf log file directory. IPTraf log files are placed here.
56 # This definition overrides dirs.h