svn commit: r349378 - in head/ftp: . proftpd-mod_geoip

Martin Matuska mm at FreeBSD.org
Thu Mar 27 23:52:22 UTC 2014


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 at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	mod_geoip
+DISTVERSION=	0.3
+PORTREVISION=	0
+CATEGORIES=	ftp
+PKGNAMEPREFIX=	proftpd-
+
+MAINTAINER=	mm at 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


More information about the svn-ports-all mailing list