Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2002 22:18:18 +0300 (EEST)
From:      Lefteris Chatzibarbas <lefcha@hellug.gr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lefcha@hellug.gr
Subject:   ports/41087: New port: mail/imapfilter
Message-ID:  <200207281918.g6SJIIMq001638@localhost.my.domain>

next in thread | raw e-mail | index | archive | help

>Number:         41087
>Category:       ports
>Synopsis:       New port: mail/imapfilter
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 28 12:20:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lefteris Chatzibarbas
>Release:        FreeBSD 4.6-RELEASE i386
>Organization:
>Environment:
System: FreeBSD bsd 4.6-RELEASE FreeBSD 4.6-RELEASE #5: Tue Jul 9 17:08:15 EEST 2002 lefcha@bsd:/usr/src/sys/compile/CUSTOM i386


	
>Description:
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.

>How-To-Repeat:
	
>Fix:


--- imapfilter.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/mail/imapfilter
#	/usr/ports/mail/imapfilter/pkg-plist
#	/usr/ports/mail/imapfilter/pkg-descr
#	/usr/ports/mail/imapfilter/pkg-comment
#	/usr/ports/mail/imapfilter/Makefile
#	/usr/ports/mail/imapfilter/files
#	/usr/ports/mail/imapfilter/files/patch-aa
#	/usr/ports/mail/imapfilter/distinfo
#	/usr/ports/mail/imapfilter/pkg-message
#
echo c - /usr/ports/mail/imapfilter
mkdir -p /usr/ports/mail/imapfilter > /dev/null 2>&1
echo x - /usr/ports/mail/imapfilter/pkg-plist
sed 's/^X//' >/usr/ports/mail/imapfilter/pkg-plist << 'END-of-/usr/ports/mail/imapfilter/pkg-plist'
Xbin/imapfilter
Xshare/doc/imapfilter/README
Xshare/doc/imapfilter/LICENSE
Xshare/doc/imapfilter/NEWS
Xshare/examples/imapfilter/sample.imapfilterrc
X@dirrm share/doc/imapfilter
X@dirrm share/examples/imapfilter
END-of-/usr/ports/mail/imapfilter/pkg-plist
echo x - /usr/ports/mail/imapfilter/pkg-descr
sed 's/^X//' >/usr/ports/mail/imapfilter/pkg-descr << 'END-of-/usr/ports/mail/imapfilter/pkg-descr'
XIMAPFilter is an IMAP mail filtering utility, which based on user defined
Xrules, processes mail residing in IMAP mailboxes without downloading them.
XAvailable searching criteria, which can be combined using logical operators
X(and/or/not), include the matching of a string in the headers or body of
Xmessages, the size, date or status of them.  Different actions can be applied
Xsuch as deletion, copying or moving of messages to mailboxes in the same
Xor different mail server, and changing of their flags.  Other features also
Xinclude daemon mode and encryption and secure storing in the filesystem of the
Xuser's passwords, using the integrated interactive password editor.
X
XIMAPfilter is purposed as a preconnect utility before a user fetches his/her
Xmail, accesses his/her mailboxes with one of the available mail user agents or
Xbrowses them via the Web.
X
XWWW: http://imapfilter.hellug.gr
X
X- Lefteris Chatzibarbas
Xlefcha@hellug.gr
END-of-/usr/ports/mail/imapfilter/pkg-descr
echo x - /usr/ports/mail/imapfilter/pkg-comment
sed 's/^X//' >/usr/ports/mail/imapfilter/pkg-comment << 'END-of-/usr/ports/mail/imapfilter/pkg-comment'
XIMAP mail filtering utility
END-of-/usr/ports/mail/imapfilter/pkg-comment
echo x - /usr/ports/mail/imapfilter/Makefile
sed 's/^X//' >/usr/ports/mail/imapfilter/Makefile << 'END-of-/usr/ports/mail/imapfilter/Makefile'
X# New ports collection makefile for:	imapfilter
X# Date created:        28 July 2002
X# Whom:                Lefteris Chatzibarbas <lefcha@hellug.gr>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	imapfilter
XPORTVERSION=	0.8
XCATEGORIES=	mail
XMASTER_SITES=	http://imapfilter.hellug.gr/source/
X
XMAINTAINER=	lefcha@hellug.gr
X
XUSE_OPENSSL=	yes
X
XMAN1=		imapfilter.1
XMAN5=		imapfilterrc.5
X
Xpost-install:
X	strip $(PREFIX)/bin/imapfilter
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/imapfilter
X	${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/imapfilter
X	${INSTALL_MAN} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/imapfilter
X	${INSTALL_MAN} ${WRKSRC}/NEWS ${PREFIX}/share/doc/imapfilter
X	${MKDIR} ${PREFIX}/share/examples/imapfilter
X	${INSTALL_MAN} ${WRKSRC}/sample.imapfilterrc ${PREFIX}/share/examples/imapfilter
X.endif
X	$(CAT) $(PKGMESSAGE)
X
X.include <bsd.port.mk>
END-of-/usr/ports/mail/imapfilter/Makefile
echo c - /usr/ports/mail/imapfilter/files
mkdir -p /usr/ports/mail/imapfilter/files > /dev/null 2>&1
echo x - /usr/ports/mail/imapfilter/files/patch-aa
sed 's/^X//' >/usr/ports/mail/imapfilter/files/patch-aa << 'END-of-/usr/ports/mail/imapfilter/files/patch-aa'
X--- Makefile~	Sun Jul 28 18:09:32 2002
X+++ Makefile	Sun Jul 28 18:09:24 2002
X@@ -1,14 +1,11 @@
X-CC = cc
X CFLAGS = -Wall -O2
X 
X-DESTDIR = /usr/local
X-BINDIR = /usr/local/bin
X-MANDIR = /usr/local/man
X-
X-INSTALL = install -c
X-INST_DIR = install -d
X-INST_BIN = $(INSTALL) -m 755
X-INST_DOC = $(INSTALL) -m 644
X+DESTDIR = $(PREFIX)
X+BINDIR = $(PREFIX)/bin
X+MANDIR = $(PREFIX)/man
X+
X+INST_BIN = $(BSD_INSTALL_PROGRAM)
X+INST_DOC = $(BSD_INSTALL_MAN)
X 
X MAN_BIN = imapfilter.1
X MAN_RC = imapfilterrc.5
X@@ -19,6 +16,8 @@
X 
X LIBS =  -lssl -lcrypto
X 
X+all: imapfilter
X+
X imapfilter: $(OBJ)
X 	$(CC) $(LIBS) $(CFLAGS) -o $(BIN) $(OBJ)
X 
X@@ -27,11 +26,8 @@
X data.o imapfilter.o imap.o file.o passwd.o request.o socket.o: data.h
X 
X install: imapfilter
X-	if test ! -d $(BINDIR); then $(INST_DIR) $(BINDIR); fi
X 	$(INST_BIN) $(BIN) $(BINDIR)
X-	if test ! -d $(MANDIR)/man1; then $(INST_DIR) $(MANDIR)/man1; fi
X 	$(INST_DOC) $(MAN_BIN) $(MANDIR)/man1
X-	if test ! -d $(MANDIR)/man5; then $(INST_DIR) $(MANDIR)/man5; fi
X 	$(INST_DOC) $(MAN_RC) $(MANDIR)/man5
X 
X uninstall:
X@@ -44,4 +40,4 @@
X 	@if test -f .Makefile; then mv .Makefile Makefile; fi
X 	@if test -f .config.h; then mv .config.h config.h; fi
X 
X-.PHONY : install uninstall clean distclean
X+.PHONY : all install uninstall clean distclean
END-of-/usr/ports/mail/imapfilter/files/patch-aa
echo x - /usr/ports/mail/imapfilter/distinfo
sed 's/^X//' >/usr/ports/mail/imapfilter/distinfo << 'END-of-/usr/ports/mail/imapfilter/distinfo'
XMD5 (imapfilter-0.8.tar.gz) = 177838e56232fa8c19ad8789744a77f1
END-of-/usr/ports/mail/imapfilter/distinfo
echo x - /usr/ports/mail/imapfilter/pkg-message
sed 's/^X//' >/usr/ports/mail/imapfilter/pkg-message << 'END-of-/usr/ports/mail/imapfilter/pkg-message'
XYou can install imapfilter suid root, in order to lock memory pages and
Xavoid swapping sensitive data.  By default it is not installed suid root,
Xso this must be done manually.
END-of-/usr/ports/mail/imapfilter/pkg-message
exit
--- imapfilter.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207281918.g6SJIIMq001638>