<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="home" title="HomePage" href="HomePage.html" />
<link rel="help" title="HowToUseWiki" href="HowToUseWiki.html" />
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.org/ThePhpWikiProgrammingTeam" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Language" content="en" />
<meta name="robots" content="noindex,nofollow" />
<meta name="language" content="en" />
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
<meta name="generator" content="PhpWiki" />
<meta name="PHPWIKI_VERSION" content="1.3.14" />

<link rel="stylesheet" type="text/css" charset="iso-8859-1" href="phpwiki-printer.css" />
<title>PhpWiki - SME6.0.1 Contribs</title>
</head>
<body>

<div id="header">
  
<!-- Page title -->
<h1>SME6.0.1 Contribs</h1>
</div>
<div id="content">



<div class="wikitext"><hr />
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable top bottom"><th>NOTE:</th>
<td>Please be warned, that a SME 6.01 Server with the Plus script cannot be smoothly updated to SME 7 without removing the updates from the Plus script!</td>
</tr>
</table>
<h3>Removal instructions before updating to SME 7</h3>
<blockquote class="tightenable top bottom"><h4>Removal script</h4>
<p class="tightenable top bottom">Greg Swallow has made a removal script at <a href="HomePage.html/SME6.0.1Contribs-RemovalScript" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />HomePage.html/SME6.0.1Contribs-RemovalScript</span></a></p>
</blockquote>
<dl><dt class="tightenable top bottom">If you have installed only some contribs or are using an older version of the script, then you might have to modify it.  Please report all problems <b>only</b> to this bug report on Sourceforge (you will need to create an account using a valid email account so you can provide feedback)</dt>
<dd class="tightenable top bottom"><p class="tightenable top bottom"><a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1303356&amp;group_id=96750&amp;atid=615772" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/https.png" alt="" class="linkicon" border="0" />https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1303356&amp;group_id=96750&amp;atid=615772</span></a></p>
<h4>Why remove them? Why are they not compatible?</h4>
<p class="tightenable top bottom">Some contribs (upgrades rather) like php and mysql, are of higher or different versions than SME7, and don't upgrade cleanly.  Other contribs, like antivirus, securemail, and spamassassin are features that are included in SME7, so those need to be removed.  Other contribs that deal with email are not compatible because some of the underlying programs have changed in SME7.  Contribs that use the apache server are also usually incompatible as the template fragments need to be changed for SME7 which uses a newer version of Apache - see this forum thread for one major example of this - <a href="http://forums.contribs.org/viewtopic.php?t=27793" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://forums.contribs.org/viewtopic.php?t=27793</span></a> - and a suggestion on how to make some contribs compatible with SME6 or 7.</p>
<h4>Should I do this now? Or wait until SME7 is final?</h4>
<p class="tightenable top bottom">I wouldn't recommend upgrading a production server now, as SME7 is still not released.  And there's no need to remove the incompatible contribs until you want to upgrade.  There are now official maintenance updates to SME6.  The removal script installs the yum update utility for you, that is used to keep up to date with the latest updates.  For more information see this page: <a href="HomePage.html/How%20to%20update%20SME%20Server" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />HomePage.html/How%20to%20update%20SME%20Server</span></a></p>
</dd>
</dl>
<p class="tightenable top bottom"><br /></p>
<hr />
<p class="tightenable top bottom"><br /></p>
<h3>Installation Tips and Instructions<br /></h3>
<ul><li class="tightenable top bottom"><b>This is not an official update</b>.</li>
<li class="tightenable top bottom">This script is intended to be run on a fresh install of SME Server v6.0.1-01 and also checks for this version</li>
<li class="tightenable top bottom">if possible, logon to the console directly to start the script, since SSH will also be updated.
But the script should run through until the end even with a ssh connect.</li>
<li class="tightenable top bottom">Copy the script below starting at ' #!/bin/sh ' and ending with ' #end script ' to a text only file named smeplus.sh
or use the automatically extracted script from <a href="http://www.smesmith.de/update/smeplus.sh" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.smesmith.de/update/smeplus.sh</span></a></li>
<li class="tightenable top bottom">You can place the file in /root, it creates several sub-directories there.</li>
<li class="tightenable top bottom">To run the script, type: sh smeplus.sh (see information at start of the script for logging output)</li>
<li class="tightenable top bottom">While the script is running, ignore the warnings to change the MYSQL password, as this is not needed</li>
<li class="tightenable top bottom">There are several points where the script asks for permission to continue, so don't leave it running unattended</li>
<li class="tightenable top bottom">Watch for errors while the script is running</li>
</ul>
<p class="tightenable top"><br /></p>
<p class="tightenable bottom">If you have found a dead link please feel free to update it (Edit button at the bottom of this page).<br />
If you would like to add a contrib that you think others would find useful and
that you have tested thouroughly yourself - also please do so!<br />
<br />
For more information about this script see the forum posts here:<br />
Version 1: <a href="http://forums.contribs.org/viewtopic.php?t=24202" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://forums.contribs.org/viewtopic.php?t=24202</span></a><br />
Version 2: <a href="http://forums.contribs.org/viewtopic.php?t=24285" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://forums.contribs.org/viewtopic.php?t=24285</span></a><br />
Version 3 (current): <a href="http://forums.contribs.org/viewtopic.php?t=24972" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://forums.contribs.org/viewtopic.php?t=24972</span></a><br />
<br />
For comments/problems/questions about the individual contribs please look for help<br />
from the author of that particular contrib, perhaps by posting in the forums in that<br />
specific topic.  This is a compilation of many contribs from many sources.<br />
<br />
Here is a list of the contribs contained in this script, with links to their support pages or contributor's website.  At one point in the script you will be asked if you want to install the 'optional' contribs.  They are optional, but please install them as you will probably find them very useful.<br /></p>
<ul><li class="tightenable top bottom">Core Updates<br /></li>
</ul>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable top bottom"><th>PHP:</th>
<td>RPMS provided by: <a href="http://mirror.contribs.org/smeserver/contribs/ldinclaux/SME6.x/Contribs/RPMS/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://mirror.contribs.org/smeserver/contribs/ldinclaux/SME6.x/Contribs/RPMS/</span></a><br />
...now maintained in main script</td>
</tr>
<tr class="tightenable top bottom"><th>OpenSSH:</th>
<td><a href="http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/OpenSSH/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/OpenSSH/</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>OpenSSL:</th>
<td><a href="http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/OpenSSL/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/OpenSSL/</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Webmail:</th>
<td><a href="http://no.longer.valid/modules/mylinks/singlelink.php?cid=117&amp;lid=416" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://no.longer.valid/modules/mylinks/singlelink.php?cid=117&amp;lid=416</span></a><br />
...but updated files found at: <a href="http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Apache (also db4 and python 2.3):</th>
<td>This is really not an SME contrib, but just Redhat 7.3 compatible RPMS<br />
<a href="http://norlug.org/?op=rpms&amp;rpm_func=rpm_index&amp;cat=1" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://norlug.org/?op=rpms&amp;rpm_func=rpm_index&amp;cat=1</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>MySQL 4.0:</th>
<td>Many contributors to this - not sure who was first<br />
<a href="http://forums.contribs.org/viewtopic.php?t=23920" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://forums.contribs.org/viewtopic.php?t=23920</span></a><br />
...now maintained in main script</td>
</tr>
<tr class="tightenable top"><th>Misc. Security Updates</th>
<td><a href="http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/</span></a></td>
</tr>
</table>
<ul><li class="tightenable bottom">Optional (but highly recommended) Updates<br /></li>
</ul>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable top bottom"><th>Lazy Admin Tools:</th>
<td><a href="http://mirror.contribs.org/smeserver/contribs/mblotwijk/HowToGuides/lazy-admin-tools.htm" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://mirror.contribs.org/smeserver/contribs/mblotwijk/HowToGuides/lazy-admin-tools.htm</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Userpanel:</th>
<td><a href="http://www.dungog.net/sme/files/userpanel/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.dungog.net/sme/files/userpanel/</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Antivirus:</th>
<td><a href="http://sme.swerts-knudsen.com/howtos/howto_22.htm" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://sme.swerts-knudsen.com/howtos/howto_22.htm</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Spam Filter:</th>
<td><a href="http://sme.swerts-knudsen.com/howtos/howto_29.htm" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://sme.swerts-knudsen.com/howtos/howto_29.htm</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Phpmyadmin:</th>
<td><a href="http://mirror.contribs.org/smeserver/contribs/nightspirit/e-smith-phpmyadmin/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://mirror.contribs.org/smeserver/contribs/nightspirit/e-smith-phpmyadmin/</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Awstats:</th>
<td><a href="http://sme.swerts-knudsen.com/howtos/howto_7.htm" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://sme.swerts-knudsen.com/howtos/howto_7.htm</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Securemail:</th>
<td><a href="http://www.pagefault.org/howto/securemail.shtml" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.pagefault.org/howto/securemail.shtml</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Modindex:</th>
<td><a href="http://mirror.contribs.org/smeserver/contribs/gzartman/Beta/ModIndex/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://mirror.contribs.org/smeserver/contribs/gzartman/Beta/ModIndex/</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Delete Double Bounce emails:</th>
<td><a href="http://sme.swerts-knudsen.com/howtos/howto_27.htm" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://sme.swerts-knudsen.com/howtos/howto_27.htm</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Fetchmail POP 3:</th>
<td><a href="http://www.schirrms.net/sme/SMEFetchMail.php" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.schirrms.net/sme/SMEFetchMail.php</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Dungog contribs:</th>
<td><a href="http://www.dungog.net/sme/files/index.php" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.dungog.net/sme/files/index.php</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Windows Update Cache Manager:</th>
<td><a href="http://perso.wanadoo.fr/passionelectro/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://perso.wanadoo.fr/passionelectro/</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>DHCP to DNS Synchroniser:</th>
<td><a href="http://www.activeservice.co.uk/sme/contribs/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.activeservice.co.uk/sme/contribs/</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>DHCP Manager:</th>
<td><a href="http://www.developit.fr/FichePratique/SMEServer/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.developit.fr/FichePratique/SMEServer/</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Print Spooler Manager:</th>
<td><a href="http://www.saco-support.de/sme/smeserver-lprng-monitor/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.saco-support.de/sme/smeserver-lprng-monitor/</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Mail Log Analyser:</th>
<td><a href="http://www.saco-support.de/sme/saco-mitel-isoqlog/saco-mitel-isoqlog-0.1-09.noarch.rpm" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.saco-support.de/sme/saco-mitel-isoqlog/saco-mitel-isoqlog-0.1-09.noarch.rpm</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Rootkit Hunter:</th>
<td><a href="http://mirror.contribs.org/smeserver/contribs/dthomas/smeserver/6.x/Contrib/rkhunter/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://mirror.contribs.org/smeserver/contribs/dthomas/smeserver/6.x/Contrib/rkhunter/</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Raidmonitor:</th>
<td><a href="http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/5.x/contrib/raidmonitor/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/5.x/contrib/raidmonitor/</span></a></td>
</tr>
<tr class="tightenable top bottom"><th>Twig:</th>
<td>Twig is not supported anymore on SME 6.01 by the author (see <a href="http://www.myezserver.com" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.myezserver.com</span></a>)</td>
</tr>
</table>
<p class="tightenable top bottom"><br /></p>
<h3>Revision Information<br /></h3>
<p class="tightenable top bottom">If you want to see previous versions of this document look here:</p>
<ul><li class="tightenable top bottom"><a href="Latest%20version%20of%20update%20scripts.html" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />Latest%20version%20of%20update%20scripts&amp;action=PageHistory</span></a></li>
<li class="tightenable top bottom"><a href="SME6.0.1Contribs.html" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />SME6.0.1Contribs&amp;action=PageHistory</span></a></li>
</ul>
<p class="tightenable top bottom"><br />
<br /></p>
<h3>Change log<br /></h3>
<ul><li class="tightenable top bottom">Aug 08, 2006 - Apache links updated - aasche</li>
<li class="tightenable top bottom">Jun 29, 2006 - Apache, smeserver-fetchmail links updated- stefan24</li>
<li class="tightenable top bottom">Apr 29, 2006 - Changed again the link to smeserver-fetchmail to follow the latest version - schirrms</li>
<li class="tightenable top bottom">Apr 01, 2006 - changed some URLs from braunstein.de to smesmith.de - stefan24</li>
<li class="tightenable top bottom">Mar 26, 2006 - removed dungog file proftp - stefan24</li>
<li class="tightenable top bottom">Mar 19, 2006 - changed path to dungog files - stefan24</li>
<li class="tightenable top bottom">Feb 28, 2006 - updated e-smith-dhcpmanager to 1.5-1 - stefan24</li>
<li class="tightenable top bottom">Jan 14, 2006 - Changed again the link to smeserver-fetchmail to follow the latest version - schirrms</li>
<li class="tightenable top bottom">Dec 05, 2005 - changed all contribs.org URLs to ibiblio.org and Twig contrib to my own server - stefan24</li>
<li class="tightenable top bottom">Oct 23, 2005 - Changed again the link to smeserver-fetchmail to follow the latest version - schirrms</li>
<li class="tightenable top bottom">Oct 22, 2005 - norlug changed some RPM names, updated in script - hamishau</li>
<li class="tightenable top bottom">Oct 15, 2005 - Apache links changed once again - stefan24</li>
<li class="tightenable top bottom">Oct 13, 2005 - Apache links and some inforamtion regarding update to SME 7 changed - stefan24</li>
<li class="tightenable top bottom">Aug 19, 2005 - Changed again the link to smeserver-fetchmail to follow the latest version - schirrms</li>
<li class="tightenable top bottom">Aug 02, 2005 - Changed the link to smeserver-fetchmail to follow the latest version - schirrms</li>
<li class="tightenable top bottom">Aug 01, 2005 - reenabled Dungog contribs with new URL after one day downtime again - stefan24</li>
<li class="tightenable top bottom">Jul 10, 2005 - changed two contribs (thought, that I've done one of them already some days before!??) - stefan24</li>
<li class="tightenable top bottom">Jun 16, 2005 - switched from sme.swerts-knudsen.dk to .com, since the former is down - stefan24</li>
<li class="tightenable top bottom">May 16, 2005 - Amazed ! smeserver-fetchmail was updated yesterday, and this script is already up-to-date ! BTW, one of the change should permit to use dundog-mailblocking - schirrms</li>
<li class="tightenable top bottom">May 16, 2005 - updated script to use smeserver-fetchmail-1.3.4-04.noarch.rpm from www.schirrms.net - stefan24</li>
<li class="tightenable top bottom">May 15, 2005 - updated script to use sme-server-update-system-1.0-3.noarch.rpm from dungog.net - stefan24</li>
<li class="tightenable top bottom">May 03, 2005 - changed Twiggi to Twig - stefan24</li>
<li class="tightenable top bottom">Apr 25, 2005 - Added quotes to Norlug downloads to help mitigate download errors - smeghead</li>
<li class="tightenable top bottom">Apr 11, 2005 - changed testing of online status from ping to host (thanks to Gerald) - stefan24</li>
<li class="tightenable top bottom">Apr 07, 2005 - updated script here to use sme-server-update-system-1.0-2.noarch.rpm from dungog.net - pwalter</li>
<li class="tightenable top bottom">Mar 29, 2005 - MySQL version - upg to 4.0.24 and --nodeps option was removed from php installation - Ergin</li>
<li class="tightenable top bottom">Mar 27, 2005 - Updated the last references from swerts-knudsen.dk to .com - Knuddi</li>
<li class="tightenable top bottom">Mar 07, 2005 - Windows Update Cache Manager updated to 1.0-4 (<a href="http://www.mcas.fr" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.mcas.fr</span></a>) - eric</li>
<li class="tightenable top bottom">Feb 16, 2005 - Changed the download location for A/V script to Jespers site (<a href="http://sme.swerts-knudsen.com" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://sme.swerts-knudsen.com</span></a>) - smeghead!</li>
<li class="tightenable top bottom">Feb 9, 2005 - Fixed broken phpupgrade links - Tib / added french translation for contribs - mutmut</li>
<li class="tightenable top bottom">Jan 30, 2005 - Fixed broken zlib-devel-1.2.1.1-4.i386.rpm link - Kevin</li>
<li class="tightenable top bottom">Jan 25, 2005 - Fixed link to the apache updates - Tib</li>
<li class="tightenable top bottom">Jan 4, 2005 - Fixed broken links to raidmonitor and twggi in both the list of url and the shell script. - <u title="Empty link to: MoonLight" onmouseover="window.status=&quot;Empty link to: MoonLight&quot;; return true;" onmouseout="window.status='';return true;" class="wikiunknown">MoonLight</u></li>
<li class="tightenable top bottom">Jan 3, 2005 - Commented out dungog-mailblocking - it must be disabled to allow the fetchmail pop3 contrib to work, so either run the script as it is now, or if you would prefer to have dungog-mailblocking rather than the fetchmail contrib, edit the script after you have downloaded it. - Greg Swallow</li>
<li class="tightenable top bottom">Jan 01, 2005 - added french translation, thanks to Jerome Paquay  - stefan24</li>
<li class="tightenable top bottom">Dec 27, 2004 - added Twiggi contrib - stefan24</li>
<li class="tightenable top bottom">Dec 26, 2004 - e-smith-phpmyadmin updated to 2.6.0-12</li>
<li class="tightenable top bottom">Dec 23, 2004 - Dungog mailblocking updated to 1.0.4</li>
<li class="tightenable top bottom">Dec 22, 2004 - integrated php and mysql upgrade scripts into main script to benefit from error checking - some links were dead on old script - and also updated to mysql 4.0.22 - Greg Swallow<br /></li>
<li class="tightenable top bottom">Dec 20, 2004 - set d/l location for Spamfilter to contribs.org to match script primary d/l location; minimise potential mismatches - smeghead!<br /></li>
<li class="tightenable top bottom">Dec 17, 2004 - added german information, online check, make contrib install optional, send error mail - stefan24 <br /></li>
<li class="tightenable top bottom">Dec 16, 2004 - updated user agent string for securemail, re-enabled option - smeghead! <br /></li>
<li class="tightenable top bottom">Dec 14, 2004 - saco-mitel-isoqlog updated, thanks to mbachmann <br /></li>
<li class="tightenable top bottom">Dec 13, 2004 - Added agent string to allow Securemail download - smeghead! <br /></li>
<li class="tightenable top bottom">Nov 30, 2004 - Added a SME 6.0.1-01 check and the intro page - Stefan24 <br /></li>
<li class="tightenable top bottom">Nov 28, 2004 - Added a few extra useful contribs, fixed a coupla typos - smeghead<br /></li>
<li class="tightenable top bottom">Nov 26, 2004 - completely changed into one script, with error checking for the downloads, and changed a few contribs - gregswallow<br /></li>
<li class="tightenable top bottom">Nov 17, 2004 - updated apache links - Stefan24<br /></li>
<li class="tightenable top bottom">Oct 19, 2004 - updated phpmyadmin link - Medimo<br /></li>
<li class="tightenable top bottom">Oct 4, 2004 - updated a mysql download link to a more reliable site - gregswallow<br /></li>
<li class="tightenable top bottom">Oct 3, 2004 - fixed links to updated Phpmyadmin .10 version - gregswallow<br /></li>
</ul>
<p class="tightenable top bottom"><br /></p>
<h3>Known Problems</h3>
<p class="tightenable top bottom">Some problems you might run into if you are upgrading an already modified server.  Maybe we can integrate detecting for some contribs that are already installed that might conflict/stop working after the update script is run.</p>
<ul><li class="tightenable top bottom">If cyrus-imap is installed using the howto here: <a href="How%20to%20install%20Cyrus%20IMAP%20server%20on%20e-smith%20SME%20Server.html" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />How%20to%20install%20Cyrus%20IMAP%20server%20on%20e-smith%20SME%20Server</span></a> - then it will not work after the upgrade script is run - see the forum thread concerning this problem here: <a href="http://forums.contribs.org/viewtopic.php?t=25261" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://forums.contribs.org/viewtopic.php?t=25261</span></a><br /></li>
</ul>
<p class="tightenable top bottom"><br /></p>
<hr />
<h3>smeplus.sh</h3>
<pre class="tightenable top bottom">
#!/bin/sh

while [ &quot;$start&quot; != &quot;y&quot; ] ; do

case &quot;$start&quot; in
 &quot;d&quot; | &quot;D&quot;)
    lang=&quot;de&quot;
    #clear screen
    clear
    echo '/=====================================================================\'
    echo '| Dieses Script laedt Updates fuer den SME 6.01 Server in /root/plus/,|'
    echo '| installiert diese, wenn alle erfolgreich heruntergeladen wurden und |'
    echo '| installiert optional einige zusaetzliche Contribs.                  |'
    echo '|                                                                     |'
    echo '| Dies ist *kein* offizielles Script von Contribs.org und nur fuer    |'
    echo '| neue Installationen von SME 6.0.1-01 gedacht, er kann jedoch auch   |'
    echo '| bei bereits geaenderten SME 6.01 Installationen funktionieren.      |'
    echo '|                                                                     |'
    echo '| Es wird keinerlei Garantie fuer Fehlerfreiheit oder Funktionalitaet |'
    echo '| der Updates gewaehrt. Der Einsatz erfolgt auf Ihr eigenes Risiko.   |'
    echo '|                                                                     |'
    echo '| Wenn Sie zustimmen und starten moechten, druecken Sie &quot;y&quot; und Enter,|'
    echo '| ansonsten &quot;n&quot; und Enter, um den Script abzubrechen.                 |'
    echo '|                                                                     |'
    echo '| Sie koennen optional die Ausgabe mitprotokollieren, indem Sie vor   |'
    echo '| dem Aufruf des Scriptes &quot;script smeplus.log&quot; eingeben und die       |'
    echo '| Ausgabe nach Ende des Scriptes mit &quot;exit&quot; wieder stoppen.           |'
    echo '|                                                                     |'
    echo '| Geben Sie &quot;e&quot; fuer englische Infos ein, &quot;f&quot; fuer franzoesische.     |'
    echo '\=====================================================================/'
 ;;

&quot;f&quot; | &quot;F&quot;)
    lang=&quot;fr&quot;
    #clear screen
    clear
    echo '/=====================================================================\'
    echo '| Ce script va télécharger des mises à jour pour votre SME 6.01 dans  |'
    echo '|  /root/plus/, installez-les et venez y ajouter quelques contribs.   |'
    echo '|                                                                     |'
    echo '| Ce script est une mise à jour *non* officielle et n`est prévue que  |'
    echo '| pour des nouvelles installations de SME 6.0.1-01 mais *peut*        |'
    echo '| fonctionner avec des installations SME 6.01 déjà modifiées.         |'
    echo '|                                                                     |'
    echo '| Aucune garantie n`est fournie et vous utilisez ce script à vos      |'
    echo '| propres risques.                                                    |'
    echo '|                                                                     |'
    echo '| Si vous acceptez ce qui est dit ci-dessus appuyez sur &quot;y&quot; pour      |'
    echo '| continuer sinon appuyez sur &quot;n&quot; ou &quot;Enter&quot; pour arrêter ce script.  |'
    echo '|                                                                     |'
    echo '| Si vous le souhaitez vous pouvez enregistrer les messages du script:|'
    echo '| Avant d`entrer &quot;sh smeplus.sh&quot; tapez &quot;script smeplus.log&quot; ...       |'
    echo '| A la fin de l`exécution de ce script tapez &quot;exit&quot;                   |'
    echo '|                                                                     |'
    echo '| press &quot;d&quot; for german informations, and &quot;e&quot; for english informations.|'
    echo '\=====================================================================/'
 ;;
 *)
    lang=&quot;us&quot;
    #clear screen
    clear
    echo '/=====================================================================\'
    echo '| This script will download updates for your SME 6.01 in /root/plus/, |'
    echo '| installs them after successful download and add some contribs.      |'
    echo '|                                                                     |'
    echo '| This script is *no* official update and intended only for fresh     |'
    echo '| installations of SME 6.0.1-01 but *may* work with modified          |'
    echo '| SME 6.01 installations, too.                                        |'
    echo '|                                                                     |'
    echo '| No express or implied warranties are provided and its usage is at   |'
    echo '| your own risk.                                                      |'
    echo '|                                                                     |'
    echo '| If you agree with the above then press &quot;y&quot; and Enter, if not press  |'
    echo '| &quot;n&quot; and Enter to abort the script.                                  |'
    echo '|                                                                     |'
    echo '| If you like you can log the output of this script for review later: |'
    echo '| Before typing &quot;sh smeplus.sh&quot; type &quot;script smeplus.log&quot; ...         |'
    echo '| and after the script is complete type &quot;exit&quot;                        |'
    echo '|                                                                     |'
    echo '| press &quot;d&quot; for german informations, and &quot;f&quot; for french informations. |'
    echo '\=====================================================================/'
 ;;
 esac

 read start

 if [ &quot;$start&quot; = &quot;n&quot; ] ; then
    exit 1
 fi
