Skip to Content.
Sympa Menu

sm-sorcery - [SM-Sorcery]Static base spells

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
  • To: sm-sorcery AT lists.ibiblio.org
  • Subject: [SM-Sorcery]Static base spells
  • Date: 28 Nov 2002 22:41:33 -0500

There has been a small amount of discussion about making the binaries
that the sorcery scripts depend on static. This would solve problems
when upgrading (glibc ('lockexec not found' anyone?), gettext, ...). I
don't know how big the binaries get, but I'll list as many of the
programs I can think of. Does anyone have any idea of how much more
space having them all staticly compiled would take? Are there any other
cons to doing this?

ls, cut, awk, sed, grep, find, tar, gzip, bzip, lockexec, cat, ps, true,
false, md5sum, rm, mv, file, sort, date, mkdir, rmdir, tail, nice,
sleep, echo, column, basename, dirname, chmod, touch, wget, mount,
umount, bash (may have its own versions of these programs, but I'm not
sure: sleep, nice, echo, mkdir, nice, rm, mv, touch).

Others which are also needed, but are less important:
xdelta, cvs, dialog.

And since I'm procrastinating on fixing bugs, here's a bit of output
that lists the spells that would need to be modified to make the static
binaries, and the short script to find the spell:
L='ls cut awk sed grep find tar gzip bzip2 lockexec cat ps true false
md5sum rm mv file sort date mkdir rmdir tail nice sleep echo column
basename dirname chmod touch wget mount umount bash' ; for BIN in $L ;
do gaze from `which $BIN` | cut -d: -f1 ; done | sort | uniq
bash-2.05b
file-3.39
fileutils-4.1
findutils-4.1
gawk-3.1.1
grep-2.5
gzip-1.2.4b
lockexec-0.3.1
sed-4.0.3
sh-utils-2.0
tar-1.13
tar-1.13.25
textutils-2.1
util-linux-2.11w
wget-1.8.2

Don't ask me why it's got two versions of tar listed.

--


Quidquid latine dictum sit, altum sonatur.
-----------------
PGP public key at
http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x3327A9A5
F1


F1


Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page