Re: [Bro-Dev] bro-pkg dependencies ?

2017-09-08 Thread Aashish Sharma
Ah! Nice. Yes, this is what I was looking for. Thanks for the pointer Seth!


On Fri, Sep 08, 2017 at 02:45:21PM -0400, Seth Hall wrote:
> 
> 
> On 8 Sep 2017, at 13:29, Aashish Sharma wrote:
> 
> > Can we specify dependent packages in bro-pkg and would bro-pkg go and
> > resolve
> > (install) those dependencies by itself ?
> 
> Yep.  Here's one that does..
>   https://github.com/corelight/top-dns/blob/master/bro-pkg.meta
> 
> > Also, can we make the bro-pkg dump some output (notes) before? or after?
> > pkg
> > installation - something like see this file for details etc ?
> 
> bro-pkg tells you that it's going to install dependencies and asks if you
> want to proceed.  If you want to see how it works, install the
> corelight/top-dns package.
> 
>   .Seth
> 
> --
> Seth Hall * Corelight, Inc * www.corelight.com
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


Re: [Bro-Dev] bro-pkg dependencies ?

2017-09-08 Thread Seth Hall


On 8 Sep 2017, at 13:29, Aashish Sharma wrote:

> Can we specify dependent packages in bro-pkg and would bro-pkg go and 
> resolve
> (install) those dependencies by itself ?

Yep.  Here's one that does..
https://github.com/corelight/top-dns/blob/master/bro-pkg.meta

> Also, can we make the bro-pkg dump some output (notes) before? or 
> after? pkg
> installation - something like see this file for details etc ?

bro-pkg tells you that it's going to install dependencies and asks if 
you want to proceed.  If you want to see how it works, install the 
corelight/top-dns package.

   .Seth

--
Seth Hall * Corelight, Inc * www.corelight.com
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


Re: [Bro-Dev] bro-pkg dependencies ?

2017-09-08 Thread Aashish Sharma
Thanks Adam!

I think we might also need to introduce the concept of pkg-conflicts too:   
cannot
install B if A is installed. 

Aashish 


On Fri, Sep 08, 2017 at 06:05:16PM +, Slagell, Adam J wrote:
> At list recursively finding all of those dependencies is on the roadmap. 
> Terry has that on his queue.
> 
> > On Sep 8, 2017, at 12:29 PM, Aashish Sharma  wrote:
> > 
> > Can we specify dependent packages in bro-pkg and would bro-pkg go and 
> > resolve
> > (install) those dependencies by itself ?
> > 
> > Also, can we make the bro-pkg dump some output (notes) before? or after? pkg
> > installation - something like see this file for details etc ?
> > 
> > Aashish 
> > ___
> > bro-dev mailing list
> > bro-dev@bro.org
> > http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev
> 
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


Re: [Bro-Dev] bro-pkg dependencies ?

2017-09-08 Thread Slagell, Adam J
At list recursively finding all of those dependencies is on the roadmap. Terry 
has that on his queue.

> On Sep 8, 2017, at 12:29 PM, Aashish Sharma  wrote:
> 
> Can we specify dependent packages in bro-pkg and would bro-pkg go and resolve
> (install) those dependencies by itself ?
> 
> Also, can we make the bro-pkg dump some output (notes) before? or after? pkg
> installation - something like see this file for details etc ?
> 
> Aashish 
> ___
> bro-dev mailing list
> bro-dev@bro.org
> http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


[Bro-Dev] bro-pkg dependencies ?

2017-09-08 Thread Aashish Sharma
Can we specify dependent packages in bro-pkg and would bro-pkg go and resolve
(install) those dependencies by itself ?

Also, can we make the bro-pkg dump some output (notes) before? or after? pkg
installation - something like see this file for details etc ?

Aashish 
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev