Author: Greg Swallow - gregswallow at skynetonline.ca
Contributers:Help please! :P - join the devinfo mailing list (topic=experimental upgrade for SME6)
(feel free to edit this wiki page)

Last Modified: Nov 18 2004


A few warnings:

This is not any sort of official update...
Just for fun/testing...
Use only on a fresh install of SME 6.0.0-01...
No warranty/At your own risk/etc/etc...

A description of what this is:

Installs Lazy Admin Tools contrib, Userpanel contrib, Spamfilter contrib
and latest RPMS from Fedora, ATRPMS, Norlug and Dag Wieers.
Found the latest packages using yum configured to find the newest from those repositories first,
then I made a list of them to download locally...why you ask? see below

Why download them and make a local repository:

Easy way to do it - otherwise you have to exclude yum from updating packages
that have been modified specifically for e-smith/sme like samba and many others -
didnt work for very well for me

Note:

Just added - the second half of the script that upgrades:
mysql, php, openssh, openssl, proftpd, rsync, initscripts, webmail, samba
and adds Greg Zartman's modindex contrib and updates from the ibiblio e-smith/devel directories

A few notes about yum repositories - these are the ones I had in my original yum.conf:


Nov 19th - About the yum errors with gd and perl-mail spamassassin. The gd error went away after installing the newer version and the perl-mail-spamassassin error I fixed by updating to these rpm's after Jesper's script was finished:

wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/spamassassin-tools-3.0.1-3.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/spamassassin-3.0.1-3.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/perl-Mail-SpamAssassin-3.0.1-3.norlug.i386.rpm

Problems:



Dev-RPMS for after the upgrades:

(some updated versions)

wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/apache-devel-1.3.33-2.norlug.i386.rpm
wget -nc http://mirror.contribs.org/smeserver/releases/6.0.1/RPMS/anaconda-7.3-7es116.i386.rpm
wget -nc http://mirror.contribs.org/smeserver/releases/6.0.1/RPMS/anaconda-runtime-7.3-7es116.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/autoconf-2.59-0_10.rh7.3.at.noarch.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/automake-1.8.5-0_20.rh7.3.at.noarch.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/os/i386/bison-1.35-1.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/cpp-2.96-113.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/gcc-2.96-113.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/gcc-c++-2.96-113.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/glibc-devel-2.2.5-48.norlug.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/glibc-kernheaders-2.4-7.16.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/kernel-source-2.4.20-37.7.legacy.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/libacl-2.2.23-5_11.rh7.3.at.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/libacl-devel-2.2.23-5_11.rh7.3.at.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/libattr-2.4.15-0_10.rh7.3.at.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/libstdc++-devel-2.96-113.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/libtool-1.5.6-1.99_10.rh7.3.at.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/os/i386/m4-1.4.1-7.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/os/i386/mkisofs-1.10-11.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/os/i386/ncurses-devel-5.2-26.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/pam-devel-0.75-46.7.3.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/os/i386/readline-devel-4.2a-4.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/zlib-devel-1.1.4-8.7x.i386.rpm


update.sh

#!/bin/sh

#go to /root if you aren't already
cd /root

#install lazy admin tools and userpanel contribs
mkdir lat-userpanel
cd lat-userpanel
wget -nc http://sme.swerts-knudsen.com/downloads/e-smith-lazy_admin_tools-0.9.0-1.noarch.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Userpanel/e-smith-userpanel-1.6.0-3.noarch.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Userpanel/perl-Unicode-IMAPUtf7-1.02-1.i386.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Userpanel/perl-Unicode-String-2.06-1.i386.rpm
rpm -Uvh *.rpm
cd ..

#install spamfilter 3 and server-manager panel contrib
wget -nc http://sme.swerts-knudsen.com/downloads/SpamFilter/spamfilter_install.sh
sh spamfilter_install.sh

