Debian Codegraph @

debian/patches/pre0.94-checkplugins.patch

raw
1 diff -aruN qpsmtpd-0.94.orig/plugins/check_badmailfrom qpsmtpd-0.94/plugins/check_badmailfrom
2 --- qpsmtpd-0.94.orig/plugins/check_badmailfrom 1969-12-31 16:00:00.000000000 -0800
3 +++ qpsmtpd-0.94/plugins/check_badmailfrom 2015-02-21 23:34:00.005670303 -0800
4 @@ -0,0 +1,14 @@
5 +# Backwards-compatibility wrapper; qpsmtpd 0.94 renamed the check_* plugins
6 +# from the upstream distribution to remove the check_ prefix. This plugin
7 +# exists to allow older, un-migrated configurations to work properly with
8 +# the 0.94 release.
9 +
10 +my $whoami = 'badmailfrom';
11 +
12 +sub init {
13 + my $self = shift;
14 + $self->log(LOGINFO,
15 + "The check_$whoami plugin is deprecated; see" .
16 + "/usr/share/doc/qpsmtpd/README.check_plugins for details.");
17 + $self->isa_plugin($whoami);
18 +}
19 diff -aruN qpsmtpd-0.94.orig/plugins/check_badrcptto qpsmtpd-0.94/plugins/check_badrcptto
20 --- qpsmtpd-0.94.orig/plugins/check_badrcptto 1969-12-31 16:00:00.000000000 -0800
21 +++ qpsmtpd-0.94/plugins/check_badrcptto 2015-02-21 23:34:00.009670201 -0800
22 @@ -0,0 +1,14 @@
23 +# Backwards-compatibility wrapper; qpsmtpd 0.94 renamed the check_* plugins
24 +# from the upstream distribution to remove the check_ prefix. This plugin
25 +# exists to allow older, un-migrated configurations to work properly with
26 +# the 0.94 release.
27 +
28 +my $whoami = 'badrcptto';
29 +
30 +sub init {
31 + my $self = shift;
32 + $self->log(LOGINFO,
33 + "The check_$whoami plugin is deprecated; see" .
34 + "/usr/share/doc/qpsmtpd/README.check_plugins for details.");
35 + $self->isa_plugin($whoami);
36 +}
37 diff -aruN qpsmtpd-0.94.orig/plugins/check_earlytalker qpsmtpd-0.94/plugins/check_earlytalker
38 --- qpsmtpd-0.94.orig/plugins/check_earlytalker 1969-12-31 16:00:00.000000000 -0800
39 +++ qpsmtpd-0.94/plugins/check_earlytalker 2015-02-21 23:34:00.005670303 -0800
40 @@ -0,0 +1,14 @@
41 +# Backwards-compatibility wrapper; qpsmtpd 0.94 renamed the check_* plugins
42 +# from the upstream distribution to remove the check_ prefix. This plugin
43 +# exists to allow older, un-migrated configurations to work properly with
44 +# the 0.94 release.
45 +
46 +my $whoami = 'earlytalker';
47 +
48 +sub init {
49 + my $self = shift;
50 + $self->log(LOGINFO,
51 + "The check_$whoami plugin is deprecated; see" .
52 + "/usr/share/doc/qpsmtpd/README.check_plugins for details.");
53 + $self->isa_plugin($whoami);
54 +}
55 diff -aruN qpsmtpd-0.94.orig/plugins/check_loop qpsmtpd-0.94/plugins/check_loop
56 --- qpsmtpd-0.94.orig/plugins/check_loop 1969-12-31 16:00:00.000000000 -0800
57 +++ qpsmtpd-0.94/plugins/check_loop 2015-02-21 23:34:00.009670201 -0800
58 @@ -0,0 +1,14 @@
59 +# Backwards-compatibility wrapper; qpsmtpd 0.94 renamed the check_* plugins
60 +# from the upstream distribution to remove the check_ prefix. This plugin
61 +# exists to allow older, un-migrated configurations to work properly with
62 +# the 0.94 release.
63 +
64 +my $whoami = 'loop';
65 +
66 +sub init {
67 + my $self = shift;
68 + $self->log(LOGINFO,
69 + "The check_$whoami plugin is deprecated; see" .
70 + "/usr/share/doc/qpsmtpd/README.check_plugins for details.");
71 + $self->isa_plugin($whoami);
72 +}
73 diff -aruN qpsmtpd-0.94.orig/plugins/check_relay qpsmtpd-0.94/plugins/check_relay
74 --- qpsmtpd-0.94.orig/plugins/check_relay 1969-12-31 16:00:00.000000000 -0800
75 +++ qpsmtpd-0.94/plugins/check_relay 2015-02-21 23:34:00.005670303 -0800
76 @@ -0,0 +1,14 @@
77 +# Backwards-compatibility wrapper; qpsmtpd 0.94 renamed the check_* plugins
78 +# from the upstream distribution to remove the check_ prefix. This plugin
79 +# exists to allow older, un-migrated configurations to work properly with
80 +# the 0.94 release.
81 +
82 +my $whoami = 'relay';
83 +
84 +sub init {
85 + my $self = shift;
86 + $self->log(LOGINFO,
87 + "The check_$whoami plugin is deprecated; see" .
88 + "/usr/share/doc/qpsmtpd/README.check_plugins for details.");
89 + $self->isa_plugin($whoami);
90 +}
91 diff -aruN qpsmtpd-0.94.orig/plugins/check_spamhelo qpsmtpd-0.94/plugins/check_spamhelo
92 --- qpsmtpd-0.94.orig/plugins/check_spamhelo 1969-12-31 16:00:00.000000000 -0800
93 +++ qpsmtpd-0.94/plugins/check_spamhelo 2015-02-21 23:41:26.544049127 -0800
94 @@ -0,0 +1,12 @@
95 +# Backwards-compatibility wrapper; qpsmtpd 0.94 renamed the check_* plugins
96 +# from the upstream distribution to remove the check_ prefix. This plugin
97 +# exists to allow older, un-migrated configurations to work properly with
98 +# the 0.94 release.
99 +
100 +sub init {
101 + my $self = shift;
102 + $self->log(LOGINFO,
103 + "The check_spamhelo plugin is deprecated; see" .
104 + "/usr/share/doc/qpsmtpd/README.check_plugins for details.");
105 + $self->isa_plugin('helo');
106 +}