Bugzilla – Bug 1071552
yast should stop relying on idnkit (idnconv)
Last modified: 2022-09-12 10:22:49 UTC
./modules/Punycode.rb from yast2.rpm calls out to idnconv direclty and yast2 has Requires: idnkit.
idnkit, though, is scheduled for removal from the bind package (see sr https://build.opensuse.org/request/show/545570
The rationale givine in bind's changelog is:
+- Drop idnkit from the build, the bind uses libidn since 2007 to run
+ all the resolutions in dig/etc. bsc#1030306
There is a proposal on above mentioned submit request to change yast to use rubugem-simpleidn instead of calling out to external tools to achive the same functionality
The .spec file mentions bug #651893.
In the submit request, scarabeus_iv writes:
"yast2 uses it for punycode conversions seems:
It would be best to convert yats2 to use rubygem-simpleidn instead of invoking idnconv on commandline (probably prefered as that uses libidn properly).
OTOH it looks like it does not state anything on ruby 2.3+ https://github.com/mmriis/simpleidn @darix is it now integral part of ruby or something?"
Dimstar wrote in IRC:
[15:47:53] <DimStar> idnkit is needed by (installed) yast2-4.0.11-1.1.x86_64
[15:50:10] <DimStar> ./modules/Punycode.rb: "/usr/bin/idnconv %1 %2 > %3",
YaST team doesn't have any capacities left to maintain another package,
so either there is this idnkit (idnconv) in some package or someone
introduces simpleidn to SLE 15 and keeps maintaining it, please.
Then we can change the code to use simpleidn.
Please, could you open a FATE in order to get this change done?
JFYI: This task has been planned for the current sprint...
We have replaced idnconv with the simpleidn library to handle punycode strings. So starting in yast2 4.0.48, idnkit or bind-utils are not needed anymore. You can find out the changes in the SR.