getmail: Update from 4.54.0 to 5.1
authorFredrik Fornwall <fredrik@fornwall.net>
Wed, 26 Jul 2017 11:38:47 +0000 (13:38 +0200)
committerFredrik Fornwall <fredrik@fornwall.net>
Wed, 26 Jul 2017 11:38:47 +0000 (13:38 +0200)
packages/getmail/build.sh
packages/getmail/utilities.py.patch

index 92ba6b8..ca60936 100644 (file)
@@ -1,8 +1,8 @@
 TERMUX_PKG_HOMEPAGE=http://pyropus.ca/software/getmail/
 TERMUX_PKG_DESCRIPTION="fetchmail replacement relatively easy to configure"
-TERMUX_PKG_VERSION=4.54.0
+TERMUX_PKG_VERSION=5.1
 TERMUX_PKG_SRCURL=http://pyropus.ca/software/getmail/old-versions/getmail-${TERMUX_PKG_VERSION}.tar.gz
-TERMUX_PKG_SHA256=d45657945353c68785b106dd9c5fae6bc2cec8f99fbb202d9dddd4967f483a65
+TERMUX_PKG_SHA256=3d6e20e5ea41c1ffb284a46de3d2a474bf2ebd9215441c4c379183d03710027e
 TERMUX_PKG_DEPENDS="python2"
 TERMUX_PKG_BUILD_IN_SRC=yes
 TERMUX_PKG_PLATFORM_INDEPENDENT=yes
index f85c77a..28e1616 100644 (file)
@@ -1,14 +1,15 @@
---- ../getmail/src/getmailcore/utilities.py    2013-09-01 04:11:31.000000000 +1000
-+++ ./getmailcore/utilities.py 2016-03-26 17:22:08.173621990 +1100
-@@ -44,6 +44,7 @@
- import getpass
- import commands
+diff -u -r ../getmail-5.1/getmailcore/utilities.py ./getmailcore/utilities.py
+--- ../getmail-5.1/getmailcore/utilities.py    2017-07-16 05:26:01.000000000 +0200
++++ ./getmailcore/utilities.py 2017-07-26 13:36:30.196152312 +0200
+@@ -47,6 +47,7 @@
  import sys
+ import tempfile
+ import errno
 +import shutil
- # hashlib only present in python2.5, ssl in python2.6; used together
- # in SSL functionality below
-@@ -333,7 +334,7 @@
+ try:
+     import subprocess
+ except ImportError, o:
+@@ -340,7 +341,7 @@
  
      # Move message file from Maildir/tmp to Maildir/new
      try: