git: 5ea94b852ffe - main - archivers/gtar: switch the default archive to stdin/stdout

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Fri, 05 May 2023 22:01:21 UTC
The branch main has been updated by naddy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5ea94b852ffe7d9f95c3012f239435556c8a44d5

commit 5ea94b852ffe7d9f95c3012f239435556c8a44d5
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2023-05-05 21:46:49 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2023-05-05 22:01:18 +0000

    archivers/gtar: switch the default archive to stdin/stdout
    
    The gtar port tries to use the same default archive location as the
    base system tar.  Starting with libarchive 3.6.0, bsdtar defaults
    to reading/writing the archive from stdin/to stdout in the common
    case where the /dev/sa0 device does not exist on a system.
    
    Using "-" as the default archive file is also the GNU upstream
    default.
    
    PR:             271260
    Reported by:    Michael Stone <mstone2001@msn.com>
---
 archivers/gtar/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile
index 229714bb0dac..b4bdabf4a774 100644
--- a/archivers/gtar/Makefile
+++ b/archivers/gtar/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	tar
 PORTVERSION=	1.34
+PORTREVISION=	1
 CATEGORIES=	archivers sysutils
 MASTER_SITES=	GNU
 PKGNAMEPREFIX=	g
@@ -17,8 +18,7 @@ USES=		charsetfix cpe iconv:${STATIC_ARGS} localbase tar:xz
 CPE_VENDOR=	gnu
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--program-prefix=g
-CONFIGURE_ENV=	DEFAULT_ARCHIVE=/dev/sa0 \
-		DEFAULT_RMT_COMMAND=/etc/rmt
+CONFIGURE_ENV=	DEFAULT_RMT_COMMAND=/etc/rmt
 # supply result to skip a test that will abort configure if run as root
 CONFIGURE_ENV+=	gl_cv_func_mknod_works=yes