Skip to content

Commit

Permalink
archivers/gtar: switch the default archive to stdin/stdout
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Weisgerber authored and Christian Weisgerber committed May 5, 2023
1 parent 0838f52 commit 5ea94b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions archivers/gtar/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= tar
PORTVERSION= 1.34
PORTREVISION= 1
CATEGORIES= archivers sysutils
MASTER_SITES= GNU
PKGNAMEPREFIX= g
Expand All @@ -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

Expand Down

0 comments on commit 5ea94b8

Please sign in to comment.