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

Derek Ditch (JIRA) jira at bro-tracker.atlassian.net
Fri May 8 05:30:01 PDT 2015

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

Derek Ditch commented on BIT-1392:

The OpenSuSE build service option sounds great. Any chance the respective
spec files and debian control scripts can be added to the git repo so
others can build it too?

On Fri, May 8, 2015 at 2:02 AM, Johanna Amann (JIRA) <

> 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