インストールメモ。
-
portsから。
cd /usr/ports/ftp/proftpd make install clean
オプションは次のようにした。(よくわからないのでテキトー。)
BAN=off "Include mod_ban (requires CTRLS)" COPY=on "Include mod_copy" CLAMAV=off "Include mod_clamav" CTRLS=on "Enable controls via ftpdctl" CTRLS_ADMIN=off "Include mod_ctrls_admin (requires CTRLS)" DEFLATE=on "Include mod_deflate" DYNMASQ=off "Include mod_dynmasq" EXEC=off "Include mod_exec" HTMLDOCS=off "Include HTML documentation" IFSESSION=on "Include mod_ifsession" IFVERSION=on "Include mod_ifversion" IPV6=on "Support IPv6" LDAP=off "Include mod_ldap" LDAP_TLS=off "TLS for mod_ldap (requires LDAP, TLS)" MEMCACHE=off "Include mod_memcache" NLS=on "Use nls (builds mod_lang)" ODBC=off "Include mod_sql_odbc (requires SQL)" PCRE=on "Use pcre for regular expressions" QOS=off "Include mod_qos" QUOTATAB=on "Include mod_quotatab" QUOTATAB_FILE=on "Include mod_quotatab_file" QUOTATAB_LDAP=off "Include mod_quotatab_ldap (requires LDAP)" QUOTATAB_SQL=on "Include mod_quotatab_sql (requires SQL)" QUOTATAB_RADIUS=off "Include mod_quotatab_radius" SFTP=on "Include mod_sftp" SFTP_SQL=off "Include mod_sftp_sql (requires SFTP, SQL)" SFTP_PAM=off "Include mod_sftp_pam (requires SFTP)" SITE_MISC=on "Include mod_site_misc" SHAPER=off "Include mod_shaper (requires CTRLS)" SQL=on "Include mod_sql" SQL_PASSWD=off "Include mod_sql_passwd (requires SQL)" SQLITE=off "Include mod_sql_sqlite (requires SQL)" RADIUS=on "Include mod_radius" RATIO=on "Include mod_ratio" README=on "Include mod_readme" REWRITE=on "Include mod_rewrite" TLS=on "Include mod_tls" TLS_MEMCACHE=off "mod_tls_memcache (requires MEMCACHE)" TLS_SHMCACHE=off "TLS SHM session cache (requires TLS)" TDS=off "Include mod_sql_tds (requires SQL)" UNIQUE=off "Include mod_unique_id" WRAP=on "Include mod_wrap2" WRAP_FILE=off "Include mod_wrap2_file (requires WRAP)" WRAP_SQL=off "Include mod_wrap2_sql (requires SQL, WRAP)"
-
/usr/local/etc/proftpd.confを開き、次の行を編集する。
ServerName "primary.paix.jp" ServerIdent off
-
/etc/rc.confに次の行を追加。
proftpd_enable="YES"
-
proftpdを起動。
/usr/local/etc/rc.d/proftpd onestart