Could smartpm support be added to the Software Packages
module? it works very similar to the apt-get and
apt-cache command line programs except all through one
command "smart".
here are the current *wrapper scripts* I've written so
webmin can operate thinking apt is installed
--- apt-get ---
#!/bin/sh
yes=""
done=0
while [ "x$1" != "x" -a $done -eq 0 ]; do
case "$1" in
install|update|remove|dist-upgrade|upgrade|search)
op="$1"
done=1
;;
-y)
yes="-y"
;;
-f)
;;
esac
shift
done
case "$op" in
install|update|remove|search)
smart $op $yes "$@"
;;
dist-upgrade|upgrade)
smart upgrade
;;
esac
and symlink apt-cache to apt-get
Logged In: YES
user_id=129364
I may do this, although it is pretty low-priority at the
moment as I haven't heard of the smart package manager before.
Does any distribution use it as standard?
Logged In: YES
user_id=8488
smart was developed by same guy who was maintaining the
apt-get for RPM builds (Connectiva)
Right now I do not believe any distribution has it in by
default.. Mandrake has it in the contrib packages currently
(as Mandrake/Mandriva recently bought Connectiva) And for
Fedora it is in the popular Dag and Dries repositories.
I personally use it as it is faster that apt and yum. And it
supports bi-arch systems such as x86_64 (which apt does
not). It is the *new kid on the block* but developing fast
and supports all the pre-existing Metadata formats (yum,
rpm-metadata, urpmi, apt-get, up2date, red-carpet, etc..)
instead of creating a new indexing format.
Logged In: YES
user_id=8488
as I have a workaround it's not a *big deal*.. just a would
be nice in the future. And if I ever get the motivation
(and time to work on it) I'll probably submit a patch.
Logged In: YES
user_id=129364
A patch to support it would be much appreciated, and would
definately speed up it's support in Webmin :-)