The Serviio port / PBI that currently exists is all frelled up. I agree about having a separate PBI for Java as there are a lot of different apps that use it, however the beauty of the Plugin system is that it keeps tracks of those dependencies and only installs the parts that aren't already installed.
I'm working on a "proper" plugin for Serviio with version .062 and was also going to abandon Diablo JRE because of the licensing requirements / having to download it separately.
While the plugin system is cool, for people that just want to get their apps going and aren't afraid of the command line, it's easier to just open a command prompt into the plugin jail and add your packages like a conventional FreeBSD system and use pkg_add.
@Athanasios, if you want to wait I'm part way through with the Serviio PBI. I've had a few distractions keeping me from working on it, but I should have at least a initial version to try in the next few days.
EDIT: A LOT of the PBI's in the repository have been automatically built with some script that just runs through the port directory and tries to convert them. That doesn't mean they work properly as a PBI, or have had any sort of testing as a PBI.
EDIT-2 Just for grins I uninstalled diablo-jre on my Serviio test machine and installed openjdk6 and without any other changes Serviio is working. So that at least confirms that Serviio will work without Diablo-JRE and the annoying license issues.
EDIT-3 Installing the OpenJDK6 PBI is a different/newer version of OpenJDK and has the library issues that @Athanasios mentioned above while installing OpenJDK6 using pkg_add does work although it tells you at the end of the installation to do:
Code:
======================================================================
This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd.
If you have not done it yet, please do the following:
mount -t fdescfs fdesc /dev/fd
To make it permanent, you need the following line in /etc/fstab:
fdesc /dev/fd fdescfs rw 0 0
======================================================================
Which can't be done in the jail but Serviio still works. The package version is openjdk6-b20_7. The whole Java thing is a major PITA!