[Bro] Issues with DESTDIR support
Hank Leininger
hlein at korelogic.com
Wed Mar 7 14:40:04 PST 2012
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 looks
> 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
/share/bro/site/
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.
Thanks,
--
Hank Leininger <hlein at korelogic.com>
D24D 2C2A F3AC B9AE CD03 B506 2D57 32E1 686B 6DB3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 447 bytes
Desc: Digital signature
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20120307/819a47a9/attachment.bin
More information about the Bro
mailing list