Add feedback-patches, a script to ... feedback patches:
The feedback-patches script is intended to help sending back patches in
the NetBSD Packages Collection, pkgsrc, back to the maintainers of the
original package, for inclusion into future releases. The given
category/pkg is either a path relative to the pkgsrc base directory, or
an absolute patch, which will be stripped the base directory. A pathname
of . will be expanded to the current directory, which is useful when the
current working directory is in a package's directory in pkgsrc.
If an email address is given, the patches will be sent to that address,
with some nice words. If no email address is given, the mail will only be
displayed instead of sent.
See feedback-patches(1) for the full enchilada.
Pkgvi fix: deal with pathnames like `dir-with.a-dot/file-without-dot'
for which the temporary file pathname hold in $tmp ended up as
`dir-with.a-dot/file-without-dot.$$.a-dot/file-without-dot'.
allows you to get context style or plain diffs from mkpatches or
pkgdiff, instead of the default unified format.
Sometimes it's very nice to be able to look at a different diff
format.
Belatedly document pkgvi's '+command' option per zuntum@ request.
As textproc/groff now brings in a lot of dependencies
don't make it a build dependency for this package on Solaris.
XXX Hence do not install any man pages on Solaris. This is a temporary
stopgap measure. Do people really want a somewhat important number of
dependencies installed just to be able to do 'man mkpatches'? I surely
don't... A better solution has to be devised.
But as added bonus this package now handles gracefully MANINSTALL setting.
See you have not lost everything!
Newer diffutils' (>=2.8, as seen in pkgsrc and -current) diff had seen
the regexp syntax of its -I and -F options changed from Emacs syntax
to grep syntax. Hence fix pkgdiff's diff invocation so diffs on configure
scripts are kept to a minimum.
references of the pkglint package.
_PKGSRCDIR is an internal definition in bsd.pkg.mk, and a few packages
which would like to refer to other packages in the build tree. It should
not be set by users, but neither should it stop a user from building a
package if it is defined, so make it obvious that this is the case.
foo-* to foo-[0-9]*. This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also
change dependency examples in Packages.txt to reflect this.
if pkgdiff failed due to a problem with RCS ids, mkpatches would save the
failure message as a patch. Change to abort if pkgdiff has a non zero exit
(with the pkgdiff output). Also add a '-v' flag to indicate which .orig
file is being associated with which patchfile as processed.
modify them (and that also handles unmodified files in a sane way by deleting
backup files that had no changes).
The pkgvi utility was contributed by Tomasz Luchowski <zuntum@eik.pl>