done

#make download directory
mkdir -p /root/plus
cd /root/plus

echo -n &quot;Checking SME version...&quot;
rpm -qa &gt; rpmlist

# logfile is created with tee statement below

IS_SME601=`cat rpmlist | grep -c e-smith-release-6.0.1-01`
if [ $IS_SME601 -eq 1 ] ; then
echo &quot;Installing on SME 6.0.1-01...&quot;
else
echo &quot;This update only supports SME 6.0.1-01 at the moment - Exiting...&quot;
exit 1
fi

echo -n &quot;Checking online status...&quot;

host www.contribs.org |grep 'address'|cut -b30- &gt; ip.txt
if [ -e `cat ip.txt` ]; then
clear
echo &quot;exiting. no connection to www.contribs.org ... &quot;
rm ip.txt
exit 1
else
clear
echo &quot;connection to www.contribs.org is ok and has address &quot;
cat ip.txt
rm ip.txt
fi

echo &quot;&quot;

while [ &quot;$contribs&quot; != &quot;y&quot; -a &quot;$contribs&quot; != &quot;n&quot; ] ; do

case &quot;$lang&quot; in
 &quot;us&quot;) echo &quot;Do you want to install additional contribs? [y/n]&quot; ;;
 &quot;de&quot;) echo &quot;Moechten Sie zusaetzliche Contribs installieren? [y/n]&quot; ;;
 &quot;fr&quot;) echo &quot;Voulez-vous installer des Contribs supplémentaires? [y/n]&quot; ;;
