summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2002-07-29 21:14:43 +0000
committerperky <perky@FreeBSD.org>2002-07-29 21:14:43 +0000
commit394f5d6a143f042c2919f591dfb82e0c932185a0 (patch)
treeb19151d8955340a4e4852163786a87003ce80979 /mail
parent57abc0bdeb2c18c5eafa1fe52814d9ec4df2f5cd (diff)
downloadFreeBSD-ports-394f5d6a143f042c2919f591dfb82e0c932185a0.zip
FreeBSD-ports-394f5d6a143f042c2919f591dfb82e0c932185a0.tar.gz
Add imapfilter 0.8, IMAP mail filtering utility.
PR: 41087 Submitted by: Lefteris Chatzibarbas <lefcha@hellug.gr>
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/imapfilter/Makefile32
-rw-r--r--mail/imapfilter/distinfo1
-rw-r--r--mail/imapfilter/files/patch-aa50
-rw-r--r--mail/imapfilter/pkg-comment1
-rw-r--r--mail/imapfilter/pkg-descr18
-rw-r--r--mail/imapfilter/pkg-message3
-rw-r--r--mail/imapfilter/pkg-plist7
8 files changed, 113 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index ece5bb5..b74f0d9 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -72,6 +72,7 @@
SUBDIR += ifile
SUBDIR += im
SUBDIR += imap-uw
+ SUBDIR += imapfilter
SUBDIR += imp
SUBDIR += imp3
SUBDIR += isoqlog
diff --git a/mail/imapfilter/Makefile b/mail/imapfilter/Makefile
new file mode 100644
index 0000000..98d721f
--- /dev/null
+++ b/mail/imapfilter/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: imapfilter
+# Date created: 28 July 2002
+# Whom: Lefteris Chatzibarbas <lefcha@hellug.gr>
+#
+# $FreeBSD$
+#
+
+PORTNAME= imapfilter
+PORTVERSION= 0.8
+CATEGORIES= mail
+MASTER_SITES= http://imapfilter.hellug.gr/source/
+
+MAINTAINER= lefcha@hellug.gr
+
+USE_OPENSSL= yes
+
+MAN1= imapfilter.1
+MAN5= imapfilterrc.5
+
+post-install:
+ ${STRIP_CMD} $(PREFIX)/bin/imapfilter
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/NEWS ${DOCSDIR}
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_MAN} ${WRKSRC}/sample.imapfilterrc ${EXAMPLESDIR}
+.endif
+ @$(CAT) $(PKGMESSAGE)
+
+.include <bsd.port.mk>
diff --git a/mail/imapfilter/distinfo b/mail/imapfilter/distinfo
new file mode 100644
index 0000000..1c79da0
--- /dev/null
+++ b/mail/imapfilter/distinfo
@@ -0,0 +1 @@
+MD5 (imapfilter-0.8.tar.gz) = 177838e56232fa8c19ad8789744a77f1
diff --git a/mail/imapfilter/files/patch-aa b/mail/imapfilter/files/patch-aa
new file mode 100644
index 0000000..0c2eaae6
--- /dev/null
+++ b/mail/imapfilter/files/patch-aa
@@ -0,0 +1,50 @@
+--- Makefile~ Sun Jul 28 18:09:32 2002
++++ Makefile Sun Jul 28 18:09:24 2002
+@@ -1,14 +1,11 @@
+-CC = cc
+ CFLAGS = -Wall -O2
+
+-DESTDIR = /usr/local
+-BINDIR = /usr/local/bin
+-MANDIR = /usr/local/man
+-
+-INSTALL = install -c
+-INST_DIR = install -d
+-INST_BIN = $(INSTALL) -m 755
+-INST_DOC = $(INSTALL) -m 644
++DESTDIR = $(PREFIX)
++BINDIR = $(PREFIX)/bin
++MANDIR = $(PREFIX)/man
++
++INST_BIN = $(BSD_INSTALL_PROGRAM)
++INST_DOC = $(BSD_INSTALL_MAN)
+
+ MAN_BIN = imapfilter.1
+ MAN_RC = imapfilterrc.5
+@@ -19,6 +16,8 @@
+
+ LIBS = -lssl -lcrypto
+
++all: imapfilter
++
+ imapfilter: $(OBJ)
+ $(CC) $(LIBS) $(CFLAGS) -o $(BIN) $(OBJ)
+
+@@ -27,11 +26,8 @@
+ data.o imapfilter.o imap.o file.o passwd.o request.o socket.o: data.h
+
+ install: imapfilter
+- if test ! -d $(BINDIR); then $(INST_DIR) $(BINDIR); fi
+ $(INST_BIN) $(BIN) $(BINDIR)
+- if test ! -d $(MANDIR)/man1; then $(INST_DIR) $(MANDIR)/man1; fi
+ $(INST_DOC) $(MAN_BIN) $(MANDIR)/man1
+- if test ! -d $(MANDIR)/man5; then $(INST_DIR) $(MANDIR)/man5; fi
+ $(INST_DOC) $(MAN_RC) $(MANDIR)/man5
+
+ uninstall:
+@@ -44,4 +40,4 @@
+ @if test -f .Makefile; then mv .Makefile Makefile; fi
+ @if test -f .config.h; then mv .config.h config.h; fi
+
+-.PHONY : install uninstall clean distclean
++.PHONY : all install uninstall clean distclean
diff --git a/mail/imapfilter/pkg-comment b/mail/imapfilter/pkg-comment
new file mode 100644
index 0000000..41f2647
--- /dev/null
+++ b/mail/imapfilter/pkg-comment
@@ -0,0 +1 @@
+IMAP mail filtering utility
diff --git a/mail/imapfilter/pkg-descr b/mail/imapfilter/pkg-descr
new file mode 100644
index 0000000..370e4a9
--- /dev/null
+++ b/mail/imapfilter/pkg-descr
@@ -0,0 +1,18 @@
+IMAPFilter is an IMAP mail filtering utility, which based on user defined
+rules, processes mail residing in IMAP mailboxes without downloading them.
+Available searching criteria, which can be combined using logical operators
+(and/or/not), include the matching of a string in the headers or body of
+messages, the size, date or status of them. Different actions can be applied
+such as deletion, copying or moving of messages to mailboxes in the same
+or different mail server, and changing of their flags. Other features also
+include daemon mode and encryption and secure storing in the filesystem of the
+user's passwords, using the integrated interactive password editor.
+
+IMAPfilter is purposed as a preconnect utility before a user fetches his/her
+mail, accesses his/her mailboxes with one of the available mail user agents or
+browses them via the Web.
+
+WWW: http://imapfilter.hellug.gr
+
+- Lefteris Chatzibarbas
+lefcha@hellug.gr
diff --git a/mail/imapfilter/pkg-message b/mail/imapfilter/pkg-message
new file mode 100644
index 0000000..ee5a398
--- /dev/null
+++ b/mail/imapfilter/pkg-message
@@ -0,0 +1,3 @@
+You can install imapfilter suid root, in order to lock memory pages and
+avoid swapping sensitive data. By default it is not installed suid root,
+so this must be done manually.
diff --git a/mail/imapfilter/pkg-plist b/mail/imapfilter/pkg-plist
new file mode 100644
index 0000000..432918e
--- /dev/null
+++ b/mail/imapfilter/pkg-plist
@@ -0,0 +1,7 @@
+bin/imapfilter
+share/doc/imapfilter/README
+share/doc/imapfilter/LICENSE
+share/doc/imapfilter/NEWS
+share/examples/imapfilter/sample.imapfilterrc
+@dirrm share/doc/imapfilter
+@dirrm share/examples/imapfilter
OpenPOWER on IntegriCloud