#upgrade spamfilter rpms to norlug 3.0.1-3 versions
mkdir spam
cd spam
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/perl-Mail-SpamAssassin-3.0.1-3.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/spamassassin-3.0.1-3.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/spamassassin-tools-3.0.1-3.norlug.i386.rpm
rpm -Uvh *.rpm
cd ..

#remove unneeded package
rpm -e ucd-snmp kernel-utils

#download and install yum and dependancies
mkdir yuminstall
cd yuminstall
wget -nc http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/atrpms-package-config-82-1.rh7.3.at.i386.rpm
wget -nc http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/beecrypt-3.1.0-6_5.rh7.3.at.i386.rpm
wget -nc http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/rpm-python-4.2.1-0.30_19.6.rh7.3.at.i386.rpm
wget -nc http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/rpm-build-4.2.1-0.30_19.6.rh7.3.at.i386.rpm
wget -nc http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/rpm-4.2.1-0.30_19.6.rh7.3.at.i386.rpm
wget -nc http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/popt-1.8.1-0.30_19.6.rh7.3.at.i386.rpm
wget -nc http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/librpm4.2-4.2.1-0.30_19.6.rh7.3.at.i386.rpm
wget -nc http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/libxml2_2-2.6.15-2_14.rh7.3.at.i386.rpm
wget -nc http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/libxml2-python-2.6.15-2_14.rh7.3.at.i386.rpm
wget -nc http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/libxml2-2.6.15-2_14.rh7.3.at.i386.rpm
wget -nc http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/elfutils-libelf-0.84-2_4.rh7.3.at.i386.rpm
wget -nc http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/elfutils-0.84-2_4.rh7.3.at.i386.rpm
wget -nc http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/yum20-2.0.8-42.rh7.3.at.noarch.rpm
wget -nc http://download.atrpms.net/production/packages/common/atrpms/atrpms-61-1.at.noarch.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/db4-4.0.14-4.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/python2.3-2.3.4-2.norlug.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/os/i386/compat-glibc-6.2-2.1.3.2.i386.rpm
rpm -Uvh *.rpm
cd ..

#create the yum cache directories
mkdir /var/cache/yum
mkdir /var/cache/yum/1local

#create the yum repository directories
mkdir /home/e-smith/files/primary/html/yum
mkdir /home/e-smith/files/primary/html/yum/headers

