diff options
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/getlive/Makefile | 34 | ||||
-rw-r--r-- | mail/getlive/distinfo | 3 | ||||
-rw-r--r-- | mail/getlive/files/getlive.conf.sample | 68 | ||||
-rw-r--r-- | mail/getlive/pkg-descr | 5 | ||||
-rw-r--r-- | mail/getlive/pkg-plist | 6 |
6 files changed, 117 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index 37357fcffb4d..8c02b923dcd8 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -145,6 +145,7 @@ SUBDIR += ftrack SUBDIR += gbuffy SUBDIR += gensig + SUBDIR += getlive SUBDIR += getmail SUBDIR += gkrellmmailwatch SUBDIR += gkrellmmailwatch2 diff --git a/mail/getlive/Makefile b/mail/getlive/Makefile new file mode 100644 index 000000000000..2799bbd042bc --- /dev/null +++ b/mail/getlive/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: getlive +# Date created: 20 April 2008 +# Whom: ayunyan +# +# $FreeBSD$ +# + +PORTNAME= getlive +PORTVERSION= 0.56 +CATEGORIES= mail +MASTER_SITES= SF +DISTNAME= GetLive_0_56 +EXTRACT_SUFX= .tgz + +MAINTAINER= ayunyan@gmail.com +COMMENT= Get mail from hotmail (live) mailboxes + +RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \ + procmail:${PORTSDIR}/mail/procmail + +NO_BUILD= yes +USE_PERL5_RUN= yes + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/GetLive.pl ${PREFIX}/bin/getlive + ${INSTALL_DATA} ${FILESDIR}/getlive.conf.sample ${PREFIX}/etc +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for FILE in ChangeLog License Manual + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/mail/getlive/distinfo b/mail/getlive/distinfo new file mode 100644 index 000000000000..16216d1713ad --- /dev/null +++ b/mail/getlive/distinfo @@ -0,0 +1,3 @@ +MD5 (GetLive_0_56.tgz) = 754b23ad7ae4db1b33047df431526e05 +SHA256 (GetLive_0_56.tgz) = 109eb65a5c26812a0b8d88910de193f708a6765f918751ac9037023cda64a4eb +SIZE (GetLive_0_56.tgz) = 25626 diff --git a/mail/getlive/files/getlive.conf.sample b/mail/getlive/files/getlive.conf.sample new file mode 100644 index 000000000000..c34ab9e06826 --- /dev/null +++ b/mail/getlive/files/getlive.conf.sample @@ -0,0 +1,68 @@ +# UserName - YourHotmailUserName (without @something) +UserName= + +# Password - YourHotmailPassword (so restrict the access rights to this configuration file.) +Password= + +# Domain - YourHotmailDomain (default 'hotmail.com', basically what's after the @ in your address) +#Domain=hotmail.com + +# Proxy - ProxyServer if you're behind one. +#Proxy= + +# ProxyAuth - ProxyPassword if you're behind one with password. +#ProxyAuth= + +# Downloaded - SomeFileName (it keeps track of all id's of messages +# that were fetched already) +Downloaded= + +# FetchOnlyUnread - Yes or No (default) +# If Yes only messages that are marked unread are fetched. +# Downloaded and FetchOnlyUnread are mutual exclusive. +#FetchOnlyUnread=No + +# RetryLimit - N (default 2) : how many times to retry fetching a +# web page via curl (the webpage fetcher behind the scenes) +#RetryLimit=2 + +# CurlBin - CommandForCurl ('curl -k' by default). +CurlBin=/usr/local/bin/curl -k + +# Processor - FilterCommand ('/usr/bin/procmail' by default). +# Any filtercommand taking the message in mbox format on its stdin and doing something with it. +# +# *) '/bin/cat - >> FetchedMail' might be another interesting one to drop directly in a mbox file. +# +# *) The distribution contains also SmtpForward.pl and SmtpAuthForward.pl. +# Those can be used as 'Processor' to forward the mails to an SMTP server. +Processor=/usr/local/bin/procmail + +# Folder - FolderName. Folders that need to be fetched. +# This option must be repeated for each folder you want to fetch. +# If this option is not present then all folders will be fetched. +#Folder= + +# MarkRead - Yes or No (default) : whether the message will be +# marked read after being downloaded. By the way : +# it never gets marked in any way when not downloaded due to it being already in the +# Downloaded = SomeFileName (see higer) file. +#MarkRead=No + +# Delete - Yes or No (default) : whether the message will be +# deleted after being downloaded. By the way : +# it never gets deleted in any way when not downloaded due to it being already in the +# Downloaded = SomeFileName (see higer) file. +#Delete=No + +# MoveToFolder - FolderName or @FileName +# FolderName is the folder to which the message must be moved after being downloaded. +# By the way : it never gets moved in any way when not downloaded due to it +# being already in the Downloaded = SomeFileName (see higer) file. +# If this argument takes the form @FileName then the FolderName is taken from +# the contents of the file FileName. +# The idea is that f.i. a spamfilter can decide to what folder it must be moved. +# That spamfilter would be part of Processor = FilterCommand (see higher) and +# write a FolderName (for instance Junk if considered junk) to the file FileName. +#MoveToFolter= + diff --git a/mail/getlive/pkg-descr b/mail/getlive/pkg-descr new file mode 100644 index 000000000000..fd47b2176761 --- /dev/null +++ b/mail/getlive/pkg-descr @@ -0,0 +1,5 @@ +GetLive is a perl script that fetches mail from your Hotmail +Live account. The mail is then presented to any filter (typically +procmail) for further processing or dropping in a local mailbox. + +WWW: http://sourceforge.net/projects/getlive diff --git a/mail/getlive/pkg-plist b/mail/getlive/pkg-plist new file mode 100644 index 000000000000..fb3b2fb268aa --- /dev/null +++ b/mail/getlive/pkg-plist @@ -0,0 +1,6 @@ +bin/getlive +etc/getlive.conf.sample +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/License +%%PORTDOCS%%%%DOCSDIR%%/Manual +%%PORTDOCS%%@dirrm %%DOCSDIR%% |