I would ask nicely on the devinfo mailing list if someone would rebuild the bugzilla-2.22 rpm from atrpms.net on our build server and into the SMEDEV repository.
I think we'd just need to change two lines in the spec file to make it compatible with SME Server:
%defattr(-,root,apache,-)
to
%defattr(-,root,www,-)
and
perl -pi -e "s/\\\$webservergroup = \"nobody\";/\\\$webservergroup = \"apache\";/" localconfig
to
perl -pi -e "s/\\\$webservergroup = \"nobody\";/\\\$webservergroup = \"www\";/" localconfig
All the perl dependancies are packaged for you that way, so it would be installed and updated easier and then you'd just need to do the things you already figured out to make it work on sme server.
Your instructions would be something like this:
Make the atrpms repository available when needed, but exclude bugzilla (and a bunch of other stuff) so we don't get the wrong version:
/sbin/e-smith/db yum_repositories set atrpms repository \
Name 'atrpms - EL4' \
BaseURL 'http://dl.atrpms.net/el4-$basearch/atrpms/stable' \
EnableGroups no \
GPGCheck yes \
GPGKey http://ATrpms.net/RPM-GPG-KEY.atrpms \
Visible no \
Exclude clamav,spamassassin,libselinux,perl-HTML-Parser,lm_sensors,\
perl-IO-stringy,perl-XML-Parser,razor-agents,libgcrypt,rpm-python,\
libxml2,zlib,gnupg,libxml2-python,yum,module-init-tools,rpm,gettext,\
librpm4,glib2,perl-libwww-perl,perl-Convert-ASN1,beecrypt,fetchmail,\
libacl,libtool-ltdl,popt,libgpg-error,freetype,perl-MIME-tools,mutt,\
gd,perl-TimeDate,librpm4.4,bugzilla* \
status disabled
Expand /etc/yum.conf to take effect the change:
expand-template /etc/yum.conf
Install bugzilla from smedev and all the dependancies will be pulled in from atrpms and CentOS automatically: (once bugzilla-2.22 is in smedev)
yum --enablerepo=atrpms --enablerepo=smedev install bugzilla-2.22*
And then just finish up with the rest of your instructions. Looks good, thanks