#download latest packages not modified for sme server
cd /home/e-smith/files/primary/html/yum
wget -nc http://apt.sw.be/redhat/7.3/en/i386/RPMS.dag/checkpassword-0.90-2.dag.rh73.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/expat-1.95.5-3_5.rh7.3.at.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/fetchmail-6.2.5-1_2.rh7.3.at.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/fileutils-4.1-10.4.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/gnupg-1.2.6-1_21.99.rh7.3.at.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/iproute-2.4.7-7.73.1.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/iptables-1.2.8-8.72.3.i386.rpm
wget -nc http://apt.sw.be/redhat/7.3/en/i386/RPMS.dag/iptraf-2.7.0-2.rh73.dag.i386.rpm
wget -nc http://apt.sw.be/redhat/7.3/en/i386/RPMS.dag/iptstate-1.3-0.rh73.dag.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/kernel-2.4.20-37.7.legacy.athlon.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/kernel-2.4.20-37.7.legacy.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/kernel-2.4.20-37.7.legacy.i586.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/kernel-2.4.20-37.7.legacy.i686.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/kernel-smp-2.4.20-37.7.legacy.athlon.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/kernel-smp-2.4.20-37.7.legacy.i586.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/kernel-smp-2.4.20-37.7.legacy.i686.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/libpcap-0.6.2-17.7.3.6.legacy.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/libtool-libs-1.5.6-1.99_10.rh7.3.at.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/libxml2-2.6.16-3_15.rh7.3.at.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/libxml2-python-2.6.16-3_15.rh7.3.at.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/libxml2_2-2.6.16-3_15.rh7.3.at.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/mc-4.5.55-6.legacy.i386.rpm
wget -nc http://apt.sw.be/redhat/7.3/en/i386/RPMS.dag/mtools-3.9.9-2.rh73.dag.i386.rpm
wget -nc http://apt.sw.be/redhat/7.3/en/i386/RPMS.dag/oidentd-2.0.7-4.0.rh7.dag.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/perl-5.6.1-36.1.73.i386.rpm
wget -nc http://apt.sw.be/redhat/7.3/en/i386/RPMS.dag/perl-Authen-PAM-0.14-1.0.rh7.dag.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/perl-CPAN-1.59_54-36.1.73.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/perl-Convert-ASN1-0.18-2.rh7.3.at.noarch.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/perl-DB_File-1.75-36.1.73.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/perl-Digest-HMAC-1.01-10.99_1.rh7.3.at.noarch.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/perl-Digest-Nilsimsa-0.06-4.1.rh7.3.at.i386.rpm
wget -nc http://apt.sw.be/redhat/7.3/en/i386/RPMS.dag/perl-Digest-SHA1-2.07-1.rh73.dag.i386.rpm
wget -nc http://apt.sw.be/redhat/7.3/en/i386/RPMS.dag/perl-Error-0.15-2.0.rh7.dag.noarch.rpm
wget -nc http://apt.sw.be/redhat/7.3/en/i386/RPMS.dag/perl-FreezeThaw-0.43-0.dag.rh73.noarch.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/perl-HTML-Parser-3.36-0_2.rh7.3.at.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/perl-MailTools-1.62-5.rh7.3.at.noarch.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/perl-NDBM_File-1.75-36.1.73.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/perl-Net-DNS-0.46-2.rh7.3.at.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/perl-XML-Parser-2.34-5_2.rh7.3.at.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/perl-libwww-perl-5.79-0_3.rh7.3.at.noarch.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/perl-suidperl-5.6.1-36.1.73.i386.rpm
wget -nc http://apt.sw.be/redhat/7.3/en/i386/RPMS.dag/pine-4.61-1.0.rh7.dag.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/popt-1.9.1-21_33.99.rh7.3.at.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/rpm-4.3.2-21_33.99.rh7.3.at.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/rpm-build-4.3.2-21_33.99.rh7.3.at.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/rpm-devel-4.3.2-21_33.99.rh7.3.at.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/rpm-python-4.3.2-21_33.99.rh7.3.at.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/slocate-2.7-1.7.3.legacy.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/sysklogd-1.4.1-14.legacy.7x.i386.rpm
wget -nc http://apt.sw.be/redhat/7.3/en/i386/RPMS.dag/syslinux-2.11-2.0.rh7.dag.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/tcpdump-3.6.3-17.7.3.6.legacy.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/unzip-5.50-31.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/updates/i386/utempter-0.5.2-6.7.x.1.legacy.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/wget-1.9.1-4.99_1.rh7.3.at.i386.rpm
wget -nc http://apt.sw.be/redhat/7.3/en/i386/RPMS.dag/wireless-tools-26-0.dag.rh73.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/apache-1.3.33-2.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/bash-3.0-4.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/curl-7.11.0-1.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/dhcp-3.0.1-2.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/gd-2.0.22-1.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/glibc-2.2.5-48.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/glibc-common-2.2.5-48.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/lynx-2.8.5-6.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/mod_perl-1.29-1.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/mod_ssl-2.8.22-1.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/mutt-1.4.2.1i-1.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/perl-Mail-SpamAssassin-3.0.1-3.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/screen-4.0.2-1.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/squid-2.5.STABLE7-1.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/vim-common-6.3-3.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/vim-enhanced-6.3-3.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/vim-minimal-6.3-3.norlug.i386.rpm
wget -nc http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/whois-4.6.23-1.norlug.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/os/i386/gd-1.8.4-4.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/librpm4.3-4.3.2-21_33.99.rh7.3.at.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/os/i386/hesiod-3.0.2-18.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/os/i386/libghttp-1.0.9-2.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/os/i386/perl-libnet-1.0901-17.i386.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/binenv-0.0.1-1.rh7.3.at.noarch.rpm
wget -nc http://apt.atrpms.net/redhat/7.3/en/i386/at-stable/RPMS/perl-HTTP-GHTTP-1.07-2.rh7.3.at.noarch.rpm
wget -nc http://apt.sw.be/redhat/7.3/en/i386/RPMS.dag/perl-TimeDate-1.16-0.rh73.dag.noarch.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/os/i386/gettext-0.11.1-2.i386.rpm
wget -nc http://download.fedoralegacy.org/redhat/7.3/os/i386/XFree86-libs-4.2.0-8.i386.rpm

