. "$GRIMOIRE/FUNCTIONS" SPELL=guru-tools if [[ "$GURU_TOOLS_BRANCH" = scm ]]; then VERSION=$(get_scm_version) SOURCE=$SPELL-scm.tar.bz2 SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELL}-scm FORCE_DOWNLOAD=on SOURCE_URL[0]=git://scm.sourcemage.org/smgl/misc/${SPELL}.git:$SPELL-scm SOURCE_IGNORE=volatile else VERSION=2.0 SOURCE=$SPELL-$VERSION.tar.bz2 SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELL}-${VERSION} SOURCE_URL[0]=http://download.sourcemage.org/distro/misc/$SOURCE SOURCE_HASH=sha512:20531502c96a7992c67f4cea944ea2ccc049e6c32e587298ef67f497956d9d82660f0597655e854fb677f93787c0ffd2d1d8704108bc8777548b2dfda4de43b7 fi WEB_SITE=http://www.sourcemage.org ENTERED=20030602 LICENSE=GPL KEYWORDS="smgl" SHORT="Collection of useful Guru Tools." cat << EOF There are various useful tools that have been written by Source Mage developers over the years. Here we have bundled them together for your Guru experience: checkGrimoire.sh - checks the grimoire (or sections of it) for broken links. (by Paul) dependsSquish.sh - takes a list of spells and outputs the order in which to cast them so dependancies are taken care of. findLibDepends.sh - find missing dependancies of spells with ldd.(by Paul) findSharedFiles - tool for finding files shared between spells. (by Rasmus Ory Nielsen) gazeSpider [ - print a grimoire image. This script is used to create images for the report.pl tool listed below. Try piping output as follows: '| tee ' and then pass the files to report.pl below. (by Andrew Stitt) md5unpack - provides md5sum info from source tarball. rebuildPackages - In case you delete your /var/state/sorcery/packages file ;) report.pl - this tool take two different images created by the image.sh tool and report the differences, amazing amount of information! (see image.sh above) (by Andrew Stitt) searchdups.sh [
| ] - finds duplicate dependencies for a spell, section, grimoire that is satisfied by child a dependency. (by Seth Woolley) summonsection - usefull for lazy section maintainters who get bored first deleting cached files, then summon'em one by one, by hand. Summonsection kills cached files, and summons new files automaticaly. (by M.L.). urlwatch - checks a list of urls for changes inside html page. Make a cronjob with this and you'll automaticaly receive notifications for changed urls by email... See urlwatch --help for help. (by M.L.). smgl-cherry-pick - a wrapper around git-cherry-pick, which enables good "merging" of HISTORY, ChangeLog and binary files If you have more to contribute, mail to maintainer. EOF