[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: about build flavours



Hello,

On Tue, 29 Nov 2016, Arturo Borrero Gonzalez wrote:
> Currently, our main idea is to create a suricata-hyperscan package
> which includes the dependency to hyperscan, and the binary is build
> linked to the library.
> 
> We distribute two /usr/bin/suricata binaries in two binary packages:
>  * suricata, without hyperscan
>  * suricata-hyperscan, with hyperscan
> 
> Then, we conflict the packages with each other and dpkg-divert the
> /usr/bin/suricata file in suricata-hyperscan.

If both packages conflict with each other, then you don't need
dpkg-divert. And dpkg-divert is mainly useful when you want to replace a
file that is not under your own control, otherwise using the alternatives
system is usually preferred.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/


Reply to: