Debian GNU/Kfreebsd

Debian GNU/Kfreebsd

Debian GNU/kFreeBSD Aurelien Jarno Debian GNU/kFreeBSD What ? Why ? Status Architectures Aurelien Jarno Toolchain Integration in Debian [email protected] Available packages Missing packages Infrastructure FOSDEM The future How to help ? Trying it 26/02/2006 As a Debian maintainer Portable packaging Portable programs Additional information What is Debian GNU/kFreeBSD ? Debian GNU/kFreeBSD Aurelien Jarno Debian port What ? Why ? FreeBSD kernel (kFreeBSD for short) Status kFreeBSD 5.4 Architectures experimental version of kFreeBSD 6.0 Toolchain Integration in Debian Available packages GNU userland Missing packages Infrastructure GNU libc The future Cool Debian tools (dpkg, apt, . .) How to help ? Trying it As a Debian maintainer Portable packaging Portable programs Additional A Gentoo port has been started recently. information Why would you prefer Debian GNU/kFreeBSD to GNU/Linux ? Debian GNU/kFreeBSD Aurelien Jarno What ? Because you like the FreeBSD kernel Why ? Jails Status UFS 2+ Architectures Toolchain IPv6 statefull firewalling Integration in Debian Available packages Stable kernel API Missing packages Infrastructure Better or worse device support The future To add diversity among your machines How to help ? Trying it To be able to run FreeBSD and Linux binaries As a Debian maintainer Portable packaging Debian is the ”universal OS” Portable programs Additional information Why would you prefer Debian GNU/kFreeBSD to FreeBSD ? Debian GNU/kFreeBSD Aurelien Jarno What ? Why ? Because you don’t like FreeBSD ports system (or just Status because you like the Debian package system :-) Architectures Toolchain Because you prefer the GNU userland to the BSD one Integration in Debian Available packages Missing packages ext2fs, reiserfs, upcoming xfs and upcoming Xbox Infrastructure ethernet drivers enabled by default (GPL contaminated The future kernel) How to help ? Trying it As a Debian 100% free system according to the DFSG maintainer Portable packaging Portable programs Additional information Supported architectures Debian GNU/kFreeBSD Aurelien Jarno What ? Why ? Status Currently x86 only (kfreebsd-i386.deb) Architectures Toolchain Integration in Debian An alpha port of the GNU libc has existed. Available packages Missing packages An AMD64 port is underway. The toolchain is ported, Infrastructure The future but there are still bugs to fix. How to help ? Trying it As a Debian maintainer Portable packaging Portable programs Additional information Status of the toolchain Debian GNU/kFreeBSD Aurelien Jarno GCC What ? Support in upstream, except for Ada Why ? Support all languages but Java Status Version 3.3, 3.4, 4.0 and 4.1 are available Architectures Toolchain Binutils Integration in Debian Available packages Support in upstream Missing packages Infrastructure GNU libc The future GNU libc ported by Bruno Haible in 2002 How to help ? Trying it Not yet integrated in upstream, set of patches As a Debian maintainer Patches to remove ”linuxisms” are being merged Portable packaging Portable programs Sysdeps/ directory will go to glibc-ports Additional Uses linuxthreads (how about the future ?) information Integration in Debian Debian GNU/kFreeBSD Aurelien Jarno What ? Follows unstable and experimental Why ? ”unreleased” repository for patched packages Status Architectures 77% of the packages have been ported (4700 source Toolchain Integration in Debian Available packages packages) Missing packages Infrastructure The most advanced Debian non-Linux port The future popcon.debian.org shows 17 machines How to help ? Trying it A few machines using it in production (web server, As a Debian maintainer Portable packaging database) Portable programs Additional information Some available packages Debian GNU/kFreeBSD Aurelien Jarno Xorg, KDE 3.5, most parts of Gnome, WindowMaker, What ? ... Why ? Status Apache, PHP, MySQL, Postgresql, Samba. Architectures Toolchain Abiword, KOffice, The Gimp, . Integration in Debian Available packages Missing packages Frozen Bubble, GTetrinet, Pingus, . Infrastructure The future Totem, Kaffeine, XMMS, . How to help ? Trying it As a Debian maintainer Portable packaging MPlayer (not a Debian package) also works out of the Portable programs box Additional information Some missing packages Debian GNU/kFreeBSD Aurelien Jarno What ? Why ? Status Architectures Gecko based browsers Toolchain Integration in Debian Available packages Mozilla Thunderbird Missing packages Infrastructure Openoffice.org The future How to help ? Trying it As a Debian maintainer Portable packaging Portable programs Additional information Infrastructure Debian GNU/kFreeBSD Aurelien Jarno What ? Why ? Primary mirror (ftp.gnuab.org) + a few mirrors Status Architectures Packages are searchable on http ://pdo.debian.net Toolchain Integration in Debian 2 autobuilders Available packages Missing packages Infrastructure Build status on http ://buildd.net The future Build logs on http ://experimental.ftbs.de How to help ? Trying it Developer accessible machine (io.debian.net) As a Debian maintainer Portable packaging Portable programs Additional information The future Debian GNU/kFreeBSD Aurelien Jarno What ? Reach 95% of source packages built Why ? Port integrated into the archive Status Architectures Toolchain Release architecture Integration in Debian Available packages Debian installer (currently it uses the FreeBSD installer) Missing packages Infrastructure Other architectures The future How to help ? Trying it As a Debian maintainer We need help ! Portable packaging Portable programs Additional information How to try it ? Debian GNU/kFreeBSD Aurelien Jarno What ? Installing it http ://glibc-bsd.alioth.debian.org/install Why ? Status LiveCD Architectures Toolchain http ://ftp.gnuab.org/pub/ging/ Integration in Debian Available packages Debian Developer machine Missing packages Infrastructure http ://io.debian.net/ssh.html The future How to help ? Trying it As a Debian maintainer Report bugs, and tell friends about it ! Portable packaging Portable programs Additional information How to help as a Debian maintainer Debian GNU/kFreeBSD Aurelien Jarno Try to build your packages on io.debian.net What ? Try to port them Why ? Out of date config.guess and config.sub Status Architectures Out of date libtool Toolchain Integration in Debian http ://glibc-bsd.alioth.debian.org/PORTING Available packages Missing packages FreeBSD CVS Infrastructure The future Don’t ignore our patches sent to the BTS How to help ? Trying it As a Debian maintainer Portable packaging Our policy is to send a bug report only when we have a Portable programs patch. Additional information A few tricks for portable packages Debian GNU/kFreeBSD Aurelien Jarno What ? Don’t suppose a GNU/Linux system : Why ? ./configure --host=‘dpkg Status --print-architecture‘-linux Architectures Toolchain but Integration in Debian Available packages ./configure --host=‘dpkg-architecture Missing packages Infrastructure -qDEB HOST GNU TYPE‘ The future Don’t build depends on libc6-dev ! The glibc How to help ? Trying it development package is libc0.1-dev As a Debian maintainer Don’t build depends on linux-kernel-headers if you Portable packaging Portable programs don’t need kernel headers Additional information A few tricks for portable packages (2) Debian GNU/kFreeBSD Aurelien Jarno If your package supports Linux specific stuff (alsa, hal, . ), enable them for GNU/Linux only : What ? DEB HOST ARCH OS := $(shell dpkg-architecture Why ? -qDEB HOST ARCH OS) Status Architectures ifeq (linux,$(DEB HOST ARCH OS)) Toolchain Integration in Debian linux specific stuff Available packages Missing packages endif Infrastructure The future Build-depends : field such as [linux-any], How to help ? [any-i386] will be available soon Trying it As a Debian maintainer Use DEB HOST ARCH CPU to test for a specific CPU, not Portable packaging Portable programs DEB HOST ARCH Additional information For x86 packages, add kfreebsd-i386 to the Architecture : field. Writing portable programs Debian GNU/kFreeBSD Aurelien Jarno What ? Avoid Linux specific functions when possible Why ? Status Provide a way to bootstrap compilers Architectures Toolchain Kernel != userland Integration in Debian Available packages Missing packages Use autotools instead of #ifdef (use a recent version) Infrastructure The future FreeBSD = plain FreeBSD system (kernel + How to help ? userland) Trying it As a Debian FreeBSD kernel = FreeBSD kernel only maintainer Portable packaging Portable programs Additional information Better solution : #ifdef GLIBC #include <endian.h> #elif FreeBSD #include <sys/endian.h> #error "Unknown system" #endif Best solution : use autotools ! Writing portable programs (2) Debian GNU/kFreeBSD Wrong solution : Aurelien Jarno #ifdef linux What ? #include <endian.h> Why ? #elif FreeBSD Status #include <sys/endian.h> Architectures Toolchain #error "Unknown system" Integration in Debian Available packages #endif Missing packages Infrastructure The future How to help ? Trying it As a Debian maintainer Portable packaging Portable programs Additional information Best solution : use autotools ! Writing portable programs (2) Debian GNU/kFreeBSD Wrong solution : Aurelien Jarno #ifdef linux What ? #include <endian.h> Why ? #elif FreeBSD Status #include <sys/endian.h> Architectures Toolchain #error "Unknown system" Integration in Debian Available packages #endif Missing packages Infrastructure Better solution : The future #ifdef GLIBC How to help ? Trying it #include <endian.h> As a Debian maintainer #elif FreeBSD Portable packaging Portable programs #include

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    24 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us