debian/diff: cvsserver: make cvsserver deterministic with perl 5.18
commit4d02408ced27b66a929a131baab3ca1ccb897843
authorJonathan Nieder <jrnieder@gmail.com>
Wed, 30 Oct 2013 23:00:12 +0000 (30 16:00 -0700)
committerJonathan Nieder <jrnieder@gmail.com>
Wed, 30 Oct 2013 23:00:12 +0000 (30 16:00 -0700)
treebf3e78d8f893d2763db953536d23508ba5440057
parentac210b179099b801cc1c202e2de8ae9aea8890f2
debian/diff: cvsserver: make cvsserver deterministic with perl 5.18

Git's cvsserver tests are flaky on most arches, which makes the build
on Debian autobuilders flaky.  Previous versions of git without
significantly different cvsserver code built fine and reliably.

The cause: perl 5.18 was uploaded to unstable on 2013-08-26, one day
after the previous git upload.  As Anders Kaseorg noticed, Perl 5.18
randomizes the seed used by its hash function to avoid algorithmic
complexity attacks, which makes the cvsserver test output
nondeterministic.  Apply the patch from upstream to sort hash keys
before iterating over them to make the build reliable again.

Fixes: http://bugs.debian.org/727226
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
debian/changelog
debian/diff/0012-cvsserver-Determinize-output-to-combat-Perl-5.18-hash.diff [new file with mode: 0644]