Skip to content

Commit

Permalink
Update to Maxmind GeoIP 2.6.0 and Db parser 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed May 28, 2016
1 parent 149271f commit 65a2e15
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 18 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,6 @@ install-core: default
@$(INSTALL_PROGRAM) MaxMind.Db.dll "$(DATA_INSTALL_DIR)"
@$(INSTALL_PROGRAM) MaxMind.GeoIP2.dll "$(DATA_INSTALL_DIR)"
@$(INSTALL_PROGRAM) Newtonsoft.Json.dll "$(DATA_INSTALL_DIR)"
@$(INSTALL_PROGRAM) RestSharp.dll "$(DATA_INSTALL_DIR)"
@$(INSTALL_PROGRAM) SmarIrc4net.dll "$(DATA_INSTALL_DIR)"

ifneq ($(UNAME_S),Darwin)
Expand Down
2 changes: 0 additions & 2 deletions packaging/windows/OpenRA.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ Section "Game" GAME
File "${SRCDIR}\MaxMind.Db.dll"
File "${SRCDIR}\MaxMind.GeoIP2.dll"
File "${SRCDIR}\Newtonsoft.Json.dll"
File "${SRCDIR}\RestSharp.dll"
File "${SRCDIR}\GeoLite2-Country.mmdb.gz"
File "${SRCDIR}\eluant.dll"
File "${SRCDIR}\SmarIrc4net.dll"
Expand Down Expand Up @@ -207,7 +206,6 @@ Function ${UN}Clean
Delete $INSTDIR\MaxMind.Db.dll
Delete $INSTDIR\MaxMind.GeoIP2.dll
Delete $INSTDIR\Newtonsoft.Json.dll
Delete $INSTDIR\RestSharp.dll
Delete $INSTDIR\GeoLite2-Country.mmdb.gz
Delete $INSTDIR\KopiLua.dll
Delete $INSTDIR\soft_oal.dll
Expand Down
10 changes: 4 additions & 6 deletions thirdparty/fetch-thirdparty-deps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,13 @@ if (!(Test-Path "ICSharpCode.SharpZipLib.dll"))
if (!(Test-Path "MaxMind.GeoIP2.dll"))
{
echo "Fetching MaxMind.GeoIP2 from NuGet."
./nuget.exe install MaxMind.GeoIP2 -Version 2.3.1 -ExcludeVersion
cp MaxMind.Db/lib/net40/MaxMind.Db.* .
./nuget.exe install MaxMind.GeoIP2 -Version 2.6.0 -ExcludeVersion
cp MaxMind.Db/lib/net45/MaxMind.Db.* .
rmdir MaxMind.Db -Recurse
cp MaxMind.GeoIP2/lib/net40/MaxMind.GeoIP2* .
cp MaxMind.GeoIP2/lib/net45/MaxMind.GeoIP2* .
rmdir MaxMind.GeoIP2 -Recurse
cp Newtonsoft.Json/lib/net40/Newtonsoft.Json* .
cp Newtonsoft.Json/lib/net45/Newtonsoft.Json* .
rmdir Newtonsoft.Json -Recurse
cp RestSharp/lib/net4-client/RestSharp* .
rmdir RestSharp -Recurse
}

if (!(Test-Path "SharpFont.dll"))
Expand Down
15 changes: 6 additions & 9 deletions thirdparty/fetch-thirdparty-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,15 @@ fi

if [ ! -f MaxMind.GeoIP2.dll ]; then
echo "Fetching MaxMind.GeoIP2 from NuGet"
get Newtonsoft.Json 7.0.1
get MaxMind.Db 1.1.0.0
get RestSharp 105.2.3
get MaxMind.GeoIP2 2.3.1
cp ./MaxMind.Db/lib/net40/MaxMind.Db.* .
get Newtonsoft.Json 8.0.3
get MaxMind.Db 2.0.0
get MaxMind.GeoIP2 2.6.0
cp ./MaxMind.Db/lib/net45/MaxMind.Db.* .
rm -rf MaxMind.Db
cp ./MaxMind.GeoIP2/lib/net40/MaxMind.GeoIP2* .
cp ./MaxMind.GeoIP2/lib/net45/MaxMind.GeoIP2* .
rm -rf MaxMind.GeoIP2
cp ./Newtonsoft.Json/lib/net40/Newtonsoft.Json* .
cp ./Newtonsoft.Json/lib/net45/Newtonsoft.Json* .
rm -rf Newtonsoft.Json
cp ./RestSharp/lib/net4-client/RestSharp* .
rm -rf RestSharp
fi

if [ ! -f SharpFont.dll ]; then
Expand Down

0 comments on commit 65a2e15

Please sign in to comment.