aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/proftpd-mod_geoip
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2014-03-28 07:52:21 +0800
committermm <mm@FreeBSD.org>2014-03-28 07:52:21 +0800
commitc86c625d4df2057ba95ae3327fe4bf712e50de27 (patch)
treee55c00f052ca3605b3c20123833d948ae0fc6461 /ftp/proftpd-mod_geoip
parentd2d7494f2941f2af074ddd6aafa20ffc84893392 (diff)
downloadfreebsd-ports-gnome-c86c625d4df2057ba95ae3327fe4bf712e50de27.tar.gz
freebsd-ports-gnome-c86c625d4df2057ba95ae3327fe4bf712e50de27.tar.zst
freebsd-ports-gnome-c86c625d4df2057ba95ae3327fe4bf712e50de27.zip
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
Diffstat (limited to 'ftp/proftpd-mod_geoip')
-rw-r--r--ftp/proftpd-mod_geoip/Makefile34
-rw-r--r--ftp/proftpd-mod_geoip/pkg-descr4
2 files changed, 38 insertions, 0 deletions
diff --git a/ftp/proftpd-mod_geoip/Makefile b/ftp/proftpd-mod_geoip/Makefile
new file mode 100644
index 000000000000..8ed9bfd86436
--- /dev/null
+++ b/ftp/proftpd-mod_geoip/Makefile
@@ -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"
diff --git a/ftp/proftpd-mod_geoip/pkg-descr b/ftp/proftpd-mod_geoip/pkg-descr
new file mode 100644
index 000000000000..a4354929e4c7
--- /dev/null
+++ b/ftp/proftpd-mod_geoip/pkg-descr
@@ -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