20090529

busybox status on GNU/kFreeBSD

To build busybox on GNU/kFreeBSD you have to apply some patches and disable some config options.


Patches to apply:
-applied upstream
-to build with CONFIG_INIT enabled (a bit hackish and to test)
-to build free (waiting for "struct sysinfo" and "sysinfo(struct sysinfo*)")
-domainname workaround
-SO_BINDTODEVICE workaround
-to build with CONFIG_SWAPONOFF enabled
-part 1
-part 2 (waiting for "struct sysinfo" and "sysinfo(struct sysinfo*)")
-to build with CONFIG_MOUNT and CONFIG_UMOUNT enabled (a bit hackish)


Config options to disable:
-as commented text file
-as patch

Please tell me if you manage to build busybox on GNU/kFreeBSD with some of these config options enabled.



Update 20090529:
CONFIG_CTTYHACK builds without further patches needed.

Update 2 20090529:
CONFIG_SWAPONOFF builds with linked patch.

Update 20090604:
Link CONFIG_MOUNT and CONFIG_UMOUNT related patches.

Update 2 20090604:
Consider that (now) RB_HALT_SYSTEM and RB_POWER_OFF is defined on Debian GNU/kFreeBSD, and link an updated patch.
Split and comment some patches in the list.

Update 20090714:
I copied all these patches to d-i svn, and I'm cleaning them.
Please use those in d-i svn because in the next weeks I hope to fix syslog there.