summaryrefslogtreecommitdiff
path: root/security/avcheck
diff options
context:
space:
mode:
Diffstat (limited to 'security/avcheck')
-rw-r--r--security/avcheck/Makefile34
-rw-r--r--security/avcheck/distinfo2
-rw-r--r--security/avcheck/files/patch-avcheck.c56
-rw-r--r--security/avcheck/pkg-descr22
4 files changed, 0 insertions, 114 deletions
diff --git a/security/avcheck/Makefile b/security/avcheck/Makefile
deleted file mode 100644
index f4d238f3337d..000000000000
--- a/security/avcheck/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-# Created by: dsh@vlink.ru
-# $FreeBSD$
-
-PORTNAME= avcheck
-PORTVERSION= 0.91
-CATEGORIES= security
-MASTER_SITES= http://www.corpit.ru/ftp/avcheck/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Simple antivirus solution for a mail system
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
-
-PLIST_FILES= man/man1/avcheck.1.gz sbin/avcheck sbin/uchroot
-PORTDOCS= README.AVP README.AVP.de README.DrWeb README.Exim \
- README.Postfix README.Postfix.de README.Sendmail eicar.msg \
- eicar.txt
-
-OPTIONS_DEFINE= DOCS
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/avcheck ${WRKSRC}/uchroot \
- ${STAGEDIR}${PREFIX}/sbin
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
-
-do-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/security/avcheck/distinfo b/security/avcheck/distinfo
deleted file mode 100644
index d4cff9bc7fc6..000000000000
--- a/security/avcheck/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (avcheck-0.91.tar.gz) = 227aafd729f5319756bc4c65a5148c4e8a92bbabf65b131bfa213d170fee954c
-SIZE (avcheck-0.91.tar.gz) = 47799
diff --git a/security/avcheck/files/patch-avcheck.c b/security/avcheck/files/patch-avcheck.c
deleted file mode 100644
index 1bf53cc60fc2..000000000000
--- a/security/avcheck/files/patch-avcheck.c
+++ /dev/null
@@ -1,56 +0,0 @@
---- avcheck.c.orig Sun Jul 28 00:22:05 2002
-+++ avcheck.c Thu Mar 25 10:32:17 2004
-@@ -530,23 +530,27 @@
- #define DRWEBD_SCAN_FLAGS (DRWEBD_RETURN_VIRUSES/*|DRWEBD_HEURISTIC_ON*/)
-
- /* DrWeb result codes */
--#define DERR_READ_ERR 0x00001
--#define DERR_WRITE_ERR 0x00002
--#define DERR_NOMEMORY 0x00004
--#define DERR_CRC_ERROR 0x00008
--#define DERR_READSOCKET 0x00010
--#define DERR_KNOWN_VIRUS 0x00020
--#define DERR_UNKNOWN_VIRUS 0x00040
--#define DERR_VIRUS_MODIFICATION 0x00080
--#define DERR_TIMEOUT 0x00200
--#define DERR_SYMLINK 0x00400
--#define DERR_NO_REGFILE 0x00800
--#define DERR_SKIPPED 0x01000
--#define DERR_TOO_BIG 0x02000
--#define DERR_TOO_COMPRESSED 0x04000
--#define DERR_BAD_CALL 0x08000
--#define DERR_EVAL_VERSION 0x10000
--#define DERR_SPAM_MESSAGE 0x20000
-+#define DERR_READ_ERR 0x00000001
-+#define DERR_WRITE_ERR 0x00000002
-+#define DERR_NOMEMORY 0x00000004
-+#define DERR_CRC_ERROR 0x00000008
-+#define DERR_READSOCKET 0x00000010
-+#define DERR_KNOWN_VIRUS 0x00000020
-+#define DERR_UNKNOWN_VIRUS 0x00000040
-+#define DERR_VIRUS_MODIFICATION 0x00000080
-+#define DERR_HAVE_CURED 0x00000100
-+#define DERR_TIMEOUT 0x00000200
-+#define DERR_SYMLINK 0x00000400
-+#define DERR_NO_REGFILE 0x00000800
-+#define DERR_SKIPPED 0x00001000
-+#define DERR_TOO_BIG 0x00002000
-+#define DERR_TOO_COMPRESSED 0x00004000
-+#define DERR_BAD_CALL 0x00008000
-+#define DERR_EVAL_VERSION 0x00010000
-+#define DERR_SPAM_MESSAGE 0x00020000
-+#define DERR_ARCHIVE_LEVEL 0x00040000
-+#define DERR_HAVE_DELETED 0x00080000
-+#define DERR_IS_CLEAN 0x00100000
-
- #define DERR_VIRUS \
- (DERR_KNOWN_VIRUS|DERR_UNKNOWN_VIRUS|DERR_VIRUS_MODIFICATION)
-@@ -570,7 +574,7 @@
- if (read(fd, &c, sizeof(c)) != sizeof(c) || /* code */
- read(fd, &n, sizeof(n)) != sizeof(n)) /* number of viruses */
- err(errno, "error reading %s daemon response", avname);
-- if ((c = ntohl(c)) == 0)
-+ if (((c = ntohl(c)) == 0) || (c & DERR_IS_CLEAN))
- return 0; /* all ok, no viruses found (n should be 0) */
-
- if (!(c & DERR_VIRUS)) {
diff --git a/security/avcheck/pkg-descr b/security/avcheck/pkg-descr
deleted file mode 100644
index f5e248844cdd..000000000000
--- a/security/avcheck/pkg-descr
+++ /dev/null
@@ -1,22 +0,0 @@
-Avcheck is a simple program that allows you to call an antivirus
-software in order to check mail messages for viruses before actual
-delivery from within a Mail Transfer Agent, or MTA.
-
-Avcheck itself isn't a virusscanner, nor it is an MTA. It sits between
-the MTA and a real antivirus software. Most MTAs available today can
-call an external program for every mail message in order to perform
-various tasks, including virus scanning and content filtering. Avcheck
-can be used as that external program.
-
-Avcheck will receive a mail message from a mail system, pass it to an
-antivirus software, and, depending on the presence of a virus in that
-message, will either allow the message to be delivered or take
-appropriate actions to handle infected mail.
-
-Avcheck does nothing with a mail message contents -- it's task is to
-prepare file with a mail message and feed it to an antivirus
-progra. It's an antivirus task to decode MIME structure, handle
-embedded archives and so on. Many but not all antivirus products today
-have this ability.
-
-WWW: http://www.corpit.ru/avcheck/