[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
Thu May 7 23:02:00 PDT 2015
[ https://bro-tracker.atlassian.net/browse/BIT-1392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20606#comment-20606 ]
Johanna Amann commented on BIT-1392:
------------------------------------
Also - requiring cmake 2.8.12 as a minimum in Bro generally might be a problem since it is rather recent and probably not available in a lot of distributions that still see widespread use...
> 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
(v6.5-OD-03-002#65000)
More information about the bro-dev
mailing list