pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/freepops Update to 0.2.7. From the changelog:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b107f6c7a989
branches:  trunk
changeset: 548768:b107f6c7a989
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Thu Oct 23 04:40:55 2008 +0000

description:
Update to 0.2.7. From the changelog:

* A huge set of patches for modules and plugins, many thanks to all
    the contributors (hope to list them all): cdmack, Viruzzo,
    Lance, maxadamo, nvhs, russell822, Andre Martin, Daniel Black,
    Picov, RISKO Gergely, blackmoon and Spil
* A new zenity-based (GNOME eye-candy) updater interface by maxadamo
* Internationalization support (and Italian localization) for the
    regular fltk updater by blackmoon
* Updated versions of the cURL and gnutls libraries for Windows
* The luasocket library is now part of freepops and can be used to
    write modules

We still avoid installing any of the self-updaters. Might be nice
to add in a future PKGREVISION.

diffstat:

 mail/freepops/Makefile          |     8 +-
 mail/freepops/PLIST             |    10 +-
 mail/freepops/distinfo          |    24 +-
 mail/freepops/files/hotmail.lua |  2002 ---------------------------------------
 mail/freepops/patches/patch-aa  |    10 +-
 mail/freepops/patches/patch-ab  |    18 +-
 mail/freepops/patches/patch-ac  |    14 +-
 mail/freepops/patches/patch-ad  |    20 +-
 mail/freepops/patches/patch-ae  |     4 +-
 mail/freepops/patches/patch-af  |     6 +-
 mail/freepops/patches/patch-ag  |     6 +-
 mail/freepops/patches/patch-ah  |  1043 ++++++++++++++++++++
 mail/freepops/patches/patch-ai  |   526 ++++++++++
 13 files changed, 1632 insertions(+), 2059 deletions(-)

diffs (truncated from 3862 to 300 lines):

diff -r 8a88d47c4377 -r b107f6c7a989 mail/freepops/Makefile
--- a/mail/freepops/Makefile    Thu Oct 23 04:03:05 2008 +0000
+++ b/mail/freepops/Makefile    Thu Oct 23 04:40:55 2008 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:34 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2008/10/23 04:40:55 schmonz Exp $
 #
 
-DISTNAME=              freepops-0.2.5
-PKGREVISION=           2
+DISTNAME=              freepops-0.2.7
 CATEGORIES=            mail
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=freepops/}
 
@@ -53,9 +52,6 @@
 PKG_GROUPS_VARS+=              FREEPOPSD_GROUP
 PKG_USERS_VARS+=               FREEPOPSD_USER
 
-post-extract:
-       cp ${FILESDIR}/hotmail.lua ${WRKSRC}/src/lua/hotmail.lua
-
 .include "../../security/openssl/buildlink3.mk"
 .include "../../textproc/expat/buildlink3.mk"
 .include "../../www/curl/buildlink3.mk"
diff -r 8a88d47c4377 -r b107f6c7a989 mail/freepops/PLIST
--- a/mail/freepops/PLIST       Thu Oct 23 04:03:05 2008 +0000
+++ b/mail/freepops/PLIST       Thu Oct 23 04:40:55 2008 +0000
@@ -1,17 +1,18 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2007/06/05 05:56:01 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/10/23 04:40:55 schmonz Exp $
 bin/freepopsd
 man/man1/freepopsd.1
 share/doc/freepops/MANUAL.txt
 share/examples/freepops/config.lua
 share/examples/rc.d/freepopsd
+share/freepops/lua/abv.lua
 share/freepops/lua/aggregator.lua
 share/freepops/lua/aol.lua
 share/freepops/lua/browser/browser.lua
 share/freepops/lua/browser/cookie.lua
 share/freepops/lua/common.lua
 share/freepops/lua/config.lua
-share/freepops/lua/criticalpath.lua
 share/freepops/lua/davmail.lua
