[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
Tue May 5 06:55:00 PDT 2015
Derek Ditch created BIT-1392:
--------------------------------
Summary: 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