想讓 proftpd 支援 mysql
但 FreeBSD ports 裡的 proftpd 沒有直接支援
所以要加上這些
./configure --localstatedir=/var/run --libexecdir=/usr/local/libexec/proftpd \ --with-pkgconfig=libdata/pkgconfig --sysconfdir=/usr/local/etc \ --enable-ctrls --enable-dso --disable-sendfile --disable-ipv6 --enable-nls \ --enable-pcre --disable-memcache --with-shared=mod_ban:mod_copy: mod_ctrls_admin:mod_deflate:mod_dynmasq:mod_exec:mod_ifsession:\ mod_ifversion:mod_qos:mod_quotatab:mod_quotatab_file:\ mod_quotatab_radius:mod_quotatab_sql:mod_radius:mod_ratio:\ mod_readme:mod_rewrite:mod_sftp:mod_sftp_pam:mod_sftp_sql:\ mod_shaper:mod_site_misc:mod_sql:mod_sql_mysql:mod_sql_passwd:\ mod_tls:mod_tls_shmcache:mod_unique_id:mod_wrap2:mod_wrap2_file:\ mod_wrap2_sql --with-includes=/usr/local/include \ --with-libraries=/usr/local/lib --prefix=/usr/local --mandir=/usr/local/man \ --infodir=/usr/local/info/ --build=amd64-portbld-freebsd9.1 |
compile proftpd on FreeBSD