From nobody Mon Aug 22 16:21:17 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MBHfj4ZDRz4Z3St; Mon, 22 Aug 2022 16:21:17 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MBHfj48mzz3QG6; Mon, 22 Aug 2022 16:21:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661185277; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CVQw/vdOIY5tcr22h3P31nT5r48JJb8AJbWbo8XrdFc=; b=YtuYk0mRBZcmeoUYTGSGrP5tKIAPx8oRaMd5dysrMWt3v8+1ruiXZ2kdSaN9/88bh8sVvJ VR9sY4JPY2FosjJGUDVuzTdCPjJ458f0B63eymAJlFUp7GsxZB6z9mai59MSbJGRMs+UDu AZib16awcTnhtPN+eYEPxTwb+rHkDSRFk2zBu72fuwYAyvEtrlWQhbYG9nmvciXZixRn7z wFJSi5C9H7sbnCcX2G3x6rPw9Vj/BN5nhNP7sHZ5UObOyQFDmcLC57JP+R/HzJ9QnvfUnS FkT39/sKC8rW9qXBtimdffnJt4LqHAf/ziedhS/L4GOQX1xsMIrQuVWJsKEP2A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MBHfj3FGSzwcS; Mon, 22 Aug 2022 16:21:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27MGLHCn054829; Mon, 22 Aug 2022 16:21:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27MGLH44054828; Mon, 22 Aug 2022 16:21:17 GMT (envelope-from git) Date: Mon, 22 Aug 2022 16:21:17 GMT Message-Id: <202208221621.27MGLH44054828@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Felix Palmen Subject: git: 85b9e25367ff - main - archivers/zpaqfranz: Add option for installing dir List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zirias X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 85b9e25367ffc7e74cff4e9800fb02232679220e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661185277; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CVQw/vdOIY5tcr22h3P31nT5r48JJb8AJbWbo8XrdFc=; b=e6rzeRePl4q/fZ3KvcKHNuWi2gGkLFTpJYyvirdXrmLinyXReEPK2rJ27KKgJK/3xAbPz/ 7U5dCYe46v/NjSzMyjzQjd5oosJ2w3zRF6g0bKKKpuFIAJfEnB0svgn/qZFY1kKfiT0Fl5 rWiqksaCxHj2b8wHvHdo0S6eM7BnUD3c99c223zRPP1Hri6BwONtReCM29aBP6Gh//eqc4 biWAvc7SwTmWsvbSlpXf+Rd2RJacqi5a/wXIvaq5sMEB4PVuou6YLovtW3TxK6ATEiHZS2 tMPyMWSuN0MiYKnlwIOPDh/gQ2i56KrdrKsRI1uUSuaxiz0JiC6tXN2CV4+6bw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661185277; a=rsa-sha256; cv=none; b=uVvK8tAr64ObvgsFjMzwtXCK6lGS8P6oL/ubFgOqyEP/Ao8JGGYAQO3IOVcj4PIIdR6Ks4 ZRKH7foLzzChHCeEPrVldUdyLPlAZAn0rfbnY3F9VpncK0Z91YpdbTDZLyExeOTKnS9ShU fayGVAee3QiRMnJ+0Upd8Jdm29pnnXa3PF/2ZGMJP674OQ2lwJagK13kjG+ecRI0FnHMhE QbpbsmHNw3LIzw0IiPmOVtRPniBTd03lxQbKnlZmKvkfEVSKmd7Li5lMNZLHi6ng9NXmPN 7lcEw+QcmMGZ8LlqQnPBd5iWDn9Gyu+4PmBN/XIAd79z5lvEWtCLcZY2ZBNnFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=85b9e25367ffc7e74cff4e9800fb02232679220e commit 85b9e25367ffc7e74cff4e9800fb02232679220e Author: Felix Palmen AuthorDate: 2022-08-22 11:27:18 +0000 Commit: Felix Palmen CommitDate: 2022-08-22 16:20:22 +0000 archivers/zpaqfranz: Add option for installing dir bin/dir is just a shorthand for a subcommand of zpaqfranz. Installing it would conflict with misc/gnuls, so make it optional and disabled by default. PR: 265651 Reported by: diizzy (on IRC) Approved by: Franco Corbelli (maintainer) Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D36292 --- archivers/zpaqfranz/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/archivers/zpaqfranz/Makefile b/archivers/zpaqfranz/Makefile index 94d1c17e34fb..ff36141c6c91 100644 --- a/archivers/zpaqfranz/Makefile +++ b/archivers/zpaqfranz/Makefile @@ -1,5 +1,6 @@ PORTNAME= zpaqfranz DISTVERSION= 55.12 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= http://www.francocorbelli.it/zpaqfranz/freebsd/ @@ -11,8 +12,16 @@ LICENSE_COMB= dual NO_WRKSUBDIR= yes -PLIST_FILES= bin/dir \ - bin/zpaqfranz +OPTIONS_DEFINE= DIRCOMMAND +DIRCOMMAND_DESC= Add a symlink to call the dir subcommand directly + +PLIST_FILES= bin/zpaqfranz + +DIRCOMMAND_PLIST_FILES= bin/dir +DIRCOMMAND_CONFLICTS_INSTALL= gnuls + +post-install-DIRCOMMAND-off: + ${RM} ${STAGEDIR}${LOCALBASE}/bin/dir .include