I would not say the guide
doesn't work... if I do
Code:
./build proftpd 2>&1 | grep -i sftp -c
I will get 23 matched lines on my CentOS 6. But if I check your output I don't count even a single line with sftp mentioned.
I don't know what you did and what not, but be assured the guide works. I used the guide many times on CentOS and Debian servers, I don't recall whether or not I've tested on any FreeBSD version.... probably the latest was FreeBSD 5.x... too long ago.
So let's start and see what you have in
[FONT="]custom/proftpd/configure.proftpd[/FONT]
If you follow the guide:
1. From the get-go ./build set proftpd yes throws the error: proftpd is not a valid option. At first I thought it was an error, but it really is not a valid option, pureftp=0 or 1 is.
2. As soon as you make the custom/proftpd and run the script to put files in there, you can't compile anymore. You end up with the error:
configure: error: libintl support, required for NLS, not present -- aborting
That's because the original script turns off the NLS when it sees it is FreeBSD. This is a thread
Proftpd update where everyone else with FreeBSD also had the issue, and John and SmTalk discuss it, and while it is the same error, there is not necessarily a solution for this case. A work-around that was suggested by sysdev worked for others, and worked for me too, but as you said, I don't see any evidence if it pulling in mod_sftp, which is also why you see the port 23 test not working.
3. Towards the bottom it throws another error as well:
./build: unsetenv: not found
The areas I have colored are the areas the compiler colored.
Prior to all of this, I upgraded all of the parts of the DA install to the latest, and a build all. The guide does not work with FreeBSD. I since rolled back to the snapshot and can start from scratch again, but it doesn't make sense to just go down the script like last two times because I know that doesn't work. I already tried the method suggested by sysdev that worked for others and me, and while it takes care of the compile issue, it doesn't appear to add in mod_sftp. I may try SmTalk's unproven suggestion next time, and go through the configs as I go, because it cannot be that the scripts are making the right changes or it would work.