summaryrefslogtreecommitdiff
path: root/source/n/getmail
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-08-15 19:54:20 +0000
committerEric Hameleers <alien@slackware.com>2020-08-16 09:00:06 +0200
commitaef1dd99c7a4d8a3da26619fcbfc4a6eb501d2e3 (patch)
tree898b5d4bed51a69e4a4ff4d9d5dff782407983b2 /source/n/getmail
parent5925670c67516e245b1c5dced955482bd679b139 (diff)
downloadcurrent-aef1dd99c7a4d8a3da26619fcbfc4a6eb501d2e3.tar.gz
Sat Aug 15 19:54:20 UTC 202020200815195420
ap/hplip-3.20.6-x86_64-2.txz: Rebuilt. Recompiled against net-snmp-5.9. ap/pamixer-1.4-x86_64-6.txz: Rebuilt. Recompiled against boost-1.74.0. ap/sqlite-3.33.0-x86_64-1.txz: Upgraded. kde/calligra-2.9.11-x86_64-37.txz: Rebuilt. Recompiled against boost-1.74.0. l/akonadi-1.13.0-x86_64-16.txz: Rebuilt. Recompiled against boost-1.74.0. l/boost-1.74.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/libcroco-0.6.13-x86_64-1.txz: Removed. n/getmail-6.02-x86_64-1.txz: Upgraded. This is a new version that uses Python 3. The ChangeLog warns that it "loses some backward compatibility"... please report any bugs. n/net-snmp-5.9-x86_64-1.txz: Upgraded. Shared library .so-version bump. n/ntp-4.2.8p15-x86_64-2.txz: Rebuilt. Recompiled against net-snmp-5.9. n/php-7.4.9-x86_64-2.txz: Rebuilt. Recompiled against net-snmp-5.9. xap/sane-1.0.30-x86_64-2.txz: Rebuilt. Recompiled against net-snmp-5.9. xap/ssr-0.4.2-x86_64-1.txz: Added.
Diffstat (limited to 'source/n/getmail')
-rwxr-xr-xsource/n/getmail/getmail.SlackBuild20
-rw-r--r--source/n/getmail/getmail.url3
2 files changed, 10 insertions, 13 deletions
diff --git a/source/n/getmail/getmail.SlackBuild b/source/n/getmail/getmail.SlackBuild
index b42a760d..1830c241 100755
--- a/source/n/getmail/getmail.SlackBuild
+++ b/source/n/getmail/getmail.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=getmail
-VERSION=${VERSION:-$(echo getmail-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+VERSION=${VERSION:-$(echo getmail6-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
@@ -50,16 +50,13 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf getmail-$VERSION
-tar xvf $CWD/getmail-$VERSION.tar.?z || exit 1
-chown -R root:root getmail-$VERSION
-cd getmail-$VERSION || exit 1
+rm -rf getmail6-$VERSION
+tar xvf $CWD/getmail6-$VERSION.tar.?z || exit 1
+chown -R root:root getmail6-$VERSION
+cd getmail6-$VERSION || exit 1
-# Fix shebang in a couple files
-sed -i -e "s|#![ ]*/usr/bin/env python2.3|#!/usr/bin/env python2|" $(find . -name '*.py')
-
-python setup.py build || exit 1
-python setup.py install --root=$PKG || exit 1
+python3 setup.py build || exit 1
+python3 setup.py install --root=$PKG || exit 1
( cd $PKG/usr/share
mv man ..
@@ -76,4 +73,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
# Build the package:
cd $PKG
/sbin/makepkg -l y -c n $TMP/getmail-$VERSION-$ARCH-$BUILD.txz
-
diff --git a/source/n/getmail/getmail.url b/source/n/getmail/getmail.url
index 0cfbf0ed..f88c99e5 100644
--- a/source/n/getmail/getmail.url
+++ b/source/n/getmail/getmail.url
@@ -1 +1,2 @@
-http://pyropus.ca/software/getmail
+#http://pyropus.ca/software/getmail
+https://github.com/getmail6/getmail6