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

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

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


Revision 1.2 - (show annotations) (download)
Thu Mar 14 04:40:53 2019 UTC (5 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mod_maxminddb-1_1_0-7_el6_sme, smeserver-mod_maxminddb-1_1_0-6_el6_sme, HEAD
Changes since 1.1: +3 -1 lines
* Thu Mar 14 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme
- configure necessary variables [SME: 10759]

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