diff options
author | wiedi <wiedi> | 2015-09-25 10:01:36 +0000 |
---|---|---|
committer | wiedi <wiedi> | 2015-09-25 10:01:36 +0000 |
commit | baed57364bc73c1e2fcb0accd879fa51368cac47 (patch) | |
tree | 848f69956d8ae334c79daf2c0a9f46ed79d505c5 /net/proftpd-geoip | |
parent | 4f80667a203add93293de3f7cf3e90fe56bea450 (diff) | |
download | pkgsrc-baed57364bc73c1e2fcb0accd879fa51368cac47.tar.gz |
Package ProFTPD using DSO (Dynamic Shared Objects) support.
This is preferable for binary package use as it allowes the user to choose
which features to enable by changeing the configuration file instead of
recompiling. This is also how ProFTPD is usually packaged in other systems.
For details about ProFTPD and DSO see:
http://www.proftpd.org/docs/howto/DSO.html
This change removes the following PKG_OPTIONS.proftpd:
ban, ldap, mysql, pgsql, proftpd-readme, quota, tls and wrap
The modules that were previously compiled when enabling ban, proftpd-readme,
quota or tls are now always included. To load them use a configuration
directive like:
LoadModule mod_ban.c
In addition the proftpd package includes by default many other modules that
were previously unavailble like: mod_load, mod_radius, mod_sftp and more.
The module that was provided by the wrap option is replaced by the wrap2 module
which is also always included.
The ldap option is superseded by the proftpd-ldap package.
The mysql option is superseded by the proftpd-mysql package.
The pgsql option is superseded by the proftpd-postgresql package.
Using proftpd-postgresql will create one binary package for each PostgreSQL
version in pkgsrc.
In addition the following added packages provide new functionality:
- proftpd-geoip (access GeoIP details)
- proftpd-memcached (mod_memcache and mod_tls_memcache)
- proftpd-odbc (access any ODBC database)
- proftpd-sqlite (access to sqlite3)
Diffstat (limited to 'net/proftpd-geoip')
-rw-r--r-- | net/proftpd-geoip/DESCR | 5 | ||||
-rw-r--r-- | net/proftpd-geoip/Makefile | 12 | ||||
-rw-r--r-- | net/proftpd-geoip/PLIST | 2 |
3 files changed, 19 insertions, 0 deletions
diff --git a/net/proftpd-geoip/DESCR b/net/proftpd-geoip/DESCR new file mode 100644 index 00000000000..5f123ba728d --- /dev/null +++ b/net/proftpd-geoip/DESCR @@ -0,0 +1,5 @@ +The ProFTPD mod_geoip module allows sites to quickly look up geolocation +information such as country, continent, region, timezone, etc based on +the connecting client's IP address. This information can be logged for +tracking purposes, and used to configure access controls in order to +reduce/prevent connections from locations unauthorized by site policy. diff --git a/net/proftpd-geoip/Makefile b/net/proftpd-geoip/Makefile new file mode 100644 index 00000000000..207a49f1e76 --- /dev/null +++ b/net/proftpd-geoip/Makefile @@ -0,0 +1,12 @@ +# $NetBSD: Makefile,v 1.1 2015/09/25 10:01:36 wiedi Exp $ + +.include "../../net/proftpd/Makefile.module" + +PROFTPD_MOD= geoip +PKGNAME= ${DISTNAME:S/proftpd/proftpd-${PROFTPD_MOD}/} +COMMENT= Geolocation module for proftpd + +CONFIGURE_ARGS+= --with-shared=mod_geoip + +.include "../../net/GeoIP/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/proftpd-geoip/PLIST b/net/proftpd-geoip/PLIST new file mode 100644 index 00000000000..8b1c8c4d889 --- /dev/null +++ b/net/proftpd-geoip/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2015/09/25 10:01:36 wiedi Exp $ +libexec/proftpd/mod_geoip.la |