--- getlive-2.4+cvs20120801.orig/debian/watch +++ getlive-2.4+cvs20120801/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://sf.net/getlive/GetLive_(.+)_(.+).tgz debian debian/repack.sh + --- getlive-2.4+cvs20120801.orig/debian/rules +++ getlive-2.4+cvs20120801/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +binary: build + dh binary --until dh_install + install -D GetLive.pl debian/getlive/usr/bin/getlive + dh binary --- getlive-2.4+cvs20120801.orig/debian/copyright +++ getlive-2.4+cvs20120801/debian/copyright @@ -0,0 +1,36 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: GetLive +Upstream-Contact: Jos De Laender +Source: http://sourceforge.net/projects/getlive + +Files: * +Copyright: © 2005-2009 Jos De Laender + © 2005 Jon Phillips + © 2005 Michael Ziegler + © 2000-2003 Peter Hawkins +License: GPL-2+ + +Files: debian/* +Copyright: © 2008 Martín Ferrari + © 2007-2008 Tyler Trafford and +License: GPL-2+ +Comment: This package was maintained by Tyler outside Debian, his work can be + found at http://none.cs.umass.edu/~trafford/getlive/ + +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. --- getlive-2.4+cvs20120801.orig/debian/repack.sh +++ getlive-2.4+cvs20120801/debian/repack.sh @@ -0,0 +1,52 @@ +#!/bin/sh +# This script overwrites the file downloaded by uscan, with a current export of +# the CVS tree, as upstream is not releasing new versions. +# Should be called as "repack.sh --upstream-source +# (for example, via uscan) + +set -e +set -u + +FILE=$3 +PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'` +# Ignore upstream version +#VER=$2 +# Don't take it from changelog either. +#VER=`dpkg-parsechangelog|grep ^Version:|sed 's/^Version: //; s/-[^-]\+$//'` +#EXPORTDATE=`echo $VER | sed 's/^.*~cvs//'` + +# Generate it from current date and changelog. +EXPORTDATE=`date +%Y%m%d` +VER=`dpkg-parsechangelog|grep ^Version:|sed 's/^Version: //; s/-[^-]\+$//'` +VER=${VER}+cvs${EXPORTDATE} + +printf "\nRepackaging $FILE\n" + +DIR=`mktemp -d ./tmpRepackXXXXXX` +trap "rm -rf $DIR" QUIT INT EXIT + +mkdir $DIR/$PKG-$VER +#unzip $FILE -d $DIR/$PKG-$VER + +REPACK=${PKG}_$VER.orig.tar.gz + +UP_DIR=$PKG-$VER + +( + set -e + set -u + + cd $DIR + REPACK_DIR="$PKG-$VER.orig" + + cvs -z3 -d:pserver:anonymous@getlive.cvs.sourceforge.net:/cvsroot/getlive \ + export -D $EXPORTDATE -d "$REPACK_DIR" GetLive + #mv $UP_DIR $REPACK_DIR + tar -c $REPACK_DIR | gzip -9 > $REPACK +) + +#mv $DIR/$REPACK $FILE +mv $DIR/$REPACK `dirname $FILE` +rm $FILE + +echo "*** $FILE repackaged" --- getlive-2.4+cvs20120801.orig/debian/manpages +++ getlive-2.4+cvs20120801/debian/manpages @@ -0,0 +1 @@ +debian/getlive.1 --- getlive-2.4+cvs20120801.orig/debian/examples +++ getlive-2.4+cvs20120801/debian/examples @@ -0,0 +1,2 @@ +SmtpForward.pl +SmtpAuthForward.pl --- getlive-2.4+cvs20120801.orig/debian/compat +++ getlive-2.4+cvs20120801/debian/compat @@ -0,0 +1 @@ +7 --- getlive-2.4+cvs20120801.orig/debian/getlive.1 +++ getlive-2.4+cvs20120801/debian/getlive.1 @@ -0,0 +1,182 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH GETLIVE 1 "August 1, 2012" + +.SH NAME +getlive \- fetch mail from your Hotmail Live account + +.SH SYNOPSIS + +.B getlive +\fB--config-file\fR \fIFILE\fR [\fB--verbosity\fR \fI0..100\fR] + +.B getlive +\fB--port\fR \fIport\fR [\fB--verbosity\fR \fI0..100\fR] + +.SH DESCRIPTION +\fBgetlive\fP is a utility that fetches mail from your Hotmail/Windows +Live account. The mail is then presented to any filter (typically +\fBprocmail\fP) for further processing or dropping in a local mailbox. + +There is a second mode of operation (indicated by the \fB--port\fR option), +that makes getlive work as a no-configuration POP3 server that relays requests +to Hotmail. +.SH OPTIONS + +.TP +.B \-\-config\-file +The format for this file is listed below. + +.TP +.B \-\-port +This option enables the "FreePops" mode. In this mode, no configuration is +necessary, and getlive starts a POP3 server on the port specified. +See the \fBFREEPOPS MODE\fR section for more information. + +.TP +.B \-\-verbosity +Higher number corresponds to greater output as command runs. + +.SH "CONFIGURATION FILE" + +The configuration file takes arguments of the form option = value. +Empty lines or lines commented with # are allowed. + +.TP +.B UserName +Your Hotmail username, excluding the at-sign and domain. + +.TP +.B Password +Your account password, you should restrict access to your configuration file to +avoid this information being read by other users. + +.TP +.B Domain +The domain for your account, defaults to \fIhotmail.com\fR. + +.TP +.B Proxy +Hostname of proxy, if applicable. + +.TP +.B ProxyAuth +Password for proxy, if applicable. + +.TP +.B Downloaded +File that keeps track of IDs of messages that were fetched already. +Default is \fI${HOME}/.getlive.log\fR. + +.TP +.B FetchOnlyUnread +If \fIYes\fR only messages that are marked unread are fetched. If set to +\fBYes\fP, \fBDownloaded\fR is ignored. +Defaults to \fINo\fR. + +.TP +.B RetryLimit +Number of times to retry fetching a web page via curl. Defaults to \fI2\fR. + +.TP +.B CurlBin +Command for curl. Default is \fI"curl \-k"\fR. + +.TP +.B Processor +Any command taking the message in mbox format on its stdin and doing something +with it. +Default is \fI/usr/bin/procmail\fR. + +.RS +.IP \(bu 2 +\fI"/bin/cat \- >> FetchedMail"\fR might be used to drop directly in a mbox +file. + +.IP \(bu +The distribution contains also +\fI/usr/share/doc/getlive/examples/SmtpForward.pl\fR and +\fI/usr/share/doc/getlive/examples/SmtpAuthForward.pl\fR These can be used to +forward the messages to an SMTP server. +.RE + +.TP +.B Folder +Folder that needs 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. + +.TP +.B MarkRead +Whether the message will be marked read after being downloaded. +Note that a message never gets marked in any way if it's not downloaded due to +it being already in the \fBDownloaded\fR file. +Defaults to \fINo\fR. + +.TP +.B Delete +Whether the message will be deleted after being downloaded. +Note that a message never gets deleted if it's not downloaded due to it being +already in the \fBDownloaded\fR file. +Defaults to \fINo\fR. + +.TP +.B MoveToFolder +Folder to which the message must be moved after being downloaded. +If this argument takes the form \fI@FileName\fR then the folder name is taken +from the contents of the file. + +This can be used, for example, to enable a spam filter to decide to what folder +the message must be moved. That spamfilter would be invoked by the +\fBProcessor\fR option and then write a folder name (for instance \fIJunk\fR if +considered junk) to the file \fIFileName\fR. + +Note that a message is not moved if it's not downloaded due to it being +already in the \fBDownloaded\fR file. + +.TP +.B SkipTrash +Whether the Trash folder handling will be skipped or not. +Defaults to \fINo\fR. + +.TP +.B BreakOnAlreadyDownloaded +Number of consecutive already downloaded messages after which the search will stop. Useful to avoid slowness on extremely large Downloaded files. + +.SH "FREEPOPS MODE" +When using this mode, the configuration is ignored, and all configuration +values are taken from the username used to connect to the POP3 server. + +The format for the username is as follows: + +.B +username@hotmail.com[?Option=Value][&Option=Value][&Option=Value] + +With \fIOption=Value\fR pairs from: + +.RS +\fBfolder=\fR"\fIFolderName\fR" : The folder as displayed in hotmail for the +folder you want to interact with. Defaults to \fBInbox\fR. + +\fBfolderid=\fR\fIN\fR: the folderid you want to interact with: + 1: Inbox + 2: Trash + 3: Sent + 5: Junk + +\fBmarkread=1\fR: It will mark mails as read on your hotmail account if you +read them via the the Pop3 Server. +.RE + +Note that if your mail client is configured to delete messages after download, +getlive will delete them from Hotmail. + +The password passed to the POP3 server will be used to authenticate with +Hotmail. + +.SH AUTHOR +getlive was written by Jos De Laender . + +.PP +This manual page was adapted by Tyler Trafford and Martin +Ferrari from the included \fIManual\fR, for the Debian +project (but may be used by others). --- getlive-2.4+cvs20120801.orig/debian/control +++ getlive-2.4+cvs20120801/debian/control @@ -0,0 +1,18 @@ +Source: getlive +Section: mail +Priority: optional +Maintainer: Martín Ferrari +Build-Depends: debhelper (>= 7) +Standards-Version: 3.9.3 +Homepage: http://getlive.sourceforge.net/ +Vcs-Browser: http://canterville.mine.nu/wsvn/debian/trunk/getlive/ + +Package: getlive +Architecture: all +Depends: ${misc:Depends}, ${perl:Depends}, curl, liburi-perl, + libhtml-parser-perl, libnet-server-perl +Recommends: procmail | mail-transport-agent +Description: fetch mail from your Hotmail Live account + GetLive is a utility that fetches mail from your Hotmail/Windows + Live account. The mail is then presented to any filter (typically + procmail) for further processing or dropping in a local mailbox. --- getlive-2.4+cvs20120801.orig/debian/docs +++ getlive-2.4+cvs20120801/debian/docs @@ -0,0 +1 @@ +Manual --- getlive-2.4+cvs20120801.orig/debian/changelog +++ getlive-2.4+cvs20120801/debian/changelog @@ -0,0 +1,104 @@ +getlive (2.4+cvs20120801-1) unstable; urgency=high + + * New upstream release (from CVS tree). Closes: 677005, 681511. + * High urgency as it fixes to RC bugs. + * Updated watch file to use sf.net redirector. + * Added repack script to download CVS tree. + * debian/copyright: refreshed format. + * debian/getlive.1: update man page to reflect current options. + * Removed old patches that are not relevant any more. + * Removed old NEWS. + * Added debian/source/format. + * Updated standards-version. + + -- Martín Ferrari Thu, 02 Aug 2012 02:11:45 +0000 + +getlive (0.59-1) unstable; urgency=low + + * New upstream release + * debian/getlive.1: added new mode option. + + -- Martín Ferrari Tue, 29 Jun 2010 04:43:10 +0200 + +getlive (0.58-1) unstable; urgency=low + + * New upstream release: finally! + * debian/getlive.1: update with new mode. + * debian/control: bumped Standards-Version, no changes. + + -- Martín Ferrari Fri, 19 Feb 2010 14:06:10 +0100 + +getlive (0.58~cvs20091010-1) unstable; urgency=low + + * New upstream non-release that closes: #550309. + * debian/getlive.1: update with new options. + * debian/patches/*: refreshed. + * debian/control: bumped Standards-Version with no changes. + + -- Martín Ferrari Sat, 10 Oct 2009 17:13:23 +0200 + +getlive (0.58~cvs20090315-1) unstable; urgency=low + + * debian/control: updated homepage, bumped Standards-Version with no + changes. + * New upstream code from CVS, as this closes: #518028. + * debian/README.Debian: removed. + * debian/NEWS: instructions for the new workaround. + * debian/getlive.1: updated manpage. + * debian/copyright: updated cp years. + + -- Martín Ferrari Sun, 15 Mar 2009 04:12:51 -0300 + +getlive (0.58~cvs20081219-1) unstable; urgency=high + + * New release based on CVS, to solve current issues that make the package + unusable to most people (Closes: #503170). + * debian/getlive.1: updated manpage. + * debian/patches: quilt refresh-ed. + * debian/control: added ${misc:Depends}, bumped Standards-Version. + * debian/README.source: added to comply with 3.8.0 S-V. + * debian/patches: added patch descriptions. + * debian/NEWS: describe how to make getlive work again. + * debian/README.Debian: also describe the workaround here. + + -- Martín Ferrari Fri, 19 Dec 2008 22:32:17 -0200 + +getlive (0.57-1) unstable; urgency=high + + * New upstream release (closes: #489910). + * High urgency because of RC bug. + + -- Martín Ferrari Tue, 08 Jul 2008 14:37:44 -0300 + +getlive (0.56-1) unstable; urgency=low + + [ Tyler Trafford ] + * New upstream release + * use debhelper 7 + * refresh quilt patches + + [ Martín Ferrari ] + * First release for Debian, based on previous work by Tyler. + (Closes: #433414). + * Altering sightly changelog to remove -2 release. + * debian/control: Setting me as Maintainer, adding Homepage and Vcs-Browser + fields. + * debian/changelog: new parseable format. + * debian/getlive.1: correct hyphen-used-as-minus-sign. + + -- Martín Ferrari Wed, 11 Jun 2008 19:45:53 -0300 + +getlive (0.55-1) unstable; urgency=low + + * New upstream release + + -- Tyler Trafford Tue, 13 Nov 2007 12:50:11 -0500 + +getlive (0.54-1) unstable; urgency=low + + * Initial release + * Configuration file now has a default (~/.getliverc) + * Downloaded messages log now has a default (~/.getlive.log) + + -- Tyler Trafford Fri, 28 Oct 2007 08:25:37 -0400 + --- getlive-2.4+cvs20120801.orig/debian/source/format +++ getlive-2.4+cvs20120801/debian/source/format @@ -0,0 +1 @@ +1.0