Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2002 10:30:03 -0800 (PST)
From:      Eric van Gyzen <vangyzen@stat.duke.edu>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/45484: pkg_update(1) does not correctly re-register dependencies
Message-ID:  <200211191830.gAJIU3MA053611@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/45484; it has been noted by GNATS.

From: Eric van Gyzen <vangyzen@stat.duke.edu>
To: freebsd-gnats-submit@FreeBSD.org, vangyzen@stat.duke.edu
Cc:  
Subject: Re: bin/45484: pkg_update(1) does not correctly re-register dependencies
Date: Tue, 19 Nov 2002 13:23:38 -0500

 My first suggested patch still doesn't handle package versions which=20
 contain letters, such as:
   bash-2.05b.004
   xpm-3.4k
   xv-3.10a_3
 
 This one makes much more sense (though you might want to apply the=20
 first one, too).
 
 --- src/usr.sbin/pkg_install/update/pkg_update.pl.orig  Tue Nov 19=20
 13:17:42 2002
 +++ src/usr.sbin/pkg_install/update/pkg_update.pl       Tue Nov 19=20
 13:19:43 2002
 @@ -215,7 +215,7 @@
                 }
         }
  } else {
 -       put_requires($pkgname . "-" . $new_version, \%requires);
 +       put_requires($newpkg, \%requires);
  }
 =20
  exit;
 
 
 --=20
 Eric van Gyzen
                    Sr. Systems Programmer, ISDS, Duke University
 PGP Public Key:  http://www.stat.duke.edu/~vangyzen/vangyzen.asc
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211191830.gAJIU3MA053611>