pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/p5-IP-Country IP::Country does not use Geography::...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4fc76f4cc3bf
branches:  trunk
changeset: 513880:4fc76f4cc3bf
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Jun 05 14:27:40 2006 +0000

description:
IP::Country does not use Geography::Countries at all; rather, it only
documents that the user may wish to employ Geography::Countries in his/her
own code.  Remove extraneous DEPENDS.

IP::Country only requires Geo::IP if using the MaxMind database wrapper
IP::Country::MaxMind.  The default recommended database in IP::Country doc
(IP::Country::{Medium,Fast}) is builtin to IP::Country and does not require
Geo::IP at all.  Remove optional DEPENDS, and add a MESSAGE instead.

Bump PKGREVISION for changes.

diffstat:

 net/p5-IP-Country/MESSAGE  |  9 +++++++++
 net/p5-IP-Country/Makefile |  6 ++----
 2 files changed, 11 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 7a0bfa41bef6 -r 4fc76f4cc3bf net/p5-IP-Country/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-IP-Country/MESSAGE Mon Jun 05 14:27:40 2006 +0000
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2006/06/05 14:27:40 tv Exp $
+
+If you wish to use the IP::Country::MaxMind wrapper for the MexMind GeoIP
+database, the package net/p5-Geo-IP must also be installed.  No additional
+packages are required in order to use the builtin IP::Country::Fast and
+IP::Country::Medium modules.
+
+===========================================================================
diff -r 7a0bfa41bef6 -r 4fc76f4cc3bf net/p5-IP-Country/Makefile
--- a/net/p5-IP-Country/Makefile        Mon Jun 05 14:11:39 2006 +0000
+++ b/net/p5-IP-Country/Makefile        Mon Jun 05 14:27:40 2006 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/10/16 17:48:02 heinz Exp $
+# $NetBSD: Makefile,v 1.2 2006/06/05 14:27:40 tv Exp $
 #
 
 DISTNAME=              IP-Country-2.20
 PKGNAME=               p5-${DISTNAME}
+PKGREVISION=           1
 SVR4_PKGNAME=          p5icy
 CATEGORIES=            net perl5
 MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=../by-authors/id/N/NW/NWETTERS/}
@@ -13,9 +14,6 @@
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
-DEPENDS+=              p5-Geo-IP-[0-9]*:../../net/p5-Geo-IP
-DEPENDS+=              p5-Geography-Countries>=1.3:../../misc/p5-Geography-Countries
-
 USE_LANGUAGES=         # empty
 PERL5_PACKLIST=                auto/IP/Country/.packlist
 



Home | Main Index | Thread Index | Old Index