Update to Maxmind GeoIP 2.6.0 and Db parser 2.0.0

This commit is contained in:
Matthias Mailänder
2016-05-15 11:00:18 +02:00
parent 149271f71e
commit 65a2e155bf
4 changed files with 10 additions and 18 deletions

View File

@@ -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)

View File

@@ -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"
@@ -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

View File

@@ -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"))

View File

@@ -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