diff --git a/lib/libpam/pam.d/Makefile b/lib/libpam/pam.d/Makefile --- a/lib/libpam/pam.d/Makefile +++ b/lib/libpam/pam.d/Makefile @@ -22,18 +22,15 @@ .if ${MK_AT} != "no" CONFGROUPS+= AT -AT+= atrun +AT+= atrun ATPACKAGE+= at .endif .if ${MK_FTP} != "no" CONFGROUPS+= FTP -FTP+= ftpd -FTPPACKAGE= ftp - -LINKMODE= ${CONFMODE} -afterinstallconfig: - ${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}${CONFDIR}/ftpd ${DESTDIR}${CONFDIR}/ftp +FTP+= ftp ftpd +# Do not put these in the ftp package, since ports also use them. +FTPPACKAGE= runtime .endif .include diff --git a/lib/libpam/pam.d/ftp b/lib/libpam/pam.d/ftp new file mode 100644 --- /dev/null +++ b/lib/libpam/pam.d/ftp @@ -0,0 +1,13 @@ +# +# PAM configuration for the "ftp" service. This is not used by the FreeBSD +# ftpd(8), but is provided for compatibility with FTP servers from ports. +# + +# auth +auth include ftpd + +# account +account include ftpd + +# session +session include ftpd