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

Contents of /rpms/smeserver-mod_maxminddb/contribs10/smeserver-mod_maxminddb-1.1.0-bz10759-rename.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, 1 month 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_dav smeserver-mod_maxminddb-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_dav
2 --- smeserver-mod_maxminddb-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_dav 2019-03-13 23:34:49.908000000 -0400
3 +++ smeserver-mod_maxminddb-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_dav 1969-12-31 19:00:00.000000000 -0500
4 @@ -1,18 +0,0 @@
5 -{
6 - # vim: ft=perl:
7 - my $status = $modMaxminddb{status} || 'disabled';
8 - my $path = $modMaxminddb{Path} || '/usr/share/GeoIP';
9 - if ( $status eq "enabled" )
10 - {
11 - $OUT .= "LoadModule maxminddb_module modules/mod_maxminddb.so\n";
12 - $OUT .= "<IfModule mod_maxminddb.c>\n";
13 - $OUT .= " MaxMindDBEnable On\n";
14 - $OUT .= " MaxMindDBFile COUNTRY_DB $path/GeoLite2-Country.mmdb\n";
15 - $OUT .= " MaxMindDBEnv COUNTRY_CODE COUNTRY_DB/country/iso_code\n";
16 - $OUT .= "</Ifmodule>\n";
17 - }
18 - else
19 - {
20 - $OUT .= "# mod_maxminddb disabled\n";
21 - }
22 -}
23 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
24 --- smeserver-mod_maxminddb-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_maxminddb 1969-12-31 19:00:00.000000000 -0500
25 +++ smeserver-mod_maxminddb-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_maxminddb 2019-03-13 23:34:49.908000000 -0400
26 @@ -0,0 +1,18 @@
27 +{
28 + # vim: ft=perl:
29 + my $status = $modMaxminddb{status} || 'disabled';
30 + my $path = $modMaxminddb{Path} || '/usr/share/GeoIP';
31 + if ( $status eq "enabled" )
32 + {
33 + $OUT .= "LoadModule maxminddb_module modules/mod_maxminddb.so\n";
34 + $OUT .= "<IfModule mod_maxminddb.c>\n";
35 + $OUT .= " MaxMindDBEnable On\n";
36 + $OUT .= " MaxMindDBFile COUNTRY_DB $path/GeoLite2-Country.mmdb\n";
37 + $OUT .= " MaxMindDBEnv COUNTRY_CODE COUNTRY_DB/country/iso_code\n";
38 + $OUT .= "</Ifmodule>\n";
39 + }
40 + else
41 + {
42 + $OUT .= "# mod_maxminddb disabled\n";
43 + }
44 +}

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