/[smecontribs]/rpms/smeserver-geoip/contribs9/smeserver-geoip-remove-createlink-add-geoip-download-actions.patch
ViewVC logotype

Annotation of /rpms/smeserver-geoip/contribs9/smeserver-geoip-remove-createlink-add-geoip-download-actions.patch

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


Revision 1.3 - (hide 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.2: +0 -0 lines
FILE REMOVED
smeserver-geoip update to v2 databases

1 stephdl 1.1 diff -Nur smeserver-geoip-1.0.5.old.bz8937/root/etc/e-smith/events/actions/smeserver-geopip-download-action smeserver-geoip-1.0.5.bz8937/root/etc/e-smith/events/actions/smeserver-geopip-download-action
2     --- smeserver-geoip-1.0.5.old.bz8937/root/etc/e-smith/events/actions/smeserver-geopip-download-action 1970-01-01 01:00:00.000000000 +0100
3     +++ smeserver-geoip-1.0.5.bz8937/root/etc/e-smith/events/actions/smeserver-geopip-download-action 2015-06-13 13:43:13.169236318 +0200
4     @@ -0,0 +1,4 @@
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 stephdl 1.2 +gunzip -f /var/lib/GeoIP/GeoIP.dat.gz 2>&1 1>/dev/null
8 stephdl 1.1 +
9     diff -Nur smeserver-geoip-1.0.5.old.bz8937/root/etc/e-smith/templates/etc/crontab/91_Update_Geoip_db smeserver-geoip-1.0.5.bz8937/root/etc/e-smith/templates/etc/crontab/91_Update_Geoip_db
10     --- smeserver-geoip-1.0.5.old.bz8937/root/etc/e-smith/templates/etc/crontab/91_Update_Geoip_db 1970-01-01 01:00:00.000000000 +0100
11     +++ smeserver-geoip-1.0.5.bz8937/root/etc/e-smith/templates/etc/crontab/91_Update_Geoip_db 2015-06-13 08:42:33.465559318 +0200
12     @@ -0,0 +1,3 @@
13     +# Updating the GeoIP database monthly on the 5th at 0:00h.
14     +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
15     +

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