One Time Password Calculator on Fedora

I have been annoyed SO many times of the lack of OTP-Calculators in Fedora. With Debian and Ubuntu you can find the program donkey. Unfortunately there’s nothing in sight for our beloved distribution. I managed to convert the donkey debian package to an rpm. Here’s how you do it.

First off we need to install alien, a package converter that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file formats.

Download the Deb-rpm package and html2text and install them with (as root):

# rpm --nodeps -Uvh deb-1.10.27-3.i586.rpm
# rpm --nodeps -Uvh html2text-1.3.2a-3.i586.rpm

Also install rpmbuild:

# yum install rpm-build

Once this is done, you need to download the alien-package and unpack it, then installing it:

# wget
# tar -zxvf alien_8.64.tar.gz
# cd alien/
# perl Makefile.PL
# make PREFIX=/usr
# make PREFIX=/usr install

Now download the donkey debian package, and convert it to rpm:

# wget
# alien --to-rpm donkey_0.5-17_i386.deb
# yum --nogpgcheck localinstall donkey-0.5-18.i386.rpm

And that’s it. :)

If you’re not bothered to go through the whole process just to get hold of the donkey-package, you can find it here.