Scroll to navigation Debian Perl packaging Tools

NAME - repackaging helper (deprecated)


dpt --upstream-version version downloaded-file


dpt helps creating repackaged tarballs, suitable for feeding into dpkg-source(1). This command is deprecated in favor of the functionality provided by uscan(1) in conjunction with the Files-Excluded stanza in debian/copyright.

Work is commenced in three stages:

  • dpt unpacks the provided upstream tarball.
  • debian/repack.local is sourced to remove unsuitable content.
  • dpt packs the sources again, under a suitable file name in the form "package_ver.orig.tar.gz" (suffix depending on initial compression).

dpt invokes debian/repack.local in an environment where rm and mv are replaced with functions that reflect the operations in the MANIFEST file, if present.


uscan(1), mk-origtargz(1)


Copyright 2009, Ryan Niebur

Copyright 2009-2023, gregor herrmann

This program is free software and can be distributed under the same terms as Perl.

2024-05-11 pkg-perl-tools 0.79