[Midnightbsd-cvs] mports: mports/net: Add geoip for milter greylist

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun May 18 14:41:57 EDT 2008


Log Message:
-----------
Add geoip for milter greylist

Modified Files:
--------------
    mports/net:
        Makefile (r1.65 -> r1.66)

Added Files:
-----------
    mports/net/GeoIP:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/net/Makefile,v
retrieving revision 1.65
retrieving revision 1.66
diff -L net/Makefile -L net/Makefile -u -r1.65 -r1.66
--- net/Makefile
+++ net/Makefile
@@ -4,6 +4,7 @@
     COMMENT = Networking tools
 
     SUBDIR += 44bsd-rdist
+    SUBDIR += GeoIP
     SUBDIR += avahi
     SUBDIR += avahi-autoipd
     SUBDIR += avahi-app
--- /dev/null
+++ net/GeoIP/pkg-descr
@@ -0,0 +1,11 @@
+GeoIP is a C library that enables the user to find the country that any
+IP address or hostname originates from.  It uses a file based database
+that is accurate as of March 2002.  This database simply contains IP blocks
+as keys, and countries as values.  This database should be more complete and
+accurate than using reverse DNS lookups.
+
+This module can be used to automatically select the geographically closest
+mirror, to analyze your web server logs to determine the countries of your
+visitors, for credit card fraud detection, and for software export controls.
+
+WWW: http://www.maxmind.com/geoip/
--- /dev/null
+++ net/GeoIP/pkg-plist
@@ -0,0 +1,17 @@
+bin/geoiplookup
+bin/geoipupdate
+ at unexec if cmp -s %D/etc/GeoIP.conf %D/etc/GeoIP.conf.default; then rm -f %D/etc/GeoIP.conf; fi
+etc/GeoIP.conf.default
+include/GeoIP.h
+include/GeoIPCity.h
+include/GeoIPUpdate.h
+lib/libGeoIP.a
+lib/libGeoIP.la
+lib/libGeoIP.so
+lib/libGeoIP.so.5
+lib/libGeoIPUpdate.a
+lib/libGeoIPUpdate.la
+lib/libGeoIPUpdate.so
+lib/libGeoIPUpdate.so.0
+%%DATADIR%%/GeoIP.dat
+ at dirrmtry %%DATADIR%%
--- /dev/null
+++ net/GeoIP/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for:	GeoIP
+# Date created:				May 17 2008
+# Whom:	      				Lucas Holt <luke at MidnightBSD.org>
+#
+# $MidnightBSD: mports/net/GeoIP/Makefile,v 1.1 2008/05/18 18:41:55 laffer1 Exp $
+#
+
+PORTNAME=	GeoIP
+PORTVERSION=	1.4.4
+CATEGORIES=	net geography
+MASTER_SITES=	http://www.maxmind.com/download/geoip/api/c/
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Find the country that any IP address or hostname originates from
+LICENSE=	gpl2
+# lgpl 2.1 but has a few gpl2 files
+
+USE_GNOME=	gnometarget
+USE_AUTOTOOLS=	libtool:15
+USE_LDCONFIG=	yes
+
+MAN1=		geoiplookup.1 geoipupdate.1
+
+.include <bsd.port.mk>
--- /dev/null
+++ net/GeoIP/distinfo
@@ -0,0 +1,3 @@
+MD5 (GeoIP-1.4.4.tar.gz) = 27c1320e41e67b9ddcf4118e4eaccd1d
+SHA256 (GeoIP-1.4.4.tar.gz) = a5b2ee9298eaf8c160ccab5b3e2ecc1c38cf67d9dd4e97419427f89d08cfb78e
+SIZE (GeoIP-1.4.4.tar.gz) = 944698


More information about the Midnightbsd-cvs mailing list