

> In addition, as a special exception, you may extract and repackage There's one sentence that may allow building a package for binary redistribution: The MakeMKV EULA is even linked in the gentoo package: I'll gladly try to incorporate better ideas of course :) thank you very much.

But then, where to put the latter? /etc/makemkv would be short enough, but the generated files neither are really "configuration" nor do they belong to base. I could also separate the linux binaries and libs (putting them in their "standard" dirs) from the faked sysfs parts. Maybe /compat/linux/opt/makemkv would be a better choice, but I'm not sure it's a good idea to put files there that don't come from a linux-c* port? opt/makemkv looked like an obvious choice, as I could put almost everything right there and people will know it's a software package with its own directory.

The pathname used must not be longer than the original because I'm patching it into the makemkvcon binary with sed. I can't do that in the original location, because that wouldn't work on machines that have linsysfs mounted. Therefore I included a script to fake the relevant structure based on camcontrol output. The "makemkvcon" binary uses /sys/bus/scsi (which isn't provided by linsysfs) to find optical drives.
