diff options
author | mm <mm@FreeBSD.org> | 2014-03-28 07:52:21 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2014-03-28 07:52:21 +0800 |
commit | c86c625d4df2057ba95ae3327fe4bf712e50de27 (patch) | |
tree | e55c00f052ca3605b3c20123833d948ae0fc6461 /ftp/proftpd-mod_geoip | |
parent | d2d7494f2941f2af074ddd6aafa20ffc84893392 (diff) | |
download | freebsd-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/Makefile | 34 | ||||
-rw-r--r-- | ftp/proftpd-mod_geoip/pkg-descr | 4 |
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 |