---
name: GeoIP
version: 1.4.8_3
origin: net/GeoIP
comment: Find the country that any IP address or hostname originates from
arch: freebsd:9:x86:64
www: http://www.maxmind.com/geoip/
maintainer: dhn@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 2210210
desc: |
  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.  This database 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.

  WWW: http://www.maxmind.com/geoip/
categories: [net, geography]
files:
  /usr/local/bin/geoiplookup: 19c3bbf8b4723f3033739a2a68af892d8848f016324e973ac970a9f1973f5f8e
  /usr/local/bin/geoiplookup6: d78d68953ede1b95cdf136e945cfe405380f69e2947622eef5bfe0e8fd97597c
  /usr/local/bin/geoipupdate: 59e04bd67fe8855bdf798874db42563686c7a11d3463bfb528accffcaa70a2fe
  /usr/local/bin/geoipupdate.sh: ee1ed71c54fc3eb63d64ef7395c6422d03fc6dbd469321b36d30a39e9fa958c9
  /usr/local/etc/GeoIP.conf.default: 7461199d340966cb15e785bed5cbd876d0fe25833f3005b02375a0a7274cefd0
  /usr/local/include/GeoIP.h: 5cb2432584b0223f152c3a9d6863d68ff7e107eb8a4cf281dfc1e6abad2eee84
  /usr/local/include/GeoIPCity.h: fabd1238d28cec7107f50c842cb5d4518c5e8a829a108aa5fa7c16a41622d625
  /usr/local/include/GeoIPUpdate.h: d287f308c0cd11b8278d25ecabb9faedb083f823b18d8afe76032fb38c6e04e7
  /usr/local/lib/libGeoIP.a: 3734c1e36b440bb2f92227cf5a752008331ed91482c536bbae4edd99d8486929
  /usr/local/lib/libGeoIP.la: a8fdb7b9d91ae70d021f871ff8455d9062ed432e7a8edfa4a977834753ff25a3
  /usr/local/lib/libGeoIP.so: '-'
  /usr/local/lib/libGeoIP.so.5: d785c19a044407904a0f0f8c52db5ffef3408d84d7ef216d28b1cd374948e771
  /usr/local/lib/libGeoIPUpdate.a: ae1674f1bc490d8243db86912b2eb0aab16c981b0e12f0b941aaed351ccb933b
  /usr/local/lib/libGeoIPUpdate.la: febb762864bd628c287cdbae26711fb01120f8827d217ab9ce0ed38b9cc9d756
  /usr/local/lib/libGeoIPUpdate.so: '-'
  /usr/local/lib/libGeoIPUpdate.so.0: f8cff95a371e3e1c0a43bd71374a03a345d5a3c3a04bb8de83564197186c5492
  /usr/local/man/man1/geoiplookup.1.gz: 080e5814aa9ee2fa92c1458af7e1876a8ac4494e5bd4cbccf50ff697521436eb
  /usr/local/man/man1/geoiplookup6.1.gz: d6f41d46c851ee213c81d7a0a80a07fe7338e5c84b950b55c36a56d41f18ce02
  /usr/local/man/man1/geoipupdate.1.gz: 2155a09eca5956ac735510e17edecb9a170bba4efabc07da3ac20776ea6354aa
  /usr/local/share/GeoIP/GeoIP.dat: 58fcdeaac15e222a744b27333a776a2b91dc493d212acbe971ba6b987265a73c
directories:
  /usr/local/share/GeoIP/: y
scripts:
  post-install: |
    /sbin/ldconfig -m /usr/local/lib
  pre-deinstall: |
    if cmp -s /usr/local/etc/GeoIP.conf /usr/local/etc/GeoIP.conf.default; then rm -f /usr/local/etc/GeoIP.conf; fi
    /sbin/ldconfig -R
