[Midnightbsd-cvs] mports [17355] trunk/net: add perl geo ip port
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Tue Sep 16 18:48:24 EDT 2014
Revision: 17355
http://svnweb.midnightbsd.org/mports/?rev=17355
Author: laffer1
Date: 2014-09-16 18:48:23 -0400 (Tue, 16 Sep 2014)
Log Message:
-----------
add perl geo ip port
Modified Paths:
--------------
trunk/net/Makefile
Added Paths:
-----------
trunk/net/p5-Geo-IP/
trunk/net/p5-Geo-IP/Makefile
trunk/net/p5-Geo-IP/distinfo
trunk/net/p5-Geo-IP/pkg-descr
trunk/net/p5-Geo-IP/pkg-plist
Modified: trunk/net/Makefile
===================================================================
--- trunk/net/Makefile 2014-09-16 22:44:26 UTC (rev 17354)
+++ trunk/net/Makefile 2014-09-16 22:48:23 UTC (rev 17355)
@@ -68,6 +68,7 @@
SUBDIR += openmpi
SUBDIR += openslp
SUBDIR += ortp
+SUBDIR += p5-Geo-IP
SUBDIR += p5-IO-INET6
SUBDIR += p5-IO-Socket-IP
SUBDIR += p5-IP-Country
Added: trunk/net/p5-Geo-IP/Makefile
===================================================================
--- trunk/net/p5-Geo-IP/Makefile (rev 0)
+++ trunk/net/p5-Geo-IP/Makefile 2014-09-16 22:48:23 UTC (rev 17355)
@@ -0,0 +1,23 @@
+# $MidnightBSD$
+
+PORTNAME= Geo-IP
+PORTVERSION= 1.43
+PORTREVISION= 1
+CATEGORIES= net geography perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Gets country name by IP or hostname
+
+LICENSE= artistic gpl
+LICENSE_COMB= dual
+
+LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP
+
+CONFIGURE_ARGS= INC="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
+USES= perl5
+USE_PERL5= yes
+PERL_CONFIGURE= yes
+
+.include <bsd.port.mk>
Added: trunk/net/p5-Geo-IP/distinfo
===================================================================
--- trunk/net/p5-Geo-IP/distinfo (rev 0)
+++ trunk/net/p5-Geo-IP/distinfo 2014-09-16 22:48:23 UTC (rev 17355)
@@ -0,0 +1,2 @@
+SHA256 (Geo-IP-1.43.tar.gz) = 587ab026e377d609e1ce0057439cd90f57849e0faa38713a5d19ee9f8965f55c
+SIZE (Geo-IP-1.43.tar.gz) = 112349
Added: trunk/net/p5-Geo-IP/pkg-descr
===================================================================
--- trunk/net/p5-Geo-IP/pkg-descr (rev 0)
+++ trunk/net/p5-Geo-IP/pkg-descr 2014-09-16 22:48:23 UTC (rev 17355)
@@ -0,0 +1,17 @@
+This module a simple file-based database. This database simply contains
+IP blocks as keys, and countries as values. The data contains all
+public IP addresses and should be more
+complete and accurate than reverse DNS lookups.
+
+This module can be used to automatically select the geographically closest
+mirror, or to analyze your web server logs to determine the countries of
+your visiters.
+
+To install, see the INSTALL file.
+
+Copyright (c) 2002, MaxMind.com
+
+All rights reserved. This package is free software; you can redistribute it
+and/or modify it under the same terms as Perl itself.
+
+WWW: http://search.cpan.org/dist/Geo-IP/
Added: trunk/net/p5-Geo-IP/pkg-plist
===================================================================
--- trunk/net/p5-Geo-IP/pkg-plist (rev 0)
+++ trunk/net/p5-Geo-IP/pkg-plist 2014-09-16 22:48:23 UTC (rev 17355)
@@ -0,0 +1,13 @@
+%%PERL5_MAN3%%/Geo::IP.3.gz
+%%PERL5_MAN3%%/Geo::IP::Record.3.gz
+%%PERL5_MAN3%%/Geo::Mirror.3.gz
+%%SITE_PERL%%/%%PERL_ARCH%%/Geo/IP.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Geo/IP/Record.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Geo/IP/Record.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/Geo/Mirror.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IP/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IP/IP.so
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IP
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Geo/IP
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Geo
More information about the Midnightbsd-cvs
mailing list