[openbeos] Re: BSD stuff

Hi Axel,

On 2006-08-01 at 12:31:03 [+0200], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
wrote:
> to ease porting of networking apps like ftp (lukemftp from NetBSD/
> FreeBSD to be exact), there is a libbsd.so that comes with BONE.
> There are also headers like arpa/ftp.h, stringlist.h, ...
> 
> How should we handle this?
> - put the headers into legacy/network or have a separate name space for
> bsd stuff?
> - add the stringlist functions to libnetwork.so or rather a separate
> libbsd.so?
> - or only link them with the executable that needs it?
> - and put the headers into some private shared directory?
> 
> I would like to keep them separate from the rest at least.

I vote for a separate libbsd.so and a separate folder for the headers, too 
(headers/compatibility/bsd perhaps?). But why would you put them into the 
private branch? I thought it was to ease porting of bsd-apps? Or were you 
just talking about porting lukemftp in order to distribute it as part of 
haiku?

BTW: do you know of anything that still depends on the legacy subfolder?

cheers,
        Oliver

Other related posts: