summaryrefslogtreecommitdiffstats
path: root/debian/patches/71_debianize_collate.pl.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/71_debianize_collate.pl.diff')
-rw-r--r--debian/patches/71_debianize_collate.pl.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/71_debianize_collate.pl.diff b/debian/patches/71_debianize_collate.pl.diff
new file mode 100644
index 0000000..1130b2c
--- /dev/null
+++ b/debian/patches/71_debianize_collate.pl.diff
@@ -0,0 +1,22 @@
+From: Scott Kitterman <scott@kitterman.com>
+Date: Tue, 4 Jan 2022 14:03:21 -0500
+Subject: Debianize collate.pl so we can ship it in the package
+Forwarded: not-needed
+Index: postfix/auxiliary/collate/README
+===================================================================
+--- postfix.orig/auxiliary/collate/README
++++ postfix/auxiliary/collate/README
+@@ -1,11 +1,11 @@
+ This script, by Viktor Dukhovni, untangles a Postfix logfile and
+ groups the records one "session" at a time based on queue ID and
+-process ID information.
++process ID information. From auxiliary/collate/collate.pl.
+
+ Records from different sessions are separated by an empty line.
+ Such text is easy to process with $/="" in perl, or RS="" in awk.
+
+ Usage:
+- perl collate.pl file...
++ postfix-collate file...
+
+ It reads standard input when no file is specified.