HOWTO
# neon
# ====
# Slackware 12.0: neon 0.25.5
# Slackware 12.1: neon 0.26.4
# Slackware 12.2: neon 0.28.3
# Slackware 13.0: neon 0.28.4
# Slackware 13.1: neon 0.29.0
# Slackware 13.37: neon 0.29.5
#
# Also check their 'patches' directory too for updates
# Older versions of Slackware included neon in the 'subversion' package.
# If you have one of those older versions, you may want to remove the
# Subversion package before you begin below:
# su -c "removepkg subversion"
#
Subversion uses neon.
# You used to have to be very picky about what version of neon you had
# installed for Subversion, but the latest Subversion (as I write this)
# says 0.25, 0.26, 0.27, or 0.28 are OK.
# If you ever want to uninstall neon, or just clean up files from an old
# version before installing a new one, skip down to the bottom for
# uninstall instructions.
# Other than Subversion, some other apps (that I have howtos for) that
# (can) use neon are:
#
GnuTLS
#
Licq
#
net-snmp
# neon 0.29.6
# ===========
# Prerequisites:
#
zlib
#
pkg-config
#
OpenSSL or
GnuTLS (OpenSSL is the default, pass --with-ssl=gnutls to use it (if you have both))
#
socks (optional)
#
Kerberos (optional)
#
libxml2 (pass --with-libxml2) or
expat (expat is the default, pass --with-libxml2 to use it
# (if you have both))
#
EGD (Entropy Gathering Daemon; not needed if you have OpenSSL; pass --with-egd=path_to_socket)
cd
test -f installed/neon-0.29.6.tar.gz &&
mv installed/neon-0.29.6.tar.gz .
test ! -f neon-0.29.6.tar.gz &&
wget http://www.webdav.org/neon/neon-0.29.6.tar.gz
# Verify tarball w/
md5sum:
# (this came from my gpg-verified tarball)
echo "591e0c82e6979e7e615211b386b8f6bc neon-0.29.6.tar.gz" | md5sum -c
# Verify tarball w/
sha1sum:
# (this also came from my gpg-verified tarball)
echo "ae1109923303f67ed3421157927bc4bc29c58961 neon-0.29.6.tar.gz" | sha1sum -c
# Verify tarball w/
gpg:
( gpg --list-keys 0E44CF0C > /dev/null 2>&1 || gpg --recv-keys 0E44CF0C ) &&
wget -nc http://www.webdav.org/neon/neon-0.29.6.tar.gz.asc &&
gpg --verify neon-0.29.6.tar.gz.asc && rm neon-0.29.6.tar.gz.asc
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "neon-*" -exec rm -r {} \;
tar xzvf ~/neon-0.29.6.tar.gz
cd neon-0.29.6
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --with-ssl --enable-shared
make
# Become root to install it
su
# Remove the Slackware package and other old files that may be left over
# from old versions. /usr/share/doc is the directory that is actually used
# by configure, etc. In Slackware, this is a symlink to /usr/doc.
test -x /sbin/removepkg && /sbin/removepkg neon
find /usr/doc -maxdepth 1 -type d -name "neon-*" -exec rm -r {} \;
rm -f /usr/lib/libneon.*
# Install the new version
make install
ldconfig
# Make sure your non-root user can remove the source later
chown -R $USER .
chmod -R u+w .
# Become yourself again
exit
cd
mkdir -p -m 0700 installed
rm -f installed/neon-*.tar.*
mv neon-0.29.6.tar.gz installed/
# neon 0.28.5
# ===========
# Prerequisites:
#
zlib
#
pkg-config
#
OpenSSL or
GnuTLS (OpenSSL is the default, pass --with-ssl=gnutls to use it (if you have both))
#
socks (optional)
#
Kerberos (optional)
#
libxml2 (pass --with-libxml2) or
expat (expat is the default, pass --with-libxml2 to use it
# (if you have both))
#
EGD (Entropy Gathering Daemon; not needed if you have OpenSSL; pass --with-egd=path_to_socket)
cd
test -f installed/neon-0.28.5.tar.gz &&
mv installed/neon-0.28.5.tar.gz .
test ! -f neon-0.28.5.tar.gz &&
wget http://www.webdav.org/neon/neon-0.28.5.tar.gz
# Verify tarball w/
md5sum:
# (this came from my gpg-verified tarball)
echo "8c160bc0e358a3b58645acbba40fe873 neon-0.28.5.tar.gz" | md5sum -c
# Verify tarball w/
sha1sum:
# (this also came from my gpg-verified tarball)
echo "cc07c9d2967cf9b290514ad2fc756abe1f854eba neon-0.28.5.tar.gz" | sha1sum -c
# Verify tarball w/
gpg:
( gpg --list-keys 0E44CF0C > /dev/null 2>&1 || gpg --recv-keys 0E44CF0C ) &&
wget -nc http://www.webdav.org/neon/neon-0.28.5.tar.gz.asc &&
gpg --verify neon-0.28.5.tar.gz.asc && rm neon-0.28.5.tar.gz.asc
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "neon-*" -exec rm -r {} \;
tar xzvf ~/neon-0.28.5.tar.gz
cd neon-0.28.5
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --with-ssl --enable-shared
make
# Become root to install it
su
# Remove the Slackware package and other old files that may be left over
# from old versions. /usr/share/doc is the directory that is actually used
# by configure, etc. In Slackware, this is a symlink to /usr/doc.
test -x /sbin/removepkg && /sbin/removepkg neon
find /usr/doc -maxdepth 1 -type d -name "neon-*" -exec rm -r {} \;
rm -f /usr/lib/libneon.*
# Install the new version
make install
ldconfig
# Make sure your non-root user can remove the source later
chown -R $USER .
chmod -R u+w .
# Become yourself again
exit
cd
mkdir -p -m 0700 installed
rm -f installed/neon-*.tar.*
mv neon-0.28.5.tar.gz installed/
# neon 0.26.4
# ===========
# Prerequisites:
#
zlib
#
pkg-config
#
OpenSSL or
GnuTLS (OpenSSL is the default, pass --with-ssl=gnutls to use it (if you have both))
#
socks (optional)
#
kerberos (optional)
#
libxml2 (pass --with-libxml2) or
expat (expat is the default, pass --with-libxml2 to use it
# (if you have both))
#
EGD (Entropy Gathering Daemon; not needed if you have OpenSSL; pass --with-egd=path_to_socket)
cd
test -f installed/neon-0.26.4.tar.gz &&
mv installed/neon-0.26.4.tar.gz .
test ! -f neon-0.26.4.tar.gz &&
wget http://www.webdav.org/neon/neon-0.26.4.tar.gz
# Verify tarball w/
md5sum:
# (this came from my gpg-verified tarball)
echo "2d11fff51ffa856fc6b5d4bd801d6cc4 neon-0.26.4.tar.gz" | md5sum -c
# Verify tarball w/
sha1sum:
# (this also came from my gpg-verified tarball)
echo "0c005fe73573253888b0c6e839b18d24c52582a4 neon-0.26.4.tar.gz" | sha1sum -c
# Verify tarball w/
gpg:
( gpg --list-keys 0E44CF0C > /dev/null 2>&1 || gpg --recv-keys 0E44CF0C ) &&
wget -nc http://www.webdav.org/neon/neon-0.26.4.tar.gz.asc &&
gpg --verify neon-0.26.4.tar.gz.asc && rm neon-0.26.4.tar.gz.asc
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "neon-*" -exec rm -r {} \;
tar xzvf ~/neon-0.26.4.tar.gz
cd neon-0.26.4
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --with-ssl --enable-shared
make
# Become root to install it
su
# Remove the Slackware package and other old files that may be left over
# from old versions. /usr/share/doc is the directory that is actually used
# by configure, etc. In Slackware, this is a symlink to /usr/doc.
test -x /sbin/removepkg && /sbin/removepkg neon
find /usr/doc -maxdepth 1 -type d -name "neon-*" -exec rm -r {} \;
rm -f /usr/lib/libneon.*
# Install the new version
make install
ldconfig
# Make sure your non-root user can remove the source later
chown -R $USER .
chmod -R u+w .
# Become yourself again
exit
cd
mkdir -p -m 0700 installed
rm -f installed/neon-*.tar.*
mv neon-0.26.4.tar.gz installed/
# If you ever want to uninstall neon, this should do it:
su
for pfx in /usr /usr/local;
do
rm -f ${pfx}/bin/neon-config ${pfx}/lib/pkgconfig/neon.pc ${pfx}/lib/libneon.* ${pfx}/man/man1/neon-config.1 ${pfx}/man/man3/neon.3 ${pfx}/man/man3/ne_*.3
test -d ${pfx}/include/neon && rm -r ${pfx}/include/neon
find ${pfx}/share/doc -maxdepth 1 -type d -name "neon-*" -exec rm -r {} \;
done
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "neon-*" -exec rm -r {} \;
rm -f ~/installed/neon-*.tar.*