On 01/11/2016 08:01, DJ Lucas wrote: > > > On 11/01/2016 01:37 AM, Wayne Blaszczyk wrote: >> The following command fails: >> install -vdm755 lib/mk-ca-bundle.pl /usr/bin >> The -d option needs to be dropped. > > Oops. Flying fingers. :-) >> >> Given that curl has ca-certs as a recommended dependency, we now have a >> circular dependency. >> Does this mean that curl needs to be built twice? or is the ca-certs really >> a post dependency? >> > > Actually, it's only a runtime dependency, but I forgot to add that. > > Both are fixed at next render. > > Thanks Wayne. > > --DJ >
As far as I understand, Perl LWP is required for make-ca-bundle.pl, which is included in curl package, but otherwise, make-ca-bundle.pl and Perl LWP are not needed for curl. Strictly speaking, Perl LWP is therefore a dependency of curl, but is not used by curl... I would say that mixture between CA-certificates retrieval and curl library is all but KISS. So why not separate things: - on CA-certificates page: put the curl tarball as additional download for CA-certificates, give instruction to install make-ca-bundle.pl from that package, and mention the Perl LWP dep. - on the curl page: remove the make-ca-bundle.pl installation (but keep the cacerts as recommended at runtime). Thoughts? Pierre PS : I do not really like the idea of having Perl LWP as a dep for cacerts. Isn't it possible to modify the script to only use standard perl modules (or script in another language)? -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
