MT#5009 Manually backport number termination/reuse
Bump debian version to 1.0.25 for 3.0 backport.