pkgsrc-Users archive

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

Re: Update amsn



> 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



Home | Main Index | Thread Index | Old Index