Files
termux-packages/packages/openldap/build.sh
termux-pacman-bot 2ee8a0704e chore(main/openethereum,openfoam,openh264,openldap): Rebuild
Rebuild some packages to get 16 kb page size.
2025-09-12 06:06:00 +00:00

31 lines
907 B
Bash

TERMUX_PKG_HOMEPAGE=https://openldap.org
TERMUX_PKG_DESCRIPTION="OpenLDAP server"
TERMUX_PKG_LICENSE="OpenLDAP"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.6.10"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-${TERMUX_PKG_VERSION}.tgz
TERMUX_PKG_SHA256=c065f04aad42737aebd60b2fe4939704ac844266bc0aeaa1609f0cad987be516
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libsasl, libuuid, openssl"
TERMUX_PKG_BREAKS="openldap-dev"
TERMUX_PKG_REPLACES="openldap-dev"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_MAKE_ARGS="STRIP="
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
ol_cv_lib_icu=no
ac_cv_func_memcmp_working=yes
--enable-dynamic
--with-yielding_select=yes
--enable-backends=no
--enable-monitor
--enable-mdb
--enable-ldap"
termux_step_pre_configure() {
autoreconf -fi
CFLAGS+=" -DMDB_USE_ROBUST=0"
LDFLAGS+=" -lcrypto -llog"
}