summaryrefslogtreecommitdiff
path: root/net/proftpd
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2006-02-13 09:16:05 +0000
committermartti <martti@pkgsrc.org>2006-02-13 09:16:05 +0000
commit6de130113276e899f8c88ee90acdc8cc7d1c36dd (patch)
treef17b3bae00647b247bb3cb13b543c205698f6b41 /net/proftpd
parentd05f0f86dc712f8b45dba4a471c908d0930135c2 (diff)
downloadpkgsrc-6de130113276e899f8c88ee90acdc8cc7d1c36dd.tar.gz
Fix settings for quota. From Ondej Tma in a private mail.
Diffstat (limited to 'net/proftpd')
-rw-r--r--net/proftpd/options.mk16
1 files changed, 14 insertions, 2 deletions
diff --git a/net/proftpd/options.mk b/net/proftpd/options.mk
index b862219dc2c..5d15e36118e 100644
--- a/net/proftpd/options.mk
+++ b/net/proftpd/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2005/11/25 17:20:10 martti Exp $
+# $NetBSD: options.mk,v 1.5 2006/02/13 09:16:05 martti Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.proftpd
@@ -20,7 +20,19 @@ MODULES:= ${MODULES}:mod_wrap
.endif
.if !empty(PKG_OPTIONS:Mquota)
-MODULES:= ${MODULES}:mod_quota
+MODULES:= ${MODULES}:mod_quotatab:mod_quotatab_file
+.endif
+
+.if !empty(PKG_OPTIONS:Mquota) && !empty(PKG_OPTIONS:Mmysql)
+MODULES:= ${MODULES}:mod_quotatab_sql
+.endif
+
+.if !empty(PKG_OPTIONS:Mquota) && !empty(PKG_OPTIONS:Mpgsql)
+MODULES:= ${MODULES}:mod_quotatab_sql
+.endif
+
+.if !empty(PKG_OPTIONS:Mquota) && !empty(PKG_OPTIONS:Mldap)
+MODULES:= ${MODULES}:mod_quotatab_ldap
.endif
.if !empty(PKG_OPTIONS:Mldap)