i have both USE-flags in my make.conf. when i now emerge proftpd only the mod_quotatab_sql is build and not both mod_quotatab_ldap.c and mod_quotatab_sql.c. so i changed the ebuild a little bit. i divided the if-then thing in softquota to build these modules depending on USE-flags. all work fine with both. i need both to switch without delay to my new ldap-user-management, so i can test the configuration while only commenting out some lines in proftpd.conf. i think this ebuild should be corrected to support both. Reproducible: Always Steps to Reproduce: 1. with original ebuild USE="-debug -hardened +ipv6 +ldap +mysql +pam -postgres (-selinux) +sendfile +shaper +softquota +ssl +tcpd" proftpd 2. proftpd -l shows: Compiled-in modules: mod_core.c mod_xfer.c mod_auth_unix.c mod_auth_file.c mod_auth.c mod_ls.c mod_log.c mod_site.c mod_ctrls.c mod_ratio.c mod_readme.c mod_delay.c mod_auth_pam.c mod_wrap.c mod_shaper.c mod_ldap.c mod_tls.c mod_sql.c mod_sql_mysql.c mod_quotatab.c mod_quotatab_sql.c mod_cap.c 3. with changed ebuild USE="-debug -hardened +ipv6 +ldap +mysql +pam -postgres (-selinux) +sendfile +shaper +softquota +ssl +tcpd" proftpd 4. proftpd -l shows: Compiled-in modules: mod_core.c mod_xfer.c mod_auth_unix.c mod_auth_file.c mod_auth.c mod_ls.c mod_log.c mod_site.c mod_ctrls.c mod_ratio.c mod_readme.c mod_delay.c mod_auth_pam.c mod_wrap.c mod_shaper.c mod_ldap.c mod_tls.c mod_sql.c mod_sql_mysql.c mod_quotatab.c mod_quotatab_sql.c mod_quotatab_file.c mod_quotatab_ldap.c mod_cap.c Expected Results: compile with mysql and ldap quota support
forgot to mention the change from: if use softquota; then modules="${modules}:mod_quotatab" if use mysql || use postgres; then modules="${modules}:mod_quotatab_sql" elif use ldap; then modules="${modules}:mod_quotatab_file:mod_quotatab_ldap" else modules="${modules}:mod_quotatab_file" fi fi to if use softquota; then modules="${modules}:mod_quotatab" if use mysql || use postgres; then modules="${modules}:mod_quotatab_sql" fi if use ldap; then modules="${modules}:mod_quotatab_file:mod_quotatab_ldap" else modules="${modules}:mod_quotatab_file" fi fi
Thanks for the notice, fixed in portage -r3 version