[BusyBox-cvs] [BusyBox 0000395]: GNU/kFreeBSD support

bugs at busybox.net bugs at busybox.net
Sat Aug 27 21:29:07 UTC 2005


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=395 
====================================================================== 
Reported By:                rmh
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   395
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             08-21-2005 11:21 PDT
Last Modified:              08-27-2005 14:29 PDT
====================================================================== 
Summary:                    GNU/kFreeBSD support
Description: 
Here's a patch that ports (most of) busybox to GNU/kFreeBSD.  Almost all
the portable stuff is fixed by the patch.  There are some Linux-specific
commands and kernel call stubs that were switched out.

====================================================================== 

---------------------------------------------------------------------- 
 vapier - 08-25-05 22:49  
---------------------------------------------------------------------- 
umm, there has never been a configure.ac in busybox, so i dont know busybox
version your patch is against 

---------------------------------------------------------------------- 
 rmh - 08-27-05 03:05  
---------------------------------------------------------------------- 
Sorry, I assumed the Debian packaged version of busybox was similar
enough.

I'm attaching a fixed patch.  I've adapted it for current SVN and verified
that it still works. 

---------------------------------------------------------------------- 
 vapier - 08-27-05 11:22  
---------------------------------------------------------------------- 
ive committed the libbb/syscalls.c and procps/top.c and procps/uptime.c
changes ... please note that our syntax rules use tabs for indenting, not
spaces

the Makefile refactoring i dont really like ... i think this is something
we need to think through and design -> start a thread on the busybox
mailing list

also, all the ugly ifdef's for linux/bsd/whatever is something we dont
want either ... this falls under the rewrite landley has been tossing
around lately to hide all the ugly os/libc details in a single header file 

---------------------------------------------------------------------- 
 rmh - 08-27-05 14:29  
---------------------------------------------------------------------- 
> ive committed the libbb/syscalls.c and procps/top.c and procps/uptime.c
changes ... please note that our syntax rules use tabs for indenting, not
spaces

Sorry about that, I'll be more careful (my editor has an horrid tendency
to break tabs into spaces silently).

> the Makefile refactoring i dont really like ... i think this is
something we need to think through and design -> start a thread on the
busybox mailing list

Ok.

> also, all the ugly ifdef's for linux/bsd/whatever is something we dont
want either ... this falls under the rewrite landley has been tossing
around lately to hide all the ugly os/libc details in a single header
file

What about the sysdeps/gnu-kfreebsd/ dir?  Is this ok for committing? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-21-05 11:21  rmh            New Issue                                    
08-21-05 11:21  rmh            Status                   new => assigned     
08-21-05 11:21  rmh            Assigned To               => BusyBox         
08-21-05 11:21  rmh            File Added: gnu-kfreebsd.diff                    
08-25-05 22:49  vapier         Note Added: 0000435                          
08-27-05 03:03  rmh            File Added: kfreebsd-gnu.diff                    
08-27-05 03:05  rmh            Note Added: 0000439                          
08-27-05 11:22  vapier         Note Added: 0000442                          
08-27-05 14:29  rmh            Note Added: 0000443                          
======================================================================




More information about the busybox-cvs mailing list