sptools is a set of utilities for maintaining packages under
These tools let you install, inspect, and manipulate packages in
/package much as you would do with
apt, etc., for their respective package formats.
sp-foreign has moved to a
This package is discussed on the prjware list. It is also on-topic on the slashpackage list. New releases are announced on the prjware-announce list.
sptools is devoid of warranty and is distributed under the GNU General Public License, version 2. But that doesn't mean it's necessarily a good idea for you to distribute modified versions. I'd like to know if you plan to do that.
Older versions are published for historical interest.
You can get the latest development sources with:
$ git clone git://git.dogmap.org/sptools.git
slashpackage is a good thing. You can
read more about it
here. If you don't already have
/package, create it (on any
filesystem you like, as long as it's accessible by the name
# mkdir -p /usr/local/package # ln -s /usr/local/package / # chmod +t /package/.
Then, if you already have
sp-install, you can use it:
# sp-install sptools-VERSION.tar.bz2
Otherwise (or if you like to do things manually), unpack the tarball and run
# cd /package # bunzip2 < /path/to/sptools-VERSION.tar.bz2 | > tar -xpf - # cd admin/sptools-VERSION # package/install
package/INSTALL for more
sp-checkprogram looks for unusual files under
sp-downloadprogram downloads a package tarball.
sp-freezeprogram locks dependency symlinks to point to specific versions.
sp-globalsprogram compares the contents of
/commandto the per-package
sp-installprogram installs a package.
sp-linksprogram creates symlinks in
/commandpointing to files in per-package
sp-unpackprogram unpacks a package tarball.
sp-versionprogram sets the current-version symlink for a package.
sp-globalslist extraneous symlinks in the global directory. But sh can't do this fast enough. C? Scheme?