So I played with the spec file for 7.x to get OTRS
to work on RH8.0.
I had some notes about installation for anyone who
tries and some thoughts
on packaging for RH8.
1. Requires:
I had to adjust the Requires
list to match up with the current versions on RH8
perl-Digest-MD5 is default on
RH8 and not a package
perl-MIME-Base64 is default on
RH8...
sendmail replaced with MTA metapackage
cause I use postfix
mysqlclient is now at 10 and is
a part of mysql
apache is now called
httpd
2. Auto update of httpd.conf
In the post-install, the spec
file appends the include of the apache-httpd.include.conf
file to the end of
httpd.conf. I did not notice this, and since it does not work
with
apache2, this cause me no end of
trouble to track down. this leads to 3
3. /etc/httpd/conf.d
Apache2 on RH8 has a
dir called /etc/httpd/conf.d, specifically for
packages.
In the install phase of the spec
file, I installed the apache2-httpd.include.conf file
there as otrs.conf.
When you install the package, the conf file appears under
apache and will be loaded the
next time apache is loaded. (I assume this
is what you want).
4. Net-LDAP and perl-GD et al.
These two perl packaged are
considered optional as they are only used as
for certain modules.
Redhat though, finds references to them in code and
determines them as requirements. As they are not part of the standard
distribution
and there are no contrib
packages available, this is hard if you prefer to install
modules as
packages.
Is is possible to separate this
code into a different perl module and then package?
This would allow allow
installation of these features (as well as their
required modules)
to be optional.
otrs-version.i386.rpm
otrs-ldap-version.i386.rpm
otrs-GD-version.i386.rpm
5. apache2-httpd.include.conf
This file uses <IfModule>
directives.
These did not work for me out of
the box, and once I removed them, things worked find.
I am not sure why and did not
delve into it, so there maybe something I did wrong, but,
I thought that might be
usefull.
I have using this for a week and so far its pretty
awesome.
Seems like you have headed in a great
direction.
Many thanks for the work so far.
nIcholas