* scripts/Dpkg/Source/Package/V3_0/native.pm: Fix permissions of
generated tarballs to "666 & ~umask()".
+2008-04-25 Raphael Hertzog <hertzog@debian.org>
+
+ * scripts/Dpkg/Source/Package/V3_0/native.pm: Fix permissions of
+ generated tarball to "666 & ~umask()".
+
2008-04-14 Raphael Hertzog <hertzog@debian.org>
* scripts/Dpkg/Fields.pm (find_custom_field, get_custom_field):
* Fix dpkg-genchanges to detect udeb based on Package-Type control
header instead of file extension analysis on uploaded files.
Closes: #476113
+ * Fix dpkg-source to grant correct permissions to tarballs of native
+ source packages. Closes: #477784
[ Helge Kreutzmann ]
* Minor fixes and clarifications to man pages.
rename($newtar, $tarname) ||
syserr(_g("unable to rename `%s' (newly created) to `%s'"),
$newtar, $tarname);
+ chmod(0666 &~ umask(), $tarname) ||
+ syserr(_g("unable to change permission of `%s'"), $tarname);
$self->add_file($tarname);