Hi Steve, Hi all,

in that case, we should implement ability to turn on and off each probe 
specifically
by ./configure options.
For example, if somebody will want to compile openscap without the rpminfo 
probe, the he should be able to run
./configure --disable-probe-rpminfo && make
and that will do the job for him

Unfortunately it is not possible now, although  it would be beneficial for 
developers and packagers.
Now people are only able to disable groups of probes, eg. --disable-probes-linux
We should also specify which of the probes will be turned on by default.

Also not forget to ensure that during the CI tests we build all of them,
because it is exciting to have a test which is never executed :)

Does that proposal makes sense to you?

Regards

Jan Černý
Security Technologies | Red Hat, Inc.

----- Original Message -----
> From: "Steve Grubb" <[email protected]>
> To: [email protected]
> Cc: "Rongli Shi" <[email protected]>
> Sent: Tuesday, August 2, 2016 1:47:37 AM
> Subject: Re: [Open-scap] Compilation of Openscap: how to turn off the build   
> dependency via configure
> 
> On Monday, August 1, 2016 2:47:13 PM EDT Martin Preisler wrote:
> > ----- Original Message -----
> > 
> > > From: "Rongli Shi" <[email protected]>
> > > To: [email protected]
> > > Sent: Friday, June 24, 2016 2:54:38 AM
> > > Subject: [Open-scap] Compilation of Openscap: how to turn off the build
> > > dependency via configure
> > > 
> > > Hi guys,
> > > 
> > > How could I turn off the build dependency via configure as mentioned by
> > > the
> > 
> > > doc:
> > You don't have to turn any of these off per se. If these dependencies
> > aren't
> > detected openscap will disable the functionality that requires those deps.
> 
> Most configure scripts that I've seen error out so that you don't silently
> get
> missing functionality. For example, if you make a packaging mistake and don't
> get all the dependencies, you have a build that works but openscap wouldn't
> work as intended.
> 
> -Steve
> 
> > I have changed the README to avoid this confusion in the future. Thanks
> > for checking with us!
> > 
> > https://github.com/OpenSCAP/openscap/commit/c3fd0fb6adbc8856993f8f1c9ce62ecc
> > 1ac1a520
> 
> 
> _______________________________________________
> Open-scap-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/open-scap-list
> 

_______________________________________________
Open-scap-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/open-scap-list

Reply via email to