summaryrefslogtreecommitdiffstats
path: root/extra/source/sendmail/SlackBuild-sendmail
diff options
context:
space:
mode:
Diffstat (limited to 'extra/source/sendmail/SlackBuild-sendmail')
-rwxr-xr-xextra/source/sendmail/SlackBuild-sendmail14
1 files changed, 8 insertions, 6 deletions
diff --git a/extra/source/sendmail/SlackBuild-sendmail b/extra/source/sendmail/SlackBuild-sendmail
index a477d16a0..9bee21a88 100755
--- a/extra/source/sendmail/SlackBuild-sendmail
+++ b/extra/source/sendmail/SlackBuild-sendmail
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009, 2010, 2012, 2013, 2014, 2015 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2012, 2013, 2014, 2015, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -20,8 +20,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-VERSION=8.15.2
-BUILD=${BUILD:-3}
+VERSION=8.16.1
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -51,6 +51,10 @@ else
LIBDIRSUFFIX=""
fi
+# Compile with DANE? Set to some whitespace to not build with DANE.
+DANE=${DANE:--DDANE}
+SLKCFLAGS="$SLKCFLAGS $DANE"
+
rm -rf $PKG
mkdir -p $TMP $PKG
@@ -65,11 +69,9 @@ echo "+=================+"
OSCPU="`uname -srm | tr ' ' '.'`"
cd $TMP
rm -rf sendmail-$VERSION
-tar xvf $CWD/sendmail.$VERSION.tar.gz || exit 1
+tar xvf $CWD/sendmail.$VERSION.tar.?z || exit 1
cd sendmail-$VERSION
-zcat $CWD/openssl-1.1.0.patch.gz | patch -p1 --verbose || exit 1
-
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \