Corinna Vinschen wrote:
IIUC, that should be fixable by configuring gnupg with --disable-libdns.
Yes, below is the message that I sent to Marco but which was rejected by
this list because I wasn't subscribed at the time that I replied to all.
--
-Chad
On 2022-08-07 10:34, Marco Atzeri wrote:
Any suggestion on how to solve the absence of /etc/resolv.conf ?
I doubt gnupg2 is the proper package to do so.
Looking into this, I'm reminded of how much I really dislike the design
of gnupg2.
dirmngr appears to have its own DNS client library that tries to do the
resolv.conf parsing among other things. I believe this library gets
compiled into the current cygwin package.
I noticed this configuration option:
--disable-libdns do not build with libdns support
I just tested a build using this option and it seemed to fix the problem
for me.
I did not use the full end-to-end cygport process but I think the patch
at the bottom of this message should do the trick. Could you give it a
shot?
Thanks...
--
-Chad
$ diff -u gnupg2.cygport.orig gnupg2.cygport
--- gnupg2.cygport.orig 2022-08-08 14:00:18.562073400 -0400
+++ gnupg2.cygport 2022-08-08 14:00:53.146950000 -0400
@@ -22,6 +22,6 @@
cygautoreconf
sed -i -e '/^development_version=/s/yes/no/' configure
cd ${B}
- cygconf --enable-gpg-is-gpg2
+ cygconf --enable-gpg-is-gpg2 --disable-libdns
cygmake
}