summaryrefslogtreecommitdiff
path: root/mail/fetchyahoo
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-01-13 15:38:52 +0000
committerobache <obache@pkgsrc.org>2007-01-13 15:38:52 +0000
commit5e6899f7f78270a821f19c440fbb84f3be6c849e (patch)
treeaf7ccc00a62964d67988a09029bf47fa3d147efc /mail/fetchyahoo
parent019875b4175029e19bfbc3bc030c21970c4eb428 (diff)
downloadpkgsrc-5e6899f7f78270a821f19c440fbb84f3be6c849e.tar.gz
Import fetchyahoo version 2.10.6.
Based on PR 33091, made pkglint clean and update. FetchYahoo is a Perl script that downloads mail from a Yahoo! account to a local mail spool. It is meant to replace fetchmail for people using Yahoo! mail since Yahoo!'s POP service no longer free. It downloads messages to a local mail spool, including all parts and attachments. It then deletes messages unless requested not to. It can also optionally forward messages to a specified e-mail address and repeat with a given interval.
Diffstat (limited to 'mail/fetchyahoo')
-rw-r--r--mail/fetchyahoo/DESCR7
-rw-r--r--mail/fetchyahoo/MESSAGE9
-rw-r--r--mail/fetchyahoo/Makefile51
-rw-r--r--mail/fetchyahoo/PLIST12
-rw-r--r--mail/fetchyahoo/distinfo5
5 files changed, 84 insertions, 0 deletions
diff --git a/mail/fetchyahoo/DESCR b/mail/fetchyahoo/DESCR
new file mode 100644
index 00000000000..fa53ad745f4
--- /dev/null
+++ b/mail/fetchyahoo/DESCR
@@ -0,0 +1,7 @@
+FetchYahoo is a Perl script that downloads mail from a Yahoo! account
+to a local mail spool. It is meant to replace fetchmail for people
+using Yahoo! mail since Yahoo!'s POP service no longer free. It
+downloads messages to a local mail spool, including all parts and
+attachments. It then deletes messages unless requested not to. It can
+also optionally forward messages to a specified e-mail address and
+repeat with a given interval.
diff --git a/mail/fetchyahoo/MESSAGE b/mail/fetchyahoo/MESSAGE
new file mode 100644
index 00000000000..f08520093f5
--- /dev/null
+++ b/mail/fetchyahoo/MESSAGE
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2007/01/13 15:38:52 obache Exp $
+
+ To use fetchyahoo, copy
+ ${PREFIX}/share/examples/fetchyahoo/fetchyahoorc to
+ ~/.fetchyahoorc and edit the config file or just run
+ fetchyahoo from the commandline.
+
+===========================================================================
diff --git a/mail/fetchyahoo/Makefile b/mail/fetchyahoo/Makefile
new file mode 100644
index 00000000000..bd8aa3358d6
--- /dev/null
+++ b/mail/fetchyahoo/Makefile
@@ -0,0 +1,51 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/01/13 15:38:52 obache Exp $
+#
+
+DISTNAME= fetchyahoo-2.10.6
+CATEGORIES= mail
+MASTER_SITES= http://fetchyahoo.sourceforge.net/
+#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fetchyahoo/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://fetchyahoo.sourceforge.net/
+#HOMEPAGE= http://fetchyahoo.twizzler.org
+COMMENT= Download mails from Yahoo webmail into mbox
+
+DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
+DEPENDS+= p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser
+DEPENDS+= p5-MIME-tools-[0-9]*:../../mail/p5-MIME-tools
+DEPENDS+= p5-Net-[0-9]*:../../net/p5-Net
+DEPENDS+= p5-Crypt-SSLeay-[0-9]*:../../security/p5-Crypt-SSLeay
+DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
+DEPENDS+= p5-MailTools-[0-9]*:../../mail/p5-MailTools
+DEPENDS+= p5-IO-stringy-[0-9]*:../../devel/p5-IO-stringy
+DEPENDS+= p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64
+DEPENDS+= p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey
+
+USE_TOOLS+= perl:run
+REPLACE_PERL= fetchyahoo
+
+NO_BUILD= yes
+
+EGDIR= ${PREFIX}/share/examples/fetchyahoo
+DOCDIR= ${PREFIX}/share/doc/fetchyahoo
+
+CONF_FILES= ${EGDIR}/fetchyahoorc ${PKG_SYSCONFDIR}/fetchyahoorc
+
+SUBST_CLASSES+= sa2
+SUBST_STAGE.sa2= pre-configure
+SUBST_FILES.sa2= fetchyahoo fetchyahoo.1 INSTALL
+SUBST_SED.sa2= -e s!/etc/fetchyahoorc!${PKG_SYSCONFDIR}/fetchyahoorc!g
+SUBST_SED.sa2+= -e s!/usr/share/doc/fetchyahoo!${DOCDIR}!g
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/fetchyahoo ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/fetchyahoo.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${EGDIR}
+.for i in COPYING ChangeLog Credits INSTALL TODO index.html
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/fetchyahoo
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/fetchyahoorc ${PREFIX}/share/examples/fetchyahoo
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/fetchyahoo/PLIST b/mail/fetchyahoo/PLIST
new file mode 100644
index 00000000000..6511efd9d10
--- /dev/null
+++ b/mail/fetchyahoo/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/01/13 15:38:52 obache Exp $
+bin/fetchyahoo
+man/man1/fetchyahoo.1
+share/doc/fetchyahoo/COPYING
+share/doc/fetchyahoo/ChangeLog
+share/doc/fetchyahoo/Credits
+share/doc/fetchyahoo/INSTALL
+share/doc/fetchyahoo/TODO
+share/doc/fetchyahoo/index.html
+share/examples/fetchyahoo/fetchyahoorc
+@dirrm share/examples/fetchyahoo
+@dirrm share/doc/fetchyahoo
diff --git a/mail/fetchyahoo/distinfo b/mail/fetchyahoo/distinfo
new file mode 100644
index 00000000000..e578ef1fd3b
--- /dev/null
+++ b/mail/fetchyahoo/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/01/13 15:38:52 obache Exp $
+
+SHA1 (fetchyahoo-2.10.6.tar.gz) = 460c4806abb455fbc058fdeff76e2324a7ba983c
+RMD160 (fetchyahoo-2.10.6.tar.gz) = 51a11fcff0273870d1eedb4167b9b3480e6dd9f0
+Size (fetchyahoo-2.10.6.tar.gz) = 43670 bytes