I decided to take the plunge and convert my server from SME7.5.1 to SME8, and (almost) everything has gone without issue. Some minor tweaking involved, but otherwise it was a pleasant experience.
However, there was one Contrib I was using which (at present) is incompatible with SME8 - Webshare, from Darrel May.
Ref:
http://wiki.contribs.org/WebshareSo, I spent a bit of time (necessity) to get it working, so I'm posting my patches here in case someone else needs to use the Webshare Contrib under SME8.
---
Install the Webshare Contrib as specified for SME7, but before step 3:
Create the following custom template fragment
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
vi 20LoadModule80AuthFile
Contents of 20LoadModule80AuthFile
{
$OUT .= load_modules(qw(auth_basic));
$OUT .= load_modules(qw(authn_file));
}
Optionally expand the template and restart the httpd server manually (if already installed)
expand-template /etc/httpd/conf/httpd.conf
service httpd-e-smith restart
Continue with the Webshare configuration (Step 4)
---
Optional (but recommended) - To fix the remaining issues in the Apache error_log:
vi /etc/e-smith/web/panels/manager/cgi-bin/webshare
Change lines:
66: tie %projects, 'esmith::config', '/home/e-smith/WebShare';
289: my $share = $q->param ('sharename');
301: my $indexer = $q->param ('indexer');
313: my $description = $q->param ('description');
To:
66: tie %projects, 'esmith::config', '/home/e-smith/db/WebShare';
289: $share = $q->param ('sharename');
301: $indexer = $q->param ('indexer');
313: $description = $q->param ('description');
While the 'patch' provided above is adequate to get it all working again, it isn't the "fully correct" solution. The Contrib is effectively ancient and is using the old-style DB access method, however, I don't have the time (at the moment) to rewrite the contrib to use the new (SME7+ approved) method. Maybe sometime I might ... but for the time being, this will get it working under SME8.
Hope this helps others ...
Regards,
Robert.