summaryrefslogtreecommitdiff
path: root/mail/getmail
diff options
context:
space:
mode:
authorjtb <jtb>2001-03-05 20:56:44 +0000
committerjtb <jtb>2001-03-05 20:56:44 +0000
commit56b190b9d43c487faf9c50e40a3c21375726535d (patch)
tree96a8d1d3c7b602942bb39b90ea5b6f838b2959a9 /mail/getmail
parent114cbd9c5ee6787cf09327a7b25fe437abc58137 (diff)
downloadpkgsrc-56b190b9d43c487faf9c50e40a3c21375726535d.tar.gz
Initial import of getmail.
getmail is intended as a simple replacement for fetchmail. It retrieves mail (either all messages, or only unread messages) from one or more POP3 servers for one or more email accounts, and reliably delivers into a qmail-style Maildir (or mbox file) specified on a per-account basis. It also has support for domain (multidrop) mailboxes. Package submitted by Tomasz Luchowski in PR pkg/11929.
Diffstat (limited to 'mail/getmail')
-rw-r--r--mail/getmail/Makefile33
-rw-r--r--mail/getmail/files/md53
-rw-r--r--mail/getmail/files/patch-sum3
-rw-r--r--mail/getmail/patches/patch-aa13
-rw-r--r--mail/getmail/pkg/DESCR5
-rw-r--r--mail/getmail/pkg/MESSAGE2
-rw-r--r--mail/getmail/pkg/PLIST15
7 files changed, 74 insertions, 0 deletions
diff --git a/mail/getmail/Makefile b/mail/getmail/Makefile
new file mode 100644
index 00000000000..415b9856b40
--- /dev/null
+++ b/mail/getmail/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/05 20:56:44 jtb Exp $
+#
+
+DISTNAME= getmail-2.0.18
+CATEGORIES= mail
+MASTER_SITES= http://www.qcc.sk.ca/~charlesc/software/getmail-2.0/
+
+MAINTAINER= zuntum@eik.pl
+HOMEPAGE= http://www.qcc.sk.ca/~charlesc/software/getmail-2.0/
+COMMENT= POP3 mail retriever with reliable Maildir and mbox delivery
+
+DEPENDS+= python>=1.52:../../lang/python
+
+NO_CONFIGURE= YES
+NO_BUILD= YES
+
+post-patch:
+ ${SED} "s,@PREFIX@,${PREFIX}," ${WRKSRC}/getmail \
+ > ${WRKSRC}/getmail.done
+ ${MV} ${WRKSRC}/getmail.done ${WRKSRC}/getmail
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/getmail
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} TODO BUGS CHANGELOG getmailrc-example faq.txt \
+ getmail.txt docs.txt COPYING ${PREFIX}/share/doc/getmail
+ ${INSTALL_SCRIPT_DIR} ${PREFIX}/libexec/getmail
+ cd ${WRKSRC} && \
+ ${INSTALL_SCRIPT} ConfParser.py timeoutsocket.py getmail.py \
+ ${PREFIX}/libexec/getmail
+ ${INSTALL_SCRIPT} ${WRKSRC}/getmail ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/getmail/files/md5 b/mail/getmail/files/md5
new file mode 100644
index 00000000000..6e9290628d9
--- /dev/null
+++ b/mail/getmail/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/03/05 20:56:44 jtb Exp $
+
+MD5 (getmail-2.0.18.tar.gz) = 981495a82f98b12b0fd862fab75e16f1
diff --git a/mail/getmail/files/patch-sum b/mail/getmail/files/patch-sum
new file mode 100644
index 00000000000..e42c4978b1d
--- /dev/null
+++ b/mail/getmail/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/03/05 20:56:44 jtb Exp $
+
+MD5 (patch-aa) = b6bda2bd9f2f60ec170095fd0143e616
diff --git a/mail/getmail/patches/patch-aa b/mail/getmail/patches/patch-aa
new file mode 100644
index 00000000000..d869a319e71
--- /dev/null
+++ b/mail/getmail/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/03/05 20:56:44 jtb Exp $
+
+--- getmail.orig Tue Feb 20 23:24:07 2001
++++ getmail
+@@ -1,7 +1,7 @@
+ #!/bin/sh
+
+ # Change this to your getmail directory; defaults to /usr/lib/getmail
+-GETMAILPATH="/usr/local/lib/getmail"
++GETMAILPATH="@PREFIX@/libexec/getmail"
+
+ OLDPYTHONPATH=${PYTHONPATH}
+ PYTHONPATH="${GETMAILPATH}:${PYTHONPATH}"
diff --git a/mail/getmail/pkg/DESCR b/mail/getmail/pkg/DESCR
new file mode 100644
index 00000000000..d02d6832a19
--- /dev/null
+++ b/mail/getmail/pkg/DESCR
@@ -0,0 +1,5 @@
+getmail is intended as a simple replacement for fetchmail. It retrieves mail
+(either all messages, or only unread messages) from one or more POP3 servers
+for one or more email accounts, and reliably delivers into a qmail-style
+Maildir (or mbox file) specified on a per-account basis. It also has support
+for domain (multidrop) mailboxes.
diff --git a/mail/getmail/pkg/MESSAGE b/mail/getmail/pkg/MESSAGE
new file mode 100644
index 00000000000..52cab7a9f7e
--- /dev/null
+++ b/mail/getmail/pkg/MESSAGE
@@ -0,0 +1,2 @@
+Take a look at ${PREFIX}/share/doc/getmail/getmailrc-example to learn
+getmailrc syntax.
diff --git a/mail/getmail/pkg/PLIST b/mail/getmail/pkg/PLIST
new file mode 100644
index 00000000000..bca96713ecf
--- /dev/null
+++ b/mail/getmail/pkg/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/05 20:56:44 jtb Exp $
+bin/getmail
+libexec/getmail/ConfParser.py
+libexec/getmail/getmail.py
+libexec/getmail/timeoutsocket.py
+share/doc/getmail/BUGS
+share/doc/getmail/CHANGELOG
+share/doc/getmail/COPYING
+share/doc/getmail/TODO
+share/doc/getmail/docs.txt
+share/doc/getmail/faq.txt
+share/doc/getmail/getmail.txt
+share/doc/getmail/getmailrc-example
+@dirrm libexec/getmail
+@dirrm share/doc/getmail