esac

echo &quot;(SpamFilter, AntiVirus, Lazy Admin Tools, PHPmyadmin, etc.)&quot;
read contribs
done


###########
#downloads#
###########

#download status bar
echo &quot; &quot;
echo &quot;Downloading files...Please be patient, 100MB? of downloads&quot;
echo &quot;[------------------------]&quot;
echo -n &quot;[&quot;

#updates

#download php updates
#moved contents of php script into main script so we can benefit from download error checking
mkdir -p /root/plus/phpupgrade
cd /root/plus/phpupgrade
wget -nc -nd -S http://mirror.contribs.org/smeserver/contribs/ergozd/scripts/phprpms/php-4.3.10-3eo.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://mirror.contribs.org/smeserver/contribs/ergozd/scripts/phprpms/php-devel-4.3.10-3eo.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://mirror.contribs.org/smeserver/contribs/ergozd/scripts/phprpms/php-imap-4.3.10-3eo.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://mirror.contribs.org/smeserver/contribs/ergozd/scripts/phprpms/php-ldap-4.3.10-3eo.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://mirror.contribs.org/smeserver/contribs/ergozd/scripts/phprpms/php-mysql-4.3.10-3eo.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://mirror.contribs.org/smeserver/contribs/ergozd/scripts/phprpms/php-odbc-4.3.10-3eo.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://mirror.contribs.org/smeserver/contribs/ergozd/scripts/phprpms/php-snmp-4.3.10-3eo.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://download.fedoralegacy.org/redhat/7.3/os/i386/unixODBC-2.2.0-5.i386.rpm -a /root/plus/plus.log
echo -n &quot;.&quot;

#download openssh
mkdir -p /root/plus/openssh
cd /root/plus/openssh
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/OpenSSH/openssh-3.9p1-1es1.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/OpenSSH/openssh-clients-3.9p1-1es1.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/OpenSSH/openssh-server-3.9p1-1es1.i386.rpm -a /root/plus/plus.log
echo -n &quot;.&quot;

#download openssl
mkdir -p /root/plus/openssl
cd /root/plus/openssl
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/OpenSSL/openssl-0.9.6m-1es1.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/OpenSSL/openssl-devel-0.9.6m-1es1.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/OpenSSL/openssl-perl-0.9.6m-1es1.i386.rpm -a /root/plus/plus.log
echo -n &quot;.&quot;

#download webmail
mkdir -p /root/plus/webmail
cd /root/plus/webmail
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/e-smith-imp-1.10.0-04dm.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/e-smith-kronolith-0.8.1-02.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/e-smith-mnemo-0.8.0-04.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/e-smith-nag-0.8.0-05.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/horde-2.2.5-1dm.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/imp-3.2.5-01dm.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/kronolith-1.1.2-1es.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/mnemo-1.1.2-1es.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/nag-1.1.1-1es.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/WebMail/turba-1.2.2-1es00.noarch.rpm -a /root/plus/plus.log
echo -n &quot;.&quot;


#download apache and dependancies
mkdir -p /root/plus/apache
cd /root/plus/apache
wget -nc -nd -S 'http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/db4-4.0.14-4.norlug.i386.rpm' -a /root/plus/plus.log
wget -nc -nd -S 'http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/python2.3-2.3.5-1.norlug.i386.rpm' -a /root/plus/plus.log
wget -nc -nd -S 'http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/mod_ssl-2.8.28-1.norlug.i386.rpm' -a /root/plus/plus.log
wget -nc -nd -S 'http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/apache-1.3.37-1.norlug.i386.rpm' -a /root/plus/plus.log
wget -nc -nd -S 'http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/apache-devel-1.3.37-1.norlug.i386.rpm' -a /root/plus/plus.log
wget -nc -nd -S 'http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/apache-manual-1.3.37-1.norlug.i386.rpm' -a /root/plus/plus.log
wget -nc -nd -S 'http://download.fedoralegacy.org/redhat/7.3/os/i386/compat-glibc-6.2-2.1.3.2.i386.rpm' -a /root/plus/plus.log
echo -n &quot;.&quot;

#download mysql updates
#moved script from contribs.org/contribs/ergozd into main script to benefit from download error checking
mkdir -p /root/plus/MySQL_Upgrade
cd /root/plus/MySQL_Upgrade
wget -nc -nd -S http://downloads.mysql.com/archives/mysql-4.0/MySQL-shared-compat-4.0.22-0.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://downloads.mysql.com/archives/mysql-4.0/MySQL-server-4.0.22-0.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://downloads.mysql.com/archives/mysql-4.0/MySQL-client-4.0.22-0.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://downloads.mysql.com/archives/mysql-4.0/MySQL-devel-4.0.22-0.i386.rpm -a /root/plus/plus.log
echo -n &quot;.&quot;

#download misc. updates
mkdir -p /root/plus/updates
cd /root/plus/updates
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/zlib-1.2.1.1-4.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/zlib-devel-1.2.1.1-4.i386.rpm  -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/proftpd-1.2.10-es1.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/fetchmail-6.2.5-1.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/Rsync/rsync-2.6.2-1.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/GnuPG/gnupg-1.2.4-0_19.rh7.3.at.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://mirror.contribs.org/smeserver/releases/6.0.1/updates-common/i386/initscripts-6.67-1es26.i386.rpm -a /root/plus/plus.log
echo -n &quot;.&quot;

# optional contribs

if [ &quot;$contribs&quot; = &quot;y&quot; ]; then

#download lazy admin tools and userpanel
mkdir -p /root/plus/lat-userpanel
cd /root/plus/lat-userpanel
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/e-smith-lazy_admin_tools-0.9.0-1.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Userpanel/e-smith-userpanel-1.6.0-3.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Userpanel/perl-Unicode-IMAPUtf7-1.02-1.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/Userpanel/perl-Unicode-String-2.06-1.i386.rpm -a /root/plus/plus.log
echo -n &quot;.&quot;

#download Antivirus script
cd /root/plus
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/AntiVirus/antivirus_install.sh -a /root/plus/plus.log
echo -n &quot;.&quot;

#download Spamfilter script
cd /root/plus
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/SpamFilter/spamfilter_install.sh -a /root/plus/plus.log
echo -n &quot;.&quot;

#download phpmyadmin
mkdir -p /root/plus/phpmyadmin
cd /root/plus/phpmyadmin
wget -nc -nd -S http://mirror.contribs.org/smeserver/contribs/nightspirit/e-smith-phpmyadmin/e-smith-phpmyadmin-2.6.0-12.noarch.rpm -a /root/plus/plus.log
cd /root/plus
echo -n &quot;.&quot;

#download awstats script
mkdir -p /root/plus/awstats
cd /root/plus/awstats
wget -nc -nd -S http://sme.swerts-knudsen.com/downloads/AwStats/install_awstats.sh -a /root/plus/plus.log
cd /root/plus
echo -n &quot;.&quot;


#download securemail
mkdir -p /root/plus/securemail
cd /root/plus/securemail
wget -nc -nd -S -U &quot;SMEupdate&quot; http://www.pagefault.org/code/e-smith/securemail/6.0/e-smith-securemail-6.0.1-01dc.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S -U &quot;SMEupdate&quot; http://www.pagefault.org/code/e-smith/securemail/6.0/e-smith-smtp-authentication-6.0.1-02dc.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S -U &quot;SMEupdate&quot; http://www.pagefault.org/code/e-smith/securemail/6.0/e-smith-ssl-imap-6.0.1-02dc.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S -U &quot;SMEupdate&quot; http://www.pagefault.org/code/e-smith/securemail/6.0/e-smith-ssl-mailfront-6.0.1-02dc.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S -U &quot;SMEupdate&quot; http://www.pagefault.org/code/e-smith/securemail/6.0/e-smith-ssl-popd-6.0.1-02dc.noarch.rpm -a /root/plus/plus.log
echo -n &quot;.&quot;

#download modindex
mkdir -p /root/plus/modindex
cd /root/plus/modindex
wget -nc -nd -S http://mirror.contribs.org/smeserver/contribs/gzartman/Contribs/mod_perl/e-smith-mod_perl-0.0.1-2.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S http://mirror.contribs.org/smeserver/contribs/gzartman/Beta/ModIndex/e-smith-modindex-0.0.5-2.noarch.rpm -a /root/plus/plus.log
echo -n &quot;.&quot;

#download fetchmail pop3 contrib
mkdir -p /root/plus/fetchmail
cd /root/plus/fetchmail
wget -nc -nd -S http://www.schirrms.net/files/perl-CGI-FormMagick-0.89-08.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S http://www.schirrms.net/files/smeserver-fetchmail-1.3.4-09.noarch.rpm -a /root/plus/plus.log
echo -n &quot;.&quot;

#download dungog contribs
mkdir -p /root/plus/dungog
cd /root/plus/dungog
#wget -nc -nd -S http://mirror.contribs.org/smeserver/contribs/dungog/packages/smeserver/6.0/i386/dungog/RPMS/dungog-proftpd-chroot-0.1-6.noarch.rpm -a /root/plus/plus.log
#wget -nc -nd -S http://mirror.contribs.org/smeserver/contribs/dungog/packages/smeserver/6.0/i386/dungog/RPMS/dungog-mailblocking-1.0-3.noarch.rpm -a /root/plus/plus.log
wget -nc -nd -S http://mirror.contribs.org/smeserver/contribs/dungog/packages/smeserver/6.0/i386/dungog/RPMS/sme-server-update-system-1.0-3.noarch.rpm -a /root/plus/plus.log
echo -n &quot;.&quot;

#download windows update cache manager
mkdir -p /root/plus/cache
cd /root/plus/cache
wget -nc -nd -S http://perso.wanadoo.fr/passionelectro/file_sme6/perl-Net-Telnet-3.03-1.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://perso.wanadoo.fr/passionelectro/file_sme6/perl-TimeDate-1.16-1.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://perso.wanadoo.fr/passionelectro/file_sme6/sme-cache-windows-1.0-4.noarch.rpm -a /root/plus/plus.log
echo -n &quot;.&quot;

#download dhcp to dns synchroniser
mkdir -p /root/plus/dhcp-dns
cd /root/plus/dhcp-dns
wget -nc -nd -S http://www.activeservice.co.uk/sme/contribs/sme-dhcp-dns-0.9-rc1.noarch.rpm -a /root/plus/plus.log
echo -n &quot;.&quot;

#download dhcp manager
mkdir -p /root/plus/dhcpmanager
cd /root/plus/dhcpmanager
wget -nc -nd -S http://www.developit.fr/FichePratique/SMEServer/perl-Net-Ping-2.24-1.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://www.developit.fr/FichePratique/SMEServer/wol-0.6.0-3.i386.rpm -a /root/plus/plus.log
wget -nc -nd -S http://www.developit.fr/FichePratique/SMEServer/e-smith-dhcpmanager-1.5-1.noarch.rpm -a /root/plus/plus.log
echo -n &quot;.&quot;

#download print spooler manager
mkdir -p /root/plus/sacolprng
cd /root/plus/sacolprng
wget -nc -nd -S http://www.saco-support.de/sme/smeserver-lprng-monitor/smeserver-lprng-monitor-0.0.6-1.noarch.rpm -a /root/plus/plus.log
echo -n &quot;.&quot;

#download mail log analyser
mkdir -p /root/plus/sacoisoqlog
cd /root/plus/sacoisoqlog
wget -nc -nd -S -a /root/plus/plus.log http://www.saco-support.de/sme/saco-mitel-isoqlog/saco-mitel-isoqlog-0.1-09.noarch.rpm
echo -n &quot;.&quot;

#download rootkit hunter
mkdir -p /root/plus/rkhunter
cd /root/plus/rkhunter
wget -nc -nd -S -a /root/plus/plus.log http://mirror.contribs.org/smeserver/contribs/dthomas/smeserver/6.x/Contrib/rkhunter/smeserver-rkhunter-1.1.8-1.noarch.rpm
echo -n &quot;.&quot;

# download Twig
mkdir -p /root/plus/twig
cd /root/plus/twig
wget -nc -nd -S -a /root/plus/plus.log http://www.smesmith.de/download/sme6/contribs/plus/twig/smeserver-twig-2.8.3-0.noarch.rpm
echo -n &quot;.&quot;


#download raidmonitor
mkdir -p /root/plus/raid
cd /root/plus/raid
wget -nc -nd -S http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/5.x/contrib/raidmonitor/dmc-mitel-raidmonitor-0.0.1-5.noarch.rpm -a /root/plus/plus.log
echo -n &quot;.]&quot;

