RetroBSD

2.11BSD operating system for microcontrollers
It is currently Fri Sep 20, 2019 11:49 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Wed Dec 30, 2015 8:48 am 
Contributor
User avatar

Joined: Sun Oct 20, 2013 3:15 am
Posts: 322
I have OpenSSL (libcrypto.a and libssl.a) already building in my tree. We're going to need a crypto library whether or not we like it. LibreSSL is out of the question because LiteBSD is lacking needed syscalls and BoringSSL is not portable.

I'd rather not add the binaries or man pages at first. Would people be disappointed if we don't build the binaries and man pages right away? Having the libraries around is still super useful: we'll get bc(1) and dc(1) right away, plus curl/wget/etc. become options, as does all the software that depends on OpenSSL. And we could move to a newer ftp(1) with https support.

_________________
@__briancallahan on Twitter


Top
 Profile  
 
PostPosted: Wed Dec 30, 2015 9:05 am 
Contributor
User avatar

Joined: Sun Oct 20, 2013 3:15 am
Posts: 322
Yup, dc(1) from FreeBSD compiles immediately.
bc(1) requires some ABI/API changes from LiteBSD. But seems like we can do it easily.

_________________
@__briancallahan on Twitter


Top
 Profile  
 
PostPosted: Thu Dec 31, 2015 6:05 am 
Contributor
User avatar

Joined: Sun Oct 20, 2013 3:15 am
Posts: 322
https://github.com/sergev/LiteBSD/pull/32

_________________
@__briancallahan on Twitter


Top
 Profile  
 
PostPosted: Tue Jan 05, 2016 8:27 am 
Committer
User avatar

Joined: Wed Oct 10, 2012 11:01 pm
Posts: 1081
Location: Sunnyvale, CA
Good: now we have bc working.
I've been wondering: why bc might need libcrypto? It's a huge library. Now I see the reason: it's not a crypto itself, it just needs the lower level functions for big number computations.


Top
 Profile  
 
PostPosted: Tue Jan 05, 2016 3:41 pm 
Contributor
User avatar

Joined: Sun Oct 20, 2013 3:15 am
Posts: 322
We have dc(1), not bc(1) (bc needs an more modern libedit with wchar support)

_________________
@__briancallahan on Twitter


Top
 Profile  
 
PostPosted: Wed Jan 06, 2016 1:49 am 
Contributor
User avatar

Joined: Sun Oct 20, 2013 3:15 am
Posts: 322
But I don't think having libcrypto and libssl around are bad things: it means we can have things like OpenSSH now (and wget/curl or a more modern ftp(1) from OpenBSD or NetBSD).

_________________
@__briancallahan on Twitter


Top
 Profile  
 
PostPosted: Wed Jan 06, 2016 4:20 am 
Committer
User avatar

Joined: Wed Oct 10, 2012 11:01 pm
Posts: 1081
Location: Sunnyvale, CA
Oh yes, dc, not bc (just a typo).

I'm not sure OpenSSH will fit into memory. I tried once to link it statically - it was something about a few megs of code.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron




Powered by phpBB® Forum Software © phpBB Group

BSD Daemon used with permission