summaryrefslogtreecommitdiff
path: root/source/n/fetchmail/fetchmail.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/fetchmail/fetchmail.SlackBuild')
-rwxr-xr-xsource/n/fetchmail/fetchmail.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/source/n/fetchmail/fetchmail.SlackBuild b/source/n/fetchmail/fetchmail.SlackBuild
index c60bcad9..81a0fb70 100755
--- a/source/n/fetchmail/fetchmail.SlackBuild
+++ b/source/n/fetchmail/fetchmail.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2016, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011, 2016, 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=fetchmail
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
@@ -64,14 +64,12 @@ mkdir -p $TMP $PKG
cd $TMP
rm -rf fetchmail-$VERSION
-tar xvf $CWD/fetchmail-$VERSION.tar.xz || exit 1
+tar xvf $CWD/fetchmail-$VERSION.tar.?z || exit 1
cd fetchmail-$VERSION || exit 1
# Patch for OpenSSL 1.1.1 compatibility:
zcat $CWD/fetchmail.openssl111.diff.gz | patch -p1 --verbose || exit 1
-# this is the sloppiest source tarball ever
-# [NOTE: *was*... the new maintainers are much better]
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -79,12 +77,16 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+export PYTHON=python3
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
--enable-nls \
--with-ssl \
+ --with-kerberos5 \
+ --with-gssapi \
--program-prefix="" \
--program-suffix="" \
--build=$ARCH-slackware-linux
@@ -116,4 +118,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/fetchmail-$VERSION-$ARCH-$BUILD.txz
-