Skip to content

Commit

Permalink
MDL-67380 lib: Update GeoIP2 and MaxMind DB reader versions in Moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
Amaia Anabitarte committed Dec 20, 2019
1 parent 7850f76 commit e0c03d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions lib/maxmind/readme_moodle.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ Installation
------------

1) Download the latest versions of GeoIP2-php and MaxMind-DB-Reader-php
wget https://github.com/maxmind/GeoIP2-php/archive/v2.9.0.zip
wget https://github.com/maxmind/MaxMind-DB-Reader-php/archive/v1.4.1.zip
wget https://github.com/maxmind/GeoIP2-php/archive/v2.10.0.zip
wget https://github.com/maxmind/MaxMind-DB-Reader-php/archive/v1.5.1.zip

2) Unzip the archives
unzip v2.9.0.zip
unzip v1.4.1.zip
unzip v2.10.0.zip
unzip v1.5.1.zip

3) Move the source code directories into place
mv GeoIP2-php-2.9.0/src/ /path/to/moodle/lib/maxmind/GeoIp2/
mv MaxMind-DB-Reader-php-1.4.1/src/MaxMind/ /path/to/moodle/lib/maxmind/MaxMind/
mv GeoIP2-php-2.10.0/src/ /path/to/moodle/lib/maxmind/GeoIp2/
mv MaxMind-DB-Reader-php-1.5.1/src/MaxMind/ /path/to/moodle/lib/maxmind/MaxMind/

4) Run unit tests on iplookup/tests/geoip_test.php with PHPUNIT_LONGTEST defined.
4 changes: 2 additions & 2 deletions lib/thirdpartylibs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,13 @@
<location>maxmind/GeoIp2</location>
<name>GeoIP2 PHP API</name>
<license>Apache 2.0</license>
<version>2.9.0</version>
<version>2.10.0</version>
</library>
<library>
<location>maxmind/MaxMind</location>
<name>MaxMind DB Reader API</name>
<license>Apache 2.0</license>
<version>1.4.1</version>
<version>1.5.1</version>
</library>
<library>
<location>ltiprovider</location>
Expand Down

0 comments on commit e0c03d9

Please sign in to comment.