NetBSD Problem Report #41821

From www@NetBSD.org  Wed Aug  5 09:11:16 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 2CD6763BD7C
	for <gnats-bugs@gnats.netbsd.org>; Wed,  5 Aug 2009 09:11:16 +0000 (UTC)
Message-Id: <20090805091116.039C163B879@www.NetBSD.org>
Date: Wed,  5 Aug 2009 09:11:16 +0000 (UTC)
From: pkgsrc@blackmouse.biz
Reply-To: pkgsrc@blackmouse.biz
To: gnats-bugs@NetBSD.org
Subject: rrdtool depends did't work with version
X-Send-Pr-Version: www-1.0

>Number:         41821
>Category:       pkg
>Synopsis:       rrdtool depends did't work with version
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 05 09:15:00 +0000 2009
>Last-Modified:  Sun May 15 01:35:01 +0000 2022
>Originator:     Ondrej Tuma
>Release:        current
>Organization:
Blackmouse
>Environment:
Linux update 2.6.24.2 #4 Fri Sep 26 15:35:47 CEST 2008 i686 athlon-4 i386 GNU/Linux
>Description:
in mail/mailgraph package for example, there is

DEPENDS+=       rrdtool>=1:../../databases/rrdtool

but this will install rrdtool 1.3.x

in my opinion, the rrdtool version could be configurable (1.3 or 1.2 which is not depends on X11)
>How-To-Repeat:

>Fix:

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/41821: rrdtool depends did't work with version
Date: Wed, 05 Aug 2009 19:58:29 +0900

 On Wed, 05 Aug 2009 18:15:00 +0900, <pkgsrc@blackmouse.biz> wrote:

 > in mail/mailgraph package for example, there is
 >
 > DEPENDS+=       rrdtool>=1:../../databases/rrdtool
 >
 > but this will install rrdtool 1.3.x
 >
 > in my opinion, the rrdtool version could be configurable (1.3 or 1.2 which is not depends on X11)

 It mean both acceptable, just resolve dependency from source with databases/rrdtool if not intalled.
 You can preinstall rrdtool-1.2.x or downgrade rrdtool to 1.2.x after installation.

 -- 
 "Of course I love NetBSD":-)
 OBATA Akio / obache@NetBSD.org

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/41821: rrdtool depends did't work with version
Date: Sun, 15 May 2022 01:32:22 +0000

 On Wed, Aug 05, 2009 at 11:00:07AM +0000, OBATA Akio wrote:
  >  On Wed, 05 Aug 2009 18:15:00 +0900, <pkgsrc@blackmouse.biz> wrote:
  >  > in mail/mailgraph package for example, there is
  >  >
  >  > DEPENDS+=       rrdtool>=1:../../databases/rrdtool
  >  >
  >  > but this will install rrdtool 1.3.x
  >  >
  >  > in my opinion, the rrdtool version could be configurable (1.3 or
  >  > 1.2 which is not depends on X11)
  >  
  >  It mean both acceptable, just resolve dependency from source with
  >  databases/rrdtool if not intalled.
  >  You can preinstall rrdtool-1.2.x or downgrade rrdtool to 1.2.x
  >  after installation. 

 ...that is not the best approach because any automated upgrade will
 send it right back to 1.3 (or these days, 1.7).

 Given that the old rrdtool continues to hang around and not depending
 on X is a reasonable reason to keep it indefinitely, it is probably
 time to set up a switch for this.

 -- 
 David A. Holland
 dholland@netbsd.org

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.