[Bro-Dev] [JIRA] (BIT-1392) CPack brocontrol package clashes with file paths from bro-minimal package

Johanna Amann (JIRA) jira at bro-tracker.atlassian.net
Mon May 11 13:58:00 PDT 2015

    [ https://bro-tracker.atlassian.net/browse/BIT-1392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20701#comment-20701 ] 

Johanna Amann commented on BIT-1392:

Closing for now since we probably will not do anything about this and it sounds like the spec/debian files also fulfill your needs. Feel free to re-open this if there is anything else...

> CPack brocontrol package clashes with file paths from bro-minimal package
> -------------------------------------------------------------------------
>                 Key: BIT-1392
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1392
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro, BroControl
>    Affects Versions: git/master
>            Reporter: Derek Ditch
> I've been building bro packages from git/master (as of today), and with EL7, yum enforces file path ownership to packages. Currently, all the packages checkout the same instance of cmake scripts, namely 'ConfigurePackaging.cmake'.
> Currently, this script excludes '/opt /var /var/opt'. When building brocontrol (and possibly issues with broccoli), you have to exclude paths that the bro package already owns. Namely, I had to change the exclusion line to the following to make it work:
>     set(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION /opt /var /var/opt /opt/bro/share/man/man8 /opt/bro/share/man /opt/bro/share /opt/bro )
> I don't know how you would like to handle this. Obviously, it makes sense to have a common cmake script repo...  maybe move this definition to the configure scripts for each component so that it's picked up in the initial cmake run.
> Also, it's worth noting that you have to use CMake >= 2.8.12 for this definition to actually work

This message was sent by Atlassian JIRA

More information about the bro-dev mailing list