pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/41087: OS_VERSION should be removed from PKGPATH



The following reply was made to PR pkg/41087; it has been noted by GNATS.

From: Aleksey Cheusov <vle%gmx.net@localhost>
To: Quentin Garnier <cube%cubidou.net@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/41087: OS_VERSION should be removed from PKGPATH
Date: Fri, 27 Mar 2009 22:42:54 +0200

  >> There is no reason to include OS_VERSION to PKGPATH.
  >> This makes lots of troubles and doesn't solve any problem.
  >> 
  >> sysutils/lsof/Makefile         rev. 1.98
  >> devel/p5-perl-headers/Makefile rev. 1.33
 
 > Assuming you mean PKGNAME,
 Yes, PKGNAME
 
 > I really don't see what kind of trouble it can lead to.
 Problem
    #1 There are definitely more than two packages that heavyly depends on
       a particular kernel/OS version.
    #2 This "depends" may vary from system to system. pkgsrc is portable
       to many OSes. I don't think lsof depends on something present in
       e.g. Linux-2.6.26.
    #3 Package versions becomes a mess.
 
 From lsof's cvs log (See uppercased text)
 
 date: 2005/05/17 04:45:08;  author: atatat
 ...
 Also, add the "uname -r" value to the lsof package version.  This
 means that lintpkgsrc will report the lsof package as being out of
 date if you update your kernel without updating lsof.  IT'S ENTIRELY
 LIKELY THAT LSOF WILL CONTINUE TO WORK, BUT IT MIGHT NOT (and it will
 warn you anyway), but it's nice to know that it might be good to
 rebuild it.
 
 I don't think this explanation is enough to add OS_VERSION to PKGNAME.
 
 -- 
 Best regards, Aleksey Cheusov.
 


Home | Main Index | Thread Index | Old Index