#create the yum repository
yum-arch /home/e-smith/files/primary/html/yum/

#go back to /root
cd /root

#download and copy the yum.conf file to the proper place
wget -nc http://www.skynetonline.ca/images/yum.conf
mv -f yum.conf /etc/yum.conf

#yum.conf file contains:
#[main]
#cachedir=/var/cache/yum
#debuglevel=2
#logfile=/var/log/yum.smeserver.log
#pkgpolicy=newest
#[1local]
#name=Downloaded Updates
#baseurl=http://localhost/yum/

#remove standard gd package because of yum error
rpm -e --nodeps gd

#be patient, this will take a while (added -y for no user input)
yum -y upgrade

#install new gd package
yum -y install gd

#install mysql 4.0.2.1 update
wget -nc http://mirror.contribs.org/smeserver/contribs/ergozd/scripts/MySQL-4_0_21.sh
sh MySQL-4_0_21.sh

#install php4.3.9-3 update
wget -nc http://mirror.contribs.org/smeserver/contribs/ergozd/scripts/php4.3.9-3upgrade.sh
sh php4.3.9-3upgrade.sh

#install openssh update
mkdir openssh
cd openssh
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/OpenSSH/openssh-3.9p1-1es1.i386.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/OpenSSH/openssh-clients-3.9p1-1es1.i386.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/OpenSSH/openssh-server-3.9p1-1es1.i386.rpm
rpm -Uvh *.rpm
/sbin/e-smith/expand-template /etc/ssh/sshd_config
/sbin/e-smith/signal-event remoteaccess-update
cd ..

#install openssl update
mkdir openssl
cd openssl
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/OpenSSL/openssl-0.9.6m-1es1.i386.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/OpenSSL/openssl-devel-0.9.6m-1es1.i386.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/OpenSSL/openssl-perl-0.9.6m-1es1.i386.rpm
rpm -Uvh *.rpm
cd ..

#install misc. updates
mkdir updates
cd updates
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/ProFTPd/proftpd-1.2.10-es1.i386.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/Rsync/rsync-2.6.2-1.noarch.rpm
wget -nc http://mirror.contribs.org/smeserver/updates/6.0.1/RPMS/initscripts-6.67-1es26.i386.rpm
rpm -Uvh *.rpm
cd ..

#install updated webmail - more features and more secure
mkdir webmail
cd webmail
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/e-smith-imp-1.10.0-04dm.noarch.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/e-smith-kronolith-0.8.1-02.noarch.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/e-smith-mnemo-0.8.0-04.noarch.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/e-smith-nag-0.8.0-05.noarch.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/horde-2.2.5-1dm.noarch.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/imp-3.2.5-01dm.noarch.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/kronolith-1.1.2-1es.noarch.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/mnemo-1.1.2-1es.noarch.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/nag-1.1.1-1es.noarch.rpm
wget -nc http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/turba-1.2.2-1es00.noarch.rpm
rpm -Uvh e-smith-imp-1.10.0-04dm.noarch.rpm
rpm -Uvh imp-3.2.5-01dm.noarch.rpm
rpm -Uvh horde-2.2.5-1dm.noarch.rpm
rpm -Uvh turba-1.2.2-1es00.noarch.rpm
rpm -Uvh kronolith-1.1.2-1es.noarch.rpm
rpm -Uvh mnemo-1.1.2-1es.noarch.rpm
rpm -Uvh nag-1.1.1-1es.noarch.rpm
rpm -Uvh e-smith-kronolith-0.8.1-02.noarch.rpm
rpm -Uvh e-smith-mnemo-0.8.0-04.noarch.rpm
rpm -Uvh e-smith-nag-0.8.0-05.noarch.rpm
/sbin/e-smith/signal-event post-upgrade
cd ..

