I tried to install this but unfortunately even after a successful install apache complains about a syntax error. I looked through the files but there doesnt seem to be one, so not sure how to fix it. This package has no maintainer which is why it is broken on freebsd currently.
If you want to fix the install errors and try yourself, grab the etc directory from here
https://github.com/OCSInventory-NG/OCSInventory-Server
and place it in /usr/local/share/ocsinventory-server, so you will have /usr/local/share/ocsinventory-server/etc/
ocsinventory
then while in /usr/local/share/ocsinventory-server run this git clone command
Code:
git clone https://github.com/OCSInventory-NG/OCSInventory-ocsreports.git ocsreports
That will fix the install errors at least.
Restart apache and maybe it works ?