else
  echo -n &quot;.................]&quot;
fi

cd /root/plus
clear
echo &quot;Downloading Complete&quot;
echo &quot;&quot;
echo &quot;Now verifying download process completed with no errors&quot;
echo &quot;&quot;
IS_ERROR=`pic /root/plus/plus.log | grep -c ERROR`

if [ $IS_ERROR -ge 1 ]; then
echo &quot;It seems that $IS_ERROR file(s) failed to download, please review&quot;
echo &quot;/root/plus/plus.log, and edit the script as necessary.&quot;
echo &quot;You may not have used the latest script. Please download that script again with&quot;
echo &quot;&quot;
echo &quot;  wget -N http://www.smesmith.de/update/smeplus.sh&quot;
echo &quot;&quot;
echo &quot;and try it once more.&quot;
echo &quot;&quot;
echo &quot;If you are sure, that you have used the latest script: Do you want to inform stefan24 via e-mail about these errors? (y/n)&quot;
echo &quot;&quot;
read errormail

if [ &quot;$errormail&quot; = &quot;y&quot; ]; then
 mail -s &quot;Error in SME script&quot; sme@braunstein.de &lt;/root/plus/plus.log
 echo &quot;mail with plus.log sent to stefan24, one of the maintainers&quot;
else
 echo &quot;Please check , if you have used the latest script and update the Wiki page on contribs.org yourself&quot;
 echo &quot;if a link is really outdated&quot;
 echo &quot;This script was written and maintained by people like you :-)&quot;
