From eremin at milax.org Thu Apr 9 06:22:06 2009 From: eremin at milax.org (Alexander) Date: Thu, 09 Apr 2009 17:22:06 +0400 Subject: [busybox-dev] Busybox porting Message-ID: <1239283326.28314.15.camel@sysadm> Hi guys, what's the status of subject? Yesterday I thought about busybox porting, I've compiled very early version and some cmd's works, but have problems with df,mount and e.t.c. Lite versions of some cmd's from /usr/src/cmd is needed probably.. Regards, Alexander Eremin From eremin at milax.org Tue Apr 14 05:53:23 2009 From: eremin at milax.org (Alexander Eremin) Date: Tue, 14 Apr 2009 16:53:23 +0400 Subject: [busybox-dev] Some tests.. Message-ID: <1239713603.1041.16.camel@sysadm> To whom it may interesting - my experience with busybox: http://alexeremin.blogspot.com/2009/04/busybox-on-opensolaris.html -- Best regards, Alexander Eremin From pkchris at users.sourceforge.net Tue Apr 14 08:08:30 2009 From: pkchris at users.sourceforge.net (Chris Pickett) Date: Tue, 14 Apr 2009 17:08:30 +0200 Subject: [busybox-dev] Busybox porting In-Reply-To: <1239283326.28314.15.camel@sysadm> References: <1239283326.28314.15.camel@sysadm> Message-ID: On 4/9/09, Alexander wrote: > Hi guys, > what's the status of subject? Roland wrote his own version of busybox. http://svn.genunix.org/repos/on/branches/ksh93/gisburn/prototype021/usr/src/cmd/ksh/builtins/alias.c is the current switch application and uses commands from libcmd, libsed, libawk and libsolariscmd to run the commands. Chris -- ^---^ (@)v(@) Chris Pickett | / IT consultant ===m==m=== pkchris at users.sourceforge.net From roland.mainz at nrubsig.org Tue Apr 28 08:55:04 2009 From: roland.mainz at nrubsig.org (Roland Mainz) Date: Tue, 28 Apr 2009 17:55:04 +0200 Subject: [busybox-dev] [Annoucement] ksh93-integration update2 2009-04-20 binaries available for download (for Solaris 11 Nevada >= B110+OpenSolaris/Indiana) ... Message-ID: <49F726D8.3B96F2D5@nrubsig.org> Hi! ---- 2009-04-20: ksh93-integration update 2 tarballs for Solaris 11 Nevada+OpenSolaris/Indiana These tarballs ([2]) are intended to be installed over an existing Solaris Nevada/Indiana/OpenSolaris >= B110 i386 or SPARC installation and provide ksh93t+_20090310 and the content described in PSARC/2009/248 ("ksh93 update to 2009-03-10") and PSARC/2009/249 ("more ksh93 command conversions") Note that the binaries are provided for testing and evaluation purposes ONLY. Please report any problems/errors/bugs/comments to the ksh93-integration project bugzilla[5] or the ksh93-integration mailinglist[4] (please subscribe before posting). **** Highlights of this release: - Many bugfixes to ksh93, it's infrastructure and other commands, primarily focussing on stability, improved error checking, performance and fixing support for large, complex variable trees. - The several commands have been updated (or added) and now include common GNU+BSD+AST features, including: /usr/bin/cksum /usr/bin/cmp /usr/bin/comm /usr/bin/cut /usr/bin/head /usr/bin/join /usr/bin/kill /usr/bin/logname /usr/bin/mkfifo /usr/bin/paste /usr/bin/print /usr/bin/rev /usr/bin/sleep /usr/bin/sum /usr/bin/tail /usr/bin/tee /usr/bin/test /usr/bin/uniq /usr/bin/wait /usr/bin/wc /usr/xpg4/bin/tail (the full list of updated commands can be found below) **** Install instructions: *** Basic installation: 1. Download the tarball: + i386/AMD64: http://www.opensolaris.org/os/project/ksh93-integration/downloads/ksh93_integration_20090420_snapshot_i386.tar.bz2 + SPARC: http://www.opensolaris.org/os/project/ksh93-integration/downloads/ksh93_integration_20090420_snapshot_sparc.tar.bz2 2. Verify the MD5 checksum: + i386/AMD64: MD5 (ksh93_integration_20090420_snapshot_i386.tar.bz2)= c5697c5bc5f14bfa6a2c5708ed25e4f2 + SPARC: MD5 (ksh93_integration_20090420_snapshot_sparc.tar.bz2)= e0cc96c747f87094388abd62c4694816 3. Login as user "root": 4. Change directory to / and unpack the tarball with /usr/bin/tar using the "xvof" option ("o" is very important to set the file ownership to "root") ** Example for i386/AMD64: $ cd /tmp $ /usr/sfw/bin/wget \ http://www.opensolaris.org/os/project/ksh93-integration/downloads/ksh93_integration_20090420_snapshot_i386.tar.bz2 $ sum -x md5 ksh93_integration_20090420_snapshot_i386.tar.bz2 c5697c5bc5f14bfa6a2c5708ed25e4f2 ksh93_integration_20090420_snapshot_i386.tar.bz2 # cd / # sync ; sync # bzcat @:$ for normal users and @:# for user "root"; the prompt length itself is limited to ~~30 characters to ensure it only occupies ~~1/4 of a standard 80x24 terminal window. * was added to emacs/gmacs mode to clear the screen (per community requests and to be in sync with bash) * 64bit binaries and libraries are now included (and used by default if the hardware is 64bit capable) * "shcomp", the shell script compiler is now included as /usr/bin /shcomp. * AST l10n utilities are stored in /usr/ast/bin/. * Starting with ksh93s+ multibyte characters can be used for variable/function/etc.-names. Please test this functionality extensively. * The tarball was created using the build_ksh93_standalone_tarball.sh script which is available in the base directory of the prototype021 tree. Note: The script can only be used after a successfull $ cd usr/src ; (cd tools ; make install) ; make setup ; \ dmake install #-sequence, otherwise the resulting tarball will be incomplete. * The tarballs do not provide a manual page for ksh93. Please use the manual page for ksh93s+ in the meantime. * The ksh93 binaries can be build from source like this: (Instructions are for Solaris i386/AMD64; SPARC requires minor adjustments) 1. Pull sources and extract closed bin stuff (files can be obtained from opensolaris.org): $ mkdir test_x86 ; cd test_x86 $ svn checkout -r 1483 svn://svn.genunix.org/on/branches/ ksh93/gisburn/prototype021/usr $ bzcat <../download/on-closed-bins-nd.i386.tar.bz2 | \ tar -xf - $ bzcat <../download/on-closed-bins.i386.tar.bz2 | \ tar -xf - $ cd .. 2. Create opensolaris.sh. This is the usual opensolaris.sh with the paths adjusted to match your location of the sources. Example for the changes applies to opensolaris.sh (for my workspace): --- ./test1_x86/usr/src/tools/env/opensolaris.sh +++ ./opensolaris.sh Sun Jul 30 00:50:08 2006 @@ -43,10 +43,10 @@ # This is a variable for the rest of the script - GATE # doesn't matter to nightly itself -GATE=testws; export GATE +GATE=prototype021; export GATE +# workaround for B111 build issue +export NOT_UNDER_SCM=true # CODEMGR_WS - where is your workspace at #(or what should nightly name it) -CODEMGR_WS="/export/$GATE"; export CODEMGR_WS +CODEMGR_WS="/home/test001/ksh93/on_build1/$GATE"; export CODEMGR_WS # Location of encumbered binaries. ON_CLOSED_BINS="$CODEMGR_WS/closed"; export ON_CLOSED_BINS 3. Run "bldenv": $ env - SHELL=$SHELL TERM=$TERM HOME=$HOME LOGNAME=$LOGNAME DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY LANG=C LC_ALL=C PAGER=less MANPATH=$MANPATH /opt/onbld/bin/bldenv opensolaris.sh # 4. Build it (the quick way): $ cd prototype021/usr/src $ export CW_NO_SHADOW=1 $ time nice make setup 2>&1 | tee -a buildlog_setup.log $ time nice dmake install >buildlog.log 2>&1 Finally: Please check http://www.opensolaris.org/os/project/ksh93-integration/downloads/2009-04-20/ for any updates or additional comments... **** Links/References: [1]=ksh93-integration/migration project home page: http://www.opensolaris.org/os/project/ksh93-integration/ [2]=2009-04-20 ksh93-integration update2 test binaries: http://www.opensolaris.org/os/project/ksh93-integration/downloads/2009-04-20/ [3]=ksh93s+ manual page: http://www.opensolaris.org/os/project/ksh93-integration/docs/ksh93s/man/man1/sh/ [4]=ksh93-integration mailinglist: http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss/ ; please subscribe before posting (and please avoid flamewars) !! [5]=ksh93-integration project bugzilla: http://bugs.grommit.com/enter_bug.cgi?product=ksh93-integration ---- Bye, Roland P.S.: Reply-To: is set to ksh93-integration-discuss at opensolaris.org -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;)