/[smecontribs]/rpms/xtables-addons/contribs9/xtables-addons-1.47.1-bz10860-license_key.patch
ViewVC logotype

Annotation of /rpms/xtables-addons/contribs9/xtables-addons-1.47.1-bz10860-license_key.patch

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


Revision 1.1 - (hide annotations) (download)
Sat Jan 11 07:27:32 2020 UTC (4 years, 10 months ago) by michel
Branch: MAIN
CVS Tags: xtables-addons-1_47_1-14_el6_sme
make: « clog » est à jour.

1 michel 1.1 diff -urN xtables-addons-1.47.1.old/geoip/xt_geoip_dl xtables-addons-1.47.1/geoip/xt_geoip_dl
2     --- xtables-addons-1.47.1.old/geoip/xt_geoip_dl 2020-01-11 11:03:01.000000000 +0400
3     +++ xtables-addons-1.47.1/geoip/xt_geoip_dl 2020-01-11 11:07:26.045000000 +0400
4     @@ -1,7 +1,13 @@
5     #!/bin/sh
6    
7     +LicenseKey=$(/sbin/e-smith/config get xt_geoip_LicenseKey)
8     +#echo $LicenseKey
9     +
10     rm -rf GeoLite2-Country-CSV_*
11    
12     -wget -q http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip
13     +wget -O GeoLite2-Country-CSV.zip -q "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country-CSV&license_key=${LicenseKey}&suffix=zip"
14     +
15     +#wget -q http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip
16     +
17     unzip -q GeoLite2-Country-CSV.zip
18     rm -f GeoLite2-Country-CSV.zip

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