ports/122979: New port: mail/getlive Get mail from hotmail (live) mailboxes

ayunyan ayunyan at gmail.com
Tue Apr 22 07:50:06 UTC 2008


>Number:         122979
>Category:       ports
>Synopsis:       New port: mail/getlive Get mail from hotmail (live) mailboxes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 22 07:50:06 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     ayunyan
>Release:        7.0-RELEASE
>Organization:
>Environment:
FreeBSD dahlia.commun.jp 7.0-RELEASE FreeBSD 7.0-RELEASE #5: Mon Mar  3 16:18:22 JST 2008     root at dahlia.commun.jp:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Get mail from hotmail (live) mailboxes
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./Makefile
#	./distinfo
#	./pkg-descr
#	./files
#	./files/getlive.conf.sample
#	./pkg-plist
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for: getlive
X# Date created:	20 April 2008
X# Whom:		ayunyan
X#
X# $FreeBSD$
X#
X
XPORTNAME=	getlive
XPORTVERSION=	0.56
XCATEGORIES=	mail
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	GetLive_0_56
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	ayunyan at gmail.com
XCOMMENT=	Get mail from hotmail (live) mailboxes
X
XRUN_DEPENDS=	curl:${PORTSDIR}/ftp/curl \
X		procmail:${PORTSDIR}/mail/procmail
X
XNO_BUILD=	yes
XUSE_PERL5_RUN=	yes
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/GetLive.pl ${PREFIX}/bin/getlive
X	${INSTALL_DATA} ${FILESDIR}/getlive.conf.sample ${PREFIX}/etc
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for FILE in ChangeLog License Manual
X	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (GetLive_0_56.tgz) = 754b23ad7ae4db1b33047df431526e05
XSHA256 (GetLive_0_56.tgz) = 109eb65a5c26812a0b8d88910de193f708a6765f918751ac9037023cda64a4eb
XSIZE (GetLive_0_56.tgz) = 25626
END-of-./distinfo
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XGetLive is a perl script that fetches mail from your Hotmail
XLive account. The mail is then presented to any filter (typically 
Xprocmail) for further processing or dropping in a local mailbox.
X
XWWW:	http://sourceforge.net/projects/getlive
END-of-./pkg-descr
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/getlive.conf.sample
sed 's/^X//' >./files/getlive.conf.sample << 'END-of-./files/getlive.conf.sample'
X# UserName - YourHotmailUserName (without @something)
XUserName=
X
X# Password - YourHotmailPassword (so restrict the access rights to this configuration file.)
XPassword=
X
X# Domain - YourHotmailDomain (default 'hotmail.com', basically what's after the @ in your address)
X#Domain=hotmail.com
X
X# Proxy - ProxyServer if you're behind one.
X#Proxy=
X
X# ProxyAuth - ProxyPassword if you're behind one with password. 
X#ProxyAuth=
X
X# Downloaded - SomeFileName (it keeps track of all id's of messages
X#                        that were fetched already) 
XDownloaded=
X
X# FetchOnlyUnread - Yes or No (default)
X# If Yes only messages that are marked unread are fetched.
X# Downloaded and FetchOnlyUnread are mutual exclusive.
X#FetchOnlyUnread=No
X
X# RetryLimit - N (default 2) : how many times to retry fetching a
X# web page via curl (the webpage fetcher behind the scenes)
X#RetryLimit=2
X
X# CurlBin - CommandForCurl ('curl -k' by default).
XCurlBin=/usr/local/bin/curl -k
X
X# Processor - FilterCommand ('/usr/bin/procmail' by default).
X# Any filtercommand taking the message in mbox format on its stdin and doing something with it.
X#                        
X#   *) '/bin/cat - >> FetchedMail' might be another interesting one to drop directly in a mbox file.
X#
X#   *) The distribution contains also SmtpForward.pl and SmtpAuthForward.pl.
X#      Those can be used as 'Processor' to forward the mails to an SMTP server.
XProcessor=/usr/local/bin/procmail
X
X# Folder - FolderName. Folders that need to be fetched. 
X# This option must be repeated for each folder you want to fetch.
X# If this option is not present then all folders will be fetched.
X#Folder=
X
X# MarkRead - Yes or No (default) : whether the message will be 
X# marked read after being downloaded. By the way : 
X# it never gets marked in any way when not downloaded due to it being already in the 
X# Downloaded = SomeFileName (see higer) file.
X#MarkRead=No
X
X# Delete - Yes or No (default) : whether the message will be 
X# deleted after being downloaded. By the way : 
X# it never gets deleted in any way when not downloaded due to it being already in the 
X# Downloaded = SomeFileName (see higer) file.
X#Delete=No
X
X# MoveToFolder - FolderName or @FileName
X# FolderName is the folder to which the message must be moved after being downloaded.
X# By the way : it never gets moved in any way when not downloaded due to it 
X# being already in the Downloaded = SomeFileName (see higer) file.
X# If this argument takes the form @FileName then the FolderName is taken from
X# the contents of the file FileName.
X# The idea is that f.i. a spamfilter can decide to what folder it must be moved.
X# That spamfilter would be part of Processor    = FilterCommand (see higher) and
X# write a FolderName (for instance Junk if considered junk) to the file FileName.
X#MoveToFolter=
X
END-of-./files/getlive.conf.sample
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xbin/getlive
Xetc/getlive.conf.sample
X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
X%%PORTDOCS%%%%DOCSDIR%%/License
X%%PORTDOCS%%%%DOCSDIR%%/Manual
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-./pkg-plist
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list