From owner-freebsd-ports-bugs@freebsd.org Mon Mar 2 02:10:22 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 93FCB255DBB for ; Mon, 2 Mar 2020 02:10:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48W3Wd3qPqz3Mb2 for ; Mon, 2 Mar 2020 02:10:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 73B8F255DBA; Mon, 2 Mar 2020 02:10:21 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 73512255DB8 for ; Mon, 2 Mar 2020 02:10:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48W3Wd0V8zz3MZZ for ; Mon, 2 Mar 2020 02:10:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 39B8CD32E for ; Mon, 2 Mar 2020 02:10:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0222AKKA077070 for ; Mon, 2 Mar 2020 02:10:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0222AKWl077052 for ports-bugs@FreeBSD.org; Mon, 2 Mar 2020 02:10:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 244548] archivers/gzip: address conflict with archivers/zutils Date: Mon, 02 Mar 2020 02:10:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2020 02:10:22 -0000 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.=