On 06/02/2018 01:40 AM, Paul Rogers wrote:
So I was following the book.  It's misleading.  It needs some revisions!

Apparently the external reference in vfs-findlibs.sh dropped out in the 1.1 
version.  I had openssl-1.1 installed, then built 1.0 with the versioning as 
instructed.  Because of the versioning my first attempt at vsftpd couldn't find 
SSL_library_init.  So the book's instructions only work if one installs 1.0 
without versioning as instructed.  The book should say so.

Clearly 1.1 is preferred, so the book's instructions for vsftpd should have the 
fix--I used and recommend just a simple sed rather than the patch.  vsftpd 
should have the choice of one or the other as prereqs and instructions for 
installing either.  And if you want to keep versioning, vsf-findlibs.sh still 
needs to be fixed for it.

Paul,
  Your problem was not clear to me.  I think what you are doing is:

echo "#define VSF_BUILD_SSL" >> builddefs.h
make

We don't normally test with the define as that is not in the mainline instructions, but only in Command Explanations as an optional thing to do.

Can you share the patch for vsftpd that you found?

OTOH, perhaps we should just remove vsftpd from the book. I can't get to the url in the book right now and the last update to the package is dated July 2015. It does not appear to be maintained.

In addition ftp seems to have become be a relatively unused protocol. Uploads would generally be via scp and downloads either scp or http(s). About the only thing I can see using ftp server for is for anonymous uploads and that would be unusual/dangerous. In addition that could be done via http if really needed.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to