notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Remember
I remember
2024-11-06 brought a new category: filesystems. Sadly, the website did not process it well. I''m working on that. It may take a few days.
Port details
p5-IP-Country Fast lookup of country codes from IP addresses
2.28_1 net on this many watch lists=36 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.28_1Version of this port present on the latest quarterly branch.
Maintainer: dikshie@lapi.itb.ac.id search for ports maintained by this maintainer
Port Added: 2005-06-25 11:50:53
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: help2man, m4, p5-libwww, p5-Digest-HMAC, p5-Digest-SHA1
Also Listed In: geography perl5
License: not specified in port
WWW:
https://metacpan.org/release/IP-Country
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (21 items)
Collapse this list.
  1. bin/ip2cc
  2. lib/perl5/site_perl/man/man1/ip2cc.1.gz
  3. lib/perl5/site_perl/man/man3/IP::Authority.3.gz
  4. lib/perl5/site_perl/man/man3/IP::Country.3.gz
  5. lib/perl5/site_perl/man/man3/IP::Country::Fast.3.gz
  6. lib/perl5/site_perl/man/man3/IP::Country::MaxMind.3.gz
  7. lib/perl5/site_perl/man/man3/IP::Country::Medium.3.gz
  8. lib/perl5/site_perl/man/man3/IP::Country::Slow.3.gz
  9. lib/perl5/site_perl/IP/Authority.pm
  10. lib/perl5/site_perl/IP/Authority/auth.gif
  11. lib/perl5/site_perl/IP/Authority/ipauth.gif
  12. lib/perl5/site_perl/IP/Country.pm
  13. lib/perl5/site_perl/IP/Country/Fast.pm
  14. lib/perl5/site_perl/IP/Country/Fast/cc.gif
  15. lib/perl5/site_perl/IP/Country/Fast/ip.gif
  16. lib/perl5/site_perl/IP/Country/MaxMind.pm
  17. lib/perl5/site_perl/IP/Country/Medium.pm
  18. lib/perl5/site_perl/IP/Country/Slow.pm
  19. @owner
  20. @group
  21. @mode
Collapse this list.
Dependency lines:
  • p5-IP-Country>0:net/p5-IP-Country
To install the port:
cd /usr/ports/net/p5-IP-Country/ && make install clean
To add the package, run one of these commands:
  • pkg install net/p5-IP-Country
  • pkg install p5-IP-Country
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: p5-IP-Country
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (IP-Country-2.28.tar.gz) = 88db833a5ab22ed06cb53d6f205725e3b5371b254596053738885e91fa105f75 SIZE (IP-Country-2.28.tar.gz) = 296585

Packages (timestamps in pop-ups are UTC):
p5-IP-Country
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.28_12.28_12.28_12.28_12.28_1-2.28_1-
FreeBSD:13:quarterly2.28_12.28_12.28_12.28_12.28_12.28_12.28_12.28_1
FreeBSD:14:latest2.28_12.28_12.28_12.28_12.28_12.28_1-2.28_1
FreeBSD:14:quarterly2.28_12.28_1-2.28_12.28_12.28_12.28_12.28_1
FreeBSD:15:latest2.28_12.28_1n/a2.28_1n/a2.28_12.28_12.28_1
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. p5-Geography-Countries>=0 : misc/p5-Geography-Countries
  2. perl5>=5.32.r0<5.33 : lang/perl5.32
  3. perl5>=5.32.r0<5.33 : lang/perl5.32
Runtime dependencies:
  1. p5-Geography-Countries>=0 : misc/p5-Geography-Countries
  2. perl5>=5.32.r0<5.33 : lang/perl5.32
This port is required by:
for Build
  1. dns/p5-App-DSC-DataTool
  2. mail/mailscanner
  3. textproc/p5-Plagger

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. dns/p5-DSC*
  2. Collapse this list of deleted ports.
