[Bro-Dev] Bro package granularity
jan.grashoefer at gmail.com
Wed Jan 24 06:38:49 PST 2018
On 23/01/18 00:31, Jon Siwek wrote:
> Might depend largely on the judgement of the packager, though I think
> the train of thought will end up being similar enough to provide
> guidelines like the following:
> If you think other packagers would depend on your scripts: it probably
> is better to provide separate packages where each offers the minimal
> feature set that one would expect to depend upon.
That's a good rule of thumb I think!
> Would the @if, @ifdef, @ifndef directives (e.g. for preprocessing away
> whole chunks of code) work for what you were trying to do?
I finally decided to use a @ifdef construction in __load__.bro, which
seems to be the best fit for now.
Thanks a lot for your feedback!
More information about the bro-dev