fi
echo &quot;&quot;
exit 1
fi

clear
echo &quot;All files were downloaded successfully, cross your fingers, take a deep breath&quot;
echo &quot;...and if you dare press any key to continue&quot;
read answer
echo &quot;&quot;
echo &quot;Are you sure?  This could really screw up your server - press any key again&quot;
echo &quot;if this is a fresh install of SME 6.0.1-01 and you understand this may not&quot;
echo &quot;work as intended, is not an official update and may impair you from easily&quot;
echo &quot;updating to newer official versions of SME Server.&quot;
read answer

##############
#installation#
##############
clear
echo &quot;Beginning Installation...&quot;
echo &quot;&quot;


# PHP upgrade script copied from contribs.org/contribs/ergozd/scripts and edited a bit
cd /root/plus/phpupgrade
rpm -qa &gt; rpmlist
IS_ODBC=`pic rpmlist | grep -c unixODBC`
if [ $IS_ODBC -eq 0 ]
then
    rpm -Uvh unixODBC-2.2.0-5.i386.rpm
else
    echo &quot;unixODBC installed, skipping install&quot;
fi
rpm -Uvh php*.rpm
mkdir -p /etc/e-smith/templates-custom/etc/php.ini
touch /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
echo 'include_path        = &quot;.:/usr/share/pear&quot;' &gt; /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
echo 'doc_root            =' &gt;&gt; /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
echo 'user_dir            =' &gt;&gt; /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
echo 'extension_dir       = /usr/lib/php4' &gt;&gt; /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
echo 'enable_dl           = On' &gt;&gt; /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
pear upgrade Log
pear upgrade Date
/sbin/e-smith/expand-template /etc/php.ini
service httpd restart
# end PHP upgrade script