#install greg zartman's samba 3 contrib
mkdir samba3
cd samba3
wget -nc http://mirror.contribs.org/smeserver/contribs/gzartman/Beta/Samba3/e-smith-samba-2.1.0-03.noarch.rpm
wget -nc http://mirror.contribs.org/smeserver/contribs/gzartman/Beta/Samba3/samba-3.0.7-1sme1.i386.rpm
wget -nc http://mirror.contribs.org/smeserver/contribs/gzartman/Beta/Samba3/samba-client-3.0.7-1sme1.i386.rpm
wget -nc http://mirror.contribs.org/smeserver/contribs/gzartman/Beta/Samba3/samba-common-3.0.7-1sme1.i386.rpm
rpm -Uvh *.rpm
perl /etc/e-smith/events/actions/initialize-default-databases
/sbin/e-smith/signal-event ibay-modify
cd ..

#install greg zartman's modindex contrib
mkdir modindex
cd modindex
wget -nc http://mirror.contribs.org/smeserver/contribs/gzartman/Contribs/mod_perl/e-smith-mod_perl-0.0.1-2.noarch.rpm
rpm -ivh e-smith-mod_perl-0.0.1-2.noarch.rpm
wget -nc http://mirror.contribs.org/smeserver/contribs/gzartman/Beta/ModIndex/e-smith-modindex-0.0.5-2.noarch.rpm
rpm -ivh e-smith-modindex-0.0.5-2.noarch.rpm
cd ..

#download latest packages modified for or specificly for sme server
cd /home/e-smith/files/primary/html/yum
#e-smith devel-i386
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/i386/mailfront-0.91-3es.i386.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/i386/mrtg-2.9.17-3es02.i386.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/i386/perl-Authen-SASL-2.06-1.i386.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/i386/perl-Net-Server-0.85-1.i386.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/i386/perl-libnet-1.17-1.i386.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/i386/perl-perl-ldap-0.31-1.i386.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/i386/proftpd-1.2.9-es3.i386.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/i386/sortspam-1.1.0-05.i386.rpm
#e-smith devel-noarch
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-LPRng-1.13.0-01.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-apache-1.1.0-18.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-backup-1.13.2-01.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-base-4.15.1-02.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-daemontools-1.7.1-06.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-dnscache-0.2.0-05.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-email-4.15.1-06.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-formmagick-1.3.0-04.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-horde-1.11.0-01.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-hosts-1.13.0-02.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-imp-1.11.0-03.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-ldap-4.11.1-01.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-lib-1.15.1-01.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-mailfront-1.5.1-01.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-mason-1.0.1-04.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-mrtg-0.9.2-06.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-mysql-1.11.0-09.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-ntp-1.13.0-21.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-packetfilter-1.15.0-12.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-portforwarding-1.1.0-05.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-proftpd-1.11.0-09.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/e-smith-tinydns-0.5.0-07.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/perl-CGI-FormMagick-0.91-15.noarch.rpm
wget -nc http://www.ibiblio.org/pub/linux/distributions/e-smith/devel/RPMS/noarch/turba-1.2-1es01.noarch.rpm


#update yum repository
yum-arch /home/e-smith/files/primary/html/yum/

#go back to /root
cd /root

#may take a while again
yum -y upgrade

#post-upgrade and reboot
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot