From 5519960bb1f62548d0f4d03a479e2d4523c7f22a Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Tue, 26 Sep 2017 17:56:13 +0200 Subject: [PATCH] libsasl: Rebuild to get libplain.so (fixes #1582) Still not sure why libplain.so was left out of the previous build, but there is now a check that this file is included. --- packages/libsasl/build.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/libsasl/build.sh b/packages/libsasl/build.sh index c8f2dc884..334c0f220 100644 --- a/packages/libsasl/build.sh +++ b/packages/libsasl/build.sh @@ -1,7 +1,7 @@ TERMUX_PKG_HOMEPAGE=http://asg.web.cmu.edu/sasl/ TERMUX_PKG_DESCRIPTION="Cyrus SASL - authentication abstraction library" TERMUX_PKG_VERSION=2.1.26 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3 # Seems to be race issues in build (symlink creation):: @@ -25,3 +25,12 @@ termux_step_post_configure () { gcc $TERMUX_PKG_SRCDIR/include/makemd5.c -o $TERMUX_PKG_BUILDDIR/include/makemd5 touch -d "next hour" $TERMUX_PKG_BUILDDIR/include/makemd5 } + +termux_step_post_massage () { + for sub in anonymous crammd5 digestmd5 plain; do + local base=lib/sasl2/lib${sub} + if [ ! -L ${base}.so ] || [ ! -L ${base}.so.3 ] || [ ! -f ${base}.so.3.0.0 ] ; then + termux_error_exit "libsasl not packaged with $file" + fi + done +}