FEEDBACK-PATCHES(1)

NAME
feedback-patches - help sending pkgsrc patches back

SYNOPSIS
feedback-patches category/pkg [maintainer@software.org]

DESCRIPTION
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.

EXAMPLES
The command:

    feedback-patches audio/gqmpeg

will display a mail that can be sent to the gqmpeg people with patches to include.

    feedback-patches somecat/dunno whoever@foobar.baz

will invoke mail(1) to send the patches back immediately.

    feedback-patches /usr/pkgsrc/somecat/dunno whoever@foobar.baz

works just as well, you can use either full path or path relative to pkgsrc base when specifying a package. As you're usually already in the pkg's directory for finding out the contact address (probably by looking at the HOMEPAGE variable in the pkg's Makefile), you can also do:

    cd .../category/pkg
    feedback-patches `pwd` whoever@foobar.baz

or

    cd .../category/pkg
    feedback-patches  . whoever@foobar.baz

SEE ALSO
mkpatches(1), pkgdiff(1)

AUTHORS
The feedback-patches utility was written by Hubert Feyrer <hubertf@NetBSD.org>.

BUGS
Currently the pkgsrc base directory is hardcoded to /usr/pkgsrc.