Annotation of pkgsrc/pkgtools/pkgdiff/files/patchdiff.1, revision 1.8
1.8 ! wiz 1: .\" $NetBSD: patchdiff.1,v 1.7 2011/03/04 15:57:07 wiz Exp $
1.1 wiz 2: .\"
1.8 ! wiz 3: .\" Copyright (c) 2000-2016 by Thomas Klausner <wiz@NetBSD.org>
1.5 wiz 4: .\" All rights reserved.
5: .\"
6: .\" Redistribution and use in source and binary forms, with or without
7: .\" modification, are permitted provided that the following conditions
8: .\" are met:
9: .\" 1. Redistributions of source code must retain the above copyright
10: .\" notice, this list of conditions and the following disclaimer.
11: .\" 2. Redistributions in binary form must reproduce the above copyright
12: .\" notice, this list of conditions and the following disclaimer in the
13: .\" documentation and/or other materials provided with the distribution.
14: .\"
1.6 wiz 15: .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR
1.5 wiz 16: .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
17: .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1.6 wiz 18: .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR
1.5 wiz 19: .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20: .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21: .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22: .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23: .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24: .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25: .\" POSSIBILITY OF SUCH DAMAGE.
1.1 wiz 26: .\"
1.8 ! wiz 27: .Dd February 10, 2016
1.2 wiz 28: .Dt PATCHDIFF 1
1.1 wiz 29: .Os
30: .Sh NAME
31: .Nm patchdiff
32: .Nd compare sets of patches
33: .Sh SYNOPSIS
34: .Nm
1.7 wiz 35: .Op Fl D | Fl d Ar dir
1.1 wiz 36: .Sh DESCRIPTION
37: .Nm
38: is a perl script that simplifies comparing a set of previously
39: existing patches with a new one created with
40: .Xr mkpatches 1 .
1.2 wiz 41: .Pp
1.1 wiz 42: .Nm
43: must be called from the package's main directory, that is
1.2 wiz 44: .Pa ${PKGSRC}/category/program .
45: For each patch existing in either the
1.4 wiz 46: .Pa patches
47: directory, it is compared with its backup file
48: .Pq Pa patch-foo.orig
49: using
1.1 wiz 50: .Xr diff 1 .
1.7 wiz 51: .Pp
52: If the
53: .Fl d
54: option is used,
55: .Nm
56: looks for patches in
57: .Ar dir
58: instead of the default
59: .Pa patches
60: directory.
61: If the
62: .Fl D
63: option is used,
64: .Nm
65: looks in
66: .Pa $WRKDIR/.newpatches .
1.1 wiz 67: .Sh SEE ALSO
68: .Xr diff 1 ,
1.7 wiz 69: .Xr mkpatches 1 ,
1.1 wiz 70: .Xr pkgdiff 1
CVSweb <webmaster@jp.NetBSD.org>