+share/freepops/lua/excite.lua
 share/freepops/lua/fastmail.lua
 share/freepops/lua/flatnuke.lua
 share/freepops/lua/foo.lua
@@ -27,13 +28,18 @@
 share/freepops/lua/mail2world.lua
 share/freepops/lua/mailcom.lua
 share/freepops/lua/mimer.lua
+share/freepops/lua/monitor.lua
 share/freepops/lua/netscape.lua
+share/freepops/lua/orange.lua
 share/freepops/lua/plugins2xml.lua
 share/freepops/lua/popforward.lua
+share/freepops/lua/psock.lua
 share/freepops/lua/serial.lua
 share/freepops/lua/skeleton.lua
 share/freepops/lua/soap/http.lua
 share/freepops/lua/soap/soap.lua
+share/freepops/lua/socket.lua
+share/freepops/lua/softhome.lua
 share/freepops/lua/squirrelmail.lua
 share/freepops/lua/supereva.lua
 share/freepops/lua/support.lua
diff -r 8a88d47c4377 -r b107f6c7a989 mail/freepops/distinfo
--- a/mail/freepops/distinfo    Thu Oct 23 04:03:05 2008 +0000
+++ b/mail/freepops/distinfo    Thu Oct 23 04:40:55 2008 +0000
@@ -1,12 +1,14 @@
-$NetBSD: distinfo,v 1.3 2007/06/28 16:36:44 schmonz Exp $
+$NetBSD: distinfo,v 1.4 2008/10/23 04:40:55 schmonz Exp $
 
-SHA1 (freepops-0.2.5.tar.gz) = 008d8e1504dc0f58119358f73cf2820ba6d0a044
-RMD160 (freepops-0.2.5.tar.gz) = 1f3c64c82c3ff7a75dd11a5ad8bd6366d1fccd4d
-Size (freepops-0.2.5.tar.gz) = 1896775 bytes
-SHA1 (patch-aa) = ec061d8423a8766dd1b1d97609a0d9cda28d0618
-SHA1 (patch-ab) = e26c06b7d220cf8b7b86f53958f5be784e70c59b
-SHA1 (patch-ac) = cb40726dac6fa0e5dc993c8745df41b15044b90f
-SHA1 (patch-ad) = 8dbf4703ad2ec63b3ddce0f83e7b627deb92ee7f
-SHA1 (patch-ae) = 62468b14d55fdfa7b800daab232c7d22724ec4dc
-SHA1 (patch-af) = 172e21a41221e99d4e1a01846e2f6e5c057fefa4
-SHA1 (patch-ag) = 4719cad79d1b391bf3e788ad0930f153f53570ed
+SHA1 (freepops-0.2.7.tar.gz) = ea6e5836d26388080b3624aa07808abc1917879c
+RMD160 (freepops-0.2.7.tar.gz) = 8504d1e2be40a44955c8ad0907f98dcea9d1a6ac
+Size (freepops-0.2.7.tar.gz) = 1955240 bytes
+SHA1 (patch-aa) = e5fd37ed3009fda5cc033fe9768b97f3023d6200
+SHA1 (patch-ab) = 59faa97775853f795f024585e194a060a3f3ee94
+SHA1 (patch-ac) = ca0c136b6cee3c164c9382227bcbd534e382927b
+SHA1 (patch-ad) = 90a2313b2e9a3a2321778df515c076e603955502
+SHA1 (patch-ae) = 389693569e978395f2d1e286003ad7d20ce59a14
+SHA1 (patch-af) = 68bacbbb3dca7b7e676caee54fc7610c6b280f10
+SHA1 (patch-ag) = 6be408e7c065d9cf32f727e1cbd016b7ce60e202
+SHA1 (patch-ah) = e54224faa6e803e0dd858211416fb5be151d7474
+SHA1 (patch-ai) = 36285e7b1fe68511ad65302a94f2c71e8f348323
diff -r 8a88d47c4377 -r b107f6c7a989 mail/freepops/files/hotmail.lua
--- a/mail/freepops/files/hotmail.lua   Thu Oct 23 04:03:05 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2002 +0,0 @@
--- ************************************************************************** --
---  FreePOPs @hotmail.com webmail interface
---  
---  Released under the GNU/GPL license
---  Written by Russell Schwager <russell822%yahoo.com@localhost>
---  Patched by cdmackie (2007-09-11). 
---    Fixed: lite login, live delete, corrupt messages, stuck at 1st message, classic delete more than 1 message
--- ************************************************************************** --
-
--- Globals
---
-PLUGIN_VERSION = "0.1.84"
-PLUGIN_NAME = "hotmail.com"
-PLUGIN_REQUIRE_VERSION = "0.2.0"
-PLUGIN_LICENSE = "GNU/GPL"
-PLUGIN_URL = "http://www.freepops.org/download.php?module=hotmail.lua";
-PLUGIN_HOMEPAGE = "http://www.freepops.org/";
-PLUGIN_AUTHORS_NAMES = {"Russell Schwager", "D. Milne", "Peter Collingbourne" }
-PLUGIN_AUTHORS_CONTACTS = {"russell822 (at) yahoo (.) com", "drmilne (at) safe-mail (.) net", "pcc03 (at) doc (.) ic (.) ac (.) uk>"}
-PLUGIN_DOMAINS = { "@hotmail.com","@msn.com","@webtv.com",
-      "@charter.com", "@compaq.net","@passport.com", 
-      "@hotmail.de", "@hotmail.it", "@hotmail.co.uk", 
-      "@hotmail.co.jp", "@hotmail.fr", "@messengeruser.com",
-      "@hotmail.com.ar", "@hotmail.co.th", "@hotmail.com.tr"  
-      }
-PLUGIN_PARAMETERS = {
-       {name="folder", description={
-               it=[[La cartella che vuoi ispezionare. Quella di default &egrave; Inbox.]],
-               en=[[The folder you want to interact with. Default is Inbox.]]}
-       },
-       {name = "emptyjunk", description = {
-               en = [[
-Parameter is used to force the plugin to empty the junk folder when it is done
-pulling messages.  Set the value to 1.]]
-               }       
-       },
-       {name = "emptytrash", description = {
-               it = [[ Viene usato per forzare il plugin a svuotare il cestino quando ha finito di scaricare i messaggi. Se il valore &egrave; 1 questo comportamento viene attivato.]],
-               en = [[
-Parameter is used to force the plugin to empty the trash when it is done
-pulling messages.  Set the value to 1.]]
-               }       
-       },
-       {name = "markunread", description = {
-               it = [[ Viene usato per far s&igrave; che il plugin segni come non letti i messaggi che scarica. Se il valore &egrave; 1 questo comportamento viene attivato.]],
-               en = [[ Parameter is used to have the plugin mark all messages that it
-pulls as unread.  If the value is 1, the behavior is turned on.]]
-               }
-       },
-       {name = "maxmsgs", description = {
-               en = [[
-Parameter is used to force the plugin to only download a maximum number of messages. ]]
-               }       
-       },
-       {name = "domain", description = {
-               en = [[
-Parameter is used to override the domain in the email address.  This is used so that users don't
-need to add a mapping to config.lua for a hosted hotmail account. ]]
-               }       
-       },
-}
-PLUGIN_DESCRIPTIONS = {
-       it=[[
-Questo plugin vi permette di scaricare la posta da mailbox con dominio della famiglia di @hotmail.com. 
-Per usare questo plugin dovrete usare il vostro indirizzo email completo come 
-nome utente e la vostra vera password come password.]],
-       en=[[
-This plugin lets you download mail from @hotmail.com and similar mailboxes. 
-To use this plugin you have to use your full email address as the username
-and your real password as the password.  For support, please post a question to
-the forum instead of emailing the author(s).]]
-}
-
--- Domains supported:  hotmail.com, msn.com, webtv.com, charter.com, compaq.net,
---                     passport.com
-
--- ************************************************************************** --
---  Global Strings
--- ************************************************************************** --
-
-local globals = {
-  -- Max password length in the login page
-  --
-  nMaxPasswordLen = 16,
-
-  -- Server URL
-  --
-  strLoginUrl = "http://mail.live.com/";,
-
-  strDefaultLoginPostUrl = "https://login.live.com/ppsecure/post.srf";,
-
-  -- Login strings
-  -- TODO: Define the HTTPS version
-  --
-  strLoginPostData = "login=%s&domain=%s&passwd=%s&sec=&mspp_shared=&PwdPad=%s&PPSX=Pas&LoginOptions=3",
-  strLoginPaddingFull = "xxxxxxxxxxxxxxxx",
-  strLoginFailed = "Login Failed - Invalid User name and/or password",
-
-  -- Expressions to pull out of returned HTML from Hotmail corresponding to a problem
-  --
-  strRetLoginBadLogin = "(memberservices)",
-  strRetLoginSessionExpired = "(Sign in)",
-  strRetLoginSessionExpiredLive = '(HM%.FppError)',
-  strRetStatBusy = "(form name=.hotmail.)",
-  
-  -- Regular expression to extract the mail server
-  --
-  
-  -- Extract the server to post the login data to
-  --
-  strLoginPostUrlPattern1='action="([^"]+)"',
-  strLoginPostUrlPattern2='type=["]?hidden["]? name="([^"]*)".* value="([^"]*)"',
-  strLoginPostUrlPattern3='g_DO."%s".="([^"]+)"',
-  strLoginPostUrlPattern4='var g_QS="([^"]+)";',
-  strLoginPostUrlPattern5='name="PPFT" id="[^"]+" value="([^"]+)"',
-  strLoginDoneReloadToHMHome1='URL=([^"]+)"',
-  strLoginDoneReloadToHMHome2='%.location%.replace%("([^"]+)"',
-  strLoginDoneReloadToHMHome3="location='([^']+)'",
---  strLoginDoneReloadToHMHome3='location=.([^"%']+)',
-  strLoginDoneReloadToHMHome4="img src='([^']+)'",
-  strLoginDoneReloadToReloadPage='window%.location=\'([^\']+)\'',
- 
-  -- Pattern to detect if we are using the live or classic version
-  --
-  strLiveCheckPattern = '(TodayLight%.aspx)',
-  strClassicCheckPattern = '(Windows Live Mail was not able to sign into your account at this time)',
-  strLiveMainPagePattern = '<frame.-name="main" src="([^"]+)"',
-  strLiveLightPagePattern = 'href="(StylesheetTodayLight)',
-
-  -- Get the crumb value that is needed for every command
-  --
-  strRegExpCrumb = '&a=([^"&]*)[&"]',
-  strRegExpCrumbLive = '"sessionidhash" : "([^"]+)"',                    
-  strRegExpUser = '"authuser" : "([^"]+)"',
-
-  -- MSN Inbox Folder Id
-  --
-  strPatMSNInboxId = "HMFO%('(%d+)'%)[^>]+><img src=.http://[^/]+/i.p.folder.inbox.gif";,
-
-  -- Image server pattern
-  --
-  strImgServerPattern = 'img src="(http://[^/]*)/spacer.gif"',
-  strImgServerLivePattern = 'img src="(http://[^/]*)/mail/',
-
-  -- Junk and Trash Folder pattern
-  -- 
-  strPatLiveTrashId = '"sysfldrtrash".-"([^"]+)"',
-  strPatLiveJunkId = '"sysfldrjunk".-"([^"]+)"',
-
-  -- Folder id pattern
-  --
-  strFolderPattern = '<a href="[^"]+curmbox=([^&]+)&[^"]+" >', 
-  strFolderLivePattern = '%("([^"]+)","',
-  strFolderLiveInboxPattern = 'sysfldrinbox".-"([^"]+)"',
-  strFolderLiveLightInboxPattern = 'href="InboxLight%.aspx%?(FolderID=[^&]+[^"]+)"[^>]+><img src=".-i_inbox.gif"',
-  strFolderLiveLightFolderIdPattern = 'FolderID=([^&]+)&[.]*',
-  strFolderLiveLightNPattern = '&n=([^&]+)[.]*',
-  
-  strFolderLiveLightTrashPattern = 'i_trash%.gif" border="0" alt=""/></td>.-<td class="dManageFoldersFolderNameCol"><a href="InboxLight%.aspx%?FolderID=([^&]+)&',
-  strFolderLiveLightJunkPattern = 'i_junkfolder%.gif" border="0" alt=""/></td>.-<td class="dManageFoldersFolderNameCol"><a href="InboxLight%.aspx%?FolderID=([^&]+)&',
-  strFolderLiveLightPattern = 'href="InboxLight%.aspx%?FolderID=([^&]+)&n=[^"]+" title="',  
-  strFolderLiveLightManageFoldersPattern = 'href="ManageFoldersLight%.aspx%?n=([^"]+)"',
-
-  -- Pattern to determine if we have no messages
-  --
-  strMsgListNoMsgPat = "(<td colspan=10>)", --"(There are no messages in this folder)",
-
-  -- Pattern to determine the total number of messages
-  --
-  strMsgListCntPattern = "<td width=100. align=center>([^<]+)</td><td align=right nowrap>",
-  strMsgListCntPattern2 = "([%d]+) [MmNnBbVv][eai]",
-  strMsgListLiveLightCntPattern = '<div class="dItemListHeaderMsgInfo">.- (%d+)</div>',
-
-  -- Used by Stat to pull out the message ID and the size
-  --
-  strMsgLineLitPattern = 
".*<tr>.*<td>[.*]{img}.*</td>.*<td>.*<img>.*</td>.*<td>[.*]{img}.*</td>.*<td>.*<input>.*</td>.*<td>.*</td>.*<td>.*<a>.*</a>.*</td>.*<td>.*</td>.*<td>.*</td>.*<td>.*</td>.*</tr>",
-  strMsgLineAbsPattern = "O<O>O<O>[O]{O}O<O>O<O>O<O>O<O>O<O>[O]{O}O<O>O<O>O<X>O<O>O<O>O<O>O<O>O<O>O<O>O<O>O<O>O<O>O<O>O<O>O<O>X<O>O<O>",
-
-
-  -- Pattern used by Stat to get the next page in the list of messages
-  --
-  strMsgListNextPagePattern = '(nextpg%.gif" border=0></a>)',
-  strMsgListNextPagePatLiveLight = '<a href="([^"]+)"[^>]*><img src="[^_]*_nextpage.gif"',
-
-  -- Pattern used to detect a bad STAT page.
-  --
-  strMsgListGoodBody = 'i%.p%.attach%.gif',
-
-  -- Pattern used in the Live interface to get the message info
-  --
-  strMsgLivePatternOld = ',"([^"]+)","[^"]+","[^"]+",[^,]+,[^,]+,[^,]+,[^,]+,"([^"]+)"',
-  strMsgLivePattern1 = 'class=.-SizeCell.->([^<]+)</div>',
-  strMsgLivePattern2 = 'new HM%.__[^%(]+%("([^"]+)",[tf][^,"]+,"[^"]+",[^,]+,[^,]+',
-  strMsgLiveLightPattern = 'ReadMessageId=([^&]+)&[^>]+>.-</a></td>.-<td [^>]+>.-</td>.-<td [^>]+>([^<]+)</td>',
-
-  -- The amount of time that the session should time out at.
-  -- This is expressed in seconds
-  --
-  nSessionTimeout = 28800,  -- 8 hours!
-



Home | Main Index | Thread Index | Old Index