mhash - Hash algorithm library ChangeLog

HOWTO


# mhash 0.9.9.9
# =============
# Slackware 11.0: mhash 0.9.7
# Slackware 12.0, 12.1, 12.2: mhash 0.9.9

# The SourceForge project page says "As of 2007-08-18 18:03, this
# project is no longer under active development.", though version
# 0.9.9.9 was released 2008-12-08.

cd
test -f installed/mhash-0.9.9.9.tar.bz2 &&
mv installed/mhash-0.9.9.9.tar.bz2 .
test ! -f mhash-0.9.9.9.tar.bz2 &&
wget http://downloads.sf.net/mhash/mhash-0.9.9.9.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "mhash-*" -exec rm -r {} \;
tar xjvf ~/mhash-0.9.9.9.tar.bz2
cd mhash-0.9.9.9
test $UID = 0 && chown -R root:root .

# Configure and build it
./configure --prefix=/usr --mandir=/usr/man
make

# Become root to remove old version and install it
su

# Remove Slackware package
test -x /sbin/removepkg && /sbin/removepkg mhash

# Remove old library files, install it
rm -f /usr/lib/libmhash.*
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/mhash-*.tar.*
mv mhash-0.9.9.9.tar.bz2 installed/


# If you ever want to uninstall mhash, this should do it:
cd
su
test -d src/mhash-* && ( cd src/mhash-* ; make uninstall )
rm -f /usr/lib/libmhash.* /usr/man/man3/mhash.3
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "mhash-*" -exec rm -r {} \;
rm -f ~/installed/mhash-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2009-03-08 9:40pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]