From ffd673883aff0a3608fffa39dcbb07056219b84e Mon Sep 17 00:00:00 2001 From: minskim Date: Mon, 31 Oct 2005 20:34:19 +0000 Subject: 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. --- mail/gotmail/DESCR | 4 ++++ mail/gotmail/MESSAGE | 11 +++++++++++ mail/gotmail/Makefile | 34 ++++++++++++++++++++++++++++++++++ mail/gotmail/PLIST | 7 +++++++ mail/gotmail/distinfo | 5 +++++ 5 files changed, 61 insertions(+) create mode 100644 mail/gotmail/DESCR create mode 100644 mail/gotmail/MESSAGE create mode 100644 mail/gotmail/Makefile create mode 100644 mail/gotmail/PLIST create mode 100644 mail/gotmail/distinfo (limited to 'mail/gotmail') 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 -- cgit v1.2.3