public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] adns & ares USE flags
@ 2012-08-27 21:11 Michał Górny
  2012-08-29  5:10 ` Ben de Groot
  2012-08-30 22:18 ` Michał Górny
  0 siblings, 2 replies; 8+ messages in thread
From: Michał Górny @ 2012-08-27 21:11 UTC (permalink / raw
  To: Gentoo Developer Mailing List

[-- Attachment #1: Type: text/plain, Size: 848 bytes --]

Hello,

$ quse -D adns ares
 global:adns: Adds support for the adns DNS client library
 local:ares:dev-libs/ecore: Enables support for asynchronous DNS using the net-dns/c-ares library
 local:ares:net-analyzer/wireshark: Use GNU net-dns/c-ares library to resolve DNS names
 local:ares:net-irc/znc: Enables support for asynchronous DNS using the c-ares library
 local:ares:net-misc/aria2: Enables support for asynchronous DNS using the c-ares library
 local:ares:net-misc/curl: Enabled c-ares dns support
 local:ares:net-p2p/gift: pull in Ares plugin

Both of the flags (except for gift AFAICS) refer to asynchronous DNS
resolution. Could we join them into one flag? I think we should retain
'adns', move appropriate 'ares' flags to it and modify the description
to make it less library-centric.

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] adns & ares USE flags
  2012-08-27 21:11 [gentoo-dev] adns & ares USE flags Michał Górny
@ 2012-08-29  5:10 ` Ben de Groot
  2012-08-29 16:05   ` Rick "Zero_Chaos" Farina
  2012-08-30 22:18 ` Michał Górny
  1 sibling, 1 reply; 8+ messages in thread
From: Ben de Groot @ 2012-08-29  5:10 UTC (permalink / raw
  To: gentoo-dev

On 28 August 2012 05:11, Michał Górny <mgorny@gentoo.org> wrote:
> Hello,
>
> $ quse -D adns ares
>  global:adns: Adds support for the adns DNS client library
>  local:ares:dev-libs/ecore: Enables support for asynchronous DNS using the net-dns/c-ares library
>  local:ares:net-analyzer/wireshark: Use GNU net-dns/c-ares library to resolve DNS names
>  local:ares:net-irc/znc: Enables support for asynchronous DNS using the c-ares library
>  local:ares:net-misc/aria2: Enables support for asynchronous DNS using the c-ares library
>  local:ares:net-misc/curl: Enabled c-ares dns support
>  local:ares:net-p2p/gift: pull in Ares plugin
>
> Both of the flags (except for gift AFAICS) refer to asynchronous DNS
> resolution. Could we join them into one flag? I think we should retain
> 'adns', move appropriate 'ares' flags to it and modify the description
> to make it less library-centric.

Sounds like a good idea to me.

-- 
Cheers,

Ben | yngwin
Gentoo developer
Gentoo Qt project lead, Gentoo Wiki admin


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] adns & ares USE flags
  2012-08-29  5:10 ` Ben de Groot
@ 2012-08-29 16:05   ` Rick "Zero_Chaos" Farina
  2012-08-29 16:20     ` Diego Elio Pettenò
  2012-08-29 16:20     ` Gilles Dartiguelongue
  0 siblings, 2 replies; 8+ messages in thread
From: Rick "Zero_Chaos" Farina @ 2012-08-29 16:05 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/29/2012 01:10 AM, Ben de Groot wrote:
> On 28 August 2012 05:11, Michał Górny <mgorny@gentoo.org> wrote:
>> Hello,
>>
>> $ quse -D adns ares
>>  global:adns: Adds support for the adns DNS client library
>>  local:ares:dev-libs/ecore: Enables support for asynchronous DNS using the net-dns/c-ares library
>>  local:ares:net-analyzer/wireshark: Use GNU net-dns/c-ares library to resolve DNS names
>>  local:ares:net-irc/znc: Enables support for asynchronous DNS using the c-ares library
>>  local:ares:net-misc/aria2: Enables support for asynchronous DNS using the c-ares library
>>  local:ares:net-misc/curl: Enabled c-ares dns support
>>  local:ares:net-p2p/gift: pull in Ares plugin
>>
>> Both of the flags (except for gift AFAICS) refer to asynchronous DNS
>> resolution. Could we join them into one flag? I think we should retain
>> 'adns', move appropriate 'ares' flags to it and modify the description
>> to make it less library-centric.
> 
> Sounds like a good idea to me.
> 
Except for the fact that they are two different backends for async DNS
and some packages (wireshark) support both.  Doesn't make sense to merge
them and take the choice away from the user.

- -Zero
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQPj2zAAoJEKXdFCfdEflKSPoQAIbZIqtWvqHcZNyY6M8251bV
FevWib9GRGIXQ37Xs/U/KaR4mdFzP6fvFuZqnDd+iwJtXY72AXYcOIxvxHVz10Ow
alOw9thSOW0hfR6PPMTtvqQU/dhs/i/gj9s/juzKX9T7657skOUVnitgkHeXnlvp
5qxqC4AW4zJjccNOnc2/kLSrYbu+eXphIASGy2XxBSSqjDX/4LfTO9EYrMyl4vCC
hKnTU6HHMGicY9iE1waPplj/0OclM+JPMBTUwZk+N3zr+iL2xGKSBLKWsr7cMq+x
4n0VERi6Lnzip+uuObrF7HLZEHMoqVbTEmy4uFA48tsfrRefQlG248dw44p/tPEL
O+MzDGJXcN2ji5HmCDPsOHKPc7lsL2ywOUalXK5t3hC9nC9ILL/4X2LrwP7ADn2o
9tYIwdzX++XxdlB3phL57gstbmX5u6fK+3xCzRj60K5ZFCaNabBuLwTU+FzQXaZH
cVWRo6WA4wbRmO23gJFDmzc3twtQXTbQFMGP+Tva2rN2svNecPbuG+l88hFRscQo
bX6wJlwL7AxwDorbLIWCroDKSaAZ6oH2Jh0kWsvDeCCSdlLYqfZSQtSQKWnXcZG1
I43gRwyiRyDyaCGTPmQls2hA9OuWSpktPMtL44AIVDYLZsThGDBVhslMzmuqnQjM
WiLMyTGjjJMqtjC0TXlV
=Fi9N
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] adns & ares USE flags
  2012-08-29 16:05   ` Rick "Zero_Chaos" Farina
@ 2012-08-29 16:20     ` Diego Elio Pettenò
  2012-08-29 16:20     ` Gilles Dartiguelongue
  1 sibling, 0 replies; 8+ messages in thread
From: Diego Elio Pettenò @ 2012-08-29 16:20 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 535 bytes --]

