Is there a debian/ubuntu policy on softlinking things to another location in opt once they're installed properly in usr/share or usr/lib?
Here's a simple example:
Packaging up dnsenum. It's a REALLY simple package (4 files).
A perl script, two wordlists, and a readme.
So from what I gather:
The wordlists should go in usr/share/dnsenum/*
The perl script itself would go in usr/lib/dnsenum/
The readme would go in usr/share/doc/dnsenum/
Add a wrapper bash script that goes in bin and just passes arguments to dnsenum.pl.
The question is this:
If there are various tools that provide wordlists or some other shared resource, is there a policy on linking all the wordlists from different packages in to /opt/wordlists/ ?
It seems like the "right" thing to do respecting the directory structure while still making things convenient.
/opt/? FHS does not seem to prohibit this (http://www.pathname.com/fhs/pub/fhs-2.3.html#OPTADDONAPPLICATIONSOFTWAREPACKAGES) but I never saw the package manager to install anything in/opt. I always thought this directory is for manually installed "add-on application software packages" – Sergey Dec 03 '12 at 00:57