1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Description: Fix GeoIP default path
Bug-Debian: http://bugs.debian.org/458647
Author: Boris Pek <tehnick-8@mail.ru>
Last-Update: 2012-06-29
--- a/doc/awffull.conf.5
+++ b/doc/awffull.conf.5
@@ -100,7 +100,7 @@
GeoIPDatabase
GeoIPDatabase is the location of the
GeoIP database file. Default is
-\*(T<\fI/usr/local/share/GeoIP/GeoIP.dat\fR\*(T>, which is
+\*(T<\fI/usr/share/GeoIP/GeoIP.dat\fR\*(T>, which is
where a default GeoIP install will put
it. Note that the database is updated monthly. For the details see:
\(lahttp://www.maxmind.com/app/geoip_country\(ra
--- a/src/awffull.h
+++ b/src/awffull.h
@@ -43,7 +43,7 @@
#define SITE_ADDRESS "http://www.stedee.id.au/awffull/"
-#define GEOIP_DATABASE "/usr/local/share/GeoIP/GeoIP.dat"
+#define GEOIP_DATABASE "/usr/share/GeoIP/GeoIP.dat"
#define DATE_TIME_FORMAT "%d/%b/%Y:%H:%M:%S" /* Default DATE_TIME format for input to strptime */
#define DATE_TIME_XFERLOG_FORMAT "%a %b %d %H:%M:%S %Y"
|