spamassassin/SOURCES/0001-Drop-the-ResourceLimits-plugin.patch

45 lines
1.7 KiB
Diff
Raw Normal View History

2019-05-07 12:20:12 +00:00
diff --git a/MANIFEST b/MANIFEST
2021-05-18 06:47:01 +00:00
index c4aca1b..5ba3a0c 100644
2019-05-07 12:20:12 +00:00
--- a/MANIFEST
+++ b/MANIFEST
2021-05-18 06:47:01 +00:00
@@ -101,7 +101,6 @@ lib/Mail/SpamAssassin/Plugin/Pyzor.pm
2019-05-07 12:20:12 +00:00
lib/Mail/SpamAssassin/Plugin/Razor2.pm
lib/Mail/SpamAssassin/Plugin/RelayCountry.pm
lib/Mail/SpamAssassin/Plugin/RelayEval.pm
-lib/Mail/SpamAssassin/Plugin/ResourceLimits.pm
lib/Mail/SpamAssassin/Plugin/ReplaceTags.pm
lib/Mail/SpamAssassin/Plugin/Reuse.pm
lib/Mail/SpamAssassin/Plugin/Rule2XSBody.pm
diff --git a/lib/Mail/SpamAssassin/Util/DependencyInfo.pm b/lib/Mail/SpamAssassin/Util/DependencyInfo.pm
2021-05-18 06:47:01 +00:00
index eca12e1..9a6b4fb 100644
2019-05-07 12:20:12 +00:00
--- a/lib/Mail/SpamAssassin/Util/DependencyInfo.pm
+++ b/lib/Mail/SpamAssassin/Util/DependencyInfo.pm
2021-05-18 06:47:01 +00:00
@@ -233,12 +233,6 @@ our @OPTIONAL_MODULES = (
2019-05-07 12:20:12 +00:00
check for both Net::DNS and Net::DNS::Nameserver. However,
Net::DNS::Nameserver is only used in make test as of June 2014.',
},
-{
- module => 'BSD::Resource',
- version => 0,
- desc => 'BSD::Resource provides BSD process resource limit and priority
- functions. It is used by the optional ResourceLimits Plugin.',
-},
2021-05-18 06:47:01 +00:00
{
module => 'Archive::Zip',
version => 0,
2019-05-07 12:20:12 +00:00
diff --git a/rules/v342.pre b/rules/v342.pre
2021-05-18 06:47:01 +00:00
index 8e0fb07..c4758e9 100644
2019-05-07 12:20:12 +00:00
--- a/rules/v342.pre
+++ b/rules/v342.pre
@@ -19,10 +19,6 @@
2021-05-18 06:47:01 +00:00
# HashBL - Query hashed/unhashed strings, emails, uris etc from DNS lists
2019-05-07 12:20:12 +00:00
# loadplugin Mail::SpamAssassin::Plugin::HashBL
-# ResourceLimits - assure your spamd child processes
-# do not exceed specified CPU or memory limit
-# loadplugin Mail::SpamAssassin::Plugin::ResourceLimits
-
# FromNameSpoof - help stop spam that tries to spoof other domains using
# the from name
2021-05-18 06:47:01 +00:00
# loadplugin Mail::SpamAssassin::Plugin::FromNameSpoof