From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 22 07:50:06 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B363F1065678 for ; Tue, 22 Apr 2008 07:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8D1C78FC28 for ; Tue, 22 Apr 2008 07:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3M7o61o010222 for ; Tue, 22 Apr 2008 07:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3M7o664010221; Tue, 22 Apr 2008 07:50:06 GMT (envelope-from gnats) Resent-Date: Tue, 22 Apr 2008 07:50:06 GMT Resent-Message-Id: <200804220750.m3M7o664010221@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, ayunyan Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B4231065672 for ; Tue, 22 Apr 2008 07:45:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 478178FC32 for ; Tue, 22 Apr 2008 07:45:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m3M7ig5O071331 for ; Tue, 22 Apr 2008 07:44:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m3M7ig4O071330; Tue, 22 Apr 2008 07:44:42 GMT (envelope-from nobody) Message-Id: <200804220744.m3M7ig4O071330@www.freebsd.org> Date: Tue, 22 Apr 2008 07:44:42 GMT From: ayunyan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/122979: New port: mail/getlive Get mail from hotmail (live) mailboxes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2008 07:50:06 -0000 >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@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@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 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: