summaryrefslogtreecommitdiff
path: root/net/proftpd-mysql
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2015-09-25 10:01:36 +0000
committerwiedi <wiedi@pkgsrc.org>2015-09-25 10:01:36 +0000
commit180c244150cd36da3e4d67d54e7093caf4222ff9 (patch)
tree848f69956d8ae334c79daf2c0a9f46ed79d505c5 /net/proftpd-mysql
parent87af02b4b3be70992e3a1deb874333c572cf5141 (diff)
downloadpkgsrc-180c244150cd36da3e4d67d54e7093caf4222ff9.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-mysql')
-rw-r--r--net/proftpd-mysql/DESCR2
-rw-r--r--net/proftpd-mysql/Makefile12
-rw-r--r--net/proftpd-mysql/PLIST2
3 files changed, 16 insertions, 0 deletions
diff --git a/net/proftpd-mysql/DESCR b/net/proftpd-mysql/DESCR
new file mode 100644
index 00000000000..3c6b1d69997
--- /dev/null
+++ b/net/proftpd-mysql/DESCR
@@ -0,0 +1,2 @@
+ProFTPD module that provides the MySQL (and compatible) backend for SQL
+database authentication.
diff --git a/net/proftpd-mysql/Makefile b/net/proftpd-mysql/Makefile
new file mode 100644
index 00000000000..84a7236a94e
--- /dev/null
+++ b/net/proftpd-mysql/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= mysql
+PKGNAME= ${DISTNAME:S/proftpd/proftpd-${PROFTPD_MOD}/}
+COMMENT= MySQL module for proftpd
+
+CONFIGURE_ARGS+= --with-shared=mod_sql_mysql
+
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/proftpd-mysql/PLIST b/net/proftpd-mysql/PLIST
new file mode 100644
index 00000000000..ae76d6f8ab5
--- /dev/null
+++ b/net/proftpd-mysql/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2015/09/25 10:01:36 wiedi Exp $
+libexec/proftpd/mod_sql_mysql.la