Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Mar 2020 02:10:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244548] archivers/gzip: address conflict with archivers/zutils
Message-ID:  <bug-244548-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244548

            Bug ID: 244548
           Summary: archivers/gzip: address conflict with archivers/zutils
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
                CC: danilo@FreeBSD.org
                CC: danilo@FreeBSD.org

Created attachment 212086
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D212086&action=
=3Dedit
[patch] fix gzip & zutils conflict

archivers/gzip and archivers/zutils install _some_ of the same files (e.g.,
bin/zgrep).

Installing gzip-1.10...
pkg-static: gzip-1.10 conflicts with zutils-1.8 (installs files into the sa=
me
place).  Problematic file: /usr/local/bin/zcat


The attached patch addresses this by creating a ZUTILS option in
archivers/gzip.  If ZUTILS is on, gzip will not install the conflicting fil=
es
and have a run-time dependency on archivers/zutils.  If off, it will install
those files and mark archivers/zutils as a conflicting port.

This (ZUTILS=3Don) allows archivers/gzip and archivers/zutils to both be
installed.

The patch sets ZUTILS off by default, so there should be no change in the
default package.  If we commit a change such that ZUTILS is on by default,
PORTREVISION should be bumped since that would mean a package change to the
default package.

There are some differences between the zutils version of the conflicting
utilities.  For instance, the zutils version of zgrep supports -r (recursive
grep), but the gzip version does not.  For that reason, I personally prefer=
 the
zutils version (and so I could see making ZUTILS=3Don be the default - not =
to
mention, it allows users to install both packages), but that is not an
exhaustive comparison.  Generally, my impression is that the differences are
small.


QA testing:

 - poudriere testport WITH=3DZUTILS & WITHOUT=3DZUTILS - ok
 - portlint - ok

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244548-7788>