File: dpatch.7

package info (click to toggle)
dpatch 2.0.35
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 716 kB
  • ctags: 41
  • sloc: sh: 1,013; makefile: 265; awk: 57; perl: 17
file content (68 lines) | stat: -rw-r--r-- 2,693 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.\" -*- nroff -*-
.\" This manual is for dpatch, a patch maintenance system for Debian
.\" 
.\" Copyright (C) 2003 Gergely Nagy <algernon@bonehunter.rulez.org>
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of this
.\" manual under the conditions for verbatim copying, provided that the
.\" entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one.
.\"
.\" Permission is granted to copy and distribute translations of this
.\" manual into another language, under the above conditions for modified
.\" versions, except that this permission notice may be stated in a
.\" translation approved by the Author.
.TH DPATCH 7 "Dec 13 2011" "DPATCH 2" "dpatch"
.SH "NAME"
debian/patches/script.dpatch \- self applying patch

.SH "SYNOPSIS"
.BI "debian/patches/script.dpatch " "\-patch " [ directory ]
.br
.BI "debian/patches/script.dpatch " "\-unpatch " [ directory ]
.br
.BI "debian/patches/script.dpatch " \-pkg\- "custom [" directory ]

.SH "DESCRIPTION"
A \fBdpatch\fR is a program that modifies the source tree in a given
\fIdirectory\fR. How it does that is entirely up to the person
writing it. It can be a script that calls \fBpatch\fR(1) with the
appropriate options, a complicated perl script that does some deep
magic, or anything else. The only requirement is that it \fBMUST\fR
accept the \fI\-patch\fR and \fI\-unpatch\fR options, followed by the
destination (or working) directory, when specified. For the sake of
compatibility, the second argument is only present when a working
directory was explicitly set with \fBdpatch \-\-workdir\fR.

For some of the \fBdpatch\fR(1) features to work, the script should
follow a common style: there should be a line near the top of the file
with the following format: "\fIfilename\fR \-\- \fIauthor\fR
<\fIemail\fR>". And one or more "# DP: \fIdescription\fR" lines. These
will be used by \fBdpatch cat\fR for example.

.SH WARNING
.B dpatch
is deprecated, please switch to the `3.0 (quilt)' Debian source
package format instead. See
.I http://wiki.debian.org/Projects/DebSrc3.0#FAQ
for a short guide on how to do it.

.SH "EXAMPLES"
One can find \fBdpatch\fR examples under
\fI/usr/share/doc/dpatch/examples/\fR.

.SH "AUTHOR"
This manual page was written by Gergely Nagy.

.SH "SEE ALSO"
.BR "dpatch" "(1), "
.BR "dpatch.make" "(7), "
.BR "dpatch\-edit\-patch" "(1), "
.BR "dpatch\-list\-patch" "(1), "
.BR "dpatch\-convert\-diffgz" "(1)"

.\" arch-tag: 58cb8407-3f7d-4c2c-a4ba-d797dabbb4ef