Difference between revisions of "Base2plan9"

From ArchWiki
Jump to: navigation, search
(unmigrated page, adds conflicts (e.g /bin/mc) with other packages, "anti-GNU sentimenets" and other style issues -> archive)
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The [https://wiki.archlinux.org/index.php/DeveloperWiki:Core-Repository base]2[http://www.archlinux.org/packages/community/x86_64/plan9port/ plan9] project aims to offer drop-in replacements for various central parts of the Arch linux base system.
'''IMPORTANT: Do not expect 100% drop-in replacement and compatibility. Certain utilities may not exist and for those that do, there may be missing options. One purpose of this Wiki is to document missing features and the problems they cause (in order to devise work-arounds). Make sure that the replacement(s) that you install fill your needs before proceeding.'''
#redirect [[ArchWiki:Archive]]
Why change GNU (and other base components) to Plan9(port)?
In contrast to the [https://wiki.archlinux.org/index.php/Base2busybox base2busybox] project, the size gain is not as much of a compelling reason. Other reasons could be:
* an interest and devotion to Plan9 and its post-UNIX ambitions
* anti-GNU sentiments
* out of curiosity
==Supporting binary sources==
Currently, the gnu2plan9 packages need support to offer a drop-in replacement of GNU coreutils. This is at the moment provided by busybox and the [https://wiki.archlinux.org/index.php/Base2heirloom gnu2ucb] Heirloom profile. Ideally, missing functionality should be patched up with projects more closely aligned to Plan9, like [https://aur.archlinux.org/packages.php?ID=15954 Inferno] and [https://aur.archlinux.org/packages.php?ID=48413 Goblin]. The aim is to make the different "base2foo" projects as independent of eachother as possible since the whole point of the projects is to increase choice and diversity. For the base2plan9 project, the first priority is to cover missing functionality and second priority to try to reduce (or ideally remove) the busybox dependency.
==[https://aur.archlinux.org/packages.php?ID=48457 gnu2plan9-coreutils]==
Below is a list of the origin of different utilities in this package.
    cat date dd du echo lc ls mc mkdir rc rm sleep
[http://plan9.bell-labs.com/magic/man2html/1/rc rc], [http://plan9.bell-labs.com/magic/man2html/1/mc mc] and [http://plan9.bell-labs.com/magic/man2html/1/ls lc] are "extras" added to this package which do not exist in GNU coreutils
    basename comm factor fmt join md5sum pr seq
    sha1sum sort split sum tee test wc
'''Custom scripts'''
The following missing functionalities are implemented as [http://plan9.bell-labs.com/magic/man2html/1/rc rc] scripts
    false true
    sha224sum sha256sum sha384sum sha512sum
the sha*sum scripts point to the [https://aur.archlinux.org/packages.php?ID=15942 perl-digest-sha]. Ideally as few external dependencies possible would be nice. Can we use plan9port [http://swtch.com/plan9port/man/man1/sum.html sha1sum] for the other sums too? Ideas welcome.
''ucb binaries''
    chown df install ln stty
''posix2001 binaries''
    csplit expr nl
''s42 binaries''
    cp mv
''posix binaries''
    chmod rmdir
    id nohup od who
''SysV binaries''
    cut mkfifo mknod pwd su sync uname
    cksum dirname env expand fold head logname
    nice paste patchchk printenv printf tsort
    tty unexpand uniq users whoami yes
Busybox is needed for the following utilities:
    readlink [ base64 hostid mktemp stat tac chroot
'''Missing utilities'''
Some utilities are not offered by neither Plan9port, custom scripts, Heirloom nor Busybox.
    dir dircolors shred vdir
    chcon link nproc pinky ptx runcon shuf stdbuf timeout truncate unlink

Latest revision as of 13:44, 27 February 2016

Redirect to: