]> git.proxmox.com Git - proxmox-spamassassin.git/commitdiff
avoid pkg change of PMG controlled init.pre config file
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 16 Dec 2019 09:29:00 +0000 (10:29 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 16 Dec 2019 10:44:58 +0000 (11:44 +0100)
as apt ask the user about the change, but we rewrite it anyway, as
it's effectively under direct PMG control.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/patches/avoid-init.pre-update.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/avoid-init.pre-update.patch b/debian/patches/avoid-init.pre-update.patch
new file mode 100644 (file)
index 0000000..9d66bfe
--- /dev/null
@@ -0,0 +1,15 @@
+diff --git a/proxmox-spamassassin_3.4.3/rules/init.pre b/proxmox-spamassassin_3.4.3/rules/init.pre
+index f9ee06a..a330bad 100644
+--- a/rules/init.pre
++++ b/rules/init.pre
+@@ -26,6 +26,10 @@
+ #
+ loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
++# Hashcash - perform hashcash verification.
++#
++loadplugin Mail::SpamAssassin::Plugin::Hashcash
++
+ # SPF - perform SPF verification.
+ #
+ loadplugin Mail::SpamAssassin::Plugin::SPF
index 78f208c1bc22c422e4d522d1a7dcf280fa399c43..8f27ebfe93ac8982113d9b63d2bfe4bf9143e5b9 100644 (file)
@@ -1 +1,2 @@
 disable-dkim.patch
+avoid-init.pre-update.patch