]> git.pld-linux.org Git - packages/xtables-addons.git/blame - xtables-addons-geoip-dbpath.patch
- release 18 (by relup.sh)
[packages/xtables-addons.git] / xtables-addons-geoip-dbpath.patch
CommitLineData
f2c128b2
SP
1--- xtables-addons-1.10/extensions/libxt_geoip.c 2009-02-18 00:31:26.000000000 +0100
2+++ xtables-addons-1.10.new/extensions/libxt_geoip.c 2009-02-18 20:33:55.112397699 +0100
3@@ -24,7 +24,7 @@
df249132 4 #include <unistd.h>
5 #include <xtables.h>
6 #include "xt_geoip.h"
7-#define GEOIP_DB_DIR "/var/geoip"
67d63d21 8+#define GEOIP_DB_DIR "/usr/share/xt_geoip"
df249132 9
10 static void geoip_help(void)
11 {
f2c128b2
SP
12--- xtables-addons-1.10/extensions/libxt_geoip.man 2009-02-18 00:31:26.000000000 +0100
13+++ xtables-addons-1.10.new/extensions/libxt_geoip.man 2009-02-18 20:34:18.256330715 +0100
14@@ -11,6 +11,6 @@
df249132 15 .P
16 The extra files you will need is the binary database files. They are generated
17 from a country-subnet database with the geoip_csv_iv0.pl tool, available at
18-http://jengelh.hopto.org/files/geoip/ . The files MUST be moved to /var/geoip/
67d63d21 19+http://jengelh.hopto.org/files/geoip/ . The files MUST be moved to /usr/share/xt_geoip/
df249132 20 as the shared library is statically looking for this pathname (e.g.
21-/var/geoip/LE/de.iv0).
67d63d21 22+/usr/share/xt_geoip/LE/de.iv0).
This page took 0.029072 seconds and 4 git commands to generate.