On 29/08/2012 09:05, Rick "Zero_Chaos" Farina wrote:
> Except for the fact that they are two different backends for async DNS
> and some packages (wireshark) support both.  Doesn't make sense to merge
> them and take the choice away from the user.

They should behave like ssl: if only one is supported you call "adns" —
if more than one, you put adns in front, and then get the non-preferred
one and you give it an extra USE.

-- 
Diego Elio Pettenò — Flameeyes
flameeyes@flameeyes.eu — http://blog.flameeyes.eu/


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 554 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] adns & ares USE flags
  2012-08-29 16:05   ` Rick "Zero_Chaos" Farina
  2012-08-29 16:20     ` Diego Elio Pettenò
@ 2012-08-29 16:20     ` Gilles Dartiguelongue
  1 sibling, 0 replies; 8+ messages in thread
From: Gilles Dartiguelongue @ 2012-08-29 16:20 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 107 bytes --]

Then it's like the ssl: openssl gnutls nss case :)

-- 
Gilles Dartiguelongue <eva@gentoo.org>
Gentoo

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] adns & ares USE flags
  2012-08-27 21:11 [gentoo-dev] adns & ares USE flags Michał Górny
  2012-08-29  5:10 ` Ben de Groot
@ 2012-08-30 22:18 ` Michał Górny
  2012-08-30 22:36   ` Rick "Zero_Chaos" Farina
  1 sibling, 1 reply; 8+ messages in thread
From: Michał Górny @ 2012-08-30 22:18 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

On Mon, 27 Aug 2012 23:11:54 +0200
Michał Górny <mgorny@gentoo.org> wrote:

> Both of the flags (except for gift AFAICS) refer to asynchronous DNS
> resolution. Could we join them into one flag? I think we should retain
> 'adns', move appropriate 'ares' flags to it and modify the description
> to make it less library-centric.

We've reached agreement with Rick and I have committed the new USE=adns
description. I will open bugs to migrate the few affected packages
soon.

