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

Contents of /rpms/smeserver-mod_maxminddb/contribs9/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)
Thu Mar 14 03:37:00 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-4_el6_sme, smeserver-mod_maxminddb-1_1_0-6_el6_sme, smeserver-mod_maxminddb-1_1_0-5_el6_sme, HEAD
Error occurred while calculating annotation data.
* Wed Mar 13 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme
- fix typo [SME: 10759]
- add requires mod_maxminddb
- rename template

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