]> git.pld-linux.org Git - packages/xtables-addons.git/commitdiff
- xt version of iptables-geoip-dbpath.patch
authorzbyniu <zbyniu@pld-linux.org>
Fri, 23 May 2008 11:48:22 +0000 (11:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xtables-addons-geoip-dbpath.patch -> 1.1

xtables-addons-geoip-dbpath.patch [new file with mode: 0644]

diff --git a/xtables-addons-geoip-dbpath.patch b/xtables-addons-geoip-dbpath.patch
new file mode 100644 (file)
index 0000000..78dd9c9
--- /dev/null
@@ -0,0 +1,24 @@
+diff -upr xtables-addons-1.5.4.1/extensions/libxt_geoip.c xtables-addons-1.5.4.1/extensions/libxt_geoip.c
+--- xtables-addons-1.5.4.1/extensions/libxt_geoip.c    2008-04-26 12:57:08.000000000 +0200
++++ xtables-addons-1.5.4.1/extensions/libxt_geoip.c    2008-05-23 13:41:56.351239875 +0200
+@@ -26,7 +26,7 @@
+ #include <unistd.h>
+ #include <xtables.h>
+ #include "xt_geoip.h"
+-#define GEOIP_DB_DIR "/var/geoip"
++#define GEOIP_DB_DIR "/var/lib/geoip"
+ static void geoip_help(void)
+ {
+diff -upr xtables-addons-1.5.4.1/extensions/libxt_geoip.man xtables-addons-1.5.4.1/extensions/libxt_geoip.man
+--- xtables-addons-1.5.4.1/extensions/libxt_geoip.man  2008-04-26 12:57:08.000000000 +0200
++++ xtables-addons-1.5.4.1/extensions/libxt_geoip.man  2008-05-23 13:42:17.849762235 +0200
+@@ -11,6 +11,6 @@ The country is inputed by its ISO3166 co
+ .P
+ The extra files you will need is the binary database files. They are generated
+ from a country-subnet database with the geoip_csv_iv0.pl tool, available at
+-http://jengelh.hopto.org/files/geoip/ . The files MUST be moved to /var/geoip/
++http://jengelh.hopto.org/files/geoip/ . The files MUST be moved to /var/lib/geoip/
+ as the shared library is statically looking for this pathname (e.g.
+-/var/geoip/LE/de.iv0).
++/var/lib/geoip/LE/de.iv0).
This page took 0.095188 seconds and 4 git commands to generate.