On Thu, Sep 29, 2011 at 12:23 PM, lolilolicon <[email protected]> wrote: > Introduce ext_to_tar_opt() to unify package and source package tarball > creation. This requires bsdtar to support the compression options -z, > -j, -J and -Z. Note also the 'compress' command is not available in > Arch (FS#25908), so 'bsdtar -Z' seems to be the only way to support > .tar.Z archive creation.
When you write a patch and the "why do they do it this way, it seems so silly!" thought comes into your head, I encourage you to review the extensive git history surrounding this code, notably: http://projects.archlinux.org/pacman.git/commit/?id=c8beffa7904abe7e0ad01fed6113acf449df15cd Until you teach bsdtar to not store a new gzip timestamp each time it creates a package (and thus makes packaging actually produce the same package every time), this patch totally breaks lessons we learned 2 and a half years ago. -Dan
