FreeBSD Ports

net/p5-IP-Country 2.28_1

Fast lookup of country codes from IP addresses

Repository
FreeBSD ports
Maintainer
[email protected]
Categories
net, perl5, geography
Package size
272.9 KiB, 601.2 KiB installed

Description

Finding the home country of a client using only the IP address can be difficult. Looking up the domain name associated with that address can provide some help, but many IP address are not reverse mapped to any useful domain, and the most common domain (.com) offers no help when looking for country.

This module comes bundled with a database of countries where various IP addresses have been assigned. Although the country of assignment will probably be the country associated with a large ISP rather than the client herself, this is probably good enough for most log analysis applications, and under test has proved to be as accurate as reverse-DNS and WHOIS lookup.

Install

As a binary package — by origin, or by package name:

pkg install net/p5-IP-Country
pkg install p5-IP-Country

From the ports tree:

cd /usr/ports/net/p5-IP-Country/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-IP-Country>0:net/p5-IP-Country

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.28_12.28_12.28_12.28_12.28_1
FreeBSD:14:quarterly2.28_12.28_1n/a2.28_12.28_1
FreeBSD:15:latest2.28_12.28_1n/a2.28_12.28_1
FreeBSD:15:quarterly2.28_12.28_1n/an/an/a
FreeBSD:16:latest2.28_12.28_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

All build dependencies 2
All run dependencies 2

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 18
  • bin/ip2cc
  • %%PERL5_MAN1%%/ip2cc.1.gz
  • %%PERL5_MAN3%%/IP::Authority.3.gz
  • %%PERL5_MAN3%%/IP::Country.3.gz
  • %%PERL5_MAN3%%/IP::Country::Fast.3.gz
  • %%PERL5_MAN3%%/IP::Country::MaxMind.3.gz
  • %%PERL5_MAN3%%/IP::Country::Medium.3.gz
  • %%PERL5_MAN3%%/IP::Country::Slow.3.gz
  • %%SITE_PERL%%/IP/Authority.pm
  • %%SITE_PERL%%/IP/Authority/auth.gif
  • %%SITE_PERL%%/IP/Authority/ipauth.gif
  • %%SITE_PERL%%/IP/Country.pm
  • %%SITE_PERL%%/IP/Country/Fast.pm
  • %%SITE_PERL%%/IP/Country/Fast/cc.gif
  • %%SITE_PERL%%/IP/Country/Fast/ip.gif
  • %%SITE_PERL%%/IP/Country/MaxMind.pm
  • %%SITE_PERL%%/IP/Country/Medium.pm
  • %%SITE_PERL%%/IP/Country/Slow.pm
distinfo 1
FileSizeSHA256
IP-Country-2.28.tar.gz29658588db833a5ab22ed06cb53d6f205725e3b5371b254596053738885e91fa105f75
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.