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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.28_1 | 2.28_1 | 2.28_1 | 2.28_1 | 2.28_1 |
| FreeBSD:14:quarterly | 2.28_1 | 2.28_1 | n/a | 2.28_1 | 2.28_1 |
| FreeBSD:15:latest | 2.28_1 | 2.28_1 | n/a | 2.28_1 | 2.28_1 |
| FreeBSD:15:quarterly | 2.28_1 | 2.28_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.28_1 | 2.28_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-Geography-Countries>=0: misc/p5-Geography-Countries
Runtime 1
p5-Geography-Countries>=0: misc/p5-Geography-Countries
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
| File | Size | SHA256 |
|---|---|---|
| IP-Country-2.28.tar.gz | 296585 | 88db833a5ab22ed06cb53d6f205725e3b5371b254596053738885e91fa105f75 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.