This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=742a8177a581f973fb7f249d94949662ab23b455

commit 742a8177a581f973fb7f249d94949662ab23b455 (HEAD -> main)
Author: Guillem Jover <[email protected]>
AuthorDate: Fri Mar 18 00:00:20 2022 +0100

    Dpkg::Compression: Use gzip -n instead of --no-name
    
    The gzip implementation in OpenBSD does not support long options. Use
    the short form, which seems to be consistently supported on all
    implementation around.
    
    In addition this makes this invocation match the one in libdpkg.
---
 scripts/Dpkg/Compression.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Dpkg/Compression.pm b/scripts/Dpkg/Compression.pm
index a95fa8664..e081a255f 100644
--- a/scripts/Dpkg/Compression.pm
+++ b/scripts/Dpkg/Compression.pm
@@ -56,7 +56,7 @@ interact with the set of supported compression methods.
 my $COMP = {
     gzip => {
        file_ext => 'gz',
-       comp_prog => [ 'gzip', '--no-name' ],
+       comp_prog => [ 'gzip', '-n' ],
        decomp_prog => [ 'gunzip' ],
        default_level => 9,
     },

-- 
Dpkg.Org's dpkg

Reply via email to