Port Request - Asset Tracker for RT
Peter C. Lai
peter at simons-rock.edu
Tue May 19 19:02:20 UTC 2009
This is in response to your port request from Fri Apr 11 13:28:17 UTC 2008:
This turning out to be a lot of work (I was trying to port it over to
pkgsrc actually since I'm not deploying it on FreeBSD atm.
The main issue is having to rewrite/patch the entire upstream Makefile/
Makefile.in in order to split up the html into LOCALBASE/share/rt and the
appropriate perl into SITE_PERL and the config files into LOCALBASE/etc/rt.
Now, In the pkgsrc world, we don't put RT's libs into SITE_PERL, but
they go in PKGBASE/lib/rt3 and by default we tell RT's configure that
local RT modifications are in /var/rt3. I've resigned myself thus far to
having AssetTracker's lib and html live in /var/rt3 and the etc files
in PKGBASE/etc... It's another few steps (read: patching of AT's Makefile)
to better integrate AssetTracker so that its libs and html live in the
correct spots in pkgsrc; if I ever get around to that, then perhaps we can
throw in the SITE_PERL hack, but my client is itching to get his AssetTracker
instance up so I may just settle with what I have...
Trying to use existing p5-RT* portfiles as templates doesn't map well onto
AssetTracker, mostly because it makes assumptions that everyone is
installing their RT into the monolithic /opt/rt3 layout...
Peter C. Lai | Bard College at Simon's Rock
Systems Administrator | 84 Alford Rd.
Information Technology Svcs. | Gt. Barrington, MA 01230 USA
peter AT simons-rock.edu | (413) 528-7428
More information about the freebsd-ports