[-]
[+]
|
Changed |
nprobe.spec
|
|
[-]
[+]
|
Added |
nprobe-GeoIPdat-dir.patch
^
|
@@ -0,0 +1,20 @@
+--- nprobe.c.orig 2010-06-10 17:06:40.868574372 +0200
++++ nprobe.c 2010-06-10 17:07:06.964585222 +0200
+@@ -3203,7 +3203,7 @@
+
+ #ifdef HAVE_GEOIP
+ if(readOnlyGlobals.geo_ip_asn_db == NULL)
+- readASs("GeoIPASNum.dat");
++ readASs("/usr/lib/nprobe/GeoIPASNum.dat");
+
+ if((strstr(readOnlyGlobals.stringTemplate, "_COUNTRY") == NULL)
+ && (strstr(readOnlyGlobals.stringTemplate, "_CITY") == NULL)) {
+@@ -3213,7 +3213,7 @@
+ }
+ } else {
+ if(readOnlyGlobals.geo_ip_city_db == NULL)
+- readCities("GeoLiteCity.dat");
++ readCities("/usr/lib/nprobe/GeoLiteCity.dat");
+ }
+ #endif
+
|
[-]
[+]
|
Added |
nprobe-plugindir.patch
^
|
@@ -0,0 +1,10 @@
+--- plugin.c.orig 2010-06-10 17:03:12.689369877 +0200
++++ plugin.c 2010-06-10 17:03:57.541179169 +0200
+@@ -46,6 +46,7 @@
+ #else
+ static char *pluginDirs[] = { "./plugins",
+ "/usr/local/lib/nprobe/plugins",
++ "/usr/lib/nprobe/plugins",
+ NULL };
+ #endif
+
|