sptools is a set of utilities for maintaining packages under
slashpackage
.
These tools let you install, inspect, and manipulate packages in
/package
much as you would do with rpm
,
apt
, etc., for their respective package formats.
sp-foreign
has moved to a
separate project.
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.
This link always points to the latest version (currently 2020.05.03).
Older versions are published for historical interest.
You can get the latest development sources with:
$ git clone git://git.dogmap.org/sptools.git
None.
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
“/package
”):
# 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
package/install
:
# cd /package # bunzip2 < /path/to/sptools-VERSION.tar.bz2 | > tar -xpf - # cd admin/sptools-VERSION # package/install
Read package/README
and package/INSTALL
for more
detailed instructions.
sp-check
program looks for
unusual files under /package
.
sp-download
program
downloads a package tarball.
sp-freeze
program locks
dependency symlinks to point to specific versions.
sp-globals
program compares
the contents of /command
to the per-package
command
directories.
sp-install
program installs
a package.
sp-links
program creates
symlinks in /command
pointing to files in per-package
command/
directories.
sp-unpack
program unpacks a
package tarball.
sp-version
program sets the
current-version symlink for a package.
None.
sp-globals
list extraneous symlinks in the global
directory. But sh can't do this fast enough. C? Scheme?