summaryrefslogtreecommitdiff
path: root/mail/spamoracle
diff options
context:
space:
mode:
Diffstat (limited to 'mail/spamoracle')
-rw-r--r--mail/spamoracle/Makefile45
-rw-r--r--mail/spamoracle/distinfo2
-rw-r--r--mail/spamoracle/files/patch-Makefile28
-rw-r--r--mail/spamoracle/files/patch-wordsplit.mlp27
-rw-r--r--mail/spamoracle/pkg-descr17
5 files changed, 0 insertions, 119 deletions
diff --git a/mail/spamoracle/Makefile b/mail/spamoracle/Makefile
deleted file mode 100644
index cf9893614bce..000000000000
--- a/mail/spamoracle/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= spamoracle
-PORTVERSION= 1.4
-PORTREVISION= 1
-CATEGORIES= mail
-MASTER_SITES= http://cristal.inria.fr/~xleroy/software/
-
-MAINTAINER= xride@FreeBSD.org
-COMMENT= procmail spam filter written in ML using Bayesian classification
-
-BROKEN= unfetchable
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2020-05-05
-
-BUILD_DEPENDS= ocaml:lang/ocaml
-
-PLIST_FILES= bin/spamoracle
-PLIST_FILES+= man/man1/spamoracle.1.gz
-PLIST_FILES+= man/man5/spamoracle.conf.5.gz
-
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-PORTDOCS= Changes README
-.endif
-
-do-configure:
- @${REINPLACE_CMD} -E -e 's|^(CPP=)gcc[[:space:]]+-E|\1${CPP}|' \
- -e 's|^(MANDIR=).*$$|\1${STAGEDIR}${MANPREFIX}/man|' \
- -e 's|^(BINDIR=).*$$|\1${STAGEDIR}${PREFIX}/bin|' \
- ${WRKSRC}/Makefile
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for file in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}/
-.endfor
-.endif
-
-.include <bsd.port.mk>
diff --git a/mail/spamoracle/distinfo b/mail/spamoracle/distinfo
deleted file mode 100644
index bc7739240207..000000000000
--- a/mail/spamoracle/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (spamoracle-1.4.tar.gz) = 2ed4155dcb15c3e82fe5bc97ad47468cb9380ca030a42f064f5df062c1a6c363
-SIZE (spamoracle-1.4.tar.gz) = 30391
diff --git a/mail/spamoracle/files/patch-Makefile b/mail/spamoracle/files/patch-Makefile
deleted file mode 100644
index 998d3f9c0db3..000000000000
--- a/mail/spamoracle/files/patch-Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
---- Makefile.orig Sun May 25 06:38:24 2003
-+++ Makefile Sat Mar 13 06:58:00 2004
-@@ -1,10 +1,10 @@
- ### Configuration section
-
- # The laguages you're interested in, besides English
--LANGUAGES=-DFRENCH #-DSPANISH -DITALIAN -DGERMAN -DPORTUGUESE -DJAPANESE
-+LANGUAGES=-DFRENCH -DSPANISH -DITALIAN -DGERMAN -DPORTUGUESE -DJAPANESE -DRUSSIAN
-
- # How to invoke the C preprocessor
--CPP=gcc -E -P $(LANGUAGES) -
-+CPP=cpp -P $(LANGUAGES) -
-
- # Where to install the binary
- BINDIR=/usr/local/bin
-@@ -30,9 +30,9 @@
- all: spamoracle
-
- install:
-- cp spamoracle $(BINDIR)/spamoracle
-- cp spamoracle.1 $(MANDIR)/man1/spamoracle.1
-- cp spamoracle.conf.5 $(MANDIR)/man5/spamoracle.conf.5
-+ ${BSD_INSTALL_PROGRAM} spamoracle $(BINDIR)/spamoracle
-+ ${BSD_INSTALL_MAN} spamoracle.1 $(MANDIR)/man1/spamoracle.1
-+ ${BSD_INSTALL_MAN} spamoracle.conf.5 $(MANDIR)/man5/spamoracle.conf.5
-
- spamoracle: $(NATOBJS)
- $(OCAMLOPT) -o spamoracle $(NATLIBS) $(NATOBJS)
diff --git a/mail/spamoracle/files/patch-wordsplit.mlp b/mail/spamoracle/files/patch-wordsplit.mlp
deleted file mode 100644
index 380030fe53a7..000000000000
--- a/mail/spamoracle/files/patch-wordsplit.mlp
+++ /dev/null
@@ -1,27 +0,0 @@
---- wordsplit.mlp.orig Sat Mar 13 06:52:19 2004
-+++ wordsplit.mlp Sat Mar 13 06:55:09 2004
-@@ -35,10 +35,10 @@
- aaaaaaeceeeeiiii\
- ðnooooo÷ouuuuypy"
-
--let normalize s =
-- for i = 0 to String.length s - 1 do
-+let normalize s = s
-+ (* for i = 0 to String.length s - 1 do
- s.[i] <- tbl.[Char.code s.[i]]
-- done
-+ done *)
-
- let all_uppercase s =
- try
-@@ -87,6 +87,10 @@
- #ifdef PORTUGUESE
- 'À' 'Á' 'Â' 'Ã' 'Ç' 'É' 'Ê' 'Í' 'Ó' 'Ô' 'Õ' 'Ú' 'Ü'
- 'à' 'á' 'â' 'ã' 'ç' 'é' 'ê' 'í' 'ó' 'ô' 'õ' 'ú' 'ü'
-+#endif
-+#ifdef RUSSIAN
-+ 'Á' 'Â' '×' 'Ç' 'Ä' 'Å' '£' 'Ö' 'Ú' 'É' 'Ê' 'Ë' 'Ì' 'Í' 'Î' 'Ï' 'Ð' 'Ò' 'Ó' 'Ô' 'Õ' 'Æ' 'È' 'Ã' 'Þ' 'Û' 'Ý' 'ß' 'Ù' 'Ø' 'Ü' 'À' 'Ñ'
-+ 'á' 'â' '÷' 'ç' 'ä' 'å' '³' 'ö' 'ú' 'é' 'ê' 'ë' 'ì' 'í' 'î' 'ï' 'ð' 'ò' 'ó' 'ô' 'õ' 'æ' 'è' 'ã' 'þ' 'û' 'ý' 'ÿ' 'ù' 'ø' 'ü' 'à' 'ñ'
- #endif
- ]
-
diff --git a/mail/spamoracle/pkg-descr b/mail/spamoracle/pkg-descr
deleted file mode 100644
index 6d64d9b421af..000000000000
--- a/mail/spamoracle/pkg-descr
+++ /dev/null
@@ -1,17 +0,0 @@
-[ excerpt from developer's site ]
-
-SpamOracle, a.k.a. "Saint Peter", is a tool to help detect and
-filter away "spam" (unsolicited commercial e-mail). It proceeds
-by statistical analysis of the words that appear in the e-mail,
-comparing the frequencies of words with those found in a user-provided
-corpus of known spam and known legitimate e-mail. The classification
-algorithm is based on Bayes' formula, and is described in Paul
-Graham's paper, A plan for spam.
-
-This program is designed to work in conjunction with procmail. The
-result of the analysis is output as an additional message header
-X-Spam:, followed by yes, no or unknown, plus additional details.
-A procmail rule can then test this X-Spam: header and deliver the
-e-mail to the appropriate mailbox.
-
-WWW: http://cristal.inria.fr/~xleroy/software.html