Subject: Re: pkgdiff -- tools for easier pkgsrc patch creation and maintenance
To: Thomas Klausner <>
From: Christian Limpach <chris@Nice.CH>
List: tech-pkg
Date: 06/30/2000 03:00:11
> mkpatches creates patches for a whole package (by using pkgdiff) -- it
> finds the files it should diff by looking for files with an '.orig'
> extension, so if you edit a file and want to use mkpatches later,
> first make a backup of it with `cp -p file file.orig'. mkpatches
> should be run from the packages main directory (pkgsrc/foo/bar), and
> the patches are then saved in the directory $WRKDIR/.newpatches.

Maybe this should also support rcs files.  I usually 'ci -l' a file before
modifying it and mkpatches could use rcsdiff to get a diff if it finds a
',v' file.  What do you think?  I'd volunteer to add this ;-)