dpt-repack.sh(1)
π
dpt-repack.sh β the repackaging helper (aka the manual page for dpt-repack.sh(1), from the Debian Perl packaging Tools fam) π
okay bestie so likeβ¦ this tool is deprecated π. I'm telling you that up front because I love you and I want you to know what you're walking into. She still works, she's still cute, but the glow-up already happened elsewhere. iykyk.
β¨ NAME β¨
dpt-repack.sh β repackaging helper, and yes she is deprecated π
π¦ SYNOPSIS π¦
dpt repack.sh --upstream-version version downloaded-file
πΈ DESCRIPTION πΈ
so basically dpt repack.sh helps you create repackaged tarballs β the kind that are suitable for feeding straight into dpkg-source(1) π«Ά. It's giving "tidy up the upstream mess before it enters your packaging world."
π¨ bestie, listen: this command is deprecated. The cool kids do this with the functionality provided byuscan(1)together with theFiles-Excludedstanza indebian/copyright. That's the moment. That's the serve. π
π how the work goes down (three stages, no skips) π
Work is commenced in three stages, and honestly? each one eats:
dpt repack.shunpacks the provided upstream tarball π¦debian/repack.localis sourced to remove unsuitable content π§Ήdpt repack.shpacks the sources again, under a suitable file name in the form"package_ver.orig.tar.gz"(the suffix depends on the initial compression, bestie β so don't come for me if yours looks different) π
π§ the sneaky little environment trick π§
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 π. yes literally. she's over there rewriting your muscle memory. iconic behavior, honestly.
π SEE ALSO π
π 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 π
and that's the whole page, bestie!! π this came out of pkg-perl-tools 0.88, dated 2026-04-01 β go forth and repack responsibly, mwah ππ
π¦ where this page comes from
- ubuntu stonking: pkg-perl-tools 0.88 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms