./net/GeoIP, GeoIP Legacy C API

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.6.12nb1, Package name: GeoIP-1.6.12nb1, Maintainer: pkgsrc-users

The GeoIP Legacy C library enables the user to find geographical
and network information of an IP address.


Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 462.807 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-26 13:07:15 by Nia Alarie | Files touched by this commit (958)
Log message:
net: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts...):

net/radsecproxy/distinfo

The following distfiles could not be fetched (fetched conditionally?):

./net/citrix_ica/distinfo citrix_ica-10.6.115659/en.linuxx86.tar.gz
./net/djbdns/distinfo dnscache-1.05-multiple-ip.patch
./net/djbdns/distinfo djbdns-1.05-test28.diff.xz
./net/djbdns/distinfo djbdns-1.05-ignoreip2.patch
./net/djbdns/distinfo djbdns-1.05-multiip.diff
./net/djbdns/distinfo djbdns-cachestats.patch
   2021-10-07 16:43:07 by Nia Alarie | Files touched by this commit (962)
Log message:
net: Remove SHA1 hashes for distfiles
   2021-04-19 09:22:30 by Maya Rashish | Files touched by this commit (1)
Log message:
GeoIP: force-fail gethostbyname_r configure check.

NetBSD has this not-like-linux libc symbol and tries to hide it, but not
well enough that autoconf fails to find it.

Bump PKGREVISION for binary change.

From Stefan Schaeckeler in PR pkg/56116
   2020-01-08 12:59:43 by Nia Alarie | Files touched by this commit (2)
Log message:
GeoIP: Update to 1.6.12

1.6.12 2018-01-17

* Populate metro and area code when performing lookups in IPv6 City databases.
  Previously this was only done when using IPv4 City databases.

1.6.11 2017-05-15

* Fix use of a NULL pointer when opening a corrupt database with
  `GeoIP_open`. Reported by Stephan Zeisberg. GitHub #87.

1.6.10 2017-03-29

* GeoIP_database_info now returns the full version string rather than
  incorrectly truncating it. GitHub #79.
* This API is now distributed with a small test copy of GeoIP.dat rather than
  a full copy.
* Fix issue where Visual Studio 2015 was optimizing out initialization code.
  Reported and fixed by Scott Godin. GitHub #81.
* Fix test/benchmark on Windows. Gisle Vanem. GitHub #75.
   2016-10-19 13:59:25 by Filip Hajny | Files touched by this commit (6) | Package updated
Log message:
Update net/GeoIP to 1.6.9.
Based on a PR by Jussi Sallinen.

1.6.9 2016-01-11

- Fix a regression introduced in version 1.6.8, which caused
  GeoIP_database_info to erroneously return NULL.

1.6.8 2016-01-11

- Allow compilation on older systems by relaxing the autoconf and automake
  minimum versions. Thank you, Jose Rubio!
- Avoid potential problems in multi-threaded environments by consistently using
  pread() rather than read().
- Fix various small issues reported by clang's static analyser.

1.6.7 2015-10-30

- Fixed a MSVC parser stack overflow when parsing `regionName.c` and
 `timeZone.c`. Fix by elliotlo. GitHub #64.
- Updated region codes and timezones.
- When using `GEOIP_MEMORY_CACHE` with an invalid database file, the search
  tree traversal could attempt to read memory outside of the memory allocated
  for the memory cache, resulting in a segmentation fault. A check was added
  to ensure that the traversal code does not try to read beyond the end of the
  file, whether in memory, memory mapped, or on disk.
- Previously the return values from file reads were ignored. We now check
  these values to ensure that there were no errors.

1.6.6 2015-07-28

- Replaced usage of deprecated fileno, read, and lseek on Visual Studio 2005+
  with their ISO C++ conformant replacements.
- A warning about using a double as a float was fixed.
- Fixed segfault when doing a lookup on an empty database.
- Fixed a memcheck error from valgrind in the `_check_mtime`
  function.
- Fixed `_check_mtime` to check the return value of `gettimeofday` rather than
  just assuming it worked.

1.6.5 2015-02-25

- A segmentation fault in `geoiplookup` was fixed when the utility was passed
  an invalid database.
- Additional validation was added for validation of the size used in the
  creation of the index cache.