cd /root/plus/openssh
rpm -Uvh *.rpm
/sbin/e-smith/expand-template /etc/ssh/sshd_config
/sbin/e-smith/signal-event remoteaccess-update


cd /root/plus/openssl
rpm -Uvh *.rpm

cd /root/plus/webmail
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 /root/plus/apache
rpm -Uvh *.rpm

cd /root/plus/updates
rpm -Uvh *.rpm

cd /root/plus/MySQL_Upgrade
echo &quot;Please ignore the warnings to change the MYSQL password and do NOT change it!&quot;
echo &quot;press Enter to continue&quot;
read answer
# MySQL Update script copied from contribs.org/contribs/ergozd/scripts
# edited so we can benefit from download error checking in main script
# changed so if user has mysql 4.0.x (not .22) it will automatically update
rpm -qa &gt; rpmlist
IS_SQL3=`pic rpmlist | grep -c mysql-3.23`
IS_SQL422=`pic rpmlist | grep -c MySQL-server-4.0.22`
if [ $IS_SQL422 -eq 1 ] ; then
        echo &quot;You have the latest version, skipping mysql upgrade&quot;
else
        cd /root/plus/MySQL_Upgrade
        if [ $IS_SQL3 -ne 0 ] ; then
                rpm -e --nodeps mysql mysql-server
                rpm -e mysql-devel
                rpm -e mysqlclient9
        fi
        service mysqld stop
        rpm -Uvh MySQL-*.rpm
        /sbin/chkconfig --levels 2345 mysql on
        if [ $IS_SQL3 -ne 0 ] ; then
                mv /etc/rc.d/init.d/mysql /etc/rc.d/init.d/mysqld
        fi
        rm /etc/rc.d/rc7.d/S90mysqld
        ln -s /etc/rc.d/init.d/mysqld /etc/rc.d/rc7.d/S90mysqld
        /sbin/e-smith/config setprop mysqld LocalNetworkingOnly no
        /sbin/e-smith/expand-template /etc/my.cnf
        /sbin/e-smith/expand-template /root/.my.cnf
        ln -s /usr/sbin/mysqld /usr/libexec/
        /sbin/service mysqld start
        sleep 10
        if [ $IS_SQL3 -ne 0 ] ; then
                /usr/bin/mysql_fix_privilege_tables
        fi
