[packaging] based on upstream version 5.1.0