2018-04-09 11:23:48 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.cyrusimap.org/sasl/
|
2015-12-15 12:56:49 +01:00
|
|
|
TERMUX_PKG_DESCRIPTION="Cyrus SASL - authentication abstraction library"
|
2019-01-21 15:00:12 +01:00
|
|
|
TERMUX_PKG_LICENSE="BSD"
|
2018-12-28 00:40:53 +01:00
|
|
|
TERMUX_PKG_VERSION=2.1.27
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2018-12-28 00:40:53 +01:00
|
|
|
TERMUX_PKG_SHA256=6eaf75ce1e73be63894fb04d1fd0bfa9f54f33e88269743dd8f2ff54e27ea043
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="libsasl-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libsasl-dev"
|
2018-12-28 00:40:53 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/cyrus-sasl-$TERMUX_PKG_VERSION.tar.xz
|
2016-01-05 04:16:53 +01:00
|
|
|
# Seems to be race issues in build (symlink creation)::
|
|
|
|
TERMUX_MAKE_PROCESSES=1
|
2017-08-11 13:12:50 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
2018-12-28 00:40:53 +01:00
|
|
|
lt_cv_deplibs_check_method=pass_all
|
2017-08-11 13:12:50 +02:00
|
|
|
ac_cv_func_syslog=no
|
|
|
|
ac_cv_header_syslog_h=no
|
|
|
|
--disable-gssapi
|
|
|
|
--disable-otp
|
|
|
|
--sysconfdir=$TERMUX_PREFIX/etc
|
|
|
|
--with-dblib=none
|
|
|
|
--with-dbpath=$TERMUX_PREFIX/var/lib/sasldb
|
|
|
|
--without-des
|
|
|
|
--without-saslauthd
|
|
|
|
--with-plugindir=$TERMUX_PREFIX/lib/sasl2
|
|
|
|
"
|
2015-12-15 12:56:49 +01:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="bin/pluginviewer"
|
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_post_configure() {
|
2015-12-15 12:56:49 +01:00
|
|
|
# Build wants to run makemd5 at build time:
|
|
|
|
gcc $TERMUX_PKG_SRCDIR/include/makemd5.c -o $TERMUX_PKG_BUILDDIR/include/makemd5
|
2017-04-18 08:19:48 +02:00
|
|
|
touch -d "next hour" $TERMUX_PKG_BUILDDIR/include/makemd5
|
2015-12-15 12:56:49 +01:00
|
|
|
}
|
2017-09-26 17:56:13 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_post_massage() {
|
2017-09-26 17:56:13 +02:00
|
|
|
for sub in anonymous crammd5 digestmd5 plain; do
|
|
|
|
local base=lib/sasl2/lib${sub}
|
2018-12-28 00:40:53 +01:00
|
|
|
if [ ! -f ${base}.so ]; then
|
2017-12-20 00:57:18 +01:00
|
|
|
termux_error_exit "libsasl not packaged with $base"
|
2017-09-26 17:56:13 +02:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
}
|