/[smecontribs]/rpms/smeserver-mod_maxminddb/contribs10/smeserver-mod_maxminddb-1.1.0-bz10759-newVariables.patch
ViewVC logotype

Contents of /rpms/smeserver-mod_maxminddb/contribs10/smeserver-mod_maxminddb-1.1.0-bz10759-newVariables.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Apr 2 19:22:45 2021 UTC (3 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mod_maxminddb-1_1_0-10_el7_sme, smeserver-mod_maxminddb-1_1_0-12_el7_sme, smeserver-mod_maxminddb-1_1_0-14_el7_sme, smeserver-mod_maxminddb-1_1_0-11_el7_sme, smeserver-mod_maxminddb-1_1_0-13_el7_sme, smeserver-mod_maxminddb-1_1_0-9_el7_sme, smeserver-mod_maxminddb-1_1_0-8_el7_sme, HEAD
Initial import

1 diff -Nur smeserver-mod_maxminddb-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_maxminddb smeserver-mod_maxminddb-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_maxminddb
2 --- smeserver-mod_maxminddb-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_maxminddb 2019-03-13 23:50:57.967000000 -0400
3 +++ smeserver-mod_maxminddb-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_maxminddb 2019-03-14 00:04:13.010000000 -0400
4 @@ -8,7 +8,21 @@
5 $OUT .= "<IfModule mod_maxminddb.c>\n";
6 $OUT .= " MaxMindDBEnable On\n";
7 $OUT .= " MaxMindDBFile COUNTRY_DB $path/GeoLite2-Country.mmdb\n";
8 + $OUT .= " MaxMindDBFile CITY_DB $path/GeoLite2-City.mmdb\n";
9 $OUT .= " MaxMindDBEnv COUNTRY_CODE COUNTRY_DB/country/iso_code\n";
10 + $OUT .= " MaxMindDBEnv REGION_CODE CITY_DB/subdivisions/0/iso_code\n";
11 + $OUT .= " MaxMindDBEnv MM_COUNTRY_CODE CITY_DB/country/iso_code\n";
12 + $OUT .= " MaxMindDBEnv MM_COUNTRY_NAME CITY_DB/country/names/en\n";
13 + $OUT .= " MaxMindDBEnv MM_CITY_NAME CITY_DB/city/names/en\n";
14 + $OUT .= " MaxMindDBEnv MM_LONGITUDE CITY_DB/location/longitude\n";
15 + $OUT .= " MaxMindDBEnv MM_LATITUDE CITY_DB/location/latitude\n";
16 + $OUT .= " MaxMindDBEnv MM_CONTINENT_CODE CITY_DB/continent/code\n";
17 + $OUT .= " MaxMindDBEnv MM_CONTINENT_NAME CITY_DB/continent/names/en\n";
18 + $OUT .= " MaxMindDBEnv MM_REGION_CODE CITY_DB/subdivisions/0/iso_code\n";
19 + $OUT .= " MaxMindDBEnv MM_REGION_NAME CITY_DB/continent/names/en\n";
20 + $OUT .= " MaxMindDBEnv MM_POSTAL_CODE CITY_DB/postal/code\n";
21 + $OUT .= " MaxMindDBEnv MM_LOCATION_TIME_ZONE CITY_DB/location/time_zone\n";
22 +
23 $OUT .= "</Ifmodule>\n";
24 }
25 else

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed