(checkpackagename) add generic check for valid package
names
(readmd5sum) add generic function to extract md5sum from
- md5sum program output
+ md5sum program output. This also fixes the handling
+ of md5sum -b output in dpkg-source
(setsourcepackage) call checkpackagename on new value
* scripts/dpkg-source.pl: Use the new checks added to
controllib to ensure validity of version and packagename
* Let dpkg-source ensure (as good as possible) that all
build source packages can also be unpacked.
Closes: #6820, #7014
+ Also fixed handling of md5sum -b output in dpkg-source on
+ the way. Based on a patch by Ingo Saitz. Closes: #316123
* Check for illegal architecture strings in dpkg-gencontrol and
dpkg-source. dpkg-gencontrol will only issue a warning while
dpkg-source will error out. Closes: #96920