~ubuntu-branches/ubuntu/hardy/logrotate/hardy-updates

« back to all changes in this revision

Viewing changes to debian/patches/52-man-rh-1.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Paul Martin
  • Date: 2005-09-03 13:37:53 UTC
  • mfrom: (1.1.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20050903133753-j413n48ft2od5fai
Tags: 3.7.1-2
* Patches:
  + 40-compressutime: Preserve mtime/atime on compression.
    (Closes: #286957)
  + 40-scripterrors: Give error messages identifying log file on
    script errors. (Closes: #122691, #195790, #222050, #306020)

* Patch debian/control to fix FTBFS on kfreebsd-i386. (Closes:
  #320331).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 52-man-rh-1.dpatch by Paul Martin <pm@debian.org>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: No description.
 
6
 
 
7
@DPATCH@
 
8
diff -urNad --exclude=CVS --exclude=.svn ./logrotate.8 /tmp/dpep-work.Z0vuh2/logrotate-3.7.1/logrotate.8
 
9
--- ./logrotate.8       2005-07-25 22:06:12.000000000 +0100
 
10
+++ /tmp/dpep-work.Z0vuh2/logrotate-3.7.1/logrotate.8   2005-07-25 22:09:20.000000000 +0100
 
11
@@ -126,7 +126,8 @@
 
12
 Each is rotated whenever it grows over 100k is size, and the old log
 
13
 files are mailed (uncompressed) to www@my.org after going through 5
 
14
 rotations, rather then being removed. The \fBsharedscripts\fR means that
 
15
-the \fBpostrotate\fR script will only be run once, not once for each
 
16
+the \fBpostrotate\fR script will only be run once (after the old logs 
 
17
+have been compressed), not once for each
 
18
 log which is rotated. Note that log file names may be enclosed in
 
19
 quotes (and that quotes are required if the name contains spaces).
 
20
 Normal shell quoting rules apply, with \fB'\fR, \fB"\fR, and \fB\\\fR
 
21
@@ -384,7 +385,7 @@
 
22
 are only run once, no matter how many logs match the wildcarded pattern.
 
23
 However, if none of the logs in the pattern require rotating, the scripts
 
24
 will not be run at all. This option overrides the \fBnosharedscripts\fR
 
25
-option.
 
26
+option and implies \fBcreate\fR option.
 
27
 
 
28
 .TP
 
29
 \fBstart \fIcount\fR