Scroll to navigation

dpt-repack.sh(1) Debian Perl packaging Tools dpt-repack.sh(1)

NAME

dpt-repack.sh - repackaging helper (deprecated)

SYNOPSIS

dpt repack.sh --upstream-version version downloaded-file

DESCRIPTION

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

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

SEE ALSO

uscan(1), mk-origtargz(1)

COPYRIGHT & LICENSE

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.

2024-03-04 pkg-perl-tools 0.78