You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
1.8 KiB

# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../iptraf/path.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-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