Commit Graph

25 Commits

Author SHA1 Message Date
Nick Hastings
547ac5b026 Fix helpers module path lookup on newer Perl versions. 2021-12-13 13:16:14 -05:00
Nick Hastings
7328ce657b Missing ;s. 2021-12-13 12:59:20 -05:00
Nicholas Hastings
14c9ac8fdb
[Buildbot] Delete package after successful upload. (#1665)
* [Buildbot] Delete package after successful upload.

* Use autodie.

* ;
2021-12-13 17:52:26 +00:00
peace-maker
d192527707
Fix unpacking of GeoLite2 database (#1516)
Apparently you can't unpack and uncompress in one go in Windows and tar -C doesn't affect the input file.
2021-06-30 12:32:40 +01:00
Accelerator
b0563a493c
Update GeoIP2 extension to new GeoLite2 .mmdb database format (#1245)
* Add support for Maxmind GeoIP2 database files (#913).

* Copy/paste error.

* Mark GeoipCode3 as deprecated.

* Fix build when compiling with AMBuild.

* Replace loose libmaxminddb files with submodule.

* Fix Linux build.

* One more hack for submodule.

* Actually fix Linux build.

* GeoIP2 extension to sourcemod

* Update basevotes

When a player leaves during a voteban, he will be banned anyway. Also added a cvar with a ban time setting.

* Update basevotes.sp

* Update AMBuilder

* ke::AString to std::string

* Update extension.cpp

* Update AMBuilder

* Added coordination natives

Added GeoipLatitude, GeoipLongitude, GeoipDistance natives.

* Create osdefs.h

* Update maxminddb_config.h

* Update extension.cpp

* Update extension.cpp

* Added automatic search for database file

* Fix automatic search for database file

* Update extension.cpp

* Update geoip.inc

* .gitmodules revert

* Update geoip.inc

* Update libmaxminddb to version 1.5.2

* Update extension.cpp

* Check language in the DB

* Removed langCount variable

* Determination of the client's language

* Update geoip.inc

* Update geoip.inc

* Update extension.cpp

* Update geoip.inc

* Update extension.cpp

* space instead of tab in .inc

* Update extension.cpp

* Update geoip.inc

* Optimizing length measurement region code

* Update package script to fetch the new GeoLite2 database

This package is the last CC-BY-SA licensed GeoLite2-City database extracted from https://src.fedoraproject.org/rpms/geolite2 from december 2019.

This doubles the download size for SM packages, but it's what we have to deal with atm :(

* Fix potentially returning uninitialized memory in GeoipRegionCode

If the lookup failed, we'd copy back whatever is on the stack in the ccode buffer.

Co-authored-by: Nick Hastings <nshastings@gmail.com>
Co-authored-by: Headline <michaelwflaherty@me.com>
Co-authored-by: Accelerator74 <dmitry@447751-accele74.tmweb.ru>
Co-authored-by: Peace-Maker <peace-maker@wcfan.de>
2021-06-30 13:01:12 +02:00
Asher Baker
c501c837d0
Ignore SM site certificate when downloading GeoIP
Build servers don't have a root for it, and the address is internal
2019-01-19 12:34:23 +00:00
Asher Baker
590f71436f
Get GeoIP data from SM site for now 2019-01-19 12:18:36 +00:00
Nicholas Hastings
7008a566a8 Redownload GeoIP data if file size is 0, regardless of file modified time.. 2016-07-24 08:26:00 -04:00
Nicholas Hastings
beba03292a Upload sourcemod-latest-<os> text file when packaging. 2015-10-26 11:13:57 -07:00
Nicholas Hastings
e748d49343 In package script, set binmode for geoip out file (bug 6415).
This fixes newline conversion happening on Windows.
2015-09-18 10:08:39 -04:00
Nicholas Hastings
c085444a03 In packaging, use API for gunzip instead of executable (bug 6415). 2015-09-18 08:27:28 -04:00
Nicholas Hastings
8777d0d0da Use unlink() instead of rm in packaging script for Windows compat. 2015-09-12 15:12:45 -04:00
Nicholas Hastings
8ce41407dd When downloading translations for packaging, bypass certificate check.
It will fail on the slaves and we're resolving to internal addressing anyway.
2015-09-12 14:16:38 -04:00
Nicholas Hastings
2ab7c08da9 Add translation files and updated GeoIP data to snapshots. 2015-09-01 11:30:45 -07:00
David Anderson
2bc7e4736f Switch packaging scripts to Git. 2014-05-25 12:05:24 -07:00
Scott Ehlert
8431925577 Fix upload set for builds. 2014-03-03 05:21:50 -06:00
David Anderson
a752d220cc Use active, not passive FTP. 2011-06-29 16:05:18 -07:00
Scott Ehlert
b63b94bc81 Updated buildbot scripts to support clang builders. 2011-05-01 00:17:11 -05:00
Scott Ehlert
fb28f4bcd0 Fixed package name for Windows (bug 4395). 2010-05-13 04:54:31 -05:00
Scott Ehlert
8852256ab6 Appended OS names to package archives (bug 4395, r=dvander). 2010-05-13 04:23:43 -05:00
David Anderson
d3f0a14867 Imported support for new build system. 2009-08-30 00:21:42 -07:00
David Anderson
f79c9eec82 Changes to buildbot scripts for Mercurial. 2008-09-14 16:40:49 -05:00
David Anderson
5caeebf807 Bugfixes to buildbot scripts, added symstore script.
Removed soon-to-be-outdated fetchdlls program.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402512
2008-09-06 23:24:56 +00:00
David Anderson
e2791a3702 Packager now gets a config file on the command line (more secure for buildbot).
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402502
2008-09-06 13:04:54 +00:00
David Anderson
16ed584e39 Added packaging script.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402501
2008-09-06 12:19:33 +00:00