fi
# end of MySQL Update sript


if [ &quot;$contribs&quot; = &quot;y&quot; ]; then

cd /root/plus/lat-userpanel
rpm -Uvh *.rpm

cd /root/plus
lat-procmail -c &quot;*|enabled|no|some|normal&quot;

sh antivirus_install.sh

sh spamfilter_install.sh

cd /root/plus/phpmyadmin
rpm -Uvh e-smith-phpmyadmin-2.6.*.rpm


cd /root/plus/awstats
lat-ibays -a -c &quot;awstats | awstats ibay | admin&quot;
sh install_awstats.sh


cd /root/plus/securemail
rpm -ihv e-smith-securemail-6.0.1-01dc.noarch.rpm \
e-smith-smtp-authentication-6.0.1-02dc.noarch.rpm \
e-smith-ssl-imap-6.0.1-02dc.noarch.rpm \
e-smith-ssl-mailfront-6.0.1-02dc.noarch.rpm \
e-smith-ssl-popd-6.0.1-02dc.noarch.rpm


cd /root/plus/modindex
rpm -ivh e-smith-mod_perl-0.0.1-2.noarch.rpm
rpm -ivh e-smith-modindex-0.0.5-2.noarch.rpm
cd /root/plus

#double bounce email deletion - from sme.swerts-knudsen.com
mkdir -p /etc/e-smith/templates-custom/var/qmail/control
echo devnull &gt; /etc/e-smith/templates-custom/var/qmail/control/doublebounceto
/sbin/e-smith/signal-event email-update
/etc/init.d/qmail restart