After a bit of discussion, we think it may be also useful to enable
USE=adns by default in some profile to let it benefit users.

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] adns & ares USE flags
  2012-08-30 22:18 ` Michał Górny
@ 2012-08-30 22:36   ` Rick "Zero_Chaos" Farina
  2012-08-30 23:01     ` Michał Górny
  0 siblings, 1 reply; 8+ messages in thread
From: Rick "Zero_Chaos" Farina @ 2012-08-30 22:36 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/30/2012 06:18 PM, Michał Górny wrote:
> On Mon, 27 Aug 2012 23:11:54 +0200
> Michał Górny <mgorny@gentoo.org> wrote:
> 
>> Both of the flags (except for gift AFAICS) refer to asynchronous DNS
>> resolution. Could we join them into one flag? I think we should retain
>> 'adns', move appropriate 'ares' flags to it and modify the description
>> to make it less library-centric.
> 
> We've reached agreement with Rick and I have committed the new USE=adns
> description. I will open bugs to migrate the few affected packages
> soon.
> 
> After a bit of discussion, we think it may be also useful to enable
> USE=adns by default in some profile to let it benefit users.
> 

To easy sanity existing ebuilds with USE=ares should change that to
USE=adns.

For things which are currently actually using adns, I believe migrating
USE=adns to USE=libadns to allow users to specifically pick the (afaik
deprecated) library.

Thanks,
ZC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQP+rSAAoJEKXdFCfdEflKip8QAKaHAWEDTq2vaaZto8Nz+7z7
1149IiAYzqkSotw4k7fgaXL97LpOws0PpdgCSOf27Y28IrECo5cUUgZFcObhP9K8
+WnFhxIlduWSXdgH+HulUiTOmNrupf2IcD607ZWbnzUIIr3oeZn0qlkt+aqaLXSJ
MM4pf+JU39yo3Iau/35w/ooz2AQDDYOpEpwmBdwt6KHlQVCACCoKxPks3fUaliq+
Zf1vd69bA4zdvqij2KCq4WFADEYNiwJ7MC5bNTX3PURASKLIgVVodjpWz7QUMNA+
WOJ92o8qHDragXiWqq2doKmmPx3B3JzFklIp2HPtA18nsrCtNB2y6anvIs9Vpg2t
C072NaFxEy4PUQ7Zx9TmJP8huGy2FlAKxckqcjD28wCZ7G4yXDh9TaHZ/d4uLcqB
h1KghP31oN7vfsDPDdHtTGqr5x4hP2tRDqnLZq9tfka78NWdtY7r1Kgx3uxbBeTS
eyOm7il8rDlDAV0bNwOyTN1/rU5Zy4bSg1KdiE1d4tK3oTKCXdQspEoGrDcKyTIu
WjugQ4euO6qIKj+aGSo9ft6fCm+BIqSgKQf48VpHtfp+QKOOq9KW2yj8bjwIuo+m
IjHCF8DsfdJb3C9PHNgPMFMXhCbSHgVJMJR5nAbEkOR6EjaxNGcS0xJmKkQs0PCS
KcMP+yKml5IKVDNjF4HE
=RdUV
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] adns & ares USE flags
  2012-08-30 22:36   ` Rick "Zero_Chaos" Farina
@ 2012-08-30 23:01     ` Michał Górny
  0 siblings, 0 replies; 8+ messages in thread
From: Michał Górny @ 2012-08-30 23:01 UTC (permalink / raw
  To: gentoo-dev; +Cc: zerochaos

[-- Attachment #1: Type: text/plain, Size: 377 bytes --]

On Thu, 30 Aug 2012 18:36:02 -0400
"Rick \"Zero_Chaos\" Farina" <zerochaos@gentoo.org> wrote:

> For things which are currently actually using adns, I believe
> migrating USE=adns to USE=libadns to allow users to specifically pick
> the (afaik deprecated) library.

I think you wanted to say 'things which are supporting both' :P.

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-08-30 23:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-27 21:11 [gentoo-dev] adns & ares USE flags Michał Górny
2012-08-29  5:10 ` Ben de Groot
2012-08-29 16:05   ` Rick "Zero_Chaos" Farina
2012-08-29 16:20     ` Diego Elio Pettenò
2012-08-29 16:20     ` Gilles Dartiguelongue
2012-08-30 22:18 ` Michał Górny
2012-08-30 22:36   ` Rick "Zero_Chaos" Farina
2012-08-30 23:01     ` Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox