diff options
author | jtb <jtb@pkgsrc.org> | 2002-05-04 00:03:29 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2002-05-04 00:03:29 +0000 |
commit | b5d0a9cefa24697542ca6e28bdd13f8d10017438 (patch) | |
tree | 53d841e5c23c2f406d3fc077cda2aed8b23937e5 | |
parent | 7b9f91d9b4c674900df3dddfd9f72e8e396e597d (diff) | |
download | pkgsrc-b5d0a9cefa24697542ca6e28bdd13f8d10017438.tar.gz |
Initial import of imapfilter.
IMAPFilter is a mail filtering utility. It connects to remote mail
servers using the Internet Message Access Protocol (IMAP). Based on
the user defined filters it checks messages residing on a remote IMAP
mailbox and processes them in various ways.
-rw-r--r-- | mail/imapfilter/DESCR | 4 | ||||
-rw-r--r-- | mail/imapfilter/Makefile | 19 | ||||
-rw-r--r-- | mail/imapfilter/PLIST | 6 | ||||
-rw-r--r-- | mail/imapfilter/distinfo | 4 | ||||
-rw-r--r-- | mail/imapfilter/patches/patch-aa | 45 |
5 files changed, 78 insertions, 0 deletions
diff --git a/mail/imapfilter/DESCR b/mail/imapfilter/DESCR new file mode 100644 index 00000000000..6ea2fcfb554 --- /dev/null +++ b/mail/imapfilter/DESCR @@ -0,0 +1,4 @@ +IMAPFilter is a mail filtering utility. It connects to remote mail +servers using the Internet Message Access Protocol (IMAP). Based on +the user defined filters it checks messages residing on a remote IMAP +mailbox and processes them in various ways. diff --git a/mail/imapfilter/Makefile b/mail/imapfilter/Makefile new file mode 100644 index 00000000000..c354be59b13 --- /dev/null +++ b/mail/imapfilter/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/05/04 00:03:29 jtb Exp $ + +DISTNAME= imapfilter-0.7.2 +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=imapfilter/} + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://imapfilter.sourceforge.net +COMMENT= Mail filtering utility for the IMAP + +USE_BUILDLINK_ONLY= # defined + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/imapfilter + ${INSTALL_DATA} ${WRKSRC}/sample.imapfilterrc \ + ${PREFIX}/share/examples/imapfilter + +.include "../../security/openssl/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/mail/imapfilter/PLIST b/mail/imapfilter/PLIST new file mode 100644 index 00000000000..c4a7bb42ea5 --- /dev/null +++ b/mail/imapfilter/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/04 00:03:29 jtb Exp $ +bin/imapfilter +man/man1/imapfilter.1 +man/man5/imapfilterrc.5 +share/examples/imapfilter/sample.imapfilterrc +@dirrm share/examples/imapfilter diff --git a/mail/imapfilter/distinfo b/mail/imapfilter/distinfo new file mode 100644 index 00000000000..077059d7833 --- /dev/null +++ b/mail/imapfilter/distinfo @@ -0,0 +1,4 @@ + +SHA1 (imapfilter-0.7.2.tar.gz) = c46b8f9bbecef7add099852d73447dfb36ea784f +Size (imapfilter-0.7.2.tar.gz) = 25216 bytes +SHA1 (patch-aa) = 84ad0f220bf76b9a1f0e6e852ecf4274e05fc014 diff --git a/mail/imapfilter/patches/patch-aa b/mail/imapfilter/patches/patch-aa new file mode 100644 index 00000000000..2d875d61a42 --- /dev/null +++ b/mail/imapfilter/patches/patch-aa @@ -0,0 +1,45 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/05/04 00:03:29 jtb Exp $ + +--- Makefile.orig Mon Jan 21 23:17:58 2002 ++++ Makefile Sat May 4 01:05:33 2002 +@@ -1,14 +1,9 @@ +-CC = cc +-CFLAGS = -Wall -O2 ++DESTDIR = $(PREFIX) ++BINDIR = $(PREFIX)/bin ++MANDIR = $(PREFIX)/man + +-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 ++INST_BIN = $(BSD_INSTALL_PROGRAM) ++INST_DOC = $(BSD_INSTALL_MAN) + + MAN_BIN = imapfilter.1 + MAN_RC = imapfilterrc.5 +@@ -19,6 +14,8 @@ + + LIBS = -lssl -lcrypto + ++all: imapfilter ++ + imapfilter: $(OBJ) + $(CC) $(LIBS) $(CFLAGS) -o $(BIN) $(OBJ) + +@@ -27,11 +24,8 @@ + data.o imapfilter.o imap.o file.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: |