]> err.no Git - dpkg/commit
Dpkg::Source::Patch gains last features from dpkg-source
authorRaphael Hertzog <hertzog@debian.org>
Fri, 22 Feb 2008 18:07:11 +0000 (19:07 +0100)
committerRaphael Hertzog <hertzog@debian.org>
Fri, 22 Feb 2008 18:18:55 +0000 (19:18 +0100)
commit7836f26e6db07f31b362fd936e5c12e472e8a119
tree1da63b9cbbde2ae35b3e8a0000133a2d067c9df7
parentd357ae0e902d838412eae57e5b9cd19e65f78d39
Dpkg::Source::Patch gains last features from dpkg-source

* scripts/Dpkg/Source/Patch.pm: New analyze() function that
replaces dpkg-source's checkdiff(). Check sanity of patch,
and reports directories to create and list of patched files.
* scripts/Dpkg/Source/Patch.pm (apply): Create required
directories on the fly and adjust timestamp of patched
files. This behaviour is configurable.
* scripts/dpkg-source.pl: Adjust accordingly.
* scripts/Dpkg/Source/Patch.pm (add_diff_file): Support
new option include_timestamp.
scripts/Dpkg/Source/Patch.pm
scripts/dpkg-source.pl