for Run
  1. dns/p5-App-DSC-DataTool
  2. mail/mailscanner
  3. security/maia
  4. textproc/p5-Plagger

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. dns/p5-DSC*
  2. net/kojoney*
  3. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
net_p5-IP-Country
USES:
perl5
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (12 items)
Collapse this list.
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/IP/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/IP/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/IP/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/IP/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/IP/
  7. http://backpan.perl.org/modules/by-module/IP/
  8. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/IP/
  9. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/IP/
  10. https://cpan.metacpan.org/modules/by-module/
  11. https://cpan.metacpan.org/modules/by-module/IP/
  12. https://www.cpan.org/modules/by-module/IP/
Collapse this list.

Number of commits found: 31

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2.28_1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.28_1
20 Jul 2022 14:22:37
commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
net: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Straup Cope <ascope@cpan.org>
  *  Aaron Zauner <az_mail@gmx.at>
  *  Adam Jette <jettea46@yahoo.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Alex Bakhtin <Alex.Bakhtin@gmail.com>
  *  Alex Deiter <Alex.Deiter@Gmail.COM>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Dupre <sysadmin@alexdupre.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.28_1
13 May 2022 20:40:11
commit hash: b1a1bd8b8d30ea8ef093496e571cbd22f6352ca3commit hash: b1a1bd8b8d30ea8ef093496e571cbd22f6352ca3commit hash: b1a1bd8b8d30ea8ef093496e571cbd22f6352ca3commit hash: b1a1bd8b8d30ea8ef093496e571cbd22f6352ca3 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
net/p5-IP-Country: Add NO_ARCH

Approved by:	portmgr (blanket)
2.28_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.28_1
06 Oct 2018 13:06:45
Revision:481365Original commit files touched by this commit
des search for other commits by this committer
Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.

Approved by:	portmgr (adamw)
2.28_1
27 May 2018 20:15:20
Revision:470993Original commit files touched by this commit
sunpoet search for other commits by this committer
Update WWW

search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
2.28_1
01 Apr 2016 14:16:20
Revision:412348Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
2.28_1
14 Sep 2015 12:19:50
Revision:396892Original commit files touched by this commit
mat search for other commits by this committer
Make it so that the default Perl is always called perl5.

- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
  Though you should note that only the default version can be used to
  install Perl modules, and the non default Perl versions cannot use the
  modules installed via ports if they contain .so as they are installed
  in a version specific directory.

Reviewed by:	bapt (the Mk bits)
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3542
2.28_1
26 Nov 2014 13:08:38
Revision:373448Original commit files touched by this commit
mat search for other commits by this committer
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.28
06 Feb 2014 13:22:17
Revision:343068Original commit files touched by this commit
ehaupt search for other commits by this committer
Support staging.
2.28
20 Sep 2013 22:10:25
Revision:327755Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
net)
2.28
06 Sep 2013 14:30:24
Revision:326506Original commit files touched by this commit
az search for other commits by this committer
- convert to the new perl5 framework

Approved by:	portmgr (bapt@, blanket)
2.28
27 May 2013 12:29:00
Revision:319222Original commit files touched by this commit
culot search for other commits by this committer
- Update to 2.28 [1]
- Trim Makefile's header

Changes:	http://search.cpan.org/dist/IP-Country/CHANGES
PR:		ports/178974 [1]
Submitted by:	dikshie <dikshie@lapi.itb.ac.id> (maintainer)
2.27
30 Jun 2012 14:39:14
Original commit files touched by this commit
az search for other commits by this committer
- Remove SITE_PERL from *_DEPENDS

Approved by: portmgr@ (bapt@)
2.27
21 Jan 2012 17:40:15
Original commit files touched by this commit
eadler search for other commits by this committer
At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.

Explicit duplication > := > = and this just moves ports one step to the left

