Hi,
Would like to make GNUnet available in Fedora based on the spec file
available at:
https://git.gnunet.org/gnunet-rpm.git/tree/rpmbuild/SPECS/gnunet.spec
One of the warnings I get from the automated review helper tool is that
gethostbyname is used:
https://download.copr.fedorainfracloud.org/results/fed500/gnunet/fedora-rawhide-x86_64/07448019-gnunet/fedora-review/review.txt
See
src/lib/util/resolver_api.c: host = gethostbyname2 (hostname,
src/lib/util/resolver_api.c: host = gethostbyname2 (hostname,
src/lib/util/resolver_api.c: host = gethostbyname (hostname);
src/service/util/test_resolver_api.c: rootserver = gethostbyname
(rootserver_name);
src/service/arm/test_gnunet_service_arm.c: host = gethostbyname2
(hostname, AF_INET);
src/service/arm/test_gnunet_service_arm.c: host = gethostbyname2
(hostname, AF_INET6);
src/service/arm/test_gnunet_service_arm.c: host = gethostbyname
(hostname);
As gethostbyname has been deprecated, would a patch to use getaddrinfo
instead be considered?
Benson