Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2014 23:52:21 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349378 - in head/ftp: . proftpd-mod_geoip
Message-ID:  <201403272352.s2RNqLHg051918@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mm
Date: Thu Mar 27 23:52:21 2014
New Revision: 349378
URL: http://svnweb.freebsd.org/changeset/ports/349378
QAT: https://qat.redports.org/buildarchive/r349378/

Log:
  The ProFTPd mod_geoip module uses the GeoIP library from MaxMind to look up
  various geographic information for a connecting client.
  
  WWW: http://www.castaglia.org/proftpd/modules/mod_geoip.html

Added:
  head/ftp/proftpd-mod_geoip/
  head/ftp/proftpd-mod_geoip/Makefile   (contents, props changed)
  head/ftp/proftpd-mod_geoip/pkg-descr   (contents, props changed)
Modified:
  head/ftp/Makefile

Modified: head/ftp/Makefile
==============================================================================
--- head/ftp/Makefile	Thu Mar 27 23:49:21 2014	(r349377)
+++ head/ftp/Makefile	Thu Mar 27 23:52:21 2014	(r349378)
@@ -73,6 +73,7 @@
     SUBDIR += phpwebftp
     SUBDIR += plasma-applet-ftpmonitor
     SUBDIR += proftpd
+    SUBDIR += proftpd-mod_geoip
     SUBDIR += profxp
     SUBDIR += puf
     SUBDIR += pure-ftpd

Added: head/ftp/proftpd-mod_geoip/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ftp/proftpd-mod_geoip/Makefile	Thu Mar 27 23:52:21 2014	(r349378)
@@ -0,0 +1,34 @@
+# Created by: Martin Matuska <mm@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	mod_geoip
+DISTVERSION=	0.3
+PORTREVISION=	0
+CATEGORIES=	ftp
+PKGNAMEPREFIX=	proftpd-
+
+MAINTAINER=	mm@FreeBSD.org
+COMMENT=	GeoIP ProFTPD module
+
+LICENSE=	GPLv2
+
+DESCR=		${.CURDIR}/pkg-descr
+
+LATEST_LINK=	${PKGNAMEPREFIX}-${PORTNAME}
+MASTERDIR=	${.CURDIR}/../../ftp/proftpd
+
+LIB_DEPENDS=	GeoIP.5:${PORTSDIR}/net/GeoIP
+
+_PROFTPD_MODULE_DISTFILES=	proftpd-mod-geoip-${DISTVERSION}${EXTRACT_SUFX}:mod_geoip
+_PROFTPD_MODULE_EXTRACT_ONLY=   proftpd-mod-geoip-${DISTVERSION}${EXTRACT_SUFX}
+_PROFTPD_MODULE_MASTER_SITES=   http://www.castaglia.org/proftpd/modules/:mod_geoip
+
+INCLUDEDIRS=	${LOCALBASE}/include
+LIBDIRS=	${LOCALBASE}/lib
+
+_BUILDING_PROFTPD_MODULE=	${PORTNAME}
+
+post-extract:
+	@${CP} ${WRKDIR}/mod_geoip/mod_geoip.c ${WRKSRC}/contrib
+
+.include "${MASTERDIR}/Makefile"

Added: head/ftp/proftpd-mod_geoip/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ftp/proftpd-mod_geoip/pkg-descr	Thu Mar 27 23:52:21 2014	(r349378)
@@ -0,0 +1,4 @@
+The ProFTPd mod_geoip module uses the GeoIP library from MaxMind to look up
+various geographic information for a connecting client.
+
+WWW: http://www.castaglia.org/proftpd/modules/mod_geoip.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403272352.s2RNqLHg051918>