<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5fb5165e2cb0b49380b2285f09bbb88276cdf567">https://github.com/macports/macports-ports/commit/5fb5165e2cb0b49380b2285f09bbb88276cdf567</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 5fb5165 p5-mail-clamav: delete broken, unmaintained port
</span>5fb5165 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5fb5165e2cb0b49380b2285f09bbb88276cdf567
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Mon Nov 18 15:55:32 2019 -0800
<span style='display:block; white-space:pre;color:#404040;'> p5-mail-clamav: delete broken, unmaintained port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Mail::ClamAV 0.29 fails to build with latest clamav 0.101.4 and
</span><span style='display:block; white-space:pre;color:#404040;'> has, for all practical purposes, been unmaintained upstream since 2009.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The last version known to build correctly was 0.24 which was updated to support
</span><span style='display:block; white-space:pre;color:#404040;'> clamav 0.95.1. Since then clamav has seen multiple API changes,
</span><span style='display:block; white-space:pre;color:#404040;'> none of which have been supported by Mail::ClamAV.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Even when the module worked, it was plagued by poor performace,
</span><span style='display:block; white-space:pre;color:#404040;'> excessive memory consumption and security issues. For all these reasons,
</span><span style='display:block; white-space:pre;color:#404040;'> clamav's clamd is now widely considered to be the better option by far.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The only existing port that references this module is amavisd-new, which
</span><span style='display:block; white-space:pre;color:#404040;'> supports it optionally, but also recommends clamd as the prefered clamav solution.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See amavisd-new's ${prefix}/share/amavisd-new/amavisd.conf.example for
</span><span style='display:block; white-space:pre;color:#404040;'> discussion and configuration examples.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> For the historical list of Mail::ClamAV's unanswered issues, see
</span><span style='display:block; white-space:pre;color:#404040;'> https://rt.cpan.org/Dist/Display.html?Name=Mail-ClamAV
</span>---
perl/p5-mail-clamav/Portfile | 37 -----------------------
perl/p5-mail-clamav/files/patch-ClamAV.pm.diff | 38 ------------------------
perl/p5-mail-clamav/files/patch-Makefile.PL.diff | 33 --------------------
3 files changed, 108 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-mail-clamav/Portfile b/perl/p5-mail-clamav/Portfile
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 09ab28b..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-mail-clamav/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,37 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup perl5 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-perl5.branches 5.26 5.28 5.30
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-perl5.setup Mail-ClamAV 0.29
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license {Artistic-1 GPL}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description Perl interface to the clamav virus scanner
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description Clam AntiVirus is an anti-virus toolkit for UNIX. \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- This module provide a simple interface to its C API.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 737ea1c041d9312cdcfe5b85eb45428e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 ee5fe9ae950c7c420ca58760f66b2be5f700e20c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${perl5.major} != ""} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:clamav \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:p${perl5.major}-inline-c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles patch-Makefile.PL.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-ClamAV.pm.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- use_parallel_build no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# delete duplicate copy of blib/arch erroneously installed back into the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# work path causing "already installed" activation errors (#44702)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${prefix}/var
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-mail-clamav/files/patch-ClamAV.pm.diff b/perl/p5-mail-clamav/files/patch-ClamAV.pm.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 58a76e1..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-mail-clamav/files/patch-ClamAV.pm.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,38 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- ClamAV.pm.orig 2009-04-29 16:02:43.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ ClamAV.pm 2011-11-04 16:49:01.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -191,7 +191,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- struct cl_stat st;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- char is_dir;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- char *path;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- int signatures;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ unsigned int signatures;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- };
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SV *clamav_perl_new(char *class, char *path)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -286,7 +286,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reclevel = cl_engine_get_num(c->root, CL_ENGINE_MAX_RECURSION, &err);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (err != CL_SUCCESS) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- error(err);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- return;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return -1;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return reclevel;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -313,7 +313,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- maxfiles = cl_engine_get_num(c->root, CL_ENGINE_MAX_FILES, &err);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (err != CL_SUCCESS) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- error(err);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- return;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return -1;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return maxfiles;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -334,7 +334,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- maxfsize = cl_engine_get_num(c->root, CL_ENGINE_MAX_FILESIZE, &err);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (err != CL_SUCCESS) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- error(err);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- return;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return -1;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return maxfsize;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-mail-clamav/files/patch-Makefile.PL.diff b/perl/p5-mail-clamav/files/patch-Makefile.PL.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 67b2564..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-mail-clamav/files/patch-Makefile.PL.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,33 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fix detection of macOS.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://rt.cpan.org/Public/Bug/Display.html?id=47022
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fix faulty ClamAV version detection.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://svnweb.freebsd.org/ports/head/mail/p5-Mail-ClamAV/files/patch-Makefile.PL?revision=467528&view=markup&pathrev=467528
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- Makefile.PL.orig 2009-04-29 14:06:39.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ Makefile.PL 2018-10-27 12:26:47.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2,6 +2,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- use lib '.';
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- use Inline::MakeMaker; # bundled
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+use version;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # see ExtUtils::MY documentation
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sub MY::top_targets {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -31,7 +32,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- solaris => 'solaris',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- freebsd => 'freebsd',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- openbsd => 'openbsd',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- macos => 'MacOS',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ darwin => 'macOS',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- netbsd => 'netbsd', # NetBSD isn't listed on the web page, if it fails I'll remove it later.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- );
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -51,7 +52,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- my $clver = get_cl_version();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- return warn_cl_version_bad() if $clver lt $minclversion;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return warn_cl_version_bad() if ( version->parse($clver) < version->parse($minclversion) );
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- my $inc = get_cl_inc_paths();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- my $libs = get_cl_libs();
</span></pre><pre style='margin:0'>
</pre>