- Changed the code to only look up country codes by using functions which
  ensure that we do not try to look past the end of an array.

1.6.4 2015-01-12

- Update Fips codes
- Several issues with the MinGW build were fixed.
- Use a constructor in pread.c to ensure the critical section is always
  initialized.
- Added missing include of `io.h` on Windows.
- Fixed `configure` warning that `'missing' script is too old or missing`.
- Previously `nmake /f Makefile.vc clean` would fail on Windows. This was
  fixed.
- Obsolete win32 and NetWare make files were removed.
- Numerous documentation updates.

1.6.3 2014-10-29

- Added a GEOIP_SILENCE flag. Include this flag when calling GeoIP_open to
  prevent any messages from being written to stderr.
- Mitigate a possible race condition when running under threads in the
  GeoIP_cleanup function.
- Added some recommendations to the docs on using this library in a
  threaded application.
- Fixed some bugs discovered by coverity, including failure to check some
  system call return values and making sure all strings are
  null-terminated.

1.6.2 2014-07-08

- Two files required for building on Win32 were missing from the 1.6.1
  release. These files were added. There are no changes affecting other
  platforms.

1.6.1 2014-06-26

- Improve Win32 support
- Update FIPS codes

1.6.0 2013-10-29

- Remove geoipupdate

1.5.2 2013-10-29

- Update region and time zones
- Fix benchmark script
- Remove autogenerated files ltmain.sh, man/geoip*.1
- Explain how to download free geolite databases in the README.md and
  GeoIP.conf.default
- geoipupdate returns 1 on error 0 on success instead of the error code
- README is replaced by README.md
- Add support for OS X Mavericks

1.5.1 2013-05-14

- Update time_zone for Ontario, Canada
- geoiplookup and geoiplookup6 exit code is 0 when user asked for help
- Added -h option to geoiplookup6
- Do not load the database file if nodes and file size do not make
  sense.
- Keep README and man pages in pure ascii.
- It doesn't make sense to use GEOIP_INDEX_MODE with small databases
  like GEOIP_COUNTRY_EDITION. Instead of undefined behaviour we handle
  it silently as GEOIP_MEMORY_MODE
- Update FIPS codes for Greece

1.5.0 2013-02-21

- Rename custom_directory to GeoIP_custom_directory.
- Make sure the database match the requested type. This is helpful for
  Databases with the same default name and the general geoiplookup form
  (geoiplookup without a specific database)
- apps/geoiplookup6.c use the ipnum instead of the hostname for lookups.
- Use configure.ac instead of configure.in
- Region lookup is a bit faster
- Add pkg-config file
- Updates required to build a Windows DLL under MinGW
- Make API thread safe
- geoiplookup's default charset is UTF8
  -l change the charset back to iso8859-1
- geoipupdate skips \r otherwise it might be part of the last
  product_id
- Update time zones
- Update Region codes
- Remove the unused CITYCONFIDENCE* database types
- bootstrap rebuilds ltmain.sh
- Update README.OSX for Lion
- Change Macedonia to Macedonia, The Former Yugoslav Republic of
- Add region_name to geoiplookup GEOIP_CITY_EDITION_REV1
- Add region_name to geoiplookup GEOIP_CITY_EDITION_REV0
- Add a --disable-data-files option. This allows you to build and install
  the library without having a data/GeoIP.dat file. This is useful when
  building the library from a checkout of the source tree, rather than a
  tarball
- Add GEOIP_ACCURACYRADIUS_EDITION and GEOIP_ACCURACYRADIUS_EDITION_V6
- Add more database types GEOIP_COUNTRYCONF_EDITION,
  GEOIP_CITYCONF_EDITION, GEOIP_REGIONCONF_EDITION and
  GEOIP_POSTALCONF_EDITION
- Fix default filenames for GEOIP_NETSPEED_EDITION_REV1 and
  GEOIP_NETSPEED_EDITION_REV1_V6
   2015-11-04 01:35:47 by Alistair G. Crooks | Files touched by this commit (748)
Log message:
Add SHA512 digests for distfiles for net category

Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-10-09 16:07:17 by Thomas Klausner | Files touched by this commit (1163)
Log message:
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
   2012-10-23 19:19:22 by Aleksej Saushev | Files touched by this commit (671)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.