NetBSD Problem Report #29680

From jtk@kolvir.arlington.ma.us  Sat Mar 12 18:43:00 2005
Return-Path: <jtk@kolvir.arlington.ma.us>
Received: from kolvir.arlington.ma.us (kolvir.arlington.ma.us [69.25.196.34])
	by narn.netbsd.org (Postfix) with ESMTP id 6989C63B116
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 12 Mar 2005 18:43:00 +0000 (UTC)
Message-Id: <200503121842.j2CIgnpu015227@desktop.john.kohl.name>
Date: Sat, 12 Mar 2005 13:42:49 -0500 (EST)
From: John Kohl <jtk@kolvir.arlington.ma.us>
Reply-To: jtk@kolvir.arlington.ma.us
To: gnats-bugs@netbsd.org
Subject: cdbkup depends on gtar for 2.0 as well as 1.6[K-Z]
X-Send-Pr-Version: 3.95

>Number:         29680
>Category:       pkg
>Synopsis:       cdbkup depends on gtar for 2.0 as well as 1.6[K-Z]
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 12 18:44:00 +0000 2005
>Closed-Date:    Sat Mar 19 01:15:30 +0000 2005
>Last-Modified:  Sat Mar 19 01:16:01 +0000 2005
>Originator:     John Kohl
>Release:        NetBSD 2.0
>Organization:
NetBSD Kernel Hackers `R` Us
>Environment:


System: NetBSD desktop.john.kohl.name 2.0 NetBSD 2.0 (KOLVIR-$Revision: 1.57 $) #1: Mon Feb 21 13:58:26 EST 2005 jtk@kolvir.arlington.ma.us:/usr/users/jtk/sandbox/src/sys/arch/i386/compile/KOLVIR i386
Architecture: i386
Machine: i386
>Description:
cdbkup requires real gnu tar, which isn't present in 2.0.

>How-To-Repeat:
build cdbkup, it fails to work if gtar is not already installed.
>Fix:
Index: pkgsrc/sysutils/cdbkup/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/cdbkup/Makefile,v
retrieving revision 1.2
diff -c -r1.2 Makefile
*** Makefile	22 Dec 2002 22:24:56 -0000	1.2
--- Makefile	12 Mar 2005 18:42:07 -0000
***************
*** 14,20 ****
  .include "../../mk/bsd.prefs.mk"

  DEPENDS+=		cdrecord>=1.10:../../sysutils/cdrecord
! .if ${OPSYS} == "NetBSD" && ${OS_VERSION:M1.6[K-Z]}
  DEPENDS+=		gtar-base>=1.13.25:../../archivers/gtar-base
  .endif

--- 14,20 ----
  .include "../../mk/bsd.prefs.mk"

  DEPENDS+=		cdrecord>=1.10:../../sysutils/cdrecord
! .if ${OPSYS} == "NetBSD" && (${OS_VERSION:M1.6[K-Z]*} || ${OS_VERSION:M2.*})
  DEPENDS+=		gtar-base>=1.13.25:../../archivers/gtar-base
  .endif


>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@netbsd.org
State-Changed-When: Sat, 19 Mar 2005 01:15:30 +0000
State-Changed-Why:
Committed something similar which will also work for NetBSD>=3.0.
Thanks for the PR!


From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/29680 CVS commit: pkgsrc/sysutils/cdbkup
Date: Sat, 19 Mar 2005 01:15:08 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Sat Mar 19 01:15:08 UTC 2005

 Modified Files:
 	pkgsrc/sysutils/cdbkup: Makefile

 Log Message:
 Needs gnutar on >=2.0 too. From John Kohl in PR 29680.


 To generate a diff of this commit:
 cvs rdiff -r1.2 -r1.3 pkgsrc/sysutils/cdbkup/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.