From owner-dev-commits-ports-main@freebsd.org Thu Jun 24 08:03:59 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 59918662662; Thu, 24 Jun 2021 08:03:59 +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 4G9Xhb1w99z3Kwr; Thu, 24 Jun 2021 08:03:59 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 29E351446E; Thu, 24 Jun 2021 08:03:59 +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 15O83xDT013356; Thu, 24 Jun 2021 08:03:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15O83xqG013355; Thu, 24 Jun 2021 08:03:59 GMT (envelope-from git) Date: Thu, 24 Jun 2021 08:03:59 GMT Message-Id: <202106240803.15O83xqG013355@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 4eb82883317e - main - misc/mc: the port had been improved (+) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4eb82883317e97c3851e041c415fca854bf062fc Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2021 08:03:59 -0000 The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=4eb82883317e97c3851e041c415fca854bf062fc commit 4eb82883317e97c3851e041c415fca854bf062fc Author: Alexey Dokuchaev AuthorDate: 2021-06-24 08:02:58 +0000 Commit: Alexey Dokuchaev CommitDate: 2021-06-24 08:03:15 +0000 misc/mc: the port had been improved (+) - By popular demand, disable EXTATTR option by default: the benefits it provides are outweighed by having to pull `sysutils/e2fsprogs' port as dependency and various troubles people are having with it. While here, adjust the description as it was is a bit misleading: it is not limited exclusively to ext2fs, but can also manage UFS- specific flags like append-only, etc. [1] - Fix ZIP/UNZIP program detection and add missing dependency on the `archivers/zip' as FreeBSD does not provide native zip(1) program. This bug had been present since late 2014: when fixing PR 193766, an incomplete patch had been committed; it went unnoticed because apparently users rarely create ZIP archives, and extraction worked because `archivers/unzip' is very commonly installed package [2] PR: 249284, 256766 [1] 256546, 193766 [2] --- misc/mc/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/misc/mc/Makefile b/misc/mc/Makefile index 781b68b1149f..87f5ef38bbe5 100644 --- a/misc/mc/Makefile +++ b/misc/mc/Makefile @@ -2,7 +2,7 @@ PORTNAME= mc PORTVERSION= 4.8.26 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc shells MASTER_SITES= http://ftp.midnight-commander.org/ \ https://ftp.osuosl.org/pub/midnightcommander/ @@ -13,24 +13,26 @@ COMMENT= Midnight Commander, a free Norton Commander Clone LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING +RUN_DEPENDS= zip:archivers/zip + USES= gmake gnome libtool perl5 pkgconfig python shebangfix tar:xz SHEBANG_FILES= ${WRKSRC}/src/vfs/extfs/helpers/s3+.in \ ${WRKSRC}/src/vfs/extfs/helpers/uc1541 python_OLD_CMD= @PYTHON@ USE_GNOME= glib20 GNU_CONFIGURE= yes -CONFIGURE_ENV= ZIP=${ZIP_CMD} UNZIP=${UNZIP_CMD} +CONFIGURE_ENV= ZIP=${LOCALBASE}/bin/zip UNZIP=${UNZIP_NATIVE_CMD} PORTDOCS= AUTHORS FAQ HACKING MAINTAINERS NEWS README *.txt OPTIONS_DEFINE= DOCS EDITOR EXTATTR ICONV NLS SFTP SMB SUBSHELL X11 -OPTIONS_DEFAULT= EDITOR EXTATTR ICONV SFTP SLANG SMB SUBSHELL X11 +OPTIONS_DEFAULT= EDITOR ICONV SFTP SLANG SMB SUBSHELL X11 OPTIONS_SINGLE= SCREEN OPTIONS_SINGLE_SCREEN= SLANG NCURSES OPTIONS_SUB= yes EDITOR_DESC= Build with internal editor -EXTATTR_DESC= Ext2fs extended attributes support +EXTATTR_DESC= Extended attributes support SCREEN_DESC= Screen library SFTP_DESC= Support for SFTP (via libssh) SUBSHELL_DESC= Build with subshell support