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

Contents of /rpms/smeserver-geoip/contribs8/smeserver-geoip-remove-createlink-add-geoip-download-actions.patch

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


Revision 1.2 - (show annotations) (download)
Mon Jun 15 19:18:50 2015 UTC (8 years, 10 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-geoip-1_1_2-2_el5_sme, smeserver-geoip-1_1_2-3_el5_sme, smeserver-geoip-1_1_2-5_el5_sme, smeserver-geoip-1_1_2-4_el5_sme, HEAD
Changes since 1.1: +1 -1 lines
* Sun Jun 14 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1.2-2
- added createlinks
- added actions and crontab to download geoip database

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 +gunzip -f /var/lib/GeoIP/GeoIP.dat.gz 2>&1 1>/dev/null
8 +
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