Package: freeradius
Version: 3.2.5+dfsg-2
Priority: normal

Dear Maintainer,

freeradius is now shipping a perl script called radsecret, which adds
two new perl dependencies to the package: libconvert-base32-perl and
libcrypt-urandom-perl[1]

In Ubuntu, those two packages are in Universe, and since freeradius is
in main, we cannot depend on those. We could start the process to move
them to main, but since the radsecret script is relatively simple,
here is a bash replacement for your consideration:

#!/bin/bash
data=$(dd if=/dev/urandom bs=1 count=12 2>/dev/null| base32 | tr 'A-Z' 'a-z')
echo ${data:0:4}-${data:4:4}-${data:8:4}-${data:12:4}-${data:16:4}

Upstream also suggested[2] that we could just remove the radsecret
script, since it's not used by anything else, but I rather not deviate
from upstream that much if we can.

1. https://bugs.launchpad.net/ubuntu/+source/freeradius/+bug/2073269
2. https://bugs.launchpad.net/ubuntu/+source/freeradius/+bug/2073269/comments/2

Reply via email to