cd /root/plus/fetchmail
rpm -Uvh perl-CGI-FormMagick-0.89-08.noarch.rpm
rpm -Uvh smeserver-fetchmail-*.noarch.rpm

cd /root/plus/dungog
rpm -Uvh *.rpm

cd /root/plus/cache
rpm -Uvh perl-Net-Telnet-3.03-1.i386.rpm
rpm -Uvh perl-TimeDate-1.16-1.i386.rpm
rpm -Uvh sme-cache-windows-1.0-4.noarch.rpm

cd /root/plus/dhcp-dns
rpm -Uvh sme-dhcp-dns-0.9-rc1.noarch.rpm

cd /root/plus/dhcpmanager
rpm -Uvh perl-Net-Ping-2.24-1.i386.rpm
rpm -Uvh wol-0.6.0-3.i386.rpm
rpm -Uvh e-smith-dhcpmanager-1.4-7.noarch.rpm

cd /root/plus/sacolprng
rpm -Uvh smeserver-lprng-monitor-0.0.6-1.noarch.rpm

cd /root/plus/sacoisoqlog
rpm -Uvh *.rpm

cd /root/plus/rkhunter
rpm -ivh *.rpm

cd /root/plus/twig
rpm -Uvh smeserver-twig-*.rpm

cd /root/plus/raid
rpm -Uvh *.rpm

fi

/sbin/e-smith/signal-event post-upgrade

echo &quot;The script is complete :-)&quot;
echo &quot;Now type 'exit' if you have recorded the script output and review smeplus.log&quot;
echo &quot;Then to reboot type '/sbin/e-smith/signal-event reboot'&quot;

#end script</pre>
</div>

<div id="footer">  <hr class="printer" noshade="noshade" />
<p class="editdate">Owner: &quot;aasche&quot;  Last edited on August 8, 2006  5:39 pm by &quot;aasche&quot;</p>
</div>

</div>
<!-- Add your Disclaimer here -->
</body>
</html>
