[-]
[+]
|
Added |
nprobe-7.0-GeoIPdat-dir.patch
|
@@ -0,0 +1,20 @@
+--- nprobe.c.orig 2011-04-03 13:53:36.000000000 +0200
++++ nprobe.c 2011-04-04 10:44:26.309788419 +0200
+@@ -3601,7 +3601,7 @@
+
+ #ifdef HAVE_GEOIP
+ if(readOnlyGlobals.geo_ip_asn_db == NULL)
+- readASs("GeoIPASNum.dat");
++ readASs("/usr/lib/nprobe/GeoIPASNum.dat");
+
+ if(!readOnlyGlobals.enableGeoIP) {
+ if(readOnlyGlobals.geo_ip_city_db != NULL) {
+@@ -3610,7 +3610,7 @@
+ }
+ } else {
+ if(readOnlyGlobals.geo_ip_city_db == NULL)
+- readCities("GeoLiteCity.dat");
++ readCities("/usr/lib/nprobe/GeoLiteCity.dat");
+ }
+ #endif
+
|
[-]
[+]
|
Added |
nprobe-7.0-configure.in.patch
^
|
@@ -0,0 +1,11 @@
+--- configure.in.orig 2012-12-17 23:15:51.344038582 +0100
++++ configure.in 2012-12-18 12:39:20.908040235 +0100
+@@ -363,7 +363,7 @@
+ PWD=`pwd`/..
+ LIBPCAP_ARM="${PWD}/libpcap-1.1.1-ARM"
+ PLATFORM=`uname -m`
+-PF_RING_HOME=${HOME}/PF_RING
++PF_RING_HOME=${PWD}/PF_RING
+
+ if test -d "${PF_RING_HOME}"; then
+ LDFLAGS="${LDFLAGS} -L${PWD}/PF_RING/userland/lib -L${PWD}/PF_RING/userland/libpcap"
|