/[smecontribs]/rpms/smeserver-geoip/contribs9/smeserver-geoip-use-newer-databases.patch
ViewVC logotype

Contents of /rpms/smeserver-geoip/contribs9/smeserver-geoip-use-newer-databases.patch

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


Revision 1.2 - (show annotations) (download)
Tue Jun 19 13:20:57 2018 UTC (6 years, 4 months ago) by jcrisp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
Error occurred while calculating annotation data.
FILE REMOVED
smeserver-geoip update to v2 databases

1 diff -ruN smeserver-geoip-1.1.2.old/root/etc/e-smith/events/actions/smeserver-geopip-download-action smeserver-geoip-1.1.2/root/etc/e-smith/events/actions/smeserver-geopip-download-action
2 --- smeserver-geoip-1.1.2.old/root/etc/e-smith/events/actions/smeserver-geopip-download-action 2016-12-22 12:24:06.404001034 +0100
3 +++ smeserver-geoip-1.1.2/root/etc/e-smith/events/actions/smeserver-geopip-download-action 2016-12-22 12:30:49.041001073 +0100
4 @@ -1,4 +1,2 @@
5 #!/bin/bash
6 -wget -O /var/lib/GeoIP/GeoIP.dat.gz http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz 2>&1 1>/dev/null
7 -gunzip -f /var/lib/GeoIP/GeoIP.dat.gz 2>&1 1>/dev/null
8 -
9 +/usr/bin/geoipupdate
10 diff -ruN smeserver-geoip-1.1.2.old/root/etc/e-smith/templates/etc/crontab/91_Update_Geoip_db smeserver-geoip-1.1.2/root/etc/e-smith/templates/etc/crontab/91_Update_Geoip_db
11 --- smeserver-geoip-1.1.2.old/root/etc/e-smith/templates/etc/crontab/91_Update_Geoip_db 2016-12-22 12:24:06.405001027 +0100
12 +++ smeserver-geoip-1.1.2/root/etc/e-smith/templates/etc/crontab/91_Update_Geoip_db 2016-12-22 12:31:16.959000958 +0100
13 @@ -1,3 +1,3 @@
14 # Updating the GeoIP database monthly on the 5th at 0:00h.
15 -0 0 5 * * root /usr/bin/wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz -O /var/lib/GeoIP/GeoIP.dat.gz; /bin/gunzip -f /var/lib/GeoIP/GeoIP.dat.gz
16 +0 0 10 * * root /usr/bin/geoipupdate
17

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