DOKK / manpages / debian 12 / pkg-perl-tools / dpt-repack.sh.1.en
dpt-repack.sh(1) Debian Perl packaging Tools dpt-repack.sh(1)

dpt-repack -- repackaging helper

dpt repack --upstream-version version downloaded file"

dpt repack helps creating repackaged tarballs, suitable for feeding dpkg-source(1).

Work is commenced in three stages:

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

dpt repack 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.

Copyright 2009, Ryan Niebur ryan@debian.org

Copyright 2009-2023, gregor herrmann gregoa@debian.org

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

2023-02-24 pkg-perl-tools 0.75