The NetBSD Project

CVS log for pkgsrc/net/GeoIP/Makefile

[BACK] Up to [] / pkgsrc / net / GeoIP

Request diff between arbitrary revisions

Default branch: MAIN

Revision / (download) - annotate - [select for diffs], Tue Apr 27 14:35:55 2021 UTC (2 years, 9 months ago) by bsiegert
Branch: pkgsrc-2021Q1
Changes since 1.32: +4 -1 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Pullup ticket #6451 - requested by maya
net/GeoIP: NetBSD build fix

Revisions pulled up:
- net/GeoIP/Makefile                                            1.33

   Module Name:	pkgsrc
   Committed By:	maya
   Date:		Mon Apr 19 07:22:30 UTC 2021

   Modified Files:
   	pkgsrc/net/GeoIP: Makefile

   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

Revision 1.33 / (download) - annotate - [select for diffs], Mon Apr 19 07:22:30 2021 UTC (2 years, 10 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, HEAD
Changes since 1.32: +4 -1 lines
Diff to previous 1.32 (colored)

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

Revision 1.32 / (download) - annotate - [select for diffs], Wed Jan 8 11:59:43 2020 UTC (4 years, 1 month ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Branch point for: pkgsrc-2021Q1
Changes since 1.31: +5 -6 lines
Diff to previous 1.31 (colored)

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.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Oct 19 11:59:25 2016 UTC (7 years, 4 months ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.30: +9 -10 lines
Diff to previous 1.30 (colored)

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`
- 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
- Added missing include of `io.h` on Windows.
- Fixed `configure` warning that `'missing' script is too old or missing`.
- Previously `nmake /f clean` would fail on Windows. This was
- 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

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

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, man/geoip*.1
- Explain how to download free geolite databases in the and
- geoipupdate returns 1 on error 0 on success instead of the error code
- README is replaced by
- 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
- 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 instead of
- 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
- Update time zones
- Update Region codes
- Remove the unused CITYCONFIDENCE* database types
- bootstrap rebuilds
- 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
- Add more database types GEOIP_COUNTRYCONF_EDITION,
- Fix default filenames for GEOIP_NETSPEED_EDITION_REV1 and

Revision 1.30 / (download) - annotate - [select for diffs], Thu Oct 9 14:06:44 2014 UTC (9 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.29: +1 -3 lines
Diff to previous 1.29 (colored)

Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Oct 23 17:18:07 2012 UTC (11 years, 4 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.28: +1 -2 lines
Diff to previous 1.28 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jul 2 05:36:14 2011 UTC (12 years, 7 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.27: +4 -5 lines
Diff to previous 1.27 (colored)

fixes last commit, not wanted to change MASTERSITE.

Update GeoIP to 1.4.8.

	* Fix GEOIP_DOMAIN_EDITION_V6 ( Boris Zentner )
	* Add new Datatypes GEOIP_NETSPEED_EDITION_REV1_V6 and
	    GEOIP_NETSPEED_EDITION_REV1 ( Boris Zentner )
	* Fix possible directory traversal weakness in with
	    malicious update server ( Boris Zentner )
	* Fix GEOIP_ORG_EDITION_V6 and GEOIP_ISP_EDITION_V6 ( Boris Zentner )

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jul 2 05:27:27 2011 UTC (12 years, 7 months ago) by obache
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Change HOMEPAGE to appropriate one.

Revision 1.26 / (download) - annotate - [select for diffs], Tue May 31 14:40:25 2011 UTC (12 years, 8 months ago) by mspo
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Update from 1.4.6 to 1.4.7
Remove patch-ad since upstream is not accepting it (originated in 2008)
and it no longer applies.

This revision also adds a lot of experimental ipv6 support.

Full release notes:

        * Upd timezone.c Add SX, BQ and CW remove AN and FX ( Boris Zentner )
        * Add support for the new types in geoiplookup6 ( Boris Zentner )
        * Add new database types GEOIP_CITY_EDITION_REV0_V6,
          GEOIP_ORG_EDITION_V6 and GEOIP_ISP_EDITION_V6 ( Boris Zentner )
        * Remove AN and FX. Add SX, BQ and CW ( Boris Zentner )
        * Fix possible segfault in geoipupdate if the connection disappear
          unexpected. ( Boris Zentner )
        * Add sanity check for ( Boris Zentner )
          datatypes ( Boris Zentner )
        * Add new functions GeoIP_is_private_ipnum_v4 and GeoIP_is_private_v4
          ( Boris Zentner )
        * Add new functions GeoIP_teredo and GeoIP_enable_teredo.
          teredo is enabled by default ( Boris Zentner )
        * Fix output of geoiplookup for unknown or private regions.
            ( Boris Zentner )
        * Fix to accept more product codes.
            ( Boris Zentner )
        * Fix minor output issue in geoipupdate -v ( Boris Zentner )
        * Add support for various databases. ( Boris Zentner )
        * Add experimental teredo support ( Boris Zentner )
        * Fix possible buffer overflow in conjunction with
            http_proxies ( Elso Andras )
        * Remove memcpy/bcopy macro for BSD ( Boris Zentner )
        * Add GeoIP_lib_version and GeoIP_cleanup ( Ladar Levison )
        * Upd ( Thomas Winzig )
        * Fix typo in DK,18,Midtjylland ( Boris Zentner )
        * Update libGeoIP/regionName.c with FIPS codes 20100810 ( Boris Zentner )
        * Fix continent codes ( Boris Zentner )
        * Fix 3letter country codes for ATA, BVT, IOT, CXR, CCK, ATF, HMD,
            MYT, SGS and UMI ( Boris Zentner )
        * Fix typo/segfault in GeoIP_id_by_name_v6 ( Boris Zentner )
        * Update libGeoIP/regionName.c with FIPS codes 20100529 ( Boris Zentner )
        * Remove buffered IO functions, to fix issues with dup'ed file
            descriptors ( Boris Zentner )
        * Fix very minor memleak in geoipupdate ( Boris Zentner )
            and GEOIP_LARGE_COUNTRY_EDITION_V6 database types ( Boris Zentner )
        * Update libGeoIP/regionName.c with FIPS codes 20100422 ( Boris Zentner )
        * Update libGeoIP/regionName.c with FIPS codes 20100420 ( Boris Zentner )
        * Update libGeoIP/regionName.c with FIPS codes 20100221 ( Boris Zentner )
        * Add missing timezones ( Boris Zentner )
        * Add missing include for Windows 2000 ( Jaap Keute )
        * 'GeoIP Database up to date' and 'Updated database' prints to stdout
            instead of stderr ( Boris Zentner )
        * Add missing GeoIPRecord_delete to geoiplookup.c ( Piotr Kaczuba )
        * Add some IPv4 helper functions
            unsigned long GeoIP_addr_to_num(const char *addr);
            char *        GeoIP_num_to_addr(unsigned long ipnum); ( Boris Zentner )
        * Fix default name for the accuracy radius database to GeoIPDistance.dat ( Boris Zentner )
        * Add GEOIP_CITYCONFIDENCE_EDITION database type. ( Boris Zentner )
        * geoiplookup use GeoIPDistance.dat files if avail ( Boris Zentner )
        * Fix geoiplookup/geoiplookup6 output, when the databaseinfo string is
            not avail. ( Boris Zentner )
        * Change continent code for RU from AS to EU ( Boris Zentner )
        * Add GEOIP_ACCURACYRADIUS_EDITION database type. ( Boris Zentner )
        * Add GEOIP_LOCATIONA_EDITION the database to map back from binary to
            the csv database ( Boris Zentner )
        * Change Turkey's continent code from Asia to Europe ( Boris Zentner )
        * Rename _iso_8859_1__utf8 to _GeoIP_iso_8859_1__utf8 ( Boris Zentner )
            GEOIP_ASNUM_EDITION databases return UTF8 results, if gi->charset is set
            to GEOIP_CHARSET_UTF8 ( Boris Zentner )
        * Avoid unnecesary call to gettimeofday when GEOIP_CHECK_CACHE is not set ( John Douglass )
        * Delayed loading of changed database files for 60 seconds. To avoid
          reading halve written databases ( Boris Zentner )
        * Update README.OSX for Leopard  and Snow Leopard ( Boris Zentner )
        * Add more IPv6 functions ( Boris Zentner )
            const char *GeoIP_country_code_by_addr_v6 (GeoIP* gi, const char *addr);
            const char *GeoIP_country_code_by_name_v6 (GeoIP* gi, const char *host);
            const char *GeoIP_country_code3_by_addr_v6 (GeoIP* gi, const char *addr);
            const char *GeoIP_country_code3_by_name_v6 (GeoIP* gi, const char *host);
            const char *GeoIP_country_name_by_addr_v6 (GeoIP* gi, const char *addr);
            const char *GeoIP_country_name_by_name_v6 (GeoIP* gi, const char *host);
        * Make sure that GeoIP_*_v6 functions refuse GEOIP_PROXY_EDITION and
            GEOIP_NETSPEED_EDITION databases ( Boris Zentner )
        * Update libGeoIP/regionName.c with FIPS codes from 20090723 ( Boris Zentner )
        * Fix geoipupdate's -v option to not change the license filename ( Thom May )
        * Fix geoipupdate's exit code ( Thom May )
        * Add support for ASNUM_EDITION ( Boris Zentner )
        * Fix -i output for larger values, sign issue ( Boris Zentner )
        * Add -i flag for more information on netmask, range_by_ip and the current network range ( Boris Zentner )
        * Add support for DOMAIN_EDITION database type ( Boris Zentner )
        * Fix apps/ output layer on W32 ( Boris Zentner )

Revision 1.25 / (download) - annotate - [select for diffs], Sat Nov 13 21:09:01 2010 UTC (13 years, 3 months ago) by shattered
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Follow HTTP redirects to new HOMEPAGEs and/or MASTER_SITES.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Jan 21 17:41:06 2010 UTC (14 years, 1 month ago) by heinz
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored)

Added LICENSE information.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Oct 18 19:37:51 2009 UTC (14 years, 4 months ago) by zafer
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

update master_sites.

Revision 1.22 / (download) - annotate - [select for diffs], Tue May 19 08:59:26 2009 UTC (14 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.21: +1 -2 lines
Diff to previous 1.21 (colored)

Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.

Revision 1.21 / (download) - annotate - [select for diffs], Sun May 3 13:34:24 2009 UTC (14 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

Add geoiplookup6, built for at least NetBSD 5/i386. Bump pkgrevision

Revision 1.20 / (download) - annotate - [select for diffs], Fri Apr 24 10:17:22 2009 UTC (14 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.19: +4 -6 lines
Diff to previous 1.19 (colored)

Changes 1.4.6:
* Fix geoipupdate's my_printf function
* Fix typo in apps/ replace PerlIO::Gzip with
* Update region codes in libGeoIP/regionName.c
* Fix regioncode/ to handle regioncodes with ',' correct
* Update fips codes 20090201
* Fix unicode builds on WIN32 and eliminate some warnings
* Fix sign error in _iso_8859_1__utf8 for PPC64
* Change WIN32 to _WIN32, since _WIN32 is defined by default
* Remove the WSAStartup call from GeoIP_open
* Silence various warnings
* Add more timezone region's for Australia
* Fix possible segfault in apps/geoiplookup with null pointers in non gnu
  printf implementations for example solaris
* Add README.OSX to build fat binaries easy
* Silence vasprintf warning via AC_GNU_SOURCE
* Add several Makefiles to build a static GeoIP.lib for w32
* Silence signedness warnings
* Remove --with-city configure option
* Remove configure's --with-dbdir option. Use the similar --datadir instead
* Various autotools improvements and cleanups. Including parallel build fix.
* Fix libGeoIP/timeZone.c
* Fix timezone/
* Sync FIPS codes again Jan 14th, 2009
* Fix CA,NL regioncode
* Change logic in and GeoIP_region_name_by_code
* Sync regionName.c with from Dec 17th, 2008
* Fix _GeoIP_lookupaddress for 64bit big endian systems like ppc64
* Add proper WIN32/64 support
* Escape - in all manpages
* Add manpage for geoiplookup6
* Fix -d command line option
* GeoIPUpdate.c use vasprintf if avail, otherwise try vsnprintf and sprintf
* avoid pre/postincrement and assignment on the same variable

Revision 1.19 / (download) - annotate - [select for diffs], Wed Feb 6 23:27:02 2008 UTC (16 years ago) by heinz
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.18: +6 -2 lines
Diff to previous 1.18 (colored)

Updated to version 1.4.4.

Pkgsrc changes:
  - Added support for installation to DESTDIR.
  - More fixes for the man page geoiplookup.1 (patch-ab)
  - Two additional patches patch-ac and patch-ad to make geoiplookup not
    crash with segmentation fault if the data file either does not exist
    or has the wrong format.
  - Patches -ab, -ac, and -ad submitted to the bugtracker at
  - Updated DESCR with date of data file.
  - Added license information.

Changes since version 1.4.0:
1.4.4	2008-1-21
	* Updated original geoipupdate to return "Invalid product ID or
	  subscription expired"
	* Added BL/Saint Barthelemy, MF/Saint Martin (ISO-3166-1 additions)
	* Check for illegal IP strings, return 0 if IP is not well formed
	  IPv4 e.g. and 1.2.3
	* Clarified that while core GeoIP library is LGPL, libGeoIPUpdate
	  depends on md5.c and types.h which are GPL.
	* speedup the conversion from ipstring to ipnum in _GeoIP_addr_to_num.
	  Doubles the speed of GEOIP_MEMORY_CACHE and GEOIP_MMAP_CACHE
	* Added new mmap shared memory caching option, GEOIP_MMAP_CACHE
	  (Peter Shipley, LookSmart)
		- mmaps: our maps are shared, but we need only private
		  readonly pages

1.4.3	2007-8-30
	! CHANGE with geoiplookup facility: -v flag now returns database info
	  for all databases, not just GeoIP Country
	* Added ability to get netmask of network block from last lookup using
	* Fixed GeoIP_database_info bug with GeoLite City
	* Replaced 4 with sizeof(char*) to fix issues with geoipupdate on
	  64 Bit machines
	* Added GeoIP_set_charset function - enables UTF8 output of city name
	  if GEOIP_CHARSET_UTF8 flag is passed to GeoIP_set_charset
	* Fixed segfault issue if calling GeoIP_db_avail before opening a
	* Added continent_code to GeoIP City's record struct (Frank Mather)

1.4.2	2007-2-8
	* Added -d flag to enable custom path for geoipupdate utility program
	  (Frank Mather)
	* Replaced _WIN32 with WIN32 since WIN32 is already set by compilers
	* Moved var definitions to top of code, defined size_t (Guenter Knauf)
	* Added Makefile.win32, Makefile.netware, get_ver.awk, geoip.ico to
	  EXTRA_DIST in (Guenter Knauf)

1.4.1	2007-1-2
	* Replaced CS/Serbia and Montenegro with RS/Serbia, removed ZR/Zaire,
	  added ME/Montenegro
	* Added AX/Aland Islands, GG/Guernsey, IM/Isle of Man, JE/Jersey
	  (ISO-3166-1 changes)
	* Added GeoIP_time_zone_by_country_and_region, to lookup zoneinfo
	  timezone by country and region (Frank Mather)
	* Added GeoIP_region_name_by_code, to lookup region name from region
	  code (Frank Mather)
	* added -f and -d flags to enable custom paths for geoiplookup utility
	  program (Frank Mather)
	* Added benchmarks for GeoIP Region and City in test/benchmark.c
	  (Frank Mather)
	* Fixed build issue when using --as-needed flag (Diego 'Flameeyes'
	* Add sanity checking for filename returned by server for
	  geoipupdate filename (Dean Gaudet,
	* Fixed memory leaks under error conditions, buffer overflow using
	  sprintf, and issue where a corrupted cache file could core dump the
	  file (Nick Galbreath, Right Media Inc)

Revision 1.18 / (download) - annotate - [select for diffs], Wed Apr 4 15:03:06 2007 UTC (16 years, 10 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Give away to pkgsrc-users.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Sep 5 21:03:58 2006 UTC (17 years, 5 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Update to 1.4.0.  Changes:

1.4.0   2006-8-7
        * Changed license from GPL to LGPL, so that PHP Extension can be included in PECL (Olivier Hill)
        * Rewrote GEOIP_CHECK_CACHE code, fixed numerous bugs
                - CheckCache now works if GeoIP file is overwriten by mv command
                - Fixed bug where CheckCache kept reloading in GEOIP_STANDARD_MODE
                - Fixed segfault issue in GEOIP_MEMORY_CACHE mode
                - Fixed garbage data appearing in GEOIP_INDEX_CACHE mode
                - Fixed realloc in case realloc returns new memory block (Andre Morozov of Stone Steps)
        * Updated geoipupdate to print status messages for each database instead of just last database
        * Check that gi is not null before running code in GeoIP_delete
        * Updated LICENSE file to add GPL License Exception for PHP
        * Fixed alpha-3 codes ordering, replaced TLS,TKM,TUN,TON with TKM,TUN,TON,TLS
        * TP/East Timor changed to TL/Timor-Leste, reflecting changes in ISO-3166
        * Added Netware and Windows makefiles (Guenter Knauf)
        * Fixed NetWare compiler issue with char block[block_size] declaration (Guenter Knauf)
        * Updated geoipupdate example to run weekly

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jun 5 16:38:40 2006 UTC (17 years, 8 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.15: +3 -4 lines
Diff to previous 1.15 (colored)

Update to 1.3.17, and take over MAINTAINER per old maintainer's request.
From ChangeLog:

1.3.17  2006-5-14
        * Fixed headers for Windows/Netware compliation (Guenter Knauf)
        * Fixed Received Error -21 (Sanity check database_info string failed)
                when running geoipupdate with GeoIP Country when UserId and
                productIds were not specified.  Bug was introduced in 1.3.15.

1.3.16  2006-4-17
        * Fixed compliation error in GeoIPUpdate.c

1.3.15  2006-4-14
        * Updated README documentation
        * Updated geoipupdate so that it writes file as it is uncompressed instead
                of storing entire GeoIP.dat file in memory (Frank Mather)
        * Updated geoiplookup so that it returns GeoIP Domain Name if available
                (Frank Mather)
        * Updated geoipupdate so that it reports whether databases are updated
                in non-verbose mode (Frank Mather)

Revision 1.15 / (download) - annotate - [select for diffs], Thu Dec 29 06:21:56 2005 UTC (18 years, 1 month ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored)

Remove USE_PKGINSTALL from pkgsrc now that mk/install/
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 5 23:55:13 2005 UTC (18 years, 2 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Ran "pkglint --autofix", which corrected some of the quoting issues in

Revision 1.13 / (download) - annotate - [select for diffs], Sat Oct 22 21:50:58 2005 UTC (18 years, 4 months ago) by heinz
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

According to the man page, geoiplookup has an option "-l". In reality
this is not true, so I added the same patch Debian is using for the man

Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 22 19:58:42 2005 UTC (18 years, 4 months ago) by heinz
Branch: MAIN
Changes since 1.11: +4 -2 lines
Diff to previous 1.11 (colored)

Updated to version 1.3.14 (approved by Min Sik Kim).

Pkgsrc changes:
  - Added TEST_TARGET.

[Relevant] changes since version 1.3.8:
1.3.14  2005-9-7
        * Check if byte, ushort, ulong, u16, u32 are defined in configure
          script.  Fixes compilation issue on FreeBSD systems.
        * Check for Big Endian byte order (needed for MD5 code in geoipupdate
          to work properly on Mac OS X and other Big Endian processors
        * Fixed GEOIP_CHECK_CACHE mode when used with GEOIP_STANDARD to
          only refresh upon file change
        * Fixed memory leak when refreshing file in GEOIP_CHECK_CACHE mode
        * Updated to support Debian GNU/k*BSD bug #315425 (Marek Habersack)
        * Added lookup functions using IP numeric representation as input (Frank Mather)
        * Removed geoipexport
        * Replaced Yugoslavia with Serbia and Montenegro
        * Updated geoiplookup to only perform country lookup once instead of twice by using GeoIP_id_by_name
1.3.13  2005-8-1
        * Fixed autoconf weirdness that resulted in libraries being
                installed without .so suffix
1.3.12  2005-7-19
        * Removed -lGeoIP from libGeoIPUpdate_la_LIBADD - fixes compilation error
                if GeoIP isn't already installed (Thomas Steudten)
1.3.11  2005-7-7
        * Fixed gcc warnings and bug.  Use int
                instead of char for checking the return value of getopt in geoipupdate.c.
                Moved the internal functions to GeoIP_internal.h to get rid
                of those 'implicit declaration' warnings. (Ludwig Nussel/SUSE)
        * Cleaned up name space by prefixing internal functions with
                _GeoIP* (Ludwig Nussel/SUSE)
        * Memory Leak fix for GeoIP City if fread error
        * Added more verbose error messages for geoipupdate (Frank Mather)
        * Added check for zlib.h to
1.3.10  2005-4-17
        * Added types.h to - fixes compilation error
1.3.9   2005-4-14
        * fixed bug with GEOIP_INDEX_CACHE (Frank Mather)
        * fixed segfault issue if GeoIP.dat not found (Frank Mather)
        * Updated MD5 checksum code to use GnuPG code which works
                on 64bit machines (Frank Mather)
        * Fixed memory leak in test-geoip-isp.c and test-geoip-org.c
        * Added support for GeoIP Domain Names in geoipupdate

Revision 1.11 / (download) - annotate - [select for diffs], Mon Apr 11 21:46:43 2005 UTC (18 years, 10 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Mar 12 05:22:54 2005 UTC (18 years, 11 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

We use zlib.  Mark as such for platforms without zlib bundled.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Nov 25 18:37:52 2004 UTC (19 years, 3 months ago) by snj
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

Update to 1.3.8.

* Made code thread safe by replacing gethostbyname with gethostbyname_r
* Added GeoIP_country_code_by_ipnum and GeoIP_id_by_ipnum to use
  existing ulong IP Address in numeric form instead of having to
  convert it to string (Boris Hajduk)
* Updated geoipupdate to report invalid userID and productID errors
* Added support for GEOIP_INDEX_CACHE - which just caches
  the most frequently access index portion of the database, resulting
  in faster lookups than GEOIP_STANDARD, but less memory usage than
* Made GEOIP_CHECK_CACHE work with GEOIP_STANDARD mode - reloads filehandle
  in case file changes.
* Made GeoIP City code thread safe
* Fixed bug with geoipupdate reading in product ids
* Added support for GeoIP Netspeed geoipupdate
* Fix memleak in lookupaddress (Ludwig Nussel/SUSE)
* Add prototype for _full_path_to to make 64bit clean (Ludwig Nussel/SUSE)

Revision 1.8 / (download) - annotate - [select for diffs], Sun Oct 3 00:17:48 2004 UTC (19 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jul 3 00:54:07 2004 UTC (19 years, 7 months ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

Update GeoIP to 1.3.4 and take maintainership.

Changes since 1.3.1:
        * Fixed bug where *.gz file(s) didn't get removed after geoipupdate
        * Added support for NetSpeed lookup to geoiplookup
        * inet_addr patch for 64 bit systems (Thomas Steudten)
        * Added Support for automated downloads of GeoIP Region, City, ISP
          and Organization databases (Frank Mather)
        * INADDR_NONE Patch for Solaris 9 (John Young)
        * Added support for Maxmind NetSpeed

Revision 1.6 / (download) - annotate - [select for diffs], Tue Feb 17 03:34:07 2004 UTC (20 years ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 (colored)

bl3ify and enable pkgviews installation.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Feb 14 17:21:45 2004 UTC (20 years ago) by jlam
Branch: MAIN
Changes since 1.4: +1 -3 lines
Diff to previous 1.4 (colored)

LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 28 12:31:42 2003 UTC (20 years, 2 months ago) by jmmv
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Update to 1.3.1.  Changes since 1.1.9:

* Check for stdint.h in autoconf
* prevent the geoipupdate man page from trying to install itself directly
  in the system directory
* Fixed includes to compile on Windows
* Removed the _addr_to_num() calls from GeoIP_*_by_name()
* _seek_record() optimizations
* Added GeoIP_assign_region_by_inetaddr which doesn't do any mallocs and
  made all other region APIs go thru it
* Replaced _h_addr_to_num() with ntohl() and removed _h_addr_to_num()
* Fixed bug when IP address not found in region rev1 database
* Added added extern "C" to GeoIPCity.h fixes problems when included
  in C ++ library
* Added support for GeoIP ISP Edition identifier
* Fixed bug in GeoIP_database_info
* Added support for GeoIP AS Number Edition
* renamed GeoIP_org_by_* functions to GeoIP_name_by_* to reduce confusion
  since these functions are used by GeoIP ISP and GeoIP ASNum as well as
  GeoIP Organization
* Added support for GeoIP Proxy Edition
* renamed GeoIP_country_id_by_* functions to GeoIP_id_by_*
* Added GeoIP_record_id_by_addr and GeoIP_next_record functions
* Added support for new GeoIP Region format, including Canadian Provinces
* Added support for GeoIP City format revision 1, including dma code and
  area code
* geoiplookup returns results from GeoIP Region, City, ISP and Organization
* Standardized location for GeoIP Region, City, ISP and Organization data bases
* Added GeoIP_open_type to open database from default location for other
  dbs besides country
* Added check to make sure that the appropriate database is loaded for each
  lookup method
* Updated update code to check for first 12 characters of license key
* Added GeoIP_country_continent array to lookup continent by country ID

Closes PR pkg/23909.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 17 22:50:56 2003 UTC (20 years, 7 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)


Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 2 01:18:05 2003 UTC (20 years, 8 months ago) by jschauma
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.

Revision / (download) - annotate - [select for diffs] (vendor branch), Sun Jun 1 10:24:42 2003 UTC (20 years, 8 months ago) by jmmv
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of GeoIP, version 1.1.9:

GeoIP is a C library that enables the user to find the country that any IP
address or hostname originates from.  It uses a file based database that is
accurate as of March 2002.  This database simply contains IP blocks as keys,
and countries as values.  It should be more complete and accurate than using
reverse DNS lookups.

This module can be used to automatically select the geographically closest
mirror, to analyze your web server logs to determine the countries of your
visitors, for credit card fraud detection, and for software export controls.

Package initially provided by Juan RP through pkgsrc-wip, with several
changes by me.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jun 1 10:24:42 2003 UTC (20 years, 8 months ago) by jmmv
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>