Subject: Re: Update amsn
To: Lieven De Keyzer <lieven.dekeyzer@gmail.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 12/26/2006 17:37:23
> I notice pkgsrc contains a rather old version of chat/amsn. I'm
> relatively new to pkgsrc, so I'm wondering if there exists a guide how
> to update such a package. Do I alter the distinfo and PLIST files by
> hand?

Update the DISTNAME (and remove the PKGREVISION line) from the Makefile.

Run the following to update the distinfo:

  make makesum

Do an installation. If you know that the do-install: step in the Makefile 
needs modification do so.

After installing, run:

  make print-PLIST | tee PLIST.new

Compare:

  diff -u PLIST PLIST.new

Replace or manually update your PLIST as needed.

Run pkglint (pkgsrc/pkgtools/pkglint) to see if it has suggestions.

Make a diff:

   cvs diff -u > my.patch