On Wed, Mar 07, 2012 at 09:54:09PM +0000, Siwek, Jonathan Luke wrote:
You're right, the InstallPackageConfigFile.cmake script does extra
precautionary checks so that user-modified config files don't get
clobbered at install time, but, in doing that, it worked around the
normal file install process and ends up not respecting DESTDIR.
If you can work from our git repository, I made a change on the
"topic/jsiwek/destdir-fix" branch of our "cmake" repository that
like it fixes the problem. To test it out, you'd do something like:
Sweet! This looks like it's about 99% there: install completes without
error. The main broctl.cfg, broccoli.conf, etc config files are
installed in /etc/.
However, it looks like scripts/site/local*.bro files are installed into
The other scripts/ dir (base/, policy/) contents are installed under
/opt/bro/share/bro/, which makes sense. I'm not sure where the site/
files are supposed to go -- I guess any of /etc/bro/site/,
/var/opt/bro/site/, or even /opt/bro/share/bro/site/ would work.
Hank Leininger <hlein(a)korelogic.com>
D24D 2C2A F3AC B9AE CD03 B506 2D57 32E1 686B 6DB3