Approved by:    portmgr
2.27
20 Mar 2011 12:54:45
Original commit files touched by this commit
miwi search for other commits by this committer
- Get Rid MD5 support
2.27
30 Sep 2009 10:15:26
Original commit files touched by this commit
wen search for other commits by this committer
- Update to 2.27

PR:             ports/139229
Submitted by:   Masafumi NAKANE <max@FreeBSD.org>
Approved by:    maintainer,     jadawin(co-mentor)
Feature safe:   yes
2.26
15 Feb 2009 14:50:26
Original commit files touched by this commit
miwi search for other commits by this committer
- Update to 2.26

PR:             131692
Submitted by:   dikshie <dikshie@lapi.itb.ac.id> (maintainer)
2.25_1
16 Nov 2008 19:59:43
Original commit files touched by this commit
wxs search for other commits by this committer
Update to 2.25

PR:             ports/128607
Submitted by:   dikshie <dikshie@sfc.wide.ad.jp>
Approved by:    dikshie@lapi.itb.ac.id (maintainer)
2.23_1
17 Apr 2008 14:30:31
Original commit files touched by this commit
araujo search for other commits by this committer
- Take advantage of CPAN macro from bsd.sites.mk, change
${MASTER_SITE_PERL_CPAN} to CPAN.

PR:             ports/122674
Submitted by:   Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:    araujo (myself)
Approved by:    portmgr (pav)
2.23_1
22 Jul 2007 19:53:52
Original commit files touched by this commit
laszlof search for other commits by this committer
- Add even more ports to the new "geography" category

Approved by:    Pav (wearing portmgr hat)
2.23_1
04 Apr 2007 02:55:07
Original commit files touched by this commit
clsung search for other commits by this committer
- installed script (ip2cc) needs p5-Geography-Countries
- bump PORTREVISION

PR:             ports/111183
Submitted by:   maintainer (Dikshie)
2.23
07 Feb 2007 04:57:46
Original commit files touched by this commit
leeym search for other commits by this committer
- Update to 2.23

PR:             ports/108820
Submitted by:   leeym
Approved by:    maintainer
2.22
24 Dec 2006 15:37:34
Original commit files touched by this commit
rafan search for other commits by this committer
- Update to 2.22

PR:             ports/107074
Submitted by:   chinsan
Approved by:    Dikshie <dikshie at lapi.itb.ac.id> (maintainer)
2.21
22 Apr 2006 01:45:48
Original commit files touched by this commit
leeym search for other commits by this committer
- Update to 2.21
- Unbreak under old perl
- Refine pkg-descr

PR:             95568
Submitted by:   leeym
Approved by:    maintainer
2.20
20 Feb 2006 20:50:22
Original commit files touched by this commit
fenner search for other commits by this committer
Update search.cpan.org WWW: entries to have a trailing slash.
Change some URLs from author dirs to dist dirs.

The example in the porter's handbook didn't have the trailing slash;
mea culpa for not having caught that when it went in.
2.20
22 Jan 2006 21:24:05
Original commit files touched by this commit
edwin search for other commits by this committer
SHA256ify

Approved by: krion@
2.20
22 Jan 2006 02:46:07
Original commit files touched by this commit
edwin search for other commits by this committer
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry

Approved by:    krion@
PR:             ports/88711 (related)
2.20
22 Sep 2005 18:57:25
Original commit files touched by this commit
fenner search for other commits by this committer
search.cpan.org redirect reduction canonicalization project, pass 3:
Refer to all modules using their /dist/Foo/ path instead of via
the mishmash of old author path, new author path, module documentation,
etc.  These are mostly stragglers that should have been caught in pass 2.

This pass brought to you by Bill's 102-degree fever during pass 2.
2.20
25 Jun 2005 11:50:19
Original commit files touched by this commit
flz search for other commits by this committer
- Add net/p5-IP-Country - Perl module to lookup country codes from IP addresses.

PR:             ports/78030
Submitted by:   Tim Buck <tbuck@rrinc.com>

Number of commits found: 31