summaryrefslogtreecommitdiff
path: root/mail/gotmail
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-10-31 20:34:19 +0000
committerminskim <minskim@pkgsrc.org>2005-10-31 20:34:19 +0000
commitffd673883aff0a3608fffa39dcbb07056219b84e (patch)
tree1da558cecc0dec29c4f34282c4481c5eb6cb66bd /mail/gotmail
parent7aab8ee894d6307b2356695b144509127259cef2 (diff)
downloadpkgsrc-ffd673883aff0a3608fffa39dcbb07056219b84e.tar.gz
Import gotmail from pkgsrc-wip. Packaged by pancake, and improved by
Jeremy C. Reed and Leonard Schmidt. Gotmail is a script to download mail from hotmail.com without user interaction. It's probably best run from a cron job. It can delete messages, download only-new messages, mark messages read (or not), forward to procmail, forward to another address, or send through SMTP.
Diffstat (limited to 'mail/gotmail')
-rw-r--r--mail/gotmail/DESCR4
-rw-r--r--mail/gotmail/MESSAGE11
-rw-r--r--mail/gotmail/Makefile34
-rw-r--r--mail/gotmail/PLIST7
-rw-r--r--mail/gotmail/distinfo5
5 files changed, 61 insertions, 0 deletions
diff --git a/mail/gotmail/DESCR b/mail/gotmail/DESCR
new file mode 100644
index 00000000000..86f44fa7995
--- /dev/null
+++ b/mail/gotmail/DESCR
@@ -0,0 +1,4 @@
+Gotmail is a script to download mail from hotmail.com without user
+interaction. It's probably best run from a cron job. It can delete
+messages, download only-new messages, mark messages read (or not),
+forward to procmail, forward to another address, or send through SMTP.
diff --git a/mail/gotmail/MESSAGE b/mail/gotmail/MESSAGE
new file mode 100644
index 00000000000..a5d890fc808
--- /dev/null
+++ b/mail/gotmail/MESSAGE
@@ -0,0 +1,11 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/10/31 20:34:19 minskim Exp $
+
+Hotmail periodically makes small changes in the way its site works, and
+corresponding changes are made to Gotmail as expeditiously as possible.
+However, there may be periods of time during which Gotmail will not work,
+due to these changes. You may need to upgrade to a newer version. Please
+be patient, and don't rely on Gotmail being in working condition at
+all times.
+
+===========================================================================
diff --git a/mail/gotmail/Makefile b/mail/gotmail/Makefile
new file mode 100644
index 00000000000..79c769bea97
--- /dev/null
+++ b/mail/gotmail/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/31 20:34:19 minskim Exp $
+#
+
+DISTNAME= gotmail-0.8.6
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gotmail/}
+
+MAINTAINER= pancake@phreaker.net
+HOMEPAGE= http://sourceforge.net/projects/gotmail
+COMMENT= Script to download mail from hotmail.com
+
+DEPENDS+= curl-[0-9]*:../../www/curl
+DEPENDS+= p5-URI>=1.03:../../www/p5-URI
+DEPENDS+= p5-Net-[0-9]*:../../net/p5-Net
+
+USE_PKGINSTALL= yes
+USE_TOOLS+= perl:run
+REPLACE_PERL= ${WRKSRC}/gotmail.in
+
+PKG_SYSCONFSUBDIR= gotmail
+
+EGDIR= ${PREFIX}/share/examples/gotmail
+CONF_FILES= ${EGDIR}/sample.gotmailrc \
+ ${PKG_SYSCONFDIR}/sample.gotmailrc
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/gotmail ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gotmail
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gotmail
+ ${INSTALL_DATA} ${WRKSRC}/sample.gotmailrc ${EGDIR}
+ ${INSTALL_MAN} ${WRKSRC}/gotmail.1 ${PREFIX}/man/man1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/gotmail/PLIST b/mail/gotmail/PLIST
new file mode 100644
index 00000000000..a668a82beb6
--- /dev/null
+++ b/mail/gotmail/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/31 20:34:19 minskim Exp $
+bin/gotmail
+man/man1/gotmail.1
+share/doc/gotmail/README
+share/examples/gotmail/sample.gotmailrc
+@dirrm share/examples/gotmail
+@dirrm share/doc/gotmail
diff --git a/mail/gotmail/distinfo b/mail/gotmail/distinfo
new file mode 100644
index 00000000000..5eb90ec99d4
--- /dev/null
+++ b/mail/gotmail/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/31 20:34:19 minskim Exp $
+
+SHA1 (gotmail-0.8.6.tar.gz) = 880a4a91115fd8c5e6a33e05eab1e3f43fbfb587
+RMD160 (gotmail-0.8.6.tar.gz) = d9c3afd568a3d19bf50f6128d9293f7bb4780f9f
+Size (gotmail-0.8.6.tar.gz) = 35212 bytes