I dont know if this is really a bug or not. The shadow, and whois ebuilds each install a program named 'mkpasswd', one into /usr/bin, one into /usr/sbin. They do different things. Currently, the bin/sbin split keeps them and their man pages separate, but at the very least it is sort of ugly. I tried to contact the authors for guidance, but one email was dead, and the other was insulting, so Ill just drop this here. Paul
I'd like to mention that "expect" is also installing mkpasswd.
I'd like to comment that the real conflict is between expect's mkpasswd and whois's mkpasswd as they both are going into /usr/bin And the real problem is that whois's mkpasswd is broken: it's functioning, but it returns the generated passwd string, but it doesn't update it in /etc/shadaw. mkpasswd from expect does all things right and it is very usefull for being used in automation scripts. Besides, it's not clear, what is mkpasswd doing in whois package from the first place? I recommend to comment out all mkpasswd related lines in whois ebuild. That's what I had to do in order to have safily both expect and whois.
All _three_ of these programs do different things. I am using the one from whois to encrypt a password that I supply to it and it seems to work for me doing that, so I would want it to be kept. I don't think that either of the other two programs perform this function.
this is perhaps a bit off-topic, but does mkpasswd -H segfault for anyone else on the one from whois 4.6.9? on-topic again, is this ever going to be fixed? seems a bit silly to not know which mkpasswd you have depending on which happened to be updated latest
Another issue: jay root # qpkg -f /usr/bin/mkpasswd dev-tcltk/expect * net-irc/dancer-ircd * Bad thing (tm)
Actaully the mkpasswd from whois gets installed into /usr/bin/ and is set for all users to eXecute. This is wrong, it should be in /usr/sbin/ and root only execute, the order of installing the packages changes this. All-in-all. awful!
most ircd's install one as well
whois no longer installs mkpasswd since it's shadow's domain
dancer-ircd now installs as ${PN}-mkpasswd
ok, expect *was* fixed with Bug 51353, but it seems cardo broke it again with expect-5.40.0-r2 i'll talk with cardo