Subject: Re: correct procedure to rename a pkgsrc package?
To: Jeremy C. Reed <reed@reedmedia.net>
From: Juan RP <juan@xtrarom.org>
List: tech-pkg
Date: 10/09/2005 02:21:54
On Sat, 8 Oct 2005 17:17:39 -0700 (PDT)
"Jeremy C. Reed" <reed@reedmedia.net> wrote:

> What is the correct procedure to rename a pkgsrc package?

cvs import newpackage TNF pkgsrc-base

and remove the old package.

> How to document in doc/CHANGES?

With "Moved pkgX to pkgY", example:

/usr/pkgsrc/doc/CHANGES-2004:   Moved cfg+ to libcfg+ [grant 2004-10-06]

> Does it matter if old packages reference old PKGPATH?

If your new pkg still has references about the old pkg, it only will
work if the old pkg is in the repository, but it could be removed if
you update pkgsrc with cvs -P (flag to Prune directories in cvs).