[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
Fri May 8 06:39:00 PDT 2015

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

Johanna Amann commented on BIT-1392:

Currently the spec files / control scripts are available at https://build.opensuse.org/package/show/network:bro/bro-nightly - we might add them somewhere into the git-repo at the moment, but they would probably always need slight modifications to run on a specific distribution (at the moment they contain something similar to #ifdefs).

> 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