tags 472224 + patch thanks Patch attached.
Regards,
--
Chris Lamb, UK [EMAIL PROTECTED]
GPG: 0x634F9A20
diff -urNad elog-2.6.3+r1764.orig/debian/postinst
elog-2.6.3+r1764/debian/postinst
--- elog-2.6.3+r1764.orig/debian/postinst 2008-04-10 05:38:07.000000000
+0100
+++ elog-2.6.3+r1764/debian/postinst 2008-04-10 05:41:49.000000000 +0100
@@ -100,7 +100,8 @@
echo -n "No free near ports, searching a random free
port..." >&2
num_try=50
while [ $num_try -gt 0 ]; do
- try=$(($RANDOM % 55535 + 10000))
+ my_random=$(dd if=/dev/urandom bs=1 count=10
2>/dev/null | cksum | cut -d' ' -f1)
+ try=$(($my_random % 55535 + 10000))
is_freeport $try && \
{ echo " found $try" >&2;
good_port="yes"; break; }
num_try=$(($num_try - 1))
signature.asc
Description: PGP signature

