DragonFly BSD
DragonFly users List (threaded) for 2006-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: how updating packages

From: Geert Hendrickx <ghen@xxxxxxxxxx>
Date: Fri, 11 Aug 2006 08:55:04 +0200

On Thu, Aug 10, 2006 at 11:59:18AM +0100, Steve O'Hara-Smith wrote:
> In pkgsrc ucarp is in the net subdirectory and it seems that it is
> currently at 1.1. Your options are:
> 1: Live with 1.1 until the maintainer updates it to 1.2.
> 2: Take a backup of the ucarp directory and then modify it to build 1.2.

2 is of course encouraged. :-)  

> A quick look reveals that 2 is probably easy as there are no patches. All
> you are likely to need to do is edit the Makefile and change 1.1 to 1.2
> in the obvious place, copy a known good distfile for ucarp-1.2 into your
> distfiles subdirectory and then run bmake makesum.  

It is preferred you let pkgsrc fetch the distfile with "bmake fetch" so
you're sure the MASTER_SITES info is still ok.  

> Once this is done bmake install will install the package, bmake package
> will create a binary package and so forth (as per man packages - do read
> this man page it is useful).

Also run a "bmake print-PLIST > PLIST.new" and compare this PLIST.new with
the existing PLIST.  Alternatively, set CHECK_FILES=yes in your mk.conf,
or, for the die-hards, set PKG_DEVELOPER=yes (which implies CHECK_FILES).  

> If all is well then you might send a mail to the maintainer (preferably
> with a patch) letting him know that an update to 1.2 is available and
> easy.

"cvs diff -u" is your friend here. :-)  

Once more: users are very welcome to send updates (and other enhancements)
as diffs either via GNATS or via mail to pkgsrc-users@xxxxxxxxxx